Fix typo in bug-strcoll2 (Bug 18589)
[glibc.git] / ChangeLog
blobc47fd6d899ae7b086f2f191bdc3d67af54ac8b79
1 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
3         [BZ #18589]
4         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
5         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
6         $(gen-locales).
8 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9             Phil Blundell <pb@pbcui.dot.net>
11         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
12         * nptl/tst-cancel26.c: New file.
13         * nptl/tst-cancel27.c: Likewise.
15 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
17         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
18         __ILP32__ isn't defined.
19         (lrint): Likewise.
20         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
21         (lrintf): Likewise.
22         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
23         (lrintl): Likewise.
24         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
25         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
26         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
28 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
31         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
33         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
34         file.
35         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
36         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
38 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
40         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
41         configure test.
42         * sysdeps/i386/configure: Regenerated.
43         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
44         configure test.
45         * sysdeps/x86_64/configure: Regenerated.
46         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
47         Make code unconditional.
49         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
50         test.
51         * sysdeps/i386/configure: Regenerated.
52         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
53         test.
54         * sysdeps/x86_64/configure: Regenerated.
55         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
56         Make code unconditional.
57         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
58         Likewise.
59         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
60         Likewise.
61         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
62         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
63         code unconditional.
64         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
65         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
66         code unconditional.
67         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
68         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
69         code unconditional.
70         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
71         code unconditional.
72         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
73         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
74         code unconditional.
75         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
76         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
77         code unconditional.
78         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
79         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
80         code unconditional.
81         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
82         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
83         code unconditional.
84         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
85         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
87         [BZ #19095]
88         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
89         mantissa to long int before shifting left.
91 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
93         [BZ #19094]
94         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
95         <limits.h>.
96         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
97         when result overflows but exception would not result from cast.
98         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
99         <limits.h>.
100         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
101         when result overflows but exception would not result from cast.
102         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
103         <limits.h>.
104         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
105         when result overflows but exception would not result from cast.
106         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
107         <limits.h>.
108         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
109         when result overflows but exception would not result from cast.
110         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
111         <limits.h>.
112         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
113         when result overflows but exception would not result from cast.
114         * math/libm-test.inc (lrint_test_data): Add more tests.
115         (llrint_test_data): Likewise.
117 2015-10-08  Roland McGrath  <roland@hack.frob.com>
119         [BZ #18872]
120         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
121         Move out from under [$(run-built-tests) = yes] conditional.
122         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
123         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
125 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
127         [BZ #18589]
128         * string/Makefile (tests): Add bug-strcoll2.
129         (LOCALES): Add cs_CZ.UTF-8.
130         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
132         [BZ #18589]
133         * string/bug-strcoll2.c: New file.
134         * locale/categories.def: Revert commit
135         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
136         * locale/langinfo.h: Likewise.
137         * locale/localeinfo.h: Likewise.
138         * locale/C-collate.c: Likewise.
139         * locale/programs/ld-collate.c (collate_output): Likewise.
140         * string/strcoll_l.c (STRDIFF): Likewise.
141         (STRCOLL): Likewise.
142         * wcsmbs/wcscoll_l.c: Likewise.
144 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
146         * math/libm-test.inc (lround_test_data): Do not expect the absence
147         of "inexact" for some tests with non-integer arguments.
148         (llround_test_data): Likewise.
150         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
151         test.
152         (libc_cv_cc_sse2avx): Likewise.
153         * sysdeps/i386/configure: Regenerated.
154         * sysdeps/i386/i686/multiarch/Makefile
155         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
156         [$(subdir) = math].
157         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
158         code unconditional.
159         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
160         Likewise.
161         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
162         Likewise.
163         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
164         Likewise.
165         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
166         test.
167         (libc_cv_cc_sse2avx): Likewise.
168         * sysdeps/x86_64/configure: Regenerated.
169         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
170         unconditional.
171         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
172         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
173         unconditional.
174         (_dl_runtime_profile)
175         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
176         conditional code.
177         * sysdeps/x86_64/fpu/multiarch/Makefile
178         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
179         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
180         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
181         * sysdeps/x86_64/fpu/multiarch/e_exp.c
182         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
183         * sysdeps/x86_64/fpu/multiarch/e_log.c
184         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
185         * sysdeps/x86_64/fpu/multiarch/s_atan.c
186         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
187         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
188         Likewise.
189         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
190         Likewise.
191         * sysdeps/x86_64/fpu/multiarch/s_sin.c
192         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
193         * sysdeps/x86_64/fpu/multiarch/s_tan.c
194         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
195         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
196         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
197         (HAVE_SSE2AVX_SUPPORT): Likewise.
199 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
201         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
202         instead of #pragma optimize.
204 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
206         [BZ #17195]
207         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
208         as is similarly done in systrim and _int_free already.
210 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
212         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
214 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
216         [BZ #19088]
217         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
218         <limits.h>.
219         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
220         overflows but exception would not result from cast.
221         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
222         and <limits.h>.
223         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
224         overflows but exception would not result from cast.
225         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
226         <limits.h>.
227         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
228         overflows but exception would not result from cast.
229         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
230         <limits.h>.
231         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
232         overflows but exception would not result from cast.
233         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
234         <limits.h>.
235         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
236         overflows but exception would not result from cast.
237         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
238         <limits.h>.
239         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
240         overflows but exception would not result from cast.
241         * math/libm-test.inc (lround_test_data): Add more tests.
242         (llround_test_data): Likewise.
244 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
246         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
247         (CFLAGS-ialloc.c): Ditto.
248         (CFLAGS-scheck.c): Ditto.
250 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
252         [BZ #19086]
253         * manual/filesys.texi (Storage Allocation): Fix argument order for
254         posix_fallocate64.
256 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
258         [BZ #19085]
259         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
260         exponent below 48 inside case for non-overflowing exponent.
261         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
263 2015-10-07  Florian Weimer  <fweimer@redhat.com>
265         * iconvdata/cp737.h (from_idx): Add const.
266         * iconvdata/cp775.h (from_idx): Likewise.
268 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
270         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
271         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
272         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
274         [BZ #19079]
275         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
276         file, conditioned on [!_LP64].
277         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
278         [!_LP64] (__lround): Do not define as function or alias.
279         [!_LP64] (lround): Likewise.
280         [!_LP64] (__lroundl): Likewise.
281         [!_LP64] (lroundl): Likewise.
282         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
283         macro.
284         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
285         Likewise.
287 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
289         * math/libm-test.inc (lrint_test_data): Add more tests.
290         (llrint_test_data): Likewise.
291         (lround_test_data): Likewise.
292         (llround_test_data): Likewise.
294         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
295         (llrint_test_data): Add tests used for lrint.
297         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
298         test.
299         * sysdeps/i386/configure: Regenerated.
300         * sysdeps/i386/i686/multiarch/Makefile
301         [$(config-cflags-sse4) = yes]: Make code unconditional.
302         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
303         Likewise.
304         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
305         Likewise.
306         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
307         test.
308         * sysdeps/x86_64/configure: Regenerated.
309         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
310         Make code unconditional.
311         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
312         Likewise.
313         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
314         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
316         * scripts/rpm2dynsym.sh: Remove file.
318 2015-10-06  Florian Weimer  <fweimer@redhat.com>
320         * configure.ac (libc_cv_cxx_thread_local): Define.
321         * configure: Regenerate.
322         * config.make.in (have-cxx-thread_local): Define.
323         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
324         (LDLIBS-tst-thread_local1): Define.
325         (tests): Add tst-thread_local1.
326         [have-cxx-thread_local != yes] (tests-unsupported): Add
327         tst-thread_local1.
328         * nptl/tst-thread_local1.cc: New file.
330 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
332         [BZ #19078]
333         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
334         (u_thres): Likewise.
335         (__expl): Determine whether to call __kernel_standard_l based on
336         value of result, not argument.
338         * math/libm-test.inc (scalb_test_data): Add more expectations for
339         the "inexact" exception.
341         [BZ #19077]
342         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
343         0.0L for argument 1.0L.
345         [BZ #19076]
346         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
347         constant 0.0L when computing infinite result.
349 2015-10-06  Florian Weimer  <fweimer@redhat.com>
351         [BZ #10432]
352         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
353         malloc_usable_size.
355 2015-10-06  Florian Weimer  <fweimer@redhat.com>
357         [BZ #19018]
358         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
359         Mangle function pointer before storing it.
360         (__call_tls_dtors): Demangle function pointer before calling it.
362 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
364         [BZ #19012]
365         * iconv/gconv_db.c (gen_steps): Check for additional errors.
366         Clean up on failure.
368 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
370         [BZ #19071]
371         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
372         long int variable to store possibly incremented high part of
373         mantissa.
374         * math/libm-test.inc (lround_test_data): Add tests used for
375         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
376         for tests requiring 64-bit long.  Do not condition tests on
377         [TEST_FLOAT] unnecessarily.
378         (llround_test_data): Add tests used for lround.  Add another
379         expectation for the "inexact" exception.  Do not condition tests
380         on [TEST_FLOAT] unnecessarily.
382         [BZ #887]
383         [BZ #19049]
384         [BZ #19050]
385         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
386         * sysdeps/ieee754/dbl-64/e_log10.c: Include
387         <fix-int-fp-convert-zero.h>.
388         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
389         * sysdeps/ieee754/dbl-64/e_log2.c: Include
390         <fix-int-fp-convert-zero.h>.
391         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
392         * sysdeps/ieee754/dbl-64/s_erf.c: Include
393         <fix-int-fp-convert-zero.h>.
394         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
395         * sysdeps/ieee754/dbl-64/s_logb.c: Include
396         <fix-int-fp-convert-zero.h>.
397         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
398         * sysdeps/ieee754/flt-32/e_log10f.c: Include
399         <fix-int-fp-convert-zero.h>.
400         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
401         * sysdeps/ieee754/flt-32/e_log2f.c: Include
402         <fix-int-fp-convert-zero.h>.
403         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
404         * sysdeps/ieee754/flt-32/s_erff.c: Include
405         <fix-int-fp-convert-zero.h>.
406         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
407         * sysdeps/ieee754/flt-32/s_logbf.c: Include
408         <fix-int-fp-convert-zero.h>.
409         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
410         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
411         <fix-int-fp-convert-zero.h>.
412         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
413         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
414         <fix-int-fp-convert-zero.h>.
415         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
416         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
417         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
418         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
419         file.
420         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
422 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
424         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
426 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
428         [BZ #19059]
429         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
430         overflowing computation.
431         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
432         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
433         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
434         Likewise.
435         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
436         Likewise.
437         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
438         Likewise.
439         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
440         Likewise.
441         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
442         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
443         Likewise.
444         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
445         Likewise.
446         * math/libm-test.inc (nexttoward_test_data): Add more tests.
448         * nss/rewrite_field.c (__nss_rewrite_field): Use
449         internal_function.
450         * nss/valid_field.c (__nss_valid_field): Likewise.
451         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
453 2015-10-02  Florian Weimer  <fweimer@redhat.com>
455         [BZ #18724]
456         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
457         (__nss_invalid_field_characters, __nss_valid_field)
458         (__nss_valid_list_field, __nss_rewrite_field): Declare.
459         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
460         tst-field.c: New file.
461         * nss/Makefile (routines): Add valid_field, rewrite_field.
462         (tests-static): Define unconditionally.
463         (tests): Include tests-static.
464         [build-static-nss] (tests-static): Use append.
465         [build-static-nss] (tests): Remove modification.
466         * nss/getent.c (print_group): Call putgrent.  Report error.
467         (print_gshadow): Call putsgent.  Report error.
468         (print_passwd): Call putpwent.  Report error.
469         (print_shadow): Call putspent.  Report error.
470         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
471         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
472         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
473         name, password, directory, shell fields for valid syntax.  Rewrite
474         GECOS field to match syntax.
475         * pwd/Makefile (tests): Add tst-putpwent.
476         * pwd/tst-putpwent.c: New file.
477         * grp/putgrent.c (putgrent): Convert to ISO function definition.
478         Check grName, grpasswd, gr_mem fields for valid syntax.
479         Change loop variable i to size_t.
480         * grp/Makefile (tests): Add tst-putgrent.
481         * grp/tst-putgrent.c: New file.
482         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
483         valid syntax.
484         * shadow/Makefile (tests): Add tst-putspent.
485         * shadow/tst-putspent.c: New file.
486         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
487         sg_mem fields for valid syntax.
488         * gshadow/Makefile (tests): Add tst-putsgent.
489         * gshadow/tst-putsgent.c: New file.
491 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
493         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
494         assembly instructions.
496 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
498         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
499         prefix from operands.
501 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
503         [BZ #16347]
504         [BZ #19046]
505         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
506         <libc-internal.h>.
507         (MAXLGM): Do not use diagnostic control macros.
508         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
509         threshold for ldbl-128ibm.
510         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
511         instead of multiplying by log then subtracting.
512         * math/auto-libm-test-in: Add more tests of lgamma.
513         * math/auto-libm-test-out: Regenerated.
515         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
516         (TYPE_HEX_DIG): Likewise.
517         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
518         precisions when printing floating-point numbers.
519         (check_float_internal): Likewise.
521 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
523         [BZ #16620]
524         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
525         of log (10) rounded downward to 48 bits.
526         (log10_low): Use corresponding low part of log (10).
528         [BZ #19032]
529         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
530         compute result as (x - x) / (x - x) not as 0 / 0.
531         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
532         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
534         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
535         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
536         and expm1.
537         * math/auto-libm-test-out: Regenerated.
538         * math/libm-test.inc (acos_test_data): Add more tests.
539         (asin_test_data): Likewise.
540         (asinh_test_data): Likewise.
541         (atan_test_data): Likewise.
542         (atanh_test_data): Likewise.
543         (atan2_test_data): Likewise.
544         (cbrt_test_data): Likewise.
545         (ceil_test_data): Likewise.
546         (copysign_test_data): Likewise.
547         (cos_test_data): Likewise.
548         (cosh_test_data): Likewise.
549         (erf_test_data): Likewise.
550         (erfc_test_data): Likewise.
551         (exp_test_data): Likewise.
552         (exp10_test_data): Likewise.
553         (exp2_test_data): Likewise.
554         (expm1_test_data): Likewise.
555         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
557 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
559         [BZ #19006]
560         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
561         to ...
562         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
563         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
564         to ...
565         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
566         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
567         to ...
568         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
569         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
570         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
571         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
572         to ...
573         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
574         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
575         Moved to ...
576         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
577         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
578         Moved to ...
579         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
580         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
581         to ...
582         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
583         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
584         Moved to ...
585         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
586         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
587         to ...
588         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
589         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
590         Removed.
591         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
592         Likewise.
593         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
594         Likewise.
595         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
596         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
597         Likewise.
598         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
599         Likewise.
600         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
601         Likewise.
602         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
603         Likewise.
604         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
605         Likewise.
606         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
607         Likewise.
608         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
609         Likewise.
610         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
611         Likewise.
612         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
613         Likewise.
614         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
615         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
616         Likewise.
617         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
618         Likewise.
619         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
620         Likewise.
621         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
622         Likewise.
623         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
624         Likewise.
625         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
626         Replace ../i486/pthread_cond_timedwait.S with
627         ../pthread_cond_timedwait.S.
629 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
631         * math/libm-test.inc (acos_test_data): Refine expectations for
632         errno and "inexact" exceptions.
633         (acosh_test_data): Likewise.
634         (asin_test_data): Likewise.
635         (asinh_test_data): Likewise.
636         (atan_test_data): Likewise.
637         (atanh_test_data): Likewise.
638         (atan2_test_data): Likewise.
639         (cbrt_test_data): Likewise.
640         (ceil_test_data): Likewise.
641         (copysign_test_data): Likewise.
642         (cosh_test_data): Likewise.
643         (erf_test_data): Likewise.
644         (erfc_test_data): Likewise.
645         (exp_test_data): Likewise.
646         (exp10_test_data): Likewise.
647         (exp2_test_data): Likewise.
648         (expm1_test_data): Likewise.
649         (fabs_test_data): Likewise.
650         (floor_test_data): Likewise.
651         (fma_test_data): Likewise.
652         (fmax_test_data): Likewise.
653         (fmin_test_data): Likewise.
654         (fmod_test_data): Likewise.
655         (fpclassify_test_data): Likewise.
656         (frexp_test_data): Likewise.
657         (hypot_test_data): Likewise.
658         (ilogb_test_data): Likewise.
659         (isgreater_test_data): Likewise.
660         (isgreaterequal_test_data): Likewise.
661         (isinf_test_data): Likewise.
662         (isless_test_data): Likewise.
663         (islessequal_test_data): Likewise.
664         (islessgreater_test_data): Likewise.
665         (isnan_test_data): Likewise.
666         (isnormal_test_data): Likewise.
667         (issignaling_test_data): Likewise.
668         (isunordered_test_data): Likewise.
669         (j0_test_data): Likewise.
670         (j1_test_data): Likewise.
671         (jn_test_data): Likewise.
672         (lgamma_test_data): Likewise.
673         (lrint_test_data): Likewise.
674         (llrint_test_data): Likewise.
675         (log_test_data): Likewise.
676         (log10_test_data): Likewise.
677         (log1p_test_data): Likewise.
678         (log2_test_data): Likewise.
679         (logb_test_data): Likewise.
680         (lround_test_data): Likewise.
681         (llround_test_data): Likewise.
682         (modf_test_data): Likewise.
683         (nearbyint_test_data): Likewise.
684         (nextafter_test_data): Likewise.
685         (nexttoward_test_data): Likewise.
686         (pow_test_data): Likewise.
687         (remainder_test_data): Likewise.
688         (remquo_test_data): Likewise.
689         (rint_test_data): Likewise.
690         (round_test_data): Likewise.
691         (signbit_test_data): Likewise.
692         (sinh_test_data): Likewise.
693         (sqrt_test_data): Likewise.
694         (tanh_test_data): Likewise.
695         (tgamma_test_data): Likewise.
696         (trunc_test_data): Likewise.
697         (y0_test_data): Likewise.
698         (y1_test_data): Likewise.
699         (yn_test_data): Likewise.
700         (significand_test_data): Likewise.
702 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
704         * manual/filesys.texi (Storage Allocation): Document that
705         posix_fallocate emulation fails when fd is open with O_WRONLY.
707 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
709         [BZ #19016]
710         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
711         allow more cases with X^2 + Y^2 >= 0.5.
712         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
713         normal element in sum instead of special-casing based on values of
714         arguments.
715         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
716         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
717         -1 as normal element in sum instead of special-casing based on
718         values of arguments.
719         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
720         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
721         (__x2y2m1): Update comment.
722         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
723         as normal element in sum instead of special-casing based on values
724         of arguments.
725         * math/s_clog.c (__clog): Handle more cases using log1p without
726         hypot.
727         * math/s_clog10.c (__clog10): Likewise.
728         * math/s_clog10f.c (__clog10f): Likewise.
729         * math/s_clog10l.c (__clog10l): Likewise.
730         * math/s_clogf.c (__clogf): Likewise.
731         * math/s_clogl.c (__clogl): Likewise.
732         * math/auto-libm-test-in: Add more tests of clog and clog10.
733         * math/auto-libm-test-out: Regenerated.
734         * sysdeps/i386/fpu/libm-test-ulps: Update.
735         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
737 2015-09-28  Martin Sebor  <msebor@redhat.com>
739         [BZ #18969]
740         * string/Makefile (LOCALES): Define.
741         (gen-locales.mk): Include.
742         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
743         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
744         * string/tst-strxfrm2.c (do_test): Print the name of the locale
745         on setlocale failure.
747 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
749         [BZ #18985]
750         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
751         (__strftime_internal): Likewise.
752         * time/tst-strftime.c (do_bz18985): New test.
753         (do_test): Call it.
755 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
757         [BZ #18956]
758         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
759         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
760         extracting high part.
761         * math/auto-libm-test-in: Add another test of pow.
762         * math/auto-libm-test-out: Regenerated.
763         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
765 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
767         [BZ #18825]
768         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
769         New macro.
770         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
771         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
772         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
773         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
774         DBL_NARROW_EVAL, reloading the PIC register as needed.
775         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
776         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
777         FLT_NARROW_EVAL.  Use separate return path for case when first
778         argument is NaN.
779         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
780         DEFINE_LDBL_MIN.
781         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
782         PIC register.
783         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
784         math_check_force_underflow_nonneg.
785         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
786         underflow for subnormal result.
787         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
788         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
789         math_check_force_underflow_nonneg.
790         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
791         math_check_force_underflow.
792         * sysdeps/x86_64/fpu/x86_64-math-asm.h
793         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
794         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
795         DEFINE_LDBL_MIN.
796         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
797         * math/auto-libm-test-in: Add more tests of pow.
798         * math/auto-libm-test-out: Regenerated.
800 2015-09-25  Florian Weimer  <fweimer@redhat.com>
802         * nss/bug17079.c (init_test_items): Add diagnostic for
803         inconsistent entries.
804         (test_buffer_size): Skip inconsistent entries.
806 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
808         [BZ #13304]
809         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
810         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
811         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
813         [BZ #13304]
814         * sysdeps/microblaze/s_fma.c: New file.
815         * sysdeps/microblaze/s_fmaf.c: Likewise.
816         * sysdeps/microblaze/sfp-machine.h: Likewise.
818 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
820         [BZ #17250]
821         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
822         member.
824 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
826         [BZ #18803]
827         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
828         (MO): New macro.
829         (__ieee754_hypot) [PIC]: Load PIC register.
830         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
831         DBL_NARROW_EVAL.
832         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
833         math_check_force_underflow_nonneg in case where result might be
834         tiny.
835         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
836         Likewise.
837         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
838         Likewise.
839         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
840         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
841         * math/auto-libm-test-in: Add more tests of hypot.
842         * math/auto-libm-test-out: Regenerated.
844 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
846         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
848 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
850         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
851         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
852         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
853         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
854         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
855         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
856         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
858         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
859         LOAD_PIC_REG.
861         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
862         (FLT_CHECK_FORCE_UFLOW): Likewise.
863         (DBL_CHECK_FORCE_UFLOW): Likewise.
864         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
865         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
866         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
867         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
868         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
869         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
870         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
871         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
872         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
873         (dbl_min): Replace with use of DEFINE_DBL_MIN.
874         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
875         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
876         (flt_min): Replace with use of DEFINE_FLT_MIN.
877         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
878         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
879         (dbl_min): Replace with use of DEFINE_DBL_MIN.
880         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
881         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
882         (flt_min): Replace with use of DEFINE_FLT_MIN.
883         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
884         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
885         (dbl_min): Replace with use of DEFINE_DBL_MIN.
886         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
887         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
888         (flt_min): Replace with use of DEFINE_FLT_MIN.
889         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
890         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
891         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
892         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
893         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
894         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
895         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
896         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
897         (dbl_min): Replace with use of DEFINE_DBL_MIN.
898         (__atan): Use DBL_CHECK_FORCE_UFLOW.
899         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
900         (flt_min): Replace with use of DEFINE_FLT_MIN.
901         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
902         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
903         (dbl_min): Replace with use of DEFINE_DBL_MIN.
904         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
905         main computation.
906         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
907         (flt_min): Replace with use of DEFINE_FLT_MIN.
908         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
909         main computation.
910         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
911         (dbl_min): Replace with use of DEFINE_DBL_MIN.
912         (MO): New macro.
913         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
914         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
915         (flt_min): Replace with use of DEFINE_FLT_MIN.
916         (MO): New macro.
917         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
918         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
919         (__log1pl): Use MO.
921         [BZ #19003]
922         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
923         $(config-cflags-nofma).
925 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
927         * sysdeps/aarch64/libm-test-ulps: Regenerated.
929 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
931         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
932         (TWO127): Likewise.
934         * sysdeps/generic/math_private.h (fabs_tg): New macro.
935         (min_of_type): Likewise.
936         (math_check_force_underflow): Likewise.
937         (math_check_force_underflow_nonneg): Likewise.
938         (math_check_force_underflow_complex): Likewise.
939         * math/e_exp2l.c (__ieee754_exp2l): Use
940         math_check_force_underflow_nonneg.
941         * math/k_casinh.c (__kernel_casinh): Likewise.
942         * math/k_casinhf.c (__kernel_casinhf): Likewise.
943         * math/k_casinhl.c (__kernel_casinhl): Likewise.
944         * math/s_catan.c (__catan): Use
945         math_check_force_underflow_complex.
946         * math/s_catanf.c (__catanf): Likewise.
947         * math/s_catanh.c (__catanh): Likewise.
948         * math/s_catanhf.c (__catanhf): Likewise.
949         * math/s_catanhl.c (__catanhl): Likewise.
950         * math/s_catanl.c (__catanl): Likewise.
951         * math/s_ccosh.c (__ccosh): Likewise.
952         * math/s_ccoshf.c (__ccoshf): Likewise.
953         * math/s_ccoshl.c (__ccoshl): Likewise.
954         * math/s_cexp.c (__cexp): Likewise.
955         * math/s_cexpf.c (__cexpf): Likewise.
956         * math/s_cexpl.c (__cexpl): Likewise.
957         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
958         * math/s_clog10.c (__clog10): Likewise.
959         * math/s_clog10f.c (__clog10f): Likewise.
960         * math/s_clog10l.c (__clog10l): Likewise.
961         * math/s_clogf.c (__clogf): Likewise.
962         * math/s_clogl.c (__clogl): Likewise.
963         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
964         * math/s_csinf.c (__csinf): Likewise.
965         * math/s_csinh.c (__csinh): Likewise.
966         * math/s_csinhf.c (__csinhf): Likewise.
967         * math/s_csinhl.c (__csinhl): Likewise.
968         * math/s_csinl.c (__csinl): Likewise.
969         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
970         * math/s_csqrtf.c (__csqrtf): Likewise.
971         * math/s_csqrtl.c (__csqrtl): Likewise.
972         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
973         * math/s_ctanf.c (__ctanf): Likewise.
974         * math/s_ctanh.c (__ctanh): Likewise.
975         * math/s_ctanhf.c (__ctanhf): Likewise.
976         * math/s_ctanhl.c (__ctanhl): Likewise.
977         * math/s_ctanl.c (__ctanl): Likewise.
978         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
979         instead of volatile.
980         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
981         math_check_force_underflow.
982         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
983         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
984         volatile when forcing underflow.
985         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
986         math_check_force_underflow_nonneg.
987         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
988         Likewise.
989         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
990         math_check_force_underflow.
991         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
992         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
993         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
994         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
995         math_check_force_underflow_nonneg.
996         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
997         math_check_force_underflow.
998         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
999         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
1000         instead of volatile.
1001         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
1002         math_check_force_underflow.
1003         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
1004         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
1005         math_check_force_underflow_nonneg.
1006         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
1007         math_check_force_underflow.
1008         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
1009         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
1010         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
1011         math_check_force_underflow_nonneg.
1012         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
1013         Likewise.
1014         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
1015         math_check_force_underflow.
1016         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
1017         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
1018         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
1019         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
1020         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
1021         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
1022         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
1023         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
1024         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
1025         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
1026         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
1027         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
1028         Likewise.
1029         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
1030         math_check_force_underflow_nonneg.
1031         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
1032         Likewise.
1033         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
1034         math_check_force_underflow.
1035         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
1036         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
1037         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
1038         Likewise.
1039         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
1040         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
1041         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
1042         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
1043         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
1044         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
1045         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
1046         instead of volatile.
1047         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
1048         math_check_force_underflow.
1049         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
1050         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
1051         math_check_force_underflow.
1052         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
1053         Likewise.
1054         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
1055         Use math_check_force_underflow_nonneg.
1056         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
1057         math_check_force_underflow.
1058         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
1059         Likewise.
1060         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
1061         Likewise.
1062         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
1063         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
1064         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
1065         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
1066         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
1067         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
1068         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
1069         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
1070         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
1071         math_check_force_underflow_nonneg.
1072         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
1073         math_check_force_underflow.
1074         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
1075         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
1076         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
1077         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
1078         math_check_force_underflow_nonneg.
1079         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
1080         math_check_force_underflow.
1081         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
1082         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
1083         instead of volatile.
1084         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
1085         math_check_force_underflow.
1087         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
1088         * stdlib/strtod_l.c: Include <math_private.h>.
1089         (overflow_value): Use math_narrow_eval.
1090         (underflow_value): Likewise.
1091         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
1092         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
1093         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
1094         (__ieee754_gamma_r): Likewise.
1095         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
1096         Likewise.
1097         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
1098         Likewise.
1099         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
1100         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
1101         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
1102         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
1103         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
1104         (__ieee754_gammaf_r): Likewise.
1105         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
1106         Likewise.
1107         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
1108         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
1109         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
1110         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
1111         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
1112         volatile.
1113         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
1114         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
1115         math_narrow_eval.
1116         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
1117         Likewise.
1118         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
1119         Likewise.
1120         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
1121         Likewise.
1122         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
1123         volatile.
1124         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
1125         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
1126         math_narrow_eval.
1127         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
1128         Likewise.
1129         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
1130         Likewise.
1132 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
1134         * nptl/Versions: Remove ignored symbols.
1136 2015-09-22  Florian Weimer  <fweimer@redhat.com>
1138         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
1139         * nss/Makefile (tests): Update.
1141 2015-09-22  Florian Weimer  <fweimer@redhat.com>
1143         * nss/bug18287.c: New file.
1144         * nss/Makefile (tests): Add bug18287.
1146 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1148         * mach/Versions (__mach_host_self_): Add symbol.
1150 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1152         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
1153         vm_page_size.
1155 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1157         Really fix sysdeps/i386/fpu/s_scalbn.S build
1159         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
1160         (libc: GLIBC_2_22): Remove unused version set.
1162 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
1164         * config.make.in (enable-timezone-tools): New variable.
1165         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
1166         (enable_timezone_tools): Export to generated files.
1167         * configure: Regenerate.
1168         * INSTALL: Regenerate.
1169         * manual/install.texi (--disable-timezone-tools): Document new flag.
1170         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
1171         ifeq ($(enable-timezone-tools),yes) check.
1173 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
1175         * timezone/Makefile: Revert previous change.
1177         [BZ #18980]
1178         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
1179         (DEFINE_DBL_MIN): Likewise.
1180         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
1181         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
1182         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
1183         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
1184         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
1185         (dbl_min): Replace with use of DEFINE_DBL_MIN.
1186         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
1187         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
1188         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
1189         (dbl_min): Replace with use of DEFINE_DBL_MIN.
1190         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
1191         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
1192         (flt_min): Replace with use of DEFINE_FLT_MIN.
1193         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
1194         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
1195         (dbl_min): Replace with use of DEFINE_DBL_MIN.
1196         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
1197         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
1198         (flt_min): Replace with use of DEFINE_FLT_MIN.
1199         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
1200         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
1201         (flt_min): Replace with use of DEFINE_FLT_MIN.
1202         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
1203         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
1204         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
1205         (__ieee754_hypot): Use DBL_NARROW_EVAL.
1206         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
1207         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
1208         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
1209         (__ieee754_pow): Use DBL_NARROW_EVAL.
1210         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
1211         (__ieee754_powf): Use FLT_NARROW_EVAL.
1212         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
1213         (__ieee754_expf_sse2): Convert double-precision result to single
1214         precision.
1215         * sysdeps/i386/fpu/libm-test-ulps: Update.
1217 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
1219         * timezone/Makefile: Ignore unused variable errors due to private.h
1220         (time_t_min) and (time_t_max).
1221         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
1222         Likewise.
1224 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
1226         [BZ #18981]
1227         * sysdeps/i386/fpu/i386-math-asm.h: New file.
1228         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
1229         (__ieee754_scalb): Use DBL_NARROW_EVAL.
1230         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
1231         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
1232         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
1233         (__scalbn): Use DBL_NARROW_EVAL.
1234         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
1235         (__scalbnf): Use FLT_NARROW_EVAL.
1237 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
1239         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
1240         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
1241         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
1242         * stdio-common/printf_fp.c (___printf_fp):
1243         Use signbit to get the sign. Use isinf macro to allow inlining.
1244         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
1245         * stdio-common/printf_size.c (__printf_size): Likewise.
1247 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
1249         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
1251 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
1253         [BZ #18980]
1254         * sysdeps/generic/math_private.h: Include <float.h>.
1255         (math_narrow_eval): New macro.
1256         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
1257         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
1258         math_narrow_eval on overflowing return value.
1259         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
1260         Likewise.
1261         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
1262         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
1263         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
1264         Likewise.
1265         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
1267 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
1269         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
1270         * math/Makefile: Remove isinf_ns.c.
1271         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
1272         * math/multc3.c (__multc3): Likewise.
1273         * math/s_casin.c (__casin): Likewise.
1274         * math/s_casinf.c (__casinf): Likewise.
1275         * math/s_casinl.c (__casinl): Likewise.
1276         * math/s_cproj.c (__cproj): Likewise.
1277         * math/s_cprojf.c (__cprojf): Likewise.
1278         * math/s_cprojl.c (__cprofl): Likewise.
1279         * math/s_ctan.c (__ctan): Likewise.
1280         * math/s_ctanf.c (__ctanf): Likewise.
1281         * math/s_ctanh.c (__ctanh): Likewise.
1282         * math/s_ctanhf.c (__ctanhf): Likewise.
1283         * math/s_ctanhl.c (__ctanhl): Likewise.
1284         * math/s_ctanl.c (__ctanl): Likewise.
1285         * math/w_fmod.c (__fmod): Likewise.
1286         * math/w_fmodf.c (__fmodf): Likewise.
1287         * math/w_fmodl.c (_fmodl): Likewise.
1288         * math/w_remainder.c (__remainder): Likewise.
1289         * math/w_remainderf.c (__remainderf): Likewise.
1290         * math/w_remainderl.c (__remainderl): Likewise.
1291         * math/w_scalb.c (__scalb): Likewise.
1292         * math/w_scalbf.c (__scalbf): Likewise.
1293         * math/w_scalbl.c (__scalbl): Likewise.
1294         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
1295         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
1296         with isinf.
1297         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
1298         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
1299         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
1300         __isinf_nsf with isinf.
1301         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
1302         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
1303         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
1304         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
1305         with isinf.
1306         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
1307         __isinf_nsl with isinf.
1308         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
1309         with isinf.
1310         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
1311         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
1312         __isinf_nsl with isinf.
1313         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
1314         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
1315         with isinf.
1317 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
1319         * resolv/base64.c (rcsid): Remove unused static.
1320         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
1321         static.  (tqpi1): Likewise.
1322         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
1323         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
1324         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
1325         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
1326         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
1327         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
1328         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
1329         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
1330         Likewise.
1332 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
1334         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
1335         <nptl/pthreadP.h>.
1336         (_longjmp_unwind): Use __libc_ptf_call.
1337         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
1339 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
1341         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
1342         * sysdeps/arm/__longjmp.S: Likewise
1344 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
1346         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
1347         Use __builtin_signbit.
1348         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
1349         Use __builtin_signbitf.
1350         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
1351         Use __builtin_signbitl.
1352         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
1353         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
1355 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
1357         [BZ #15367]
1358         [BZ #17441]
1360         * math/Makefile: Build test-snan.c with -fsignaling-nans.
1361         * math/math.h (fpclassify): Use __builtin_fpclassify when
1362         available.  (signbit): Use __builtin_signbit(f/l).
1363         (isfinite): Use__builtin_isfinite.  (isnormal): Use
1364         __builtin_isnormal.  (isnan): Use __builtin_isnan.
1365         (isinf): Use __builtin_isinf_sign.
1367 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
1369         * benchtests/Makefile: Add bench-math-inlines, link with libm.
1370         * benchtests/bench-math-inlines.c: New benchmark.
1371         * benchtests/bench-util.h: New file.
1372         * benchtests/bench-util.c: New file.
1373         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
1375 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
1377         * elf/tst-dlmopen1.c: Define TEST_SO.
1378         (do_test): Use TEST_SO.
1380         * elf/dl-load.c: Include libc-internal.h.
1381         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
1383 2015-09-18  Vincent Bernat  <vincent@bernat.im>
1385         [BZ #17887]
1386         * time/strptime_l.c (__strptime_internal): Make %z accept
1387         [+-]HH:MM time zones.
1389 2015-09-18  Vincent Bernat  <vincent@bernat.im>
1391         [BZ #17886]
1392         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
1393         valid time zone.
1395 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
1397         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
1398         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
1399         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1400         (__ASSUME_FDATASYNC): Delete.
1402 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
1404         * conform/linknamespace.pl: Require weak undefined symbols to be
1405         in the standard namespace.
1406         (%strong_syms): Rename to %seen_syms.
1407         (%strong_seen): Rename to %seen_where.
1409 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
1411         [BZ #18970]
1412         * misc/error.c (error): Replace pthread_setcancelstate with
1413         __pthread_setcancelstate.
1414         (error_at_line): Likewise.
1415         * posix/wordexp.c (parse_comm): Likewise.
1416         * stdlib/fmtmsg.c (fmtmsg): Likewise.
1417         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
1418         (__pthread_setcancelstate): This.
1419         (pthread_setcancelstate): Add an alias.
1420         * nptl/nptl-init.c (pthread_functions): Replace
1421         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
1422         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
1423         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
1424         hidden_proto.
1425         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
1426         it with hidden_def.
1427         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
1428         (pthread_setcancelstate): Renamed to ...
1429         (__pthread_setcancelstate): This.
1430         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
1431         __libc_ptf_call with __pthread_setcancelstate.
1433 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
1434             Andreas Schwab  <schwab@suse.de>
1436         [BZ #17118]
1437         * math/s_ctan.c (__ctan): Determine sign of zero real part of
1438         result when imaginary part of argument is infinite using sine and
1439         cosine.
1440         * math/s_ctanf.c (__ctanf): Likewise.
1441         * math/s_ctanl.c (__ctanl): Likewise.
1442         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
1443         of result when real part of argument is infinite using sine and
1444         cosine.
1445         * math/s_ctanhf.c (__ctanhf): Likewise.
1446         * math/s_ctanhl.c (__ctanhl): Likewise.
1447         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
1448         (ctanh_test_data): Add more tests of ctanh.
1450 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
1452         [BZ #15384]
1453         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
1454         bit-mask as in subtraction.
1455         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
1456         Likewise.
1457         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
1458         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
1459         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
1461         [BZ #18951]
1462         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
1463         underflow exception for small results.
1464         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
1465         Likewise.
1466         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
1467         Likewise.
1468         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
1469         Likewise.
1470         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
1471         Likewise.
1472         * math/auto-libm-test-in: Add more tests of tgamma.
1473         * math/auto-libm-test-out: Regenerated.
1475 2015-09-17  Andreas Schwab  <schwab@suse.de>
1477         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
1479 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
1481         [BZ #18977]
1482         * math/bits/mathcalls.h
1483         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
1484         not declare.
1485         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
1486         Likewise.
1487         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
1488         Likewise.
1489         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
1490         Likewise.
1491         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
1492         Likewise.
1493         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
1494         Likewise.
1495         * conform/data/math.h-data
1496         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
1497         function.
1498         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
1499         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
1500         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
1501         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
1502         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
1503         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
1504         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
1505         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
1506         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
1507         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
1508         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
1510         [BZ #6803]
1511         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
1512         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
1513         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
1514         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
1515         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
1516         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
1517         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
1518         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
1519         [NO_LONG_DOUBLE] (scalbnl): Likewise.
1520         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
1521         Likewise.
1522         [NO_LONG_DOUBLE] (scalbnl): Likewise.
1523         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
1524         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
1525         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
1526         long_double_symbol calls.
1527         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
1528         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
1529         strong alias of __ldexpl.
1530         (scalbnl): Define using long_double_symbol.
1531         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
1532         Remove alias.
1533         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
1534         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
1535         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
1536         (scalbln_test_data): Add more errno expectations.
1538 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
1540         Cache the host port like we cache the task port.  This way we do not
1541         need to call the kernel just to get the port.  Furthermore, we no
1542         longer increase the reference count on every invocation of
1543         `mach_host_self'.
1545         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
1546         Protect declarations against the macro expansion.
1547         * mach/mach_init.c (__mach_host_self_): New variable.
1548         (mach_init): Initialize `__mach_host_self_'.
1549         * mach/mach_init.h (__mach_host_self_): New declaration.
1550         (__mach_host_self, mach_host_self): New macros.
1551         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
1552         Release reference.
1554 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
1556         [BZ #4404]
1557         * po/de.po: Update from Translation Project.
1559         [BZ #16415]
1560         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
1561         (__expm1l): Remove code to handle positive infinity and overflow.
1562         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
1563         variable.
1564         (__expm1l): Remove code to handle positive infinity and overflow.
1566 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
1567             Paul Pluzhnikov  <ppluzhnikov@google.com>
1569         [BZ #18872]
1570         * stdio-common/Makefile (tst-printf-bz18872): New test.
1571         (tst-printf-bz18872-mem.out): Likewise.
1572         * stdio-common/tst-printf-bz18872.sh: Generate new test.
1573         * stdio-common/vfprintf.c: Fix memory leaks.
1575 2015-09-16  Andreas Schwab  <schwab@suse.de>
1577         [BZ #17244]
1578         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
1579         Remove extra va_start/va_end calls.
1581         [BZ #17243]
1582         * posix/execl.c (execl): Add missing va_end.
1583         * posix/execle.c (execle): Likewise.
1584         * posix/execlp.c (execlp): Likewise.
1586 2015-09-15  Roland McGrath  <roland@hack.frob.com>
1588         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
1589         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
1591 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
1593         [BZ #18967]
1594         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
1595         undefine around includes of <bits/mathcalls.h>.
1596         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
1597         not declare function.
1598         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
1599         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
1600         (scalb): Likewise.
1601         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
1602         not define macro.
1603         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
1604         variable.
1605         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
1606         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
1607         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
1609         [BZ #18857]
1610         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
1611         return non-finite argument without doing ordered comparisons on
1612         it.
1614         [BZ #16296]
1615         * math/fenv.h (fegetround): Use __attribute_pure__.
1616         * include/fenv.h (__fegetround): Likewise.
1618         [BZ #18595]
1619         * math/s_ctan.c (__ctan): Force underflow exception for results
1620         whose real or imaginary part has small absolute value.
1621         * math/s_ctanf.c (__ctanf): Likewise.
1622         * math/s_ctanh.c (__ctanh): Likewise.
1623         * math/s_ctanhf.c (__ctanhf): Likewise.
1624         * math/s_ctanhl.c (__ctanhl): Likewise.
1625         * math/s_ctanl.c (__ctanl): Likewise.
1626         * math/auto-libm-test-in: Do not allow missing underflow for ctan
1627         and ctanh.  Add more tests of ctan and ctanh.
1629         [BZ #15918]
1630         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
1631         handling of cases where one argument is an infinity.
1633         [BZ #18875]
1634         [BZ #18966]
1635         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
1636         (MO): New macro.
1637         (__ieee754_exp10): For small results, force underflow exception
1638         and remove excess range and precision from return value.
1639         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
1640         (MO): New macro.
1641         (__ieee754_exp10f): For small results, force underflow exception
1642         and remove excess range and precision from return value.
1643         * math/auto-libm-test-in: Add more tests of exp10.
1644         * math/auto-libm-test-out: Regenerated.
1646 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
1648         [BZ #18875]
1649         [BZ #18961]
1650         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
1651         (MO): New macro.
1652         (__ieee754_exp): For small results, force underflow exception and
1653         remove excess range and precision from return value.
1654         (__exp_finite): Likewise.
1655         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
1656         (MO): New macro.
1657         (__ieee754_expf): For small results, force underflow exception and
1658         remove excess range and precision from return value.
1659         (__expf_finite): Likewise.
1660         * math/auto-libm-test-in: Add more tests of exp.
1661         * math/auto-libm-test-out: Regenerated.
1663         [BZ #16521]
1664         [BZ #18875]
1665         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
1666         small results.
1667         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
1668         (MO): New macro.
1669         (__ieee754_exp2): For small results, force underflow exception and
1670         remove excess range and precision from return value.
1671         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
1672         (MO): New macro.
1673         (__ieee754_exp2f): For small results, force underflow exception
1674         and remove excess range and precision from return value.
1675         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
1676         (MO): New macro.
1677         (__ieee754_exp2l): Force underflow exception for small results.
1678         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
1679         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
1680         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
1681         (MO): New macro.
1682         (__ieee754_exp2l): Force underflow exception for small results.
1683         * math/auto-libm-test-in: Add more tests or exp2.
1684         * math/auto-libm-test-out: Regenerated.
1686 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
1688         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
1690         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
1691         /dev/null.
1693 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1695         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
1696         io fs process)): Drop spurious backslash.
1698 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
1700         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
1701         Use sysinfo system call instead of parsing /proc/meminfo.
1702         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
1703         Likewise.
1705 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
1707         [BZ #16985]
1708         * programs/localedef.c (main): Display argv[remaining] when
1709         output_path is NULL.
1711 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
1713         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
1714         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
1715         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
1716         tanh.
1717         * math/auto-libm-test-out: Regenerated.
1718         * sysdeps/i386/fpu/libm-test-ulps: Update.
1719         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
1720         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1721         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1723 2015-09-11  Roland McGrath  <roland@hack.frob.com>
1725         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
1726         Use 'override' keyword to freeze the value here, preventing
1727         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
1729 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
1731         [BZ #14912]
1732         * sysdeps/aarch64/bits/atomic.h: Move to ...
1733         * sysdeps/aarch64/atomic-machine.h: ...here.
1734         (_AARCH64_BITS_ATOMIC_H): Rename macro to
1735         _AARCH64_ATOMIC_MACHINE_H.
1736         * sysdeps/alpha/bits/atomic.h: Move to ...
1737         * sysdeps/alpha/atomic-machine.h: ...here.
1738         * sysdeps/arm/bits/atomic.h: Move to ...
1739         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
1740         * bits/atomic.h: Move to ...
1741         * sysdeps/generic/atomic-machine.h: ...here.
1742         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
1743         * sysdeps/i386/bits/atomic.h: Move to ...
1744         * sysdeps/i386/atomic-machine.h: ...here.
1745         * sysdeps/ia64/bits/atomic.h: Move to ...
1746         * sysdeps/ia64/atomic-machine.h: ...here.
1747         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
1748         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
1749         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
1750         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
1751         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
1752         * sysdeps/microblaze/bits/atomic.h: Move to ...
1753         * sysdeps/microblaze/atomic-machine.h: ...here.
1754         * sysdeps/mips/bits/atomic.h: Move to ...
1755         * sysdeps/mips/atomic-machine.h: ...here.
1756         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
1757         * sysdeps/powerpc/bits/atomic.h: Move to ...
1758         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
1759         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
1760         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
1761         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
1762         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
1763         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
1764         <atomic-machine.h> instead of <bits/atomic.h>.
1765         * sysdeps/s390/bits/atomic.h: Move to ...
1766         * sysdeps/s390/atomic-machine.h: ...here.
1767         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
1768         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
1769         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
1770         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
1771         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
1772         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
1773         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
1774         * sysdeps/tile/bits/atomic.h: Move to ...
1775         * sysdeps/tile/atomic-machine.h: ...here.
1776         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
1777         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
1778         <sysdeps/tile/atomic-machine.h> instead of
1779         <sysdeps/tile/bits/atomic.h>.
1780         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
1781         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
1782         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
1783         <sysdeps/tile/atomic-machine.h> instead of
1784         <sysdeps/tile/bits/atomic.h>.
1785         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
1786         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
1787         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
1788         <sysdeps/arm/atomic-machine.h> instead of
1789         <sysdeps/arm/bits/atomic.h>.
1790         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
1791         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
1792         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
1793         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
1794         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
1795         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
1796         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
1797         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
1798         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
1799         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
1800         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
1801         * sysdeps/x86_64/bits/atomic.h: Move to ...
1802         * sysdeps/x86_64/atomic-machine.h: ...here.
1803         * include/atomic.h: Include <atomic-machine.h> instead of
1804         <bits/atomic.h>.
1806         * sysdeps/mips/mips32/libm-test-ulps: Update.
1807         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1809         [BZ #18952]
1810         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
1811         not convert non-integer negative arguments to int to determine the
1812         value of signgam.
1813         * math/auto-libm-test-in: Add more tests of lgamma.
1814         * math/auto-libm-test-out: Regenerated.
1816         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
1817         cosh, csqrt, erfc, expm1 and lgamma.
1818         * math/auto-libm-test-out: Regenerated.
1819         * sysdeps/i386/fpu/libm-test-ulps: Update.
1820         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1822 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
1824         [BZ #2542]
1825         [BZ #2543]
1826         [BZ #2558]
1827         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
1828         __lgamma_neg for arguments from -28.0 to -2.0.
1829         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
1830         __lgamma_negf for arguments from -15.0 to -2.0.
1831         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
1832         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
1833         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
1834         Call __lgamma_negl for arguments from -33.0 to -2.0.
1835         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
1836         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
1837         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
1838         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
1839         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
1840         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
1841         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
1842         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
1843         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
1844         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
1845         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
1846         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
1847         (__lgamma_neg): Likewise.
1848         (__lgamma_negl): Likewise.
1849         (__lgamma_product): Likewise.
1850         (__lgamma_productl): Likewise.
1851         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
1852         * math/auto-libm-test-in: Add more tests of lgamma.
1853         * math/auto-libm-test-out: Regenerated.
1854         * sysdeps/i386/fpu/libm-test-ulps: Update.
1855         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1857 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
1859         [BZ #18675]
1860         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
1862 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
1864         [BZ #14912]
1865         * bits/libc-lock.h: Move to ...
1866         * sysdeps/generic/libc-lock.h: ...here.
1867         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
1868         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
1869         * sysdeps/mach/hurd/libc-lock.h: ...here.
1870         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
1871         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
1872         * sysdeps/mach/bits/libc-lock.h: Move to ...
1873         * sysdeps/mach/libc-lock.h: ...here.
1874         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
1875         * sysdeps/nptl/bits/libc-lock.h: Move to ...
1876         * sysdeps/nptl/libc-lock.h: ...here.
1877         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
1878         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
1879         * sysdeps/nptl/libc-lockP.h: ...here.
1880         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
1881         * crypt/crypt_util.c: Include <libc-lock.h> instead of
1882         <bits/libc-lock.h>.
1883         * dirent/scandir-tail.c: Likewise.
1884         * dlfcn/dlerror.c: Likewise.
1885         * elf/dl-close.c: Likewise.
1886         * elf/dl-iteratephdr.c: Likewise.
1887         * elf/dl-lookup.c: Likewise.
1888         * elf/dl-open.c: Likewise.
1889         * elf/dl-support.c: Likewise.
1890         * elf/dl-writev.h: Likewise.
1891         * elf/rtld.c: Likewise.
1892         * grp/fgetgrent.c: Likewise.
1893         * gshadow/fgetsgent.c: Likewise.
1894         * gshadow/sgetsgent.c: Likewise.
1895         * iconv/gconv_conf.c: Likewise.
1896         * iconv/gconv_db.c: Likewise.
1897         * iconv/gconv_dl.c: Likewise.
1898         * iconv/gconv_int.h: Likewise.
1899         * iconv/gconv_trans.c: Likewise.
1900         * include/link.h: Likewise.
1901         * inet/getnameinfo.c: Likewise.
1902         * inet/getnetgrent.c: Likewise.
1903         * inet/getnetgrent_r.c: Likewise.
1904         * intl/bindtextdom.c: Likewise.
1905         * intl/dcigettext.c: Likewise.
1906         * intl/finddomain.c: Likewise.
1907         * intl/gettextP.h: Likewise.
1908         * intl/loadmsgcat.c: Likewise.
1909         * intl/localealias.c: Likewise.
1910         * intl/textdomain.c: Likewise.
1911         * libidn/idn-stub.c: Likewise.
1912         * libio/libioP.h: Likewise.
1913         * locale/duplocale.c: Likewise.
1914         * locale/freelocale.c: Likewise.
1915         * locale/newlocale.c: Likewise.
1916         * locale/setlocale.c: Likewise.
1917         * login/getutent_r.c: Likewise.
1918         * login/getutid_r.c: Likewise.
1919         * login/getutline_r.c: Likewise.
1920         * login/utmp-private.h: Likewise.
1921         * login/utmpname.c: Likewise.
1922         * malloc/mtrace.c: Likewise.
1923         * misc/efgcvt.c: Likewise.
1924         * misc/error.c: Likewise.
1925         * misc/fstab.c: Likewise.
1926         * misc/getpass.c: Likewise.
1927         * misc/mntent.c: Likewise.
1928         * misc/syslog.c: Likewise.
1929         * nis/nis_call.c: Likewise.
1930         * nis/nis_callback.c: Likewise.
1931         * nis/nss-default.c: Likewise.
1932         * nis/nss_compat/compat-grp.c: Likewise.
1933         * nis/nss_compat/compat-initgroups.c: Likewise.
1934         * nis/nss_compat/compat-pwd.c: Likewise.
1935         * nis/nss_compat/compat-spwd.c: Likewise.
1936         * nis/nss_nis/nis-alias.c: Likewise.
1937         * nis/nss_nis/nis-ethers.c: Likewise.
1938         * nis/nss_nis/nis-grp.c: Likewise.
1939         * nis/nss_nis/nis-hosts.c: Likewise.
1940         * nis/nss_nis/nis-network.c: Likewise.
1941         * nis/nss_nis/nis-proto.c: Likewise.
1942         * nis/nss_nis/nis-pwd.c: Likewise.
1943         * nis/nss_nis/nis-rpc.c: Likewise.
1944         * nis/nss_nis/nis-service.c: Likewise.
1945         * nis/nss_nis/nis-spwd.c: Likewise.
1946         * nis/nss_nisplus/nisplus-alias.c: Likewise.
1947         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
1948         * nis/nss_nisplus/nisplus-grp.c: Likewise.
1949         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
1950         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
1951         * nis/nss_nisplus/nisplus-network.c: Likewise.
1952         * nis/nss_nisplus/nisplus-proto.c: Likewise.
1953         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
1954         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
1955         * nis/nss_nisplus/nisplus-service.c: Likewise.
1956         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
1957         * nis/ypclnt.c: Likewise.
1958         * nptl/libc_pthread_init.c: Likewise.
1959         * nss/getXXbyYY.c: Likewise.
1960         * nss/getXXent.c: Likewise.
1961         * nss/getXXent_r.c: Likewise.
1962         * nss/nss_db/db-XXX.c: Likewise.
1963         * nss/nss_db/db-netgrp.c: Likewise.
1964         * nss/nss_db/nss_db.h: Likewise.
1965         * nss/nss_files/files-XXX.c: Likewise.
1966         * nss/nss_files/files-alias.c: Likewise.
1967         * nss/nsswitch.c: Likewise.
1968         * posix/regex_internal.h: Likewise.
1969         * posix/wordexp.c: Likewise.
1970         * pwd/fgetpwent.c: Likewise.
1971         * resolv/res_hconf.c: Likewise.
1972         * resolv/res_libc.c: Likewise.
1973         * shadow/fgetspent.c: Likewise.
1974         * shadow/lckpwdf.c: Likewise.
1975         * shadow/sgetspent.c: Likewise.
1976         * socket/opensock.c: Likewise.
1977         * stdio-common/reg-modifier.c: Likewise.
1978         * stdio-common/reg-printf.c: Likewise.
1979         * stdio-common/reg-type.c: Likewise.
1980         * stdio-common/vfprintf.c: Likewise.
1981         * stdio-common/vfscanf.c: Likewise.
1982         * stdlib/abort.c: Likewise.
1983         * stdlib/cxa_atexit.c: Likewise.
1984         * stdlib/fmtmsg.c: Likewise.
1985         * stdlib/random.c: Likewise.
1986         * stdlib/setenv.c: Likewise.
1987         * string/strsignal.c: Likewise.
1988         * sunrpc/auth_none.c: Likewise.
1989         * sunrpc/bindrsvprt.c: Likewise.
1990         * sunrpc/create_xid.c: Likewise.
1991         * sunrpc/key_call.c: Likewise.
1992         * sunrpc/rpc_thread.c: Likewise.
1993         * sysdeps/arm/backtrace.c: Likewise.
1994         * sysdeps/generic/ldsodefs.h: Likewise.
1995         * sysdeps/generic/stdio-lock.h: Likewise.
1996         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
1997         * sysdeps/i386/backtrace.c: Likewise.
1998         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
1999         * sysdeps/m68k/backtrace.c: Likewise.
2000         * sysdeps/mach/hurd/cthreads.c: Likewise.
2001         * sysdeps/mach/hurd/dirstream.h: Likewise.
2002         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
2003         * sysdeps/nptl/malloc-machine.h: Likewise.
2004         * sysdeps/nptl/stdio-lock.h: Likewise.
2005         * sysdeps/posix/dirstream.h: Likewise.
2006         * sysdeps/posix/getaddrinfo.c: Likewise.
2007         * sysdeps/posix/system.c: Likewise.
2008         * sysdeps/pthread/aio_suspend.c: Likewise.
2009         * sysdeps/s390/s390-32/backtrace.c: Likewise.
2010         * sysdeps/s390/s390-64/backtrace.c: Likewise.
2011         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2012         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
2013         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
2014         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
2015         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
2016         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
2017         * sysdeps/unix/sysv/linux/system.c: Likewise.
2018         * sysdeps/x86_64/backtrace.c: Likewise.
2019         * time/alt_digit.c: Likewise.
2020         * time/era.c: Likewise.
2021         * time/tzset.c: Likewise.
2022         * wcsmbs/wcsmbsload.c: Likewise.
2023         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
2024         instead of <bits/libc-lock.h> in comment.
2026 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
2028         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
2029         Only use .set mips2 if the current ISA is below mips2.
2030         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
2031         Likewise.
2032         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
2033         mips32r2 if the current ISA is below mips32r2.
2034         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
2035         (TLS_IE): Updated to use the TLD_RDHWR macro.
2036         (TLS_LE): Likewise.
2037         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
2038         __ASSEMBLER__ condition.
2040 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2042         Fix parallel build of before-compile targets.
2044         * sysdeps/mach/Makefile ($(patsubst
2045         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
2046         mach-before-compile target.
2047         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
2048         io fs process)): Move rule to dedicated hurd-before-compile target.
2050 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2052         Fix rules generating headers in hurd/ and mach/ when initial make call
2053         has subdir= explicitly set.
2055         * sysdeps/mach/Makefile ($(patsubst
2056         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
2057         calling $(MAKE).
2058         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
2059         io fs process)): Force subdir to hurd when calling $(MAKE).
2060         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
2061         subdir to mach when calling $(MAKE).
2063 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
2065         Check sysheaders when looking for Mach and Hurd headers
2067         * sysdeps/mach/configure.ac: Add sysheaders check.
2068         * sysdeps/mach/configure: Regenerate.
2069         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
2070         * sysdeps/mach/hurd/configure: Regenerate.
2072 2015-09-04  Roland McGrath  <roland@hack.frob.com>
2074         [BZ #18921]
2075         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
2076         Fix inverted sense of test of 'o_directory_works' value.
2077         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
2078         Bernhard Voelker <mail@bernhard-voelker.de>.
2080 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
2082         [BZ #14912]
2083         * bits/linkmap.h: Move to ...
2084         * sysdeps/generic/linkmap.h: ...here.
2085         * sysdeps/aarch64/bits/linkmap.h: Move to ...
2086         * sysdeps/aarch64/linkmap.h: ...here.
2087         * sysdeps/arm/bits/linkmap.h: Move to ...
2088         * sysdeps/arm/linkmap.h: ...here.
2089         * sysdeps/hppa/bits/linkmap.h: Move to ...
2090         * sysdeps/hppa/linkmap.h: ...here.
2091         * sysdeps/ia64/bits/linkmap.h: Move to ...
2092         * sysdeps/ia64/linkmap.h: ...here.
2093         * sysdeps/mips/bits/linkmap.h: Move to ...
2094         * sysdeps/mips/linkmap.h: ...here.
2095         * sysdeps/s390/bits/linkmap.h: Move to ...
2096         * sysdeps/s390/linkmap.h: ...here.
2097         * sysdeps/sh/bits/linkmap.h: Move to ...
2098         * sysdeps/sh/linkmap.h: ...here.
2099         * sysdeps/x86/bits/linkmap.h: Move to ...
2100         * sysdeps/x86/linkmap.h: ...here.
2101         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
2103 2015-09-04  Andreas Schwab  <schwab@suse.de>
2105         [BZ #18635]
2106         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
2107         (__makecontext): Terminate FDE before return label.
2108         (__novec_makecontext): Likewise.
2110 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
2112         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
2113         first member of struct sv in syscall macro.
2115 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
2117         [BZ #14912]
2118         * bits/stdio-lock.h: Move to ...
2119         * sysdeps/generic/stdio-lock.h: ...here.
2120         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
2121         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
2122         * sysdeps/nptl/stdio-lock.h: ...here.
2123         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
2124         * include/libio.h: Include <stdio-lock.h> instead of
2125         <bits/stdio-lock.h>.
2126         * sysdeps/nptl/fork.c: Likewise.
2127         * sysdeps/pthread/flockfile.c: Likewise.
2128         * sysdeps/pthread/ftrylockfile.c: Likewise.
2129         * sysdeps/pthread/funlockfile.c: Likewise.
2131         [BZ #14912]
2132         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
2133         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
2134         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
2135         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
2136         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
2137         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
2138         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
2140 2015-09-03  Roland McGrath  <roland@hack.frob.com>
2142         * elf/Makefile (test-xfail-tst-protected1a): New variable.
2143         (test-xfail-tst-protected1b): New variable.
2145 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
2147         [BZ #14912]
2148         * bits/libc-tsd.h: Move to ...
2149         * sysdeps/generic/libc-tsd.h: ...here.
2150         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
2151         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
2152         * sysdeps/mach/hurd/libc-tsd.h: ...here.
2153         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
2154         * include/ctype.h: Include <libc-tsd.h> instead of
2155         <bits/libc-tsd.h>.
2156         * include/rpc/rpc.h: Likewise.
2157         * locale/localeinfo.h: Likewise.
2158         * sunrpc/rpc_thread.c: Likewise.
2159         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
2160         * sysdeps/nptl/malloc-machine.h: Likewise.
2162         * Makefile (headers): Remove bits/libc-lock.h.
2163         * libio/Makefile (headers): Remove bits/stdio-lock.h.
2165         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
2166         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
2167         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
2168         <bits/stdio-lock.h>.
2169         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
2170         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
2172 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
2174         [BZ #18757]
2175         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
2176         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
2177         BZ #18757.
2179 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
2181         * malloc/mtrace.pl: Filter out NULL entries.
2183 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
2185         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
2186         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
2187         macro.
2189         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
2190         (TCP_CC_INFO): Likewise.
2191         (TCP_SAVE_SYN): Likewise.
2192         (TCP_SAVED_SYN): Likewise.
2194 2015-08-31  Brett Neumeier <brett@neumeier.us>
2196         [BZ #18870]
2197         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
2199 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
2201         [BZ #18873]
2202         Fix broken overflow check in posix_fallocate
2203         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
2204         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
2205         Fix parenthesization typo.
2207 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
2209         [BZ #18887]
2210         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
2211         tst-mntent-blank-passno.
2212         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
2213         * misc/tst-mntent-blank-corrupt.c: New test.
2214         * misc/tst-mntent-blank-passno.c: New test ripped from ...
2215         * misc/tst-mntent.c (do_test): ... here.
2217 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
2219         [BZ #4404]
2220         * po/de.po: Fix SIGALRM typo.
2222 2015-08-28  James Perkins  <james@loowit.net>
2224         * time/tst-strptime2.c (tests): Replace short list of test
2225         strings for strptime %z specifier with code which exhaustively
2226         tests every combination of sign and 0 to 5 digits. Tests for
2227         rejection of invalid strings.
2229 2015-08-28  James Perkins  <james@loowit.net>
2231         [BZ #16141]
2232         * time/strptime_l.c (__strptime_internal): Fix %z minutes
2233         calculation, removing incorrect decimal time rounding, so that
2234         all minute values result in a valid seconds value.
2235         * time/strptime_l.c (__strptime_internal): Extend %z time zone
2236         offset range limits to UTC-99:59 through UTC+99:59 to parse
2237         current and historical use cases.
2238         * time/tst-strptime2.c (tests): Modify and add tests for the
2239         strptime %z input field descriptor, specifically conversion of
2240         minutes to seconds and validating an offset range of -9959 to
2241         +9959.
2243 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2244             Dmitry V. Levin  <ldv@altlinux.org>
2246         [BZ #18877]
2247         * posix/Makefile (tests): Add tst-mmap-offset.
2248         * posix/tst-mmap.c: New file.
2249         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
2250         offset calculation for negative values.
2252 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
2254         * sysdeps/i386/init-arch.h: New file.
2255         * sysdeps/i386/i586/init-arch.h: Likewise.
2256         * sysdeps/i386/i686/init-arch.h: Likewise.
2257         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
2258         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
2259         * sysdeps/x86/cpu-features.h (bit_I586): New.
2260         (bit_I686): Likewise.
2261         (bit_CX8): Likewise.
2262         (bit_CMOV): Likewise.
2263         (index_CX8): Likewise.
2264         (index_CMOV): Likewise.
2265         (index_I586): Likewise.
2266         (index_I686): Likewise.
2267         (reg_CX8): Likewise.
2268         (reg_CMOV): Likewise.
2269         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
2270         available at compile-time.
2271         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
2272         available at compile-time.
2273         * sysdeps/x86/init-arch.h (USE_I586): New macro.
2274         (USE_I686): Likewise.
2276 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
2278         * sysdeps/i386/bcopy.S: New file.
2279         * sysdeps/i386/bzero.S: Likewise.
2280         * sysdeps/i386/memcpy.S: Likewise.
2281         * sysdeps/i386/memmove.S: Likewise.
2282         * sysdeps/i386/mempcpy.S: Likewise.
2283         * sysdeps/i386/memset.S: Likewise.
2284         * sysdeps/i386/bzero.c: Removed.
2285         * sysdeps/i386/memset.c: Likewise.
2286         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
2287         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
2288         * sysdeps/i386/i586/memset_chk.S: Likewise.
2289         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
2290         * sysdeps/i386/memcpy_chk.S: Here.
2291         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
2292         * sysdeps/i386/memmove_chk.S: Here.
2293         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
2294         * sysdeps/i386/mempcpy_chk.S: Likewise.
2295         * sysdeps/i386/i686/memset_chk.S: Moved to ...
2296         * sysdeps/i386/memset_chk.S: Likewise.
2298 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
2300         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
2301         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
2302         file, move DIAG_POP_NEEDS_COMMENT to end of file.
2303         * soft-fp/fmadf4.c: Ditto.
2304         * soft-fp/fmatf4.c: Ditto.
2306 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
2308         * sysdeps/i386/i586/Implies: Removed.
2309         * sysdeps/i386/i686/Implies: Likewise.
2311 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
2313         * sysdeps/i386/i486/strlen.S: Moved to ...
2314         * sysdeps/i386/strlen.S: Here.
2316 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
2318         * sysdeps/i386/i486/strcat.S: Moved to ...
2319         * sysdeps/i386/strcat.S: Here.
2321 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
2323         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
2324         * sysdeps/i386/pthread_spin_trylock.S: Here.
2325         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
2326         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
2328 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
2330         * sysdeps/i386/i486/string-inlines.c: Moved to ...
2331         * sysdeps/i386/string-inlines.c: Here.
2333 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
2335         * sysdeps/i386/i486/htonl.S: Moved ...
2336         * sysdeps/i386/htonl.S: here.
2338 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
2340         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
2341         * sysdeps/i386/bits/atomic.h: Here.
2343 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
2345         * sysdeps/i386/i486/Versions: Removed.
2347 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
2349         [BZ #2898]
2350         * misc/mktemp.c: Add mkdtemp to the link_warning message.
2351         Based on patch by Aurelien Jarno.
2353 2015-08-26  Stan Shebs  <stanshebs@google.com>
2355         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
2356         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
2358 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
2360         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
2361         * sysdeps/powerpc/dl-procinfo.c:
2362         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
2363         feature so it shows when LD_SHOW_AUXV=1.
2365 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2367         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
2368         (__arch_compare_and_exchange_val_32_acq): Remove and use common
2369         definition.  ISA 2.07B no longer requires full sync.
2371 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
2373         [BZ #18863]
2374         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
2375         (si_call_addr): Define.
2376         (si_syscall): Define.
2377         (si_arch): Define.
2379 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
2381         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
2382         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
2383         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
2384         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
2385         (__memset_zero_constant_len_parameter): New.
2386         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
2387         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
2388         (__memset_zero_constant_len_parameter): Don't define if
2389         __memset_chk or USE_AS_BZERO are defined.
2391         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
2392         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
2393         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
2395         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
2396         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
2397         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
2398         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
2399         comments.
2400         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
2401         -mno-mmx for $(all-rtld-routines).
2402         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
2403         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
2404         i386.
2406 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
2408         * sysdeps/generic/unwind.h
2409         (_Unwind_Word): Use __mode__(__unwind_word__)
2410         instead of __mode__(__word__).
2411         (_Unwind_Sword): Likewise.
2413         * sysdeps/s390/s390-64/utf8-utf16-z9.c
2414         (MAX_NEEDED_INPUT): New define.
2415         (MAX_NEEDED_OUTPUT): New define.
2417         * NEWS: New item for IBM z13 string optimizations.
2419         * sysdeps/s390/multiarch/memrchr-c.c: New File.
2420         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
2421         * sysdeps/s390/multiarch/memrchr.c: Likewise.
2422         * sysdeps/s390/multiarch/Makefile
2423         (sysdep_routines): Add memrchr functions.
2424         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
2425         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
2427         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
2428         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
2429         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
2430         * sysdeps/s390/multiarch/Makefile
2431         (sysdep_routines): Add wmemcmp functions.
2432         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
2433         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
2434         * benchtests/bench-wmemcmp.c: New File.
2435         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
2437         * sysdeps/s390/multiarch/wmemset-c.c: New File.
2438         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
2439         * sysdeps/s390/multiarch/wmemset.c: Likewise.
2440         * sysdeps/s390/multiarch/Makefile
2441         (sysdep_routines): Add wmemset functions.
2442         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
2443         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
2444         * wcsmbs/wmemset.c: Use WMEMSET if defined.
2445         * string/test-memset.c: Add wmemset support.
2446         * wcsmbs/test-wmemset.c: New File.
2447         * wcsmbs/Makefile (strop-tests): Add wmemset.
2448         * benchtests/bench-memset.c: Add wmemset support.
2449         * benchtests/bench-wmemset.c: New File.
2450         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
2452         * sysdeps/s390/multiarch/memccpy-c.c: New File.
2453         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
2454         * sysdeps/s390/multiarch/memccpy.c: Likewise.
2455         * sysdeps/s390/multiarch/Makefile
2456         (sysdep_routines): Add memccpy functions.
2457         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
2458         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
2459         * string/memccpy.c: Use MEMCCPY if defined.
2461         * sysdeps/s390/multiarch/memchr-vx.S: New File.
2462         * sysdeps/s390/multiarch/memchr.c: Likewise.
2463         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
2464         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
2465         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
2466         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
2467         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
2468         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
2469         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
2470         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
2471         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
2472         and rawmemchr functions.
2473         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
2474         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
2475         and wmemchr.
2476         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
2477         * string/test-memchr.c: Add wmemchr support.
2478         * wcsmbs/test-wmemchr.c: New File.
2479         * wcsmbs/Makefile (strop-tests): Add wmemchr.
2480         * benchtests/bench-memchr.c: Add wmemchr support.
2481         * benchtests/bench-wmemchr.c: New File.
2482         * benchtests/Makefile (wcsmbs-bench): wmemchr.
2484         * sysdeps/s390/multiarch/strcspn-c.c: New File.
2485         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
2486         * sysdeps/s390/multiarch/strcspn.c: Likewise.
2487         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
2488         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
2489         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
2490         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
2491         wcscspn functions.
2492         * sysdeps/s390/multiarch/ifunc-impl-list.c
2493         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
2494         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
2495         * string/test-strcspn.c: Add wcscspn support.
2496         * wcsmbs/test-wcscspn.c: New File.
2497         * wcsmbs/Makefile (strop-tests): Add wcscspn.
2498         * benchtests/bench-strcspn.c: Add wcscspn support.
2499         * benchtests/bench-wcscspn.c: New File.
2500         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
2502         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
2503         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
2504         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
2505         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
2506         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
2507         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
2508         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
2509         wcspbrk functions.
2510         * sysdeps/s390/multiarch/ifunc-impl-list.c
2511         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
2512         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
2513         * string/test-strpbrk.c: Add wcspbrk support.
2514         * wcsmbs/test-wcspbrk.c: New File.
2515         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
2516         * benchtests/bench-strpbrk.c: Add wcspbrk support.
2517         * benchtests/bench-wcspbrk.c: New File.
2518         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
2520         * sysdeps/s390/multiarch/strspn-c.c: New File.
2521         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
2522         * sysdeps/s390/multiarch/strspn.c: Likewise.
2523         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
2524         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
2525         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
2526         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
2527         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
2528         wcsspn functions.
2529         * sysdeps/s390/multiarch/ifunc-impl-list.c
2530         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
2531         * string/test-strspn.c: Add wcsspn support.
2532         * wcsmbs/test-wcsspn.c: New File.
2533         * wcsmbs/Makefile (strop-tests): Add wcsspn.
2534         * benchtests/bench-strspn.c: Add wcsspn support.
2535         * benchtests/bench-wcsspn.c: New File.
2536         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
2538         * sysdeps/s390/multiarch/strrchr-c.c: New File.
2539         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
2540         * sysdeps/s390/multiarch/strrchr.c: Likewise.
2541         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
2542         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
2543         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
2544         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
2545         wcsrchr functions.
2546         * sysdeps/s390/multiarch/ifunc-impl-list.c
2547         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
2548         * benchtests/bench-wcsrchr.c: New File.
2549         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
2551         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
2552         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
2553         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
2554         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
2555         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
2556         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
2557         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
2558         wcschrnul functions.
2559         * sysdeps/s390/multiarch/ifunc-impl-list.c
2560         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
2561         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
2562         * string/test-strchr.c: Add wcschrnul support.
2563         * wcsmbs/test-wcschrnul.c: New File.
2564         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
2565         * benchtests/bench-strchr.c: Add wcschrnul support.
2566         * benchtests/bench-wcschrnul.c: New File.
2567         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
2569         * sysdeps/s390/multiarch/strchr-c.c: New File.
2570         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
2571         * sysdeps/s390/multiarch/strchr.c: Likewise.
2572         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
2573         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
2574         * sysdeps/s390/multiarch/wcschr.c: Likewise.
2575         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
2576         wcschr functions.
2577         * sysdeps/s390/multiarch/ifunc-impl-list.c
2578         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
2579         * string/strchr.c (STRCHR): Define and use macro.
2580         * benchtests/bench-wcschr.c: New File.
2581         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
2583         * sysdeps/s390/multiarch/strncmp-c.c: New File.
2584         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
2585         * sysdeps/s390/multiarch/strncmp.c: Likewise.
2586         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
2587         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
2588         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
2589         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
2590         wcsncmp functions.
2591         * sysdeps/s390/multiarch/ifunc-impl-list.c
2592         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
2593         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
2594         * benchtests/bench-strncmp.c: Add wcsncmp support.
2595         * benchtests/bench-wcsncmp.c: New File.
2596         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
2598         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
2599         * sysdeps/s390/multiarch/strcmp.c: Likewise.
2600         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
2601         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
2602         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
2603         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
2604         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
2605         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
2606         wcscmp functions.
2607         * sysdeps/s390/multiarch/ifunc-impl-list.c
2608         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
2609         * string/strcmp.c (STRCMP): Define and use macro.
2610         * benchtests/bench-wcscmp.c: New File.
2611         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
2612         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
2613         instead of _HAVE_STRING_ARCH_memchr.
2615         * sysdeps/s390/multiarch/strncat-c.c: New File.
2616         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
2617         * sysdeps/s390/multiarch/strncat.c: Likewise.
2618         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
2619         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
2620         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
2621         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
2622         wcsncat functions.
2623         * sysdeps/s390/multiarch/ifunc-impl-list.c
2624         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
2625         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
2626         * string/test-strncat.c: Add wcsncat support.
2627         * wcsmbs/test-wcsncat.c: New File.
2628         * wcsmbs/Makefile (strop-tests): Add wcsncat.
2629         * benchtests/bench-strncat.c: Add wcsncat support.
2630         * benchtests/bench-wcsncat.c: New File.
2631         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
2633         * sysdeps/s390/multiarch/strcat-c.c: New File.
2634         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
2635         * sysdeps/s390/multiarch/strcat.c: Likewise.
2636         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
2637         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
2638         * sysdeps/s390/multiarch/wcscat.c: Likewise.
2639         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
2640         wcscat functions.
2641         * sysdeps/s390/multiarch/ifunc-impl-list.c
2642         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
2643         * string/strcat.c (STRCAT): Define and use macro.
2644         * wcsmbs/wcscat.c: Use WCSCAT if defined.
2645         * string/test-strcat.c: Add wcscat support.
2646         * wcsmbs/test-wcscat.c: New File.
2647         * wcsmbs/Makefile (strop-tests): Add wcscat.
2648         * benchtests/bench-strcat.c: Add wcscat support.
2649         * benchtests/bench-wcscat.c: New File.
2650         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
2652         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
2653         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
2654         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
2655         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
2656         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
2657         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
2658         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
2659         wcpncpy functions.
2660         * sysdeps/s390/multiarch/ifunc-impl-list.c
2661         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
2662         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
2663         * string/test-stpncpy.c: Add wcpncpy support.
2664         * wcsmbs/test-wcpncpy.c: New File.
2665         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
2666         * benchtests/bench-stpncpy.c: Add wcpncpy support.
2667         * benchtests/bench-wcpncpy.c: New File.
2668         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
2670         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
2671         * sysdeps/s390/multiarch/strncpy.c: Likewise.
2672         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
2673         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
2674         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
2675         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
2676         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
2677         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
2678         wcsncpy functions.
2679         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
2680         * sysdeps/s390/multiarch/ifunc-impl-list.c
2681         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
2682         * string/test-strncpy.c: Add wcsncpy support.
2683         * wcsmbs/test-wcsncpy.c: New File.
2684         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
2685         * benchtests/bench-strncpy.c: Add wcsncpy support.
2686         * benchtests/bench-wcsncpy.c: New File.
2687         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
2689         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
2690         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
2691         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
2692         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
2693         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
2694         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
2695         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
2696         wcpcpy functions.
2697         * string/stpcpy.c: Use STPCPY if defined.
2698         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
2699         * sysdeps/s390/multiarch/ifunc-impl-list.c
2700         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
2701         * string/test-stpcpy.c: Add wcpcpy support.
2702         * wcsmbs/test-wcpcpy.c: New File.
2703         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
2704         * benchtests/bench-stpcpy.c: Add wcpcpy support.
2705         * benchtests/bench-wcpcpy.c: New File.
2706         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
2708         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
2709         * sysdeps/s390/multiarch/strcpy.c: Likewise.
2710         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
2711         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
2712         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
2713         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
2714         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
2715         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
2716         wcscpy functions.
2717         * sysdeps/s390/multiarch/ifunc-impl-list.c
2718         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
2719         * benchtests/bench-wcscpy.c: New File.
2720         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
2722         * sysdeps/s390/multiarch/strnlen-c.c: New File.
2723         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
2724         * sysdeps/s390/multiarch/strnlen.c: Likewise.
2725         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
2726         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
2727         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
2728         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
2729         wcsnlen functions.
2730         * sysdeps/s390/multiarch/ifunc-impl-list.c
2731         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
2732         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
2733         * string/test-strnlen.c: Add wcsnlen support.
2734         * wcsmbs/test-wcsnlen.c: New File.
2735         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
2736         * benchtests/bench-strnlen.c: Add wcsnlen support.
2737         * benchtests/bench-wcsnlen.c: New File.
2738         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
2740         * sysdeps/s390/multiarch/Makefile: New File.
2741         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
2742         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
2743         * sysdeps/s390/multiarch/strlen.c: Likewise.
2744         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
2745         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
2746         * sysdeps/s390/multiarch/wcslen.c: Likewise.
2747         * string/strlen.c (STRLEN): Define and use macro.
2748         * sysdeps/s390/multiarch/ifunc-impl-list.c
2749         (IFUNC_VX_IMPL): New macro function.
2750         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
2751         * benchtests/Makefile (wcsmbs-bench): New variable.
2752         (string-bench-all): Added wcsmbs-bench.
2753         * benchtests/bench-wcslen.c: New File.
2755         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
2756         s390_vx_libc_ifunc2): New macro function.
2758         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
2759         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
2760         assembler support.
2761         * sysdeps/s390/configure: Regenerated.
2763         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
2764         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
2766         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
2767         * sysdeps/s390/dl-procinfo.h: Add vector capability.
2768         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
2770         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
2771         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
2772         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
2773         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
2774         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
2775         (memcmp, bcmp): Use __memcmp_default as alias source.
2776         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
2777         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
2778         Rename to __memcmp_default.
2779         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
2780         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
2781         (memcpy): Use __memcpy_default as alias source.
2782         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
2783         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
2784         Rename to __memcpy_default.
2785         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
2786         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
2787         (memset): Use __memset_default as alias source.
2788         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
2789         * sysdeps/s390/s390-32/memset.S (__memset_g5):
2790         Rename to __memset_default.
2791         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
2792         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
2793         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
2794         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
2795         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
2796         (memcmp, bcmp): Use __memcmp_default as alias source.
2797         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
2798         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
2799         Rename to __memcmp_default.
2800         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
2801         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
2802         (memcpy): Use __memcpy_default as alias source.
2803         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
2804         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
2805         Rename to __memcpy_default.
2806         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
2807         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
2808         (memset): Use __memset_default as alias source.
2809         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
2810         * sysdeps/s390/s390-64/memset.S (__memset_z900):
2811         Rename to __memset_default.
2812         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
2813         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
2815         [BZ #18610]
2816         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
2817         __ieee_instruction_pointer to __unused.
2818         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
2819         __ieee_instruction_pointer.
2820         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
2821         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
2822         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
2823         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
2824         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
2825         Mark dxc-field as reserved.
2827 2015-08-25  Roland McGrath  <roland@hack.frob.com>
2829         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
2830         if the weak reference is not null.
2832 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
2834         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
2836         [BZ #11214]
2837         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
2839 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2841         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
2842         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
2843         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
2844         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
2845         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
2846         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
2847         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
2848         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
2849         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
2850         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
2851         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
2852         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
2853         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
2854         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
2855         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
2856         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
2857         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
2858         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
2860 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2862         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
2863         register other than r0 for tabort, it has special meaning.
2864         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise
2865         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
2866         transaction before starting syscall.
2868 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2870         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
2872 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
2874         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
2876         * sysdeps/x86_64/rtld-memcmp.c: Removed.
2877         * sysdeps/x86_64/rtld-memset.S: Likewise.
2878         * sysdeps/x86_64/rtld-strchr.S: Likewise.
2879         * sysdeps/x86_64/rtld-strlen.S: Likewise.
2880         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
2881         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
2883         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
2885 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
2887         * debug/strcpy_chk.c: Improve performance.
2888         * debug/stpcpy_chk.c: Likewise.
2889         * sysdeps/x86_64/strcpy_chk.S: Remove.
2890         * sysdeps/x86_64/stpcpy_chk.S: Remove.
2892         [BZ #18240]
2893         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
2895 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
2897         [BZ #15128]
2898         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
2899         ifuncmain8.
2900         (modules-names): Add ifuncmod8.
2901         ($(objpfx)ifuncmain8): New rule.
2902         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
2903         <cpuid.h>.
2904         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
2905         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
2906         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
2907         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
2908         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
2909         * sysdeps/x86_64/dl-trampoline.h: Likewise.
2910         * sysdeps/x86_64/ifuncmain8.c: New file.
2911         * sysdeps/x86_64/ifuncmod8.c: Likewise.
2912         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
2913         Removed.
2914         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
2915         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
2916         Change rtld_savespace_sse to __glibc_unused2.
2917         (RTLD_CHECK_FOREIGN_CALL): Removed.
2918         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
2919         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
2920         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
2922 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
2924         * sysdeps/aarch64/bzero.S (__bzero): Remove.
2926 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
2928         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
2929         Unconditionally set __fpcr to avoid uninialized warning.
2930         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
2932 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
2934         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
2935         is corrupt.
2937         * malloc/arena.c (arena_get2): Drop unused argument.
2938         (arena_lock): Adjust.
2939         (arena_get_retry): Likewise.
2941 2015-08-24  Andreas Schwab  <schwab@suse.de>
2943         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
2944         Don't define.
2945         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
2946         (__ASSUME_IPC64): Don't undef.
2947         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
2948         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
2949         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
2950         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
2951         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
2952         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
2953         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
2954         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
2955         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
2956         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
2957         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
2958         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
2959         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
2960         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
2961         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
2962         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
2963         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
2964         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
2965         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
2966         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
2967         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
2969 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
2971         * manual/Makefile (install): Only build manual when perl is available.
2973 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
2975         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
2976         '#undef memcpy' by '#undef memchr'.
2978 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
2980         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
2981         memchr not point to the internal __GI_memchr implementation.
2983 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
2985         * timezone/Makefile (CFLAGS-zdump.c): Remove
2986         -Wno-strict-prototypes.
2987         (CFLAGS-zic.c): Likewise.
2988         (CFLAGS-ialloc.c): Likewise.
2989         (CFLAGS-scheck.c): Likewise.
2991         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
2992         -Wno-error=undef.
2994 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
2996         * i386/i686/multiarch/strcasestr-c.c: Removed.
2997         * x86_64/multiarch/strcasestr.c: Likewise.
2998         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2999         Remove strcasestr.
3001 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
3003         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
3005         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
3006         variables for high and low parts before possibly modifying them.
3008 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
3010         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
3011         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
3012         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
3013         of "multiarch/init-arch.h".
3014         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
3015         * sysdeps/x86/init-arch.h: This.
3017 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
3019         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
3020         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
3022 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
3024         [BZ #17787]
3025         * manual/macros.texi: Add twoexp macro.
3026         * manual/filesys.texi: Fix exponents.
3027         * manual/llio.texi: Likewise.
3028         * manual/stdio.texi: Likewise.
3030 2015-08-20  Florian Weimer  <fweimer@redhat.com>
3032         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
3033         incorrect use.
3035 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
3037         [BZ #18370]
3038         * math/s_csqrt.c (__csqrt): Force underflow exception for results
3039         whose real or imaginary part has small absolute value.
3040         * math/s_csqrtf.c (__csqrtf): Likewise.
3041         * math/s_csqrtl.c (__csqrtl): Likewise.
3042         * math/auto-libm-test-in: Add more tests of csqrt.
3043         * math/auto-libm-test-out: Regenerated.
3044         * sysdeps/i386/fpu/libm-test-ulps: Update.
3046 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3048         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
3049         __ppc_set_ppr_very_low): New functions.
3050         * manual/platform.texi: Add documentation about
3051         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
3053 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
3055         * string/stpncpy.c (stpncpy): Improve performance using
3056         __strnlen/memcpy/memset.
3058 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
3060         [BZ #18796]
3061         * scripts/test-installation.pl: Don't add -lmvec to build options if
3062         libmvec wasn't built.
3064 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
3066         [BZ #14341]
3067         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
3068         case when there is a gap between DT_REL and DT_JMPREL sections.
3069         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
3070         (LDFLAGS-tst-split-dynreloc): New.
3071         (tst-split-dynreloc-ENV): Likewise.
3072         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
3073         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
3075 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
3077         [BZ #18822]
3078         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
3079         attribute_hidden.
3080         (__xstat64_conv): Likewise.
3081         (__xstat32_conv): Likewise.
3083 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
3085         [BZ #18822]
3086         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
3087         Don't load %ebx when calling __setcontext.  Call __setcontext
3088         with HIDDEN_JUMPTARGET.
3089         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
3090         libc_hidden_def.
3092 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
3094         * sysdeps/i386/i686/Makefile
3095         [$(subdir) == string] (sysdep_routines): Moved to ...
3096         * sysdeps/i386/Makefile: Here.
3097         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
3098         * sysdeps/i386/cacheinfo.c: Here.
3099         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
3100         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
3101         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
3102         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
3104 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
3106         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
3107         __i586__ is defined.
3108         (HAS_I686): Defined to 1 if __i686__ is defined.
3110 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
3112         * elf/Makefile [$(have-z-execstack) = yes]
3113         (CPPFLAGS-tst-execstack.c): New variable.
3115         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
3116         conditional to [defined UTMPX || _HAVE_UT_TYPE].
3117         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
3118         UTMPX || _HAVE_UT_TV].
3119         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
3120         UTMPX || _HAVE_UT_TV - 0].
3122 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
3124         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
3125         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
3126         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
3128 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
3130         * sysdeps/powerpc/dl-procinfo.c:
3131         (_dl_powerpc_cap_flags): Added missing strings for some
3132         hwcap features.
3133         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
3135 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
3137         Port the 0x7efe...feff pattern to GCC 6.
3138         See Steve Ellcey's bug report in:
3139         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
3140         * string/memrchr.c (MEMRCHR):
3141         * string/rawmemchr.c (RAWMEMCHR):
3142         * string/strchr.c (strchr):
3143         * string/strchrnul.c (STRCHRNUL):
3144         Rewrite code to avoid issues with signed shift overflow.
3146 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
3148         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
3149         whether cpuid is available only if HAS_CPUID is 0.
3150         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
3151         (HAS_I586): Likewise.
3152         (HAS_I686): Likewise.
3154 2015-08-18  Zack Weinberg  <zackw@panix.com>
3156         * misc/Versions (libc): Add GLIBC_2.23.
3158 2015-08-18  Alan Modra  <amodra@gmail.com>
3160         [BZ #18421]
3161         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
3162         .Lp__global.
3163         (_start): Load %dp via .Lp__global.
3164         [!SHARED]: Use .section .rodata.
3166 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
3168         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
3169         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
3171 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
3173         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
3174         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
3176 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
3178         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
3179         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
3181 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
3183         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
3184         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
3186 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
3188         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
3189         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
3191 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
3193         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
3194         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
3196 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
3198         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
3200 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
3202         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
3203         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
3204         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3205         (__ASSUME_LWS_CAS): Delete.
3207 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
3209         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
3210         * sysdeps/hppa/configure: Regenerated.
3211         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
3212         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
3213         * sysdeps/hppa/nptl/tls.h: Likewise.
3215 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
3217         [BZ #18823]
3218         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
3219         for scaling up small arguments.
3220         * math/s_csqrtf.c (__csqrtf): Likewise.
3221         * math/s_csqrtl.c (__csqrtl): Likewise.
3222         * math/auto-libm-test-in: Add more tests of csqrt.
3223         * math/auto-libm-test-out: Regenerated.
3225 2015-08-17  Andreas Schwab  <schwab@suse.de>
3227         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
3228         version set GLIBC_2.19.
3230 2015-08-16  Zack Weinberg  <zackw@panix.com>
3232         [BZ #18681]
3233         * misc/regexp.h: This interface is no longer supported.
3234         Remove all contents, leaving only an #error directive.
3235         * misc/regexp.c (loc1, loc2, locs, step, advance):
3236         Demote to compatibility symbols.
3238 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
3240         [BZ #18084]
3241         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
3242         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
3243         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
3244         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
3245         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
3246         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
3247         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
3248         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
3249         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
3251 2015-08-15  Zack Weinberg  <zackw@panix.com>
3253         [BZ #18795]
3254         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
3255         buffer length is known to be too large, not if it's known to be
3256         small enough.
3257         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
3258         overflow at runtime, involving a length parameter, twice: once
3259         with a compile-time constant length parameter, once without.
3261 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
3263         [BZ #18824]
3264         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
3265         scaling x * y up instead of down.
3266         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3267         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3268         * math/auto-libm-test-in: Add more tests of fma.
3269         * math/auto-libm-test-out: Regenerated.
3271 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
3273         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3275 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
3277         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
3278         unnecessary movq.
3279         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
3280         Likewise.
3282 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
3284         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
3285         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
3286         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
3287         and tgamma.
3288         * math/auto-libm-test-out: Regenerated.
3289         * sysdeps/i386/fpu/libm-test-ulps: Update.
3290         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3292         [BZ #16520]
3293         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
3294         (__tanh): Force underflow exception for arguments with small
3295         absolute value.
3296         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
3297         (__tanhf): Force underflow exception for arguments with small
3298         absolute value.
3299         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
3300         (__tanhl): Force underflow exception for arguments with small
3301         absolute value.
3302         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
3303         (__tanhl): Force underflow exception for arguments with small
3304         absolute value.
3305         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
3306         (__tanhl): Force underflow exception for arguments with small
3307         absolute value.
3308         * math/auto-libm-test-in: Add more tests of tanh.
3309         * math/auto-libm-test-out: Regenerated.
3310         * sysdeps/i386/fpu/libm-test-ulps: Update.
3312 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
3314         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
3315         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
3317 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
3319         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
3320         <cpuid.h>.
3322 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
3324         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
3325         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
3327 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
3329         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
3330         Remove $(objpfx)init-arch.o.
3331         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
3332         init-arch.
3333         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
3334         (INIT_ARCH_EXT): Defined as empty.
3335         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
3336         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
3337         __init_cpu_features call.  Replace HAS_XXX with
3338         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
3339         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
3340         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
3341         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
3342         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
3343         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
3344         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
3345         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
3346         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
3347         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
3348         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
3349         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
3350         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
3351         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
3352         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
3353         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
3354         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
3355         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
3356         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
3357         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
3358         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
3359         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
3360         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
3361         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
3362         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
3363         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
3364         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
3365         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
3366         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
3367         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
3368         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
3369         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
3370         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
3371         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
3372         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
3373         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
3375 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
3377         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
3378         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
3379         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
3380         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
3381         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
3382         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
3383         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
3384         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
3385         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
3386         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
3387         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
3388         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
3389         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
3390         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3391         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3392         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3393         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3394         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3395         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3396         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3397         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3398         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3399         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3400         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3401         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3402         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3403         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3404         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3405         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3406         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3407         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3408         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3409         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3410         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3411         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3412         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3413         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3414         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3415         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3416         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3417         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3418         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3419         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3421 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
3423         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
3424         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
3425         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
3426         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
3427         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
3428         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
3429         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
3430         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
3431         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
3432         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
3433         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
3434         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
3435         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
3436         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
3437         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
3438         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
3439         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
3440         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
3441         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
3442         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
3443         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
3444         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
3445         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
3446         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
3447         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
3448         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
3449         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
3450         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
3451         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
3452         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
3453         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3454         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3455         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3456         * sysdeps/x86_64/multiarch/memset.S: Likewise.
3457         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3458         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
3459         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
3460         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3461         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
3462         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
3463         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
3464         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
3465         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
3467 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
3469         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
3470         (dl_platform_init): Call init_cpu_features.
3471         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
3472         * sysdeps/i386/i686/cacheinfo.c
3473         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
3474         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
3475         * sysdeps/i386/i686/multiarch/Versions: Removed.
3476         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
3477         Removed.
3478         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
3479         * sysdeps/unix/sysv/linux/x86/Makefile
3480         (libpthread-sysdep_routines): Remove init-arch.
3481         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
3482         <sysdeps/x86_64/dl-procinfo.c> instead of
3483         sysdeps/generic/dl-procinfo.c>.
3484         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
3485         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
3486         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
3487         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
3488         [$(subdir) == elf] (tests-static): Add
3489         tst-get-cpu-features-static.
3490         * sysdeps/x86/Versions: New file.
3491         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
3492         * sysdeps/x86/cpu-features.c: Likewise.
3493         * sysdeps/x86/cpu-features.h: Likewise.
3494         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
3495         * sysdeps/x86/libc-start.c: Likewise.
3496         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
3497         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
3498         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
3499         * sysdeps/x86_64/dl-procinfo.c: Likewise.
3500         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
3501         Assume USE_MULTIARCH is defined and don't check it.
3502         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
3503         (is_amd): Likewise.
3504         (max_cpuid): Likewise.
3505         (intel_check_word): Likewise.
3506         (__cache_sysconf): Don't call __init_cpu_features.
3507         (__x86_preferred_memory_instruction): Removed.
3508         (init_cacheinfo): Don't call __init_cpu_features. Replace
3509         __cpu_features with GLRO(dl_x86_cpu_features).
3510         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
3511         (dl_platform_init): Call init_cpu_features.
3512         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
3513         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
3514         * sysdeps/x86_64/multiarch/Versions: Removed.
3515         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
3516         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
3517         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
3518         Removed.
3519         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
3521 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
3523         [BZ #18820]
3524         * libio/Makefile (test-fmemopen-mem): New test.
3525         * libio/test-fmemopen.c (do_bz18820): New test.
3526         * libio/fmemopen.c (__fmemopen): Fix memory leak.
3527         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
3529 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
3531         [BZ #16734]
3532         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
3533         (FREE_BUF): Delete.
3534         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
3535         * libio/genops.c (_IO_setb): Use malloc and free directly.
3536         (_IO_default_doallocate, _IO_default_finish): Likewise.
3537         ( _IO_unbuffer_all): Likewise.
3538         ( libc_freeres_fn): Likewise.
3539         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
3540         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
3541         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
3542         (_IO_wdefault_doallocate): Likewise.
3544 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
3546         [BZ #18086]
3547         * sysdeps/posix/nice.c (nice): Restore old errno.
3548         * posix/tst-nice.c (do_test): Add test for BZ #18086.
3550 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
3552         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
3554 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3556         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
3557         __bcopy and add a weak_alias to bcopy.
3558         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
3559         for static build.
3561         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
3562         cleanup macro usage.
3563         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
3564         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
3565         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
3566         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
3567         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
3568         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
3569         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
3570         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
3571         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
3572         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
3573         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
3574         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
3575         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
3576         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
3577         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
3578         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
3579         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
3580         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
3581         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
3583         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
3584         libc_hidden_def.
3585         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
3587         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
3588         (sysdep_routines): Add strstr-ppc64.
3589         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
3591 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
3593         [BZ #18778]
3594         * elf/Makefile (tests): Add Add tst-nodelete2.
3595         (modules-names): Add tst-nodelete2mod.
3596         (tst-nodelete2mod.so-no-z-defs): New.
3597         ($(objpfx)tst-nodelete2): Likewise.
3598         ($(objpfx)tst-nodelete2.out): Likewise.
3599         (LDFLAGS-tst-nodelete2): Likewise.
3600         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
3601         out of loop through all loaded libraries.
3602         * elf/tst-nodelete2.c: New file.
3603         * elf/tst-nodelete2mod.c: Likewise.
3604         * elf/tst-znodelete-zlib.cc: Delete.
3606 2015-08-11  Andreas Schwab  <schwab@suse.de>
3608         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
3609         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
3610         (__openat64_nocancel): Likewise.
3612 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
3614         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
3615         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
3616         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
3617         * math/auto-libm-test-out: Regenerated.
3618         * sysdeps/i386/fpu/libm-test-ulps: Update.
3619         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3621 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
3623         [BZ #18790]
3624         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
3625         threshold for returning +/- 1.
3626         * math/auto-libm-test-in: Add more tests of tanh.
3627         * math/auto-libm-test-out: Regenerated.
3628         * sysdeps/i386/fpu/libm-test-ulps: Update.
3630 2015-08-10  Andreas Schwab  <schwab@suse.de>
3632         [BZ #18781]
3633         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
3634         MORE_OFLAGS to oflag.
3635         * io/test-lfs.c (do_test): Test openat64.
3637 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
3639         [BZ #18789]
3640         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
3641         smaller threshold for returning the argument.
3642         * math/auto-libm-test-in: Add more tests of sinh.
3643         * math/auto-libm-test-out: Regenerated.
3644         * sysdeps/i386/fpu/libm-test-ulps: Update.
3646 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
3648         [BZ #18674]
3649         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
3650         break.
3652 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
3654         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
3655         (generated): Don't add $(addprefix z.,$(tzfiles)).
3657 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
3659         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
3660         * scripts/sysd-rules.awk: Likewise.
3662 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
3664         * iconvdata/tst-tables.sh: Change echo -n to printf.
3665         * nss/db-Makefile: Likewise.
3666         * posix/tst-getconf.sh: Likewise.
3667         * stdio-common/tst-unbputc.sh: Likewise.
3669 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
3671         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
3672         MADV_*_PAGES defines behind this feature check.
3674 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
3676         [BZ #18480]
3677         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
3678         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
3679         Define.
3680         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
3681         LOAD_REGS_5, LOAD_REGS_6): Update.
3682         (INTERNAL_SYSCALL): Update using new LOAD defines.
3683         (INTERNAL_SYSCALL_NCS): Likewise.
3684         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
3686 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
3688         [BZ #16734]
3689         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
3691 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
3693         [BZ #17905]
3694         * catgets/Makefile (tst-catgets-mem): New test.
3695         * catgets/catgets.c (catopen): Don't use unbounded alloca.
3696         * catgets/open_catalog.c (__open_catalog): Likewise.
3697         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
3699 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
3701         [BZ #18787]
3702         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
3703         clobber registers.
3704         (atomic_compare_and_exchange_val_acq): Use register asms to assign
3705         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
3706         Cast return to __typeof (oldval).
3708 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
3710         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
3711         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
3712         and delete sys/syscall.h include.
3714 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
3716         [BZ #16517]
3717         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
3718         (tan): Force underflow exception for arguments with small absolute
3719         value.
3720         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
3721         (__kernel_tanf): Force underflow exception for arguments with
3722         small absolute value.
3723         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
3724         (__kernel_tanl): Force underflow exception for arguments with
3725         small absolute value.
3726         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
3727         (__kernel_tanl): Force underflow exception for arguments with
3728         small absolute value.
3729         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
3730         (__kernel_tanl): Force underflow exception for arguments with
3731         small absolute value.
3732         * math/auto-libm-test-in: Add more tests of tan.
3733         * math/auto-libm-test-out: Regenerated.
3735 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3737         Fix sysdeps/i386/fpu/s_scalbn.S build
3739         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
3741 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
3743         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
3745 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3747         Fix gcrt0.o compilation
3749         When static-start-installed-name is different from
3750         start-installed-name, we must not use the shared objects.
3752         * csu/Makefile
3753         (extra-objs): Add gmon-start.o when building shared library and
3754         $(static-start-installed-name) is different from
3755         $(start-installed-name).
3756         $(objpfx)g$(static-start-installed-name): When building shared
3757         library and $(static-start-installed-name) is different from
3758         $(static-start-installed-name), revert to non-shared rule,
3759         i.e. using $(objpfx)% and gmon-start.o.
3761 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
3763         [BZ #16519]
3764         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
3765         (__ieee754_sinh): Force underflow exception for arguments with
3766         small absolute value.
3767         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
3768         (__ieee754_sinhf): Force underflow exception for arguments with
3769         small absolute value.
3770         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
3771         (__ieee754_sinhl): Force underflow exception for arguments with
3772         small absolute value.
3773         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
3774         (__ieee754_sinhl): Force underflow exception for arguments with
3775         small absolute value.
3776         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
3777         (__ieee754_sinhl): Force underflow exception for arguments with
3778         small absolute value.
3779         * math/auto-libm-test-in: Add more tests of sinh.
3780         * math/auto-libm-test-out: Regenerated.
3781         * sysdeps/i386/fpu/libm-test-ulps: Update.
3783 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
3785         * libio/oldfileops.c: Include unistd.h.
3787 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
3789         * stdlib/isomac.c: Include ctype.h.
3791 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
3793         * dirent/tst-seekdir.c (main): Converted to ...
3794         (do_test): ... this.
3795         (TEST_FUNCTION): New macro.
3796         Include test-skeleton.c.
3797         * elf/tst-dlmodcount.c (main): Converted to ...
3798         (do_test): ... this.
3799         (TEST_FUNCTION): New macro.
3800         Include test-skeleton.c.
3801         * elf/tst-order-main.c (main): Converted to ...
3802         (do_test): ... this.
3803         (TEST_FUNCTION): New macro.
3804         Include test-skeleton.c.
3805         * elf/tst-pie2.c (main): Converted to ...
3806         (do_test): ... this.
3807         (TEST_FUNCTION): New macro.
3808         Include test-skeleton.c.
3809         * inet/tst-ether_aton.c (main): Converted to ...
3810         (do_test): ... this.
3811         (TEST_FUNCTION): New macro.
3812         Include test-skeleton.c.
3813         * misc/tst-mntent.c (main): Converted to ...
3814         (do_test): ... this.
3815         (TEST_FUNCTION): New macro.
3816         Include test-skeleton.c.
3817         * misc/tst-tsearch.c (main): Converted to ...
3818         (do_test): ... this.
3819         (TEST_FUNCTION): New macro.
3820         Include test-skeleton.c.
3821         * posix/tst-regexloc.c (main): Converted to ...
3822         (do_test): ... this.
3823         (TEST_FUNCTION): New macro.
3824         Include test-skeleton.c.
3825         * resolv/tst-aton.c (main): Converted to ...
3826         (do_test): ... this.
3827         (TEST_FUNCTION): New macro.
3828         Include test-skeleton.c.
3829         * stdio-common/test-fwrite.c (main): Converted to ...
3830         (do_test): ... this.
3831         (TEST_FUNCTION): New macro.
3832         Include test-skeleton.c.
3833         * stdio-common/tst-ferror.c (main): Converted to ...
3834         (do_test): ... this.
3835         (TEST_FUNCTION): New macro.
3836         Include test-skeleton.c.
3837         * stdio-common/tst-printf.c (main): Converted to ...
3838         (do_test): ... this.
3839         (TEST_FUNCTION): New macro.
3840         Include test-skeleton.c.
3841         * stdio-common/tst-printfsz.c (main): Converted to ...
3842         (do_test): ... this.
3843         (TEST_FUNCTION): New macro.
3844         Include test-skeleton.c.
3845         * stdlib/tst-strtod.c (main): Converted to ...
3846         (do_test): ... this.
3847         (TEST_FUNCTION): New macro.
3848         Include test-skeleton.c.
3849         * string/tst-strlen.c (main): Converted to ...
3850         (do_test): ... this.
3851         (TEST_FUNCTION): New macro.
3852         Include test-skeleton.c.
3853         * string/tst-svc.c (main): Converted to ...
3854         (do_test): ... this.
3855         (TEST_FUNCTION): New macro.
3856         Include test-skeleton.c.
3857         * time/tst-strptime.c (main): Converted to ...
3858         (do_test): ... this.
3859         (TEST_FUNCTION): New macro.
3860         Include test-skeleton.c.
3861         * timezone/tst-timezone.c (main): Converted to ...
3862         (do_test): ... this.
3863         (TEST_FUNCTION): New macro.
3864         Include test-skeleton.c.
3866 2015-08-05  Zack Weinberg  <zackw@panix.com>
3868         * misc/regexp.h: Update comments.
3870 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
3872         [BZ #18635]
3873         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
3874         before return label.
3876 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
3878         [BZ #18661]
3879         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
3880         when calling __errno_location.
3881         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
3882         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
3884 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
3886         [BZ #18661]
3887         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
3888         (__lll_timedwait_tid): Align stack to 16 bytes when calling
3889         __gettimeofday.
3891 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
3893         [BZ #18661]
3894         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
3895         (__start_context): Don't use pop to restore %rdi so that stack
3896         is aligned to 16 bytes when calling __setcontext.
3898 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
3900         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
3901         only for libc.
3902         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
3904 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
3906         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
3907         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
3908         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
3910 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
3912         * string/memccpy.c (memccpy):
3913         Improve performance by using memchr/memcpy/__mempcpy.
3915 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
3917         * string/strncpy.c (strncpy):
3918         Improve performance by using __strnlen/memcpy.
3920 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
3922         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
3923         Optimize to avoid an unnecessary FPCR read.
3925 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
3927         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
3928         Optimize to reduce FPCR/FPSR accesses.
3930 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
3932         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
3933         dead->data[category] != NULL.
3935 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
3937         [BZ #18647]
3938         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
3939         and |x| close to 1, use absolute value of x when computing log.
3940         * math/auto-libm-test-in: Add more tests of pow.
3941         * math/auto-libm-test-out: Regenerated.
3943 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3945         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
3946         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
3947         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
3949 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
3951         [BZ #18525]
3952         * locales/km_KH: Remove timezone definition.
3953         * locales/lo_LA: Likewise.
3954         * locales/my_MM: Likewise.
3955         * locales/nan_TW@latin: Likewise.
3956         * locales/th_TH: Likewise.
3957         * locales/uk_UA: Likewise.
3959 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
3961         [BZ #18265]
3962         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
3963         (wcsncat): Likewise.
3964         (wcscmp): Likewise.
3965         (wcsncmp): Likewise.
3967 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
3969         * test-skeleton.c (usage): New function.
3970         (main): Call usage when opt is '?'.
3972 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
3974         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
3975         before first use.
3977 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
3979         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
3980         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
3981         in there too.
3983 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
3985         * version.h (RELEASE): Set to "development".
3986         (VERSION): Set to "2.22.90"
3988         * version.h (RELEASE): Set to "stable".
3989         (VERSION): Set to "2.22"
3990         * include/features.h (__GLIBC_MINOR__): Set to 22.
3992 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
3994         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
3995         Restructure macro to avoid "value computed is not used" warning.
3996         (atomic_compare_and_exchange_val_acq): Likewise.
3998 2015-08-04  Andreas Schwab  <schwab@suse.de>
4000         [BZ #18635]
4001         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
4002         ret.
4003         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
4005 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
4007         * po/pl.po: Updated translation.
4008         * po/uk.po: Likewise.
4009         * po/fi.po: Likewise.
4010         * po/ko.po: Likewise.
4011         * po/ru.po: Likewise.
4012         * po/vi.po: Likewise.
4014 2015-07-31  Zack Weinberg  <zackw@panix.com>
4016         [BZ #18681]
4017         * regexp.h: Add unconditional #warning stating that this header
4018         will be removed soon.  Revise banner comment to match.
4019         (compile): Consistently use ERROR instead of RETURN to report
4020         errors (partial fix for bz#18681).
4021         * regexp.c: Don't include regexp.h. Remove some unnecessary
4022         declarations.
4024 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
4026         * po/libc.pot: Regenerated.
4028 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
4030         [BZ #18740]
4031         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
4032         float-vlen4-arch-ext-cflags): Removed.
4033         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
4034         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
4036 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
4038         [BZ #14113]
4039         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
4040         aligned to __aligned__.
4041         (pthread_cond_t, pthread_rwlock_t): Likewise.
4043 2015-07-30  Torvald Riegel  <triegel@redhat.com>
4045         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
4047 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
4049         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
4050         (struct sigaction): Change sa_flags from a long to an int, and add
4051         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
4053 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
4055         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
4056         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
4057         sysdeps/generic/sysdep.h include.
4058         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
4059         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
4060         sysdeps/hppa/sysdep.h.
4061         (ENTRY, PSEUDO): Undefine before defining.
4063 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
4065         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
4066         from scratch to use INTERNAL_SYSCALL.
4068 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
4070         [BZ #18078]
4071         * scripts/check-localplt.awk: Support alternate relocations.
4072         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
4073         sections.
4074         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
4075         malloc entries with + REL R_386_GLOB_DAT.
4076         * sysdeps/x86_64/localplt.data: New file.
4078 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
4080         [BZ #18731]
4081         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
4082         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
4083         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
4085 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
4087         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
4089 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
4091         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
4092         directly in terms of __sync_fetch_and_add and delete (int) cast.
4094 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
4096         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
4097         the -D_ASM_IA64_CURRENT_H flag.
4099 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
4101         [BZ #18641]
4102         * pwd/pwd.h (putpwent): Delete __nonnull markings.
4104 2015-07-27  Andreas Schwab  <schwab@suse.de>
4106         * conform/conformtest.pl (checknamespace): Filter out string
4107         literals while tokenizing.
4109 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
4111         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
4112         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
4113         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
4115 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
4117         * nptl/tst-join7mod.c: Add #include <string.h>.
4119 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
4121         * sysdeps/nios2/libm-test-ulps: Update.
4123 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
4125         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
4126         Fix order of arguments to the rt_sigprocmask syscall.
4127         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
4128         Likewise.
4130 2015-07-24  Roland McGrath  <roland@hack.frob.com>
4132         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
4134 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
4136         [BZ #18457]
4137         * nptl/Makefile (tests): New test case tst-join7.
4138         (modules-names): New test case module tst-join7mod.
4139         * nptl/tst-join7.c: New file.
4140         * nptl/tst-join7mod.c: New file.
4141         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
4142         all translation units in libc.so, libpthread.so and rtld.
4144 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4146         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4148 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
4150         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
4151         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
4152         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
4153         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
4154         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
4155         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
4156         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
4157         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
4158         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
4159         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
4160         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
4161         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
4162         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
4163         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
4164         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
4165         implementation.
4167 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4169         [BZ #17711]
4170         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
4171         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
4172         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
4173         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
4174         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
4175         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
4177 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
4179         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
4180         instead of just saying load lock in the comments.
4182 2015-07-23  Roland McGrath  <roland@hack.frob.com>
4184         * sysdeps/unix/Subdirs: Moved ...
4185         * sysdeps/posix/Subdirs: ... here.
4186         * login/pty.h (struct termios, struct winsize): Add forward decls.
4187         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
4188         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
4189         * sysdeps/arm/nacl/libc.abilist: Updated.
4190         * sysdeps/nacl/libutil.abilist: New file.
4192         * bits/signum.h: Update comments to mention 1003.1-2013 too.
4193         (SIGWINCH): New macro.
4195         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
4196         * sysdeps/arm/nacl/libc.abilist: Add it.
4198 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
4200         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
4202 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
4204         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
4205         Swap __glibc_reserved0 and sa_flags order.
4207 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
4209         [BZ #18657]
4210         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
4211         are pending TLS destructor calls.
4212         * include/link.h (struct link_map): Add concurrency note for
4213         L_TLS_DTOR_COUNT.
4214         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
4215         Don't touch the link map flag.  Atomically increment
4216         l_tls_dtor_count.
4217         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
4218         Avoid taking the load lock and don't touch the link map flag.
4219         * stdlib/tst-tls-atexit-nodelete.c: New test case.
4220         * stdlib/Makefile (tests): Use it.
4221         * stdlib/tst-tls-atexit.c (do_test): dlopen
4222         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
4223         to allow tst-tls-atexit-nodelete test case to use it.
4225 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
4227         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
4228         to bits/types.h.
4229         (msgqnum_t): New typedef.
4230         (msglen_t): Likewise.
4231         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
4232         and msg_qbytes type to msglen_t.
4234 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
4236         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
4237         pad0 to __glibc_reserved0.
4238         (struct stat64): Likewise.
4240 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
4242         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
4243         Change sa_flags from a long to an int and add __glibc_reserved0 before
4244         it for padding.
4246 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
4248         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
4249         anonymous by deleting "siginfo" name.
4251 2015-07-21  Roland McGrath  <roland@hack.frob.com>
4253         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
4254         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
4255         rather than __nacl_irt_filename.
4256         * sysdeps/nacl/xstat.c (__xstat): Likewise.
4258         * NEWS: New item for arm-nacl port.
4259         * sysdeps/arm/nacl/libc.abilist: New file.
4260         * sysdeps/nacl/ld.abilist: New file.
4261         * sysdeps/nacl/libBrokenLocale.abilist: New file.
4262         * sysdeps/nacl/libanl.abilist: New file.
4263         * sysdeps/nacl/libcrypt.abilist: New file.
4264         * sysdeps/nacl/libdl.abilist: New file.
4265         * sysdeps/nacl/libm.abilist: New file.
4266         * sysdeps/nacl/libpthread.abilist: New file.
4267         * sysdeps/nacl/libresolv.abilist: New file.
4268         * sysdeps/nacl/librt.abilist: New file.
4270 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
4272         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
4273         __startcontext to initialize the new context.
4274         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
4275         up CFI directive to forbid further backtracing.
4277 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
4279         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
4280         reference.
4281         * charmaps/ANSI_X3.4-1968: Likewise.
4282         * charmaps/BS_4730: Likewise.
4283         * charmaps/BS_VIEWDATA: Likewise.
4284         * charmaps/CP1250: Likewise.
4285         * charmaps/CP1251: Likewise.
4286         * charmaps/CP1252: Likewise.
4287         * charmaps/CP1253: Likewise.
4288         * charmaps/CP1254: Likewise.
4289         * charmaps/CP1255: Likewise.
4290         * charmaps/CP1256: Likewise.
4291         * charmaps/CSN_369103: Likewise.
4292         * charmaps/EBCDIC-DK-NO: Likewise.
4293         * charmaps/GB_1988-80: Likewise.
4294         * charmaps/GREEK-CCITT: Likewise.
4295         * charmaps/GREEK7: Likewise.
4296         * charmaps/INIS-8: Likewise.
4297         * charmaps/ISIRI-3342: Likewise.
4298         * charmaps/ISO_2033-1983: Likewise.
4299         * charmaps/ISO_5427-EXT: Likewise.
4300         * locales/POSIX: Likewise.
4301         * locales/ar_SA: Likewise.
4302         * locales/be_BY: Likewise.
4303         * locales/be_BY@latin: Likewise.
4304         * locales/ca_ES: Likewise.
4305         * locales/cs_CZ: Likewise.
4306         * locales/da_DK: Likewise.
4307         * locales/de_BE: Likewise.
4308         * locales/de_CH: Likewise.
4309         * locales/de_LU: Likewise.
4310         * locales/en_AU: Likewise.
4311         * locales/en_BW: Likewise.
4312         * locales/en_CA: Likewise.
4313         * locales/en_DK: Likewise.
4314         * locales/en_GB: Likewise.
4315         * locales/en_IE: Likewise.
4316         * locales/en_NZ: Likewise.
4317         * locales/en_ZA: Likewise.
4318         * locales/en_ZW: Likewise.
4319         * locales/es_AR: Likewise.
4320         * locales/es_BO: Likewise.
4321         * locales/es_CL: Likewise.
4322         * locales/es_CO: Likewise.
4323         * locales/es_DO: Likewise.
4324         * locales/es_EC: Likewise.
4325         * locales/es_ES: Likewise.
4326         * locales/es_HN: Likewise.
4327         * locales/es_MX: Likewise.
4328         * locales/es_PA: Likewise.
4329         * locales/es_PE: Likewise.
4330         * locales/es_PY: Likewise.
4331         * locales/es_SV: Likewise.
4332         * locales/es_US: Likewise.
4333         * locales/es_UY: Likewise.
4334         * locales/es_VE: Likewise.
4335         * locales/et_EE: Likewise.
4336         * locales/fa_IR: Likewise.
4337         * locales/fo_FO: Likewise.
4338         * locales/fr_CA: Likewise.
4339         * locales/fr_CH: Likewise.
4340         * locales/gv_GB: Likewise.
4341         * locales/he_IL: Likewise.
4342         * locales/hr_HR: Likewise.
4343         * locales/id_ID: Likewise.
4344         * locales/is_IS: Likewise.
4345         * locales/it_CH: Likewise.
4346         * locales/iw_IL: Likewise.
4347         * locales/kl_GL: Likewise.
4348         * locales/ko_KR: Likewise.
4349         * locales/kw_GB: Likewise.
4350         * locales/lg_UG: Likewise.
4351         * locales/lt_LT: Likewise.
4352         * locales/lv_LV: Likewise.
4353         * locales/mi_NZ: Likewise.
4354         * locales/nhn_MX: Likewise.
4355         * locales/nl_BE: Likewise.
4356         * locales/pl_PL: Likewise.
4357         * locales/sk_SK: Likewise.
4358         * locales/sl_SI: Likewise.
4359         * locales/sv_FI: Likewise.
4360         * locales/tl_PH: Likewise.
4361         * locales/tr_TR: Likewise.
4362         * locales/vi_VN: Likewise.
4364 2015-07-21  Khem Raj  <raj.khem@gmail.com>
4366         [BZ #17475]
4367         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
4368         of tu_IN and bh_IN.
4370 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
4372         [BZ #18694]
4373         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
4374         bits/wordsize.h.
4375         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
4377 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
4379         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
4380         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
4381         (spawn_thread): New function.
4382         (load): Rename to reg_dtor_and_close.  Move dlopen to...
4383         (do_test): ... here.  Use IS_LOADED to test for its
4384         availability.
4386 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
4388         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
4390 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
4392         [BZ #18696]
4393         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
4394         si_addr_bnd.
4395         (si_lower): New.
4396         (si_upper): Likewise.
4398 2015-07-16  David S. Miller  <davem@davemloft.net>
4400         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
4402 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4404         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
4405         buffer.
4406         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
4407         fail output information.
4409 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4411         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
4412         and strstr-ppc64..
4413         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
4414         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
4415         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
4416         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
4417         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
4419 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
4421         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
4422         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
4423         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
4424         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
4426 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
4428         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
4429         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
4430         rtld_hidden_proto.
4431         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
4433 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
4435         * tst-nodelete-opened.c (do_test): Add comment to clarify how
4436         the test can fail.
4438         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
4440         [BZ #18676]
4441         * elf/tst-nodelete-opened.c: New test case.
4442         * elf/tst-nodelete-opened-lib.c: New test case module.
4443         * elf/Makefile (tests, modules-names): Use them.
4444         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
4445         early.
4447 2015-07-15  David S. Miller  <davem@davemloft.net>
4449         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
4450         futex-intenal.h
4451         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
4452         * sysdeps/sparc/sparc64/Makefile: Likewise.
4453         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
4454         Remove space from macro define.
4455         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
4457 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
4459         [BZ #17475]
4460         * locale/iso-639.def: Update Bhili and Tulu language codes as
4461         per iso639-3.
4463 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
4465         * elf/tst-leaks1.c (main): Converted to ...
4466         (do_test): ... this.
4467         (TEST_FUNCTION): New macro.
4468         Include test-skeleton.c.
4469         * localedata/tst-langinfo.c (main): Converted to ...
4470         (do_test): ... this.
4471         (TEST_FUNCTION): New macro.
4472         Include test-skeleton.c.
4473         * math/test-fpucw.c (main): Converted to ...
4474         (do_test): ... this.
4475         (TEST_FUNCTION): New macro.
4476         Include test-skeleton.c.
4477         * math/test-tgmath.c (main): Converted to ...
4478         (do_test): ... this.
4479         (TEST_FUNCTION): New macro.
4480         Include test-skeleton.c.
4481         * math/test-tgmath2.c (main): Converted to ...
4482         (do_test): ... this.
4483         (TEST_FUNCTION): New macro.
4484         Include test-skeleton.c.
4485         * setjmp/tst-setjmp.c (main): Converted to ...
4486         (do_test): ... this.
4487         (TEST_FUNCTION): New macro.
4488         Include test-skeleton.c.
4489         * stdio-common/tst-sscanf.c (main): Converted to ...
4490         (do_test): ... this.
4491         (TEST_FUNCTION): New macro.
4492         Include test-skeleton.c.
4493         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
4494         (do_test): ... this.
4495         (TEST_FUNCTION): New macro.
4496         Include test-skeleton.c.
4498         * elf/tst-audit9.c (main): Converted to ...
4499         (do_test): ... this.
4500         (TEST_FUNCTION): New macro.
4501         Include test-skeleton.c.
4503 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
4505         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
4507 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
4509         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
4510         New variable.
4512 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
4514         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
4516 2015-07-14  Roland McGrath  <roland@hack.frob.com>
4518         * sysdeps/generic/dl-fileid.h: New file.
4519         * sysdeps/posix/dl-fileid.h: New file.
4520         * sysdeps/nacl/dl-fileid.h: New file.
4521         * include/link.h: Include <dl-fileid.h>.
4522         (struct link_map): Replace l_dev and l_ino with l_file_id.
4523         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
4524         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
4525         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
4527 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
4529         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
4531 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4533         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
4534         Add iff $CXX is set.
4535         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
4536         Likewise.
4537         (tst-nodelete-zmodiff): Likewise.
4538         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
4540 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
4542         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
4544 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
4546         * sysdeps/aarch64/fpu/math_private.h
4547         (define math_opt_barrier): Add AArch64 version.
4548         (math_force_eval): Likewise.
4550 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
4552         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
4554 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
4556         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
4557         %ld with %jd and cast to intmax_t.
4558         (do_test_length_zero): Likewise.
4560 2015-07-10  Roland McGrath  <roland@hack.frob.com>
4562         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
4564 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
4566         * sysdeps/tile/libm-test-ulps: Regenerated.
4568         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
4569         Comment out the whole function, not just its body.
4571 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
4573         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
4574         locks.
4576         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
4578 2015-07-10  Torvald Riegel  <triegel@redhat.com>
4580         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
4581         (sem_assume_only_signals_cause_futex_EINTR): Remove.
4583 2015-07-10  Torvald Riegel  <triegel@redhat.com>
4585         * sysdeps/nptl/futex-internal.h: New file.
4586         * sysdeps/nacl/futex-internal.h: New file.
4587         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
4588         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
4589         error checking.
4590         (setxid_unmark_thread): Likewise.
4591         (__nptl_setxid): Likewise.
4592         (__wait_lookup_done): Likewise.
4593         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
4594         * nptl/nptl-init.c (sighandler_setxid): Likewise.
4595         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
4596         * nptl/pthread_once.c (clear_once_control): Likewise.
4597         (__pthread_once_slow): Likewise.
4598         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
4599         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
4600         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
4601         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
4602         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
4603         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
4604         Likewise.
4605         (__pthread_rwlock_rdlock): Likewise.
4606         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
4607         Likewise.
4608         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
4609         Likewise.
4610         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
4611         Likewise.
4612         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
4613         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
4614         Likewise.
4615         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
4616         __ASSUME_PRIVATE_FUTEX check.
4617         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
4618         Check that shared futexes are supported.
4619         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
4620         wrappers with error checking.
4621         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
4622         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
4623         * nptl/pthread_barrierattr_setpshared.c
4624         (pthread_barrierattr_setpshared): Check that shared futexes are
4625         supported.
4626         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
4627         Likewise.
4628         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
4629         Likewise.
4630         * nptl/sem_init.c (futex_private_if_supported): Remove.
4631         (__new_sem_init): Adapt and check that shared futexes are supported.
4632         * nptl/sem_open.c (sem_open): Likewise.
4633         * nptl/sem_post.c (futex_wake): Remove.
4634         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
4635         (do_futex_wait): Use futex wrappers with error checking.
4636         * nptl/sem_wait.c: Include lowlevellock.h.
4637         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
4638         Use futex_supports_pshared.
4639         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
4640         Use futex wrappers with error checking.
4641         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
4642         Likewise.
4643         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
4644         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
4645         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
4646         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
4647         (futex_wake): Likewise.
4648         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
4649         (do_futex_wait): Use futex wrappers with error checking.
4650         (__new_sem_wait_slow): Update EINTR handling.
4651         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
4653 2015-07-09  Martin Sebor  <msebor@redhat.com>
4655         [BZ #18435]
4656         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
4657         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
4658         * nptl/Makefile (test-xfail-tst-once5): Define.
4660 2015-07-09  Roland McGrath  <roland@hack.frob.com>
4662         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
4663         * elf/dl-minimal.c: For readability, reorder some definitions and
4664         introduce more page breaks.  Include <stdio.h>.
4665         (__libc_fatal): New function.
4667         * include/unistd.h: Add rtld_hidden_proto for _exit.
4668         * posix/_exit.c: Add rtld_hidden_def.
4669         * sysdeps/mach/hurd/_exit.c: Likewise.
4670         * sysdeps/nacl/_exit.c: Likewise.
4671         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
4672         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
4674 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
4676         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
4677         bndmov encoding with zero displacement.
4679 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
4680             H.J. Lu  <hongjiu.lu@intel.com>
4682         [BZ #18134]
4683         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
4684         * sysdeps/i386/configure: Regenerated.
4685         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
4686         (_dl_runtime_profile): Save and restore Intel MPX return bound
4687         registers when calling _dl_call_pltexit.  Add
4688         PRESERVE_BND_REGS_PREFIX before return.
4689         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
4690         (LRV_BND1_OFFSET): Likewise.
4691         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
4692         lrv_bnd1.
4693         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
4694         typo in bndmov encoding.
4695         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
4696         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
4697         branch instructions to preserve bounds.
4699 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
4702         [GLIBC_2.22]: Add fmemopen.
4704 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4706         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
4707         returns an error, also try to use host port from __mach_host_self for
4708         the __vm_wire call.
4709         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
4711 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4713         [BZ #18400]
4714         [BZ #18648]
4715         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
4716         Fix pr_uid and pr_gid members.
4717         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
4718         definition to elf_greg_t.
4720 2015-07-08  Roland McGrath  <roland@hack.frob.com>
4722         [BZ #18383]
4723         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
4724         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
4725         * sysdeps/arm/configure: Regenerated.
4726         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
4727         (test-xfail-tst-tlsalign-static): Variable removed.
4729         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
4730         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
4731         rather than explicit 'ln -s'.
4733         * resolv/rpc/netdb.h: New file.
4734         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
4736 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4738         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
4739         length buffers.
4740         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
4741         test-skeleton.c.
4743         [BZ #6544]
4744         [BZ #11216]
4745         [BZ #12836]
4746         [BZ #13151]
4747         [BZ #13152]
4748         [BZ #14292]
4749         * include/stdio.h (fmemopen): Remove hidden prototype.
4750         (__fmemopen): Add new hidden prototype.
4751         * libio/Makefile: Add oldfmemopen object.
4752         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
4753         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
4754         compliance.
4755         * libio/oldfmemopen.c: New file: old fmemopen implementation for
4756         symbol compatibility.
4757         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
4758         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
4759         fmemopen.
4760         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
4761         on append and read mode.
4762         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
4763         fmemopen.
4764         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
4765         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
4766         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
4767         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
4768         Likewise.
4769         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
4770         [GLIBC_2.22]: Likewise.
4771         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
4772         Likewise.
4773         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
4774         Likewise.
4775         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
4776         [GLIBC_2.22]: Likewise.
4777         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
4778         [GLIBC_2.22]: Likewise.
4779         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
4780         [GLIBC_2.22]: Likewise.
4781         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
4782         [GLIBC_2.22]: Likewise.
4783         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
4784         [GLIBC_2.22]: Likewise.
4785         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
4786         [GLIBC_2.22]: Likewise.
4787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
4788         [GLIBC_2.22]: Likewise.
4789         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
4790         Likewise.
4791         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
4792         Likewise.
4793         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
4794         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
4795         [GLIBC_2.22]: Likewise.
4796         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
4797         [GLIBC_2.22]: Likewise.
4798         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
4799         [GLIBC_2.22]: Likewise.
4800         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
4801         [GLIBC_2.22]: Likewise.
4802         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
4803         Likewise.
4804         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
4805         Likewise.
4806         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
4807         Likewise.
4808         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
4809         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
4811 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
4813         [BZ #18643]
4814         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
4815         IPV6_PATHMTU, and IPV6_DONTFRAG.
4817 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
4819         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
4820         and _IO_UNBUFFERED.
4821         * libio/oldfileops.c: Likewise.
4822         * libio/wfileops.c: Likewise.
4824 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
4826         * nscd/selinux.c: Delete selinux/flask.h include.
4828 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
4830         [BZ #18641]
4831         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
4832         (putpwent): Likewise.
4833         (getpwnam): Likewise.
4834         (getpwent_r): Likewise.
4835         (getpwuid_r): Likewise.
4836         (getpwnam_r): Likewise.
4837         (fgetpwent_r): Likewise.
4839 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
4841         [BZ #18557]
4842         * inet/rcmd.c (__validuser2_sa): Check user first to
4843         short-circuit host check.
4845 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
4846             Mikhail Ilin  <m.ilin@samsung.com>
4848         [BZ #17833]
4849         * elf/Makefile (tests): Add tst-nodelete.
4850         (modules-names): Add tst-nodelete-uniquemod.
4851         (tst-nodelete-uniquemod.so-no-z-defs): New.
4852         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
4853         (tst-nodelete-zmod.so-no-z-defs): Likewise.
4854         ($(objpfx)tst-nodelete): Likewise.
4855         ($(objpfx)tst-nodelete.out): Likewise.
4856         (LDFLAGS-tst-nodelete): Likewise.
4857         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
4858         * elf/dl-close.c (_dl_close_worker): Add a parameter to
4859         implement forced object deletion.
4860         (_dl_close): Pass false to _dl_close_worker.
4861         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
4862         * elf/tst-nodelete.cc: New file.
4863         * elf/tst-nodeletelib.cc: Likewise.
4864         * elf/tst-znodeletelib.cc: Likewise.
4865         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
4867 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
4869         [BZ #18508]
4870         * stdlib/Makefile ($(objpfx)tst-makecontext3):
4871         Depend on $(libdl).
4872         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
4873         is not called infinitely times.
4874         (backtrace_helper): New function.
4875         (trace_arg): New struct.
4876         (st1): Enlarge stack size.
4877         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
4878         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
4879         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
4880         Likewise.
4882 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
4884         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
4886 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
4888         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
4889         Include sys/types.h instead of bits/types.h.
4890         Remove inclusion of bits/wordsize.h.
4892 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
4894         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
4895         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
4896         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
4897         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
4898         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
4899         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
4901 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
4903         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
4904         link-defines.sym.
4905         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
4906         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
4907         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
4908         and LR_SIZE.
4909         * sysdeps/i386/link-defines.sym: New file.
4911 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
4913         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
4914         (modules-names): Add tst-auditmod3a tst-auditmod3b.
4915         ($(objpfx)tst-audit3): New rule.
4916         ($(objpfx)tst-audit3.out): Likewise.
4917         * sysdeps/i386/tst-audit3.c: New file.
4918         * sysdeps/i386/tst-audit3.h: Likewise.
4919         * sysdeps/i386/tst-auditmod3a.c: Likewise.
4920         * sysdeps/i386/tst-auditmod3b.c: Likewise.
4922 2015-07-07  Torvald Riegel  <triegel@redhat.com>
4924         [BZ #18633]
4925         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
4926         pointer in C code.
4927         (__strcat_c): Likewise.
4928         (__strcat_g): Likewise.
4930 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
4932         [BZ #18592]
4933         * misc/sbrk.c: Set errno to ENOMEM on overflow.
4935 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
4937         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
4938         New function.  (__ieee754_sqrtf): New function.
4939         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
4940         New function.
4941         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
4942         New function.
4944 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
4946         * sysdeps/ieee754/support.c: Remove unused file.
4948 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4950         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
4951         registers instead of d ones so the layout is kernel abi compatible.
4952         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
4953         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
4954         Likewise.
4956 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4958         * sysdeps/aarch64/libm-test-ulps: Regenerated.
4960 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
4962         [BZ #18619]
4963         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
4964         and return argument in case of subnormal argument.
4966 2015-07-01  Martin Sebor  <msebor@redhat.com>
4968         [BZ #18435]
4969         * nptl/Makefile: Add tst-once5.cc.
4970         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
4971         Remove macro redefinitions.
4972         * nptl/tst-once5.cc: New test.
4974 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
4976         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4978         * sysdeps/arm/libm-test-ulps: Regenerated.
4980         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
4981         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4983 2015-06-30  Torvald Riegel  <triegel@redhat.com>
4985         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
4986         lll_lock_wait_private and lll_futex_wake probes.
4988         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
4989         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
4990         Likewise.
4991         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
4992         atomic_spin_nop.
4993         * sysdeps/x86_64/bits/atomic.h: Likewise.
4994         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
4995         to atomic_spin_nop and move ...
4996         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
4997         ... here and ...
4998         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
4999         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
5000         atomic_spin_nop instead of BUSY_WAIT_NOP.
5001         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
5002         Likewise.
5003         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
5004         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
5005         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
5006         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
5007         instead of atomic_delay.
5009 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
5011         [BZ #18613]
5012         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
5013         X_ADJ not X when adjusting exponent.
5014         (__ieee754_gamma_r): Do intermediate computations in
5015         round-to-nearest then adjust overflowing and underflowing results
5016         as needed.
5017         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
5018         of X_ADJ not X when adjusting exponent.
5019         (__ieee754_gammaf_r): Do intermediate computations in
5020         round-to-nearest then adjust overflowing and underflowing results
5021         as needed.
5022         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
5023         log of X_ADJ not X when adjusting exponent.
5024         (__ieee754_gammal_r): Do intermediate computations in
5025         round-to-nearest then adjust overflowing and underflowing results
5026         as needed.  Use 1.0L not 1.0f as numerator of division.
5027         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
5028         log of X_ADJ not X when adjusting exponent.
5029         (__ieee754_gammal_r): Do intermediate computations in
5030         round-to-nearest then adjust overflowing and underflowing results
5031         as needed.  Use 1.0L not 1.0f as numerator of division.
5032         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
5033         of X_ADJ not X when adjusting exponent.
5034         (__ieee754_gammal_r): Do intermediate computations in
5035         round-to-nearest then adjust overflowing and underflowing results
5036         as needed.  Use 1.0L not 1.0f as numerator of division.
5037         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
5038         to auto-libm-test-in.
5039         (tgamma_test): Use ALL_RM_TEST.
5040         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
5041         tests of tgamma with spurious-overflow.
5042         * math/auto-libm-test-out: Regenerated.
5043         * math/gen-libm-have-vector-test.sh: Do not check for START.
5044         * sysdeps/i386/fpu/libm-test-ulps: Update.
5045         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5047         [BZ #18612]
5048         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
5049         arguments, just return 0.5 times the argument, with underflow
5050         forced as needed.
5051         * math/auto-libm-test-in: Add more tests of j1.
5052         * math/auto-libm-test-out: Regenerated.
5054         [BZ #16559]
5055         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
5056         (__ieee754_j1): Force underflow exception for small results.
5057         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
5058         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
5059         (__ieee754_j1f): Force underflow exception for small results.
5060         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
5061         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
5062         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
5063         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
5064         (__ieee754_j1l): Force underflow exception for small results.
5065         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
5066         * math/auto-libm-test-in: Add more tests of j1 and jn.
5067         * math/auto-libm-test-out: Regenerated.
5069         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
5070         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
5071         (PF_MPLS): Likewise.
5072         (AF_IB): Likewise.
5073         (AF_MPLS): Likewise.
5074         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
5075         value and macro.
5076         (MS_RMT_MASK): Include MS_LAZYTIME.
5078 2015-06-26  Mel Gorman  <mgorman@suse.de>
5080         [BZ #18502]
5081         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
5082         already minimal.
5084 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
5086         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
5087         (DT_MIPS_NUM): Update.
5088         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
5089         DT_MIPS_RLD_MAP_REL.
5091 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
5093         [BZ #16559]
5094         [BZ #18602]
5095         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
5096         round-to-nearest internally then recompute results that
5097         underflowed to zero in the original rounding mode.
5098         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
5099         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
5100         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
5101         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
5102         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
5103         * sysdeps/i386/fpu/libm-test-ulps: Update.
5104         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5106 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
5108         * NEWS: Fixed description of link with vector math library.
5110 2015-06-25  Andreas Schwab  <schwab@suse.de>
5112         [BZ #18549]
5113         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
5114         * libio/test-fmemopen.c (do_test): Add test for it.
5116 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
5118         [BZ #17841]
5119         * Makeconfig (no-pie-ldflag): New.
5120         (+link): Set to $(+link-pie) if default to PIE.
5121         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
5122         * config.make.in (build-pie-default): New.
5123         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
5124         is default.  AC_SUBST.
5125         * configure: Regenerated.
5126         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
5128 2015-06-24  Roland McGrath  <roland@hack.frob.com>
5130         * nptl/descr.h (struct pthread): Change type of field setxid_futex
5131         to 'unsigned int'.
5133         * resolv/gai_misc.h (struct waitlist): Change type of field
5134         counterp to 'volatile unsigned int *'.
5135         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
5136         FUTEXADDR and OLDVAL.
5137         * resolv/getaddrinfo_a.c (getaddrinfo_a):
5138         Give local variable TOTAL type 'volatile unsigned int'.
5139         (struct async_waitlist): Change type of field counter to 'unsigned int'.
5140         * resolv/gai_suspend.c (gai_suspend):
5141         Give local variable CNTR type 'unsigned int'.
5143         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
5144         counterp to 'volatile unsigned int *'.
5145         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
5146         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
5147         (aio_suspend): Give local variable CNTR type 'unsigned int'.
5148         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
5149         Give local variable TOTAL type 'volatile unsigned int'.
5150         (struct async_waitlist): Change type of field counter to 'unsigned int'.
5152 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
5154         [BZ #18383]
5155         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
5156         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
5157         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
5158         comment for i386/x86-64.
5159         (test-xfail-tst-tlsalign-extern-static): Removed.
5161 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
5163         * math/test-double.h: New file.
5164         * math/test-float.h: Likewise.
5165         * math/test-ldouble.h: Likewise.
5166         * math/test-math-inline.h: Likewise.
5167         * math/test-math-no-inline.h: Likewise.
5168         * math/test-math-scalar.h: Likewise.
5169         * math/test-math-vector.h: Likewise.
5170         * math/test-vec-loop.h: Remove file.  Contents moved into
5171         test-math-vector.h.
5172         * math/libm-test.inc (MATHCONST): Do not document macro.
5173         * math/test-double.c: Include test-double.h, test-math-no-inline.h
5174         and test-math-scalar.h.
5175         (FUNC): Remove macro.
5176         (FUNC_TEST): Likewise.
5177         (FLOAT): Likewise.
5178         (MATHCONST): Likewise.
5179         (PRINTF_EXPR): Likewise.
5180         (PRINTF_XEXPR): Likewise.
5181         (PRINTF_NEXPR): Likewise.
5182         (TEST_DOUBLE): Likewise.
5183         (TEST_MATHVEC): Likewise.
5184         (__NO_MATH_INLINES): Likewise.
5185         * math/test-float.c: Include test-float.h, test-math-no-inline.h
5186         and test-math-scalar.h.
5187         (FUNC): Remove macro.
5188         (FUNC_TEST): Likewise.
5189         (FLOAT): Likewise.
5190         (MATHCONST): Likewise.
5191         (PRINTF_EXPR): Likewise.
5192         (PRINTF_XEXPR): Likewise.
5193         (PRINTF_NEXPR): Likewise.
5194         (TEST_FLOAT): Likewise.
5195         (TEST_MATHVEC): Likewise.
5196         (__NO_MATH_INLINES): Likewise.
5197         * math/test-idouble.c: Include test-double.h, test-math-inline.h
5198         and test-math-scalar.h.
5199         (FUNC): Remove macro.
5200         (FUNC_TEST): Likewise.
5201         (FLOAT): Likewise.
5202         (MATHCONST): Likewise.
5203         (PRINTF_EXPR): Likewise.
5204         (PRINTF_XEXPR): Likewise.
5205         (PRINTF_NEXPR): Likewise.
5206         (TEST_DOUBLE): Likewise.
5207         (TEST_MATHVEC): Likewise.
5208         (TEST_INLINE): Likewise.
5209         (__NO_MATH_INLINES): Likewise.
5210         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
5211         test-math-scalar.h.
5212         (FUNC): Remove macro.
5213         (FUNC_TEST): Likewise.
5214         (FLOAT): Likewise.
5215         (MATHCONST): Likewise.
5216         (PRINTF_EXPR): Likewise.
5217         (PRINTF_XEXPR): Likewise.
5218         (PRINTF_NEXPR): Likewise.
5219         (TEST_FLOAT): Likewise.
5220         (TEST_MATHVEC): Likewise.
5221         (TEST_INLINE): Likewise.
5222         (__NO_MATH_INLINES): Likewise.
5223         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
5224         and test-math-scalar.h.
5225         (FUNC): Remove macro.
5226         (FUNC_TEST): Likewise.
5227         (FLOAT): Likewise.
5228         (MATHCONST): Likewise.
5229         (PRINTF_EXPR): Likewise.
5230         (PRINTF_XEXPR): Likewise.
5231         (PRINTF_NEXPR): Likewise.
5232         (TEST_LDOUBLE): Likewise.
5233         (TEST_MATHVEC): Likewise.
5234         (TEST_INLINE): Likewise.
5235         (__NO_MATH_INLINES): Likewise.
5236         * math/test-ldouble.c: Include test-ldouble.h,
5237         test-math-no-inline.h and test-math-scalar.h.
5238         (FUNC): Remove macro.
5239         (FUNC_TEST): Likewise.
5240         (FLOAT): Likewise.
5241         (MATHCONST): Likewise.
5242         (PRINTF_EXPR): Likewise.
5243         (PRINTF_XEXPR): Likewise.
5244         (PRINTF_NEXPR): Likewise.
5245         (TEST_LDOUBLE): Likewise.
5246         (TEST_MATHVEC): Likewise.
5247         (__NO_MATH_INLINES): Likewise.
5248         * math/test-double-vlen2.h: Include test-double.h,
5249         test-math-no-inline.h and test-math-vector.h.
5250         (FLOAT): Remove macro.
5251         (FUNC): Likewise.
5252         (MATHCONST): Likewise.
5253         (PRINTF_EXPR): Likewise.
5254         (PRINTF_XEXPR): Likewise.
5255         (PRINTF_NEXPR): Likewise.
5256         (TEST_DOUBLE): Likewise.
5257         (TEST_MATHVEC): Likewise.
5258         (__NO_MATH_INLINES): Likewise.
5259         (CNCT): Likewise.
5260         (CONCAT): Likewise.
5261         (WRAPPER_NAME): Likewise.
5262         (WRAPPER_DECL): Likewise.
5263         (WRAPPER_DECL_ff): Likewise.
5264         (WRAPPER_DECL_fFF): Likewise.
5265         (VECTOR_WRAPPER): Likewise.
5266         (VECTOR_WRAPPER_ff): Likewise.
5267         (VECTOR_WRAPPER_fFF): Likewise.
5268         (VEC_LEN): New macro.
5269         * math/test-double-vlen4.h: Include test-double.h,
5270         test-math-no-inline.h and test-math-vector.h.
5271         (FLOAT): Remove macro.
5272         (FUNC): Likewise.
5273         (MATHCONST): Likewise.
5274         (PRINTF_EXPR): Likewise.
5275         (PRINTF_XEXPR): Likewise.
5276         (PRINTF_NEXPR): Likewise.
5277         (TEST_DOUBLE): Likewise.
5278         (TEST_MATHVEC): Likewise.
5279         (__NO_MATH_INLINES): Likewise.
5280         (CNCT): Likewise.
5281         (CONCAT): Likewise.
5282         (WRAPPER_NAME): Likewise.
5283         (WRAPPER_DECL): Likewise.
5284         (WRAPPER_DECL_ff): Likewise.
5285         (WRAPPER_DECL_fFF): Likewise.
5286         (VECTOR_WRAPPER): Likewise.
5287         (VECTOR_WRAPPER_ff): Likewise.
5288         (VECTOR_WRAPPER_fFF): Likewise.
5289         (VEC_LEN): New macro.
5290         * math/test-double-vlen8.h: Include test-double.h,
5291         test-math-no-inline.h and test-math-vector.h.
5292         (FLOAT): Remove macro.
5293         (FUNC): Likewise.
5294         (MATHCONST): Likewise.
5295         (PRINTF_EXPR): Likewise.
5296         (PRINTF_XEXPR): Likewise.
5297         (PRINTF_NEXPR): Likewise.
5298         (TEST_DOUBLE): Likewise.
5299         (TEST_MATHVEC): Likewise.
5300         (__NO_MATH_INLINES): Likewise.
5301         (CNCT): Likewise.
5302         (CONCAT): Likewise.
5303         (WRAPPER_NAME): Likewise.
5304         (WRAPPER_DECL): Likewise.
5305         (WRAPPER_DECL_ff): Likewise.
5306         (WRAPPER_DECL_fFF): Likewise.
5307         (VECTOR_WRAPPER): Likewise.
5308         (VECTOR_WRAPPER_ff): Likewise.
5309         (VECTOR_WRAPPER_fFF): Likewise.
5310         (VEC_LEN): New macro.
5311         * math/test-float-vlen4.h: Include test-float.h,
5312         test-math-no-inline.h and test-math-vector.h.
5313         (FLOAT): Remove macro.
5314         (FUNC): Likewise.
5315         (MATHCONST): Likewise.
5316         (PRINTF_EXPR): Likewise.
5317         (PRINTF_XEXPR): Likewise.
5318         (PRINTF_NEXPR): Likewise.
5319         (TEST_FLOAT): Likewise.
5320         (TEST_MATHVEC): Likewise.
5321         (__NO_MATH_INLINES): Likewise.
5322         (CNCT): Likewise.
5323         (CONCAT): Likewise.
5324         (WRAPPER_NAME): Likewise.
5325         (WRAPPER_DECL): Likewise.
5326         (WRAPPER_DECL_ff): Likewise.
5327         (WRAPPER_DECL_fFF): Likewise.
5328         (VECTOR_WRAPPER): Likewise.
5329         (VECTOR_WRAPPER_ff): Likewise.
5330         (VECTOR_WRAPPER_fFF): Likewise.
5331         (VEC_LEN): New macro.
5332         * math/test-float-vlen8.h: Include test-float.h,
5333         test-math-no-inline.h and test-math-vector.h.
5334         (FLOAT): Remove macro.
5335         (FUNC): Likewise.
5336         (MATHCONST): Likewise.
5337         (PRINTF_EXPR): Likewise.
5338         (PRINTF_XEXPR): Likewise.
5339         (PRINTF_NEXPR): Likewise.
5340         (TEST_FLOAT): Likewise.
5341         (TEST_MATHVEC): Likewise.
5342         (__NO_MATH_INLINES): Likewise.
5343         (CNCT): Likewise.
5344         (CONCAT): Likewise.
5345         (WRAPPER_NAME): Likewise.
5346         (WRAPPER_DECL): Likewise.
5347         (WRAPPER_DECL_ff): Likewise.
5348         (WRAPPER_DECL_fFF): Likewise.
5349         (VECTOR_WRAPPER): Likewise.
5350         (VECTOR_WRAPPER_ff): Likewise.
5351         (VECTOR_WRAPPER_fFF): Likewise.
5352         (VEC_LEN): New macro.
5353         * math/test-float-vlen16.h: Include test-float.h,
5354         test-math-no-inline.h and test-math-vector.h.
5355         (FLOAT): Remove macro.
5356         (FUNC): Likewise.
5357         (MATHCONST): Likewise.
5358         (PRINTF_EXPR): Likewise.
5359         (PRINTF_XEXPR): Likewise.
5360         (PRINTF_NEXPR): Likewise.
5361         (TEST_FLOAT): Likewise.
5362         (TEST_MATHVEC): Likewise.
5363         (__NO_MATH_INLINES): Likewise.
5364         (CNCT): Likewise.
5365         (CONCAT): Likewise.
5366         (WRAPPER_NAME): Likewise.
5367         (WRAPPER_DECL): Likewise.
5368         (WRAPPER_DECL_ff): Likewise.
5369         (WRAPPER_DECL_fFF): Likewise.
5370         (VECTOR_WRAPPER): Likewise.
5371         (VECTOR_WRAPPER_ff): Likewise.
5372         (VECTOR_WRAPPER_fFF): Likewise.
5373         (VEC_LEN): New macro.
5374         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
5375         test-vec-loop.h.
5376         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
5377         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
5378         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
5379         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
5380         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
5381         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
5382         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
5384 2015-06-24  Roland McGrath  <roland@hack.frob.com>
5386         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
5387         (__getlogin_r): ... this.
5389 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
5391         [BZ #18594]
5392         * math/s_ccosh.c (__ccosh): Compare with least normal value
5393         instead of comparing class with FP_SUBNORMAL.
5394         * math/s_ccoshf.c (__ccoshf): Likewise.
5395         * math/s_ccoshl.c (__ccoshl): Likewise.
5396         * math/s_cexp.c (__cexp): Likewise.
5397         * math/s_cexpf.c (__cexpf): Likewise.
5398         * math/s_cexpl.c (__cexpl): Likewise.
5399         * math/s_csin.c (__csin): Likewise.
5400         * math/s_csinf.c (__csinf): Likewise.
5401         * math/s_csinh.c (__csinh): Likewise.
5402         * math/s_csinhf.c (__csinhf): Likewise.
5403         * math/s_csinhl.c (__csinhl): Likewise.
5404         * math/s_csinl.c (__csinl): Likewise.
5405         * math/s_ctan.c (__ctan): Likewise.
5406         * math/s_ctanf.c (__ctanf): Likewise.
5407         * math/s_ctanh.c (__ctanh): Likewise.
5408         * math/s_ctanhf.c (__ctanhf): Likewise.
5409         * math/s_ctanhl.c (__ctanhl): Likewise.
5410         * math/s_ctanl.c (__ctanl): Likewise.
5411         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
5412         csin, csinh, ctan and ctanh.
5413         * math/auto-libm-test-out: Regenerated.
5414         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
5415         * sysdeps/i386/fpu/libm-test-ulps: Update.
5416         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5418 2015-06-24  Roland McGrath  <roland@hack.frob.com>
5420         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
5421         return value is wrong, print the expected value too.
5423 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
5425         [BZ #18585]
5426         * elf/readlib.c (is_gdb_python_file): New.
5427         (process_file): Don't issue errors on filenames with -gdb.py
5428         suffix.
5430 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
5432         * math/auto-libm-test-in: Add more tests of csin and csinh.
5433         * math/auto-libm-test-out: Regenerated.
5434         * math/libm-test.inc (csin_test_data): Remove tests moved to
5435         auto-libm-test-in.
5436         (csinh_test_data): Likewise.
5438         [BZ #18593]
5439         * math/s_csin.c (__csin): Negate before rather than after possibly
5440         overflowing multiplication.
5441         * math/s_csinf.c (__csinf): Likewise.
5442         * math/s_csinh.c (__csinh): Likewise.
5443         * math/s_csinhf.c (__csinhf): Likewise.
5444         * math/s_csinhl.c (__csinhl): Likewise.
5445         * math/s_csinl.c (__csinl): Likewise.
5446         * math/auto-libm-test-in: Add some tests of csin and csinh.
5447         * math/auto-libm-test-out: Regenerated.
5448         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
5449         (csinh_test_data): Likewise.
5450         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5452         [BZ #18586]
5453         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
5454         underflow exception for small results.
5456 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
5458         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
5459         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
5460         variable and included header.
5461         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
5462         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
5463         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
5464         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
5465         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
5466         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
5467         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
5468         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
5469         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
5470         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
5471         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
5472         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
5473         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
5474         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
5475         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
5476         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
5478 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
5480         [BZ #16526]
5481         [BZ #16538]
5482         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
5483         (__sin): Force underflow exception for arguments with small
5484         absolute value.
5485         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
5486         (__kernel_sinf): Force underflow exception for arguments with
5487         small absolute value.
5488         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
5489         (__kernel_sincosl): Force underflow exception for arguments with
5490         small absolute value.
5491         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
5492         (__kernel_sinl): Force underflow exception for arguments with
5493         small absolute value.
5494         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
5495         (__kernel_sincosl): Force underflow exception for arguments with
5496         small absolute value.
5497         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
5498         (__kernel_sinl): Force underflow exception for arguments with
5499         small absolute value.
5500         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
5501         (__kernel_sinl): Force underflow exception for arguments with
5502         small absolute value.
5503         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
5504         (__kernel_sinf): Force underflow exception for arguments with
5505         small absolute value.
5506         * math/auto-libm-test-in: Add more tests of sin and sincos.
5507         * math/auto-libm-test-out: Regenerated.
5509         [BZ #18245]
5510         [BZ #18583]
5511         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
5512         (__kernel_standard_l): Use feholdexcept and fesetenv around
5513         conversion to double instead of special-casing overflow and
5514         underflow.
5515         * math/libm-test.inc (fmod_test_data): Add more tests.
5516         (remainder_test_data): Likewise.
5517         (sqrt_test_data): Likewise.
5519 2015-06-23  Torvald Riegel  <triegel@redhat.com>
5521         [BZ #17403]
5522         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
5523         atomic_read_barrier, atomic_write_barrier): Define.
5524         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
5525         atomic_read_barrier, atomic_write_barrier): Define.
5527 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
5529         * math/Makefile [$(PERL) != no]
5530         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
5531         dependency on libm-test.stmp below the inclusion of Rules.
5533 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
5535         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
5536         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
5537         and included header.
5538         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
5539         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
5540         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
5541         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
5542         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
5543         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
5544         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
5545         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
5546         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
5547         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
5548         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
5549         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
5550         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
5551         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
5552         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
5553         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
5554         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
5555         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
5556         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
5558 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
5560         [BZ #18371]
5561         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
5562         intermediate but not final result might underflow.
5563         * math/s_csqrtf.c (__csqrtf): Likewise.
5564         * math/s_csqrtl.c (__csqrtl): Likewise.
5565         * math/auto-libm-test-in: Add more tests of csqrt.
5566         * math/auto-libm-test-out: Regenerated.
5567         * sysdeps/i386/fpu/libm-test-ulps: Update.
5569         [BZ #18219]
5570         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
5571         threshold on absolute value of exponent for which scaling is used.
5572         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
5573         * math/auto-libm-test-in: Add more tests of exp2.
5574         * math/auto-libm-test-out: Regenerated.
5576 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
5578         [BZ #17977]
5579         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
5580         when initializing interface list, based on the bug analysis
5581         and the patch proposed by Eric Newton.
5582         * resolv/tst-res_hconf_reorder.c: New test.
5583         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
5584         tst-res_hconf_reorder.
5585         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
5586         and $(shared-thread-library).
5587         (tst-res_hconf_reorder-ENV): New variable.
5589         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
5590         in comment.
5592 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
5594         [BZ #16353]
5595         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
5596         (__expm1): Force underflow exception for arguments with small
5597         absolute value.
5598         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
5599         (__expm1f): Force underflow exception for arguments with small
5600         absolute value.
5601         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
5602         (__expm1): Force underflow exception for arguments with small
5603         absolute value.
5604         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
5605         (__expm1f): Force underflow exception for arguments with small
5606         absolute value.
5607         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
5608         Check for small arguments before calling __expm1.
5609         * math/auto-libm-test-in: Do not mark underflow exceptions as
5610         possibly missing for bug 16353.
5611         * math/auto-libm-test-out: Regenerated.
5613 2015-06-22  Andreas Schwab  <schwab@suse.de>
5615         [BZ #18513]
5616         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
5617         PTR queries.
5619 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
5621         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
5623         * string/strcoll_l.c: Remove unused struct element idxnow.
5625 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
5627         [BZ #18569]
5628         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
5629         underflow and return argument in case of subnormal argument.
5630         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
5631         Likewise.
5632         * math/auto-libm-test-in: Add more tests of expm1.
5633         * math/auto-libm-test-out: Regenerated.
5635         [BZ #16361]
5636         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
5637         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
5638         tiny results.
5639         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
5640         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
5641         tiny results.
5642         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
5643         mark underflow exceptions as possibly missing for bug 16361.
5644         * math/auto-libm-test-out: Regenerated.
5646 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
5648         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
5649         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
5650         Remove variable.
5651         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
5652         (test-xfail-XOPEN2K8/utmpx.h/conform).
5654         * conform/conformtest.pl ($xerrors): New variable.
5655         (note_error): New function.
5656         (compiletest): New argument $xfail.  Use not_error.
5657         (runtest): Likewise.
5658         (top level): Handle xfail- lines.  Update calls to compiletest and
5659         runtest.  Handle xfail- and optional- in headers listed with
5660         allow-header.
5661         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
5662         (O_EXEC): Likewise.
5663         (O_SEARCH): Likewise.
5664         * conform/data/stropts.h-data (ioctl): Likewise.
5665         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
5666         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
5667         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
5668         (msghdr.msg_controllen): Likewise.
5669         (cmsghdr.cmsg_len): Likewise.
5670         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
5671         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
5672         variable.
5673         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
5674         (test-xfail-XPG4/stropts.h/conform): Likewise.
5675         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
5676         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
5677         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
5678         (test-xfail-UNIX98/stropts.h/conform): Likewise.
5679         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
5680         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
5681         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
5682         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
5683         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
5684         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
5685         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
5686         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
5687         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
5688         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
5689         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
5690         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
5691         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
5692         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
5693         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
5695 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
5697         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
5698         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
5699         definitions for proper unfolding of __MATHDECL_VEC.
5701 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
5703         * benchtests/bench-strcoll.c:
5704         Include string.h.
5705         (main): Remove unused variable res.
5707 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
5709         * timezone/Makefile (%/UTC %/Universal):
5710         Generate test-result files for UTC and Universal.
5712 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
5714         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
5716 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
5718         [BZ #16350]
5719         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
5720         for arguments with small absolute value.
5721         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
5722         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
5723         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
5724         (__asinh): Force underflow exception for arguments with small
5725         absolute value.
5726         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
5727         (__asinhf): Force underflow exception for arguments with small
5728         absolute value.
5729         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
5730         (__asinhl): Force underflow exception for arguments with small
5731         absolute value.
5732         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
5733         (__asinhl): Force underflow exception for arguments with small
5734         absolute value.
5735         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
5736         (__asinhl): Force underflow exception for arguments with small
5737         absolute value.
5738         * math/auto-libm-test-in: Do not mark underflow exceptions as
5739         possibly missing for bug 16350.
5740         * math/auto-libm-test-out: Regenerated.
5742         * include/bits/ipc.h: Remove file.
5743         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
5744         variable.
5745         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
5746         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
5747         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
5748         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
5749         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
5750         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
5751         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
5752         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
5753         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
5755         * math/auto-libm-test-in: Remove spurious underflow allowance for
5756         tests of cexp.
5757         * math/auto-libm-test-out: Regenerated.
5759         [BZ #18558]
5760         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
5761         unconditional definition.
5762         (MCAST_BLOCK_SOURCE): Likewise.
5763         (MCAST_UNBLOCK_SOURCE): Likewise.
5764         (MCAST_LEAVE_GROUP): Likewise.
5765         (MCAST_JOIN_SOURCE_GROUP): Likewise.
5766         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
5767         (MCAST_MSFILTER): Likewise.
5768         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
5769         Remove variable.
5770         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
5771         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
5772         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
5773         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
5774         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
5776 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
5778         * NEWS: Mention addition of x86_64 vector sincosf.
5779         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
5780         * math/test-float-vlen4.h: Likewise.
5781         * math/test-float-vlen8.h: Likewise.
5782         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
5783         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
5784         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5785         * sysdeps/x86_64/fpu/Versions: New versions added.
5786         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5787         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
5788         Added build of SSE, AVX2 and AVX512 IFUNC versions.
5789         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
5790         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
5791         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
5792         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
5793         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
5794         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
5795         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
5796         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
5797         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
5798         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
5799         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
5800         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
5801         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
5802         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
5803         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
5804         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
5805         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
5806         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
5807         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
5808         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
5809         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
5811         * NEWS: Mention addition of x86_64 vector sincos.
5812         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
5813         * math/math.h (__MATHDECL_VEC): New macro.
5814         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
5815         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
5816         declaration under condition.
5817         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
5818         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
5819         TEST_VEC_LOOP change.
5820         * math/test-double-vlen4.h: Likewise.
5821         * math/test-double-vlen8.h: Likewise.
5822         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
5823         * math/test-float-vlen4.h: Likewise.
5824         * math/test-float-vlen8.h: Likewise.
5825         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
5826         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
5827         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5828         * sysdeps/x86_64/fpu/Versions: New versions added.
5829         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5830         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
5831         Added build of SSE, AVX2 and AVX512 IFUNC versions.
5832         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
5833         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
5834         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
5835         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
5836         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
5837         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
5838         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
5839         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
5840         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
5841         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
5842         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
5843         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
5844         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
5845         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
5846         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
5847         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
5848         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
5849         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
5850         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
5851         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
5852         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
5854         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
5855         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
5856         redirections for powf.
5857         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5858         * sysdeps/x86_64/fpu/Versions: New versions added.
5859         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5860         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
5861         Added build of SSE, AVX2 and AVX512 IFUNC versions.
5862         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
5863         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
5864         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
5865         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
5866         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
5867         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
5868         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
5869         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
5870         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
5871         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
5872         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
5873         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
5874         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
5875         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
5876         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
5877         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
5878         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
5879         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
5880         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
5881         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
5882         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
5883         * math/test-float-vlen16.h: Fixed 2 argument macro.
5884         * math/test-float-vlen4.h: Likewise.
5885         * math/test-float-vlen8.h: Likewise.
5886         * NEWS: Mention addition of x86_64 vector powf.
5888 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
5890         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5891         and redefine.
5892         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5893         and redefine.
5894         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
5895         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
5896         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
5898         [BZ #18553]
5899         * resource/getpriority.c (getpriority): Rename to __getpriority
5900         and define as weak alias of __getpriority.
5901         * resource/setpriority.c (setpriority): Rename to __setpriority
5902         and define as weak alias of __setpriority.
5903         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
5904         __getpriority and define as weak alias of __getpriority.
5905         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
5906         __setpriority and define as weak alias of __setpriority.
5907         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
5908         strong name.
5909         (setpriority): Use __setpriority as strong name.
5910         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
5911         __getpriority and define as weak alias of __getpriority.
5912         * include/sys/resource.h (__getpriority): Declare.  Use
5913         libc_hidden_proto.
5914         (__setpriority): Likewise.
5915         (getpriority): Don't use libc_hidden_proto.
5916         (setpriority): Likewise.
5917         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
5918         getpriority.  Call __setpriority instead of setpriority.
5919         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
5920         Remove variable.
5922         [BZ #18547]
5923         * misc/getttyent.c (getttynam): Rename to __getttynam and define
5924         as weak alias of __getttynam.  Use prototype function definition.
5925         Call __setttyent, __getttyent and __endttyent instead of
5926         setttyent, getttyent and endttyent.
5927         (getttyent): Rename to __getttyent and define as weak alias of
5928         __getttyent.  Call __setttyent instead of setttyent.  Call
5929         __fgets_unlocked instead of fgets_unlocked.
5930         (setttyent): Rename to __setttyent and define as weak alias of
5931         __setttyent.
5932         (endttyent): Rename to __endttyent and define as weak alias of
5933         __endttyent.
5934         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
5935         (__setttyent): Likewise.
5936         (__endttyent): Likewise.
5937         (getttyent): Don't use libc_hidden_proto.
5938         (setttyent): Likewise.
5939         (endttyent): Likewise.
5940         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
5941         __endttyent instead of setttyent, getttyent and endttyent.
5942         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
5943         Remove variable.
5945         [BZ #18546]
5946         * socket/recv.c (__recv): Use libc_hidden_def.
5947         * socket/socket.c (__socket): Likewise.
5948         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
5949         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
5950         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
5951         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
5952         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
5953         libc_hidden_def.
5954         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
5955         libc_hidden_weak.
5956         * include/sys/socket.h (__socket): Do not use attribute_hidden.
5957         Use libc_hidden_proto.
5958         (__recv): Likewise.
5959         * socket/Versions (libc): Export __recv and __socket at version
5960         GLIBC_PRIVATE.
5961         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
5962         instead of recv.
5963         (init_mq_netlink): Call __socket instead of socket.
5964         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
5965         Remove variable.
5967         [BZ #18545]
5968         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
5969         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
5970         hidden_weak.
5971         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
5972         define as alias of __mq_timedsend.  Use hidden_weak.
5973         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
5974         __mq_timedsend as strong name.
5975         (mq_timedreceive): Use __mq_timedreceive as strong name.
5976         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
5977         (__mq_timedreceive): Likewise.
5978         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
5979         __mq_timedreceive instead of mq_timedreceive.
5980         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
5981         instead of mq_timedsend.
5982         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
5983         Remove variable.
5985         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
5986         hidden_def and hidden_weak instead of libc_hidden_def and
5987         libc_hidden_weak.
5988         (top level): Refer to hidden_def in comment.
5989         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
5990         macro.  Use it instead of libc_hidden_def.
5991         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
5992         specify __GI_* name explicitly.
5993         (mq_timedreceive): Likewise.
5994         (mq_setattr): Likewise.
5996         [BZ #18544]
5997         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
5998         __pthread_barrier_init and define as weak alias of
5999         __pthread_barrier_init.
6000         * sysdeps/sparc/nptl/pthread_barrier_init.c
6001         (pthread_barrier_init): Likewise.
6002         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
6003         __pthread_barrier_wait and define as weak alias of
6004         __pthread_barrier_wait.
6005         * sysdeps/sparc/nptl/pthread_barrier_wait.c
6006         (pthread_barrier_wait): Likewise.
6007         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
6008         (pthread_barrier_wait): Likewise.
6009         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
6010         (pthread_barrier_wait): Likewise.
6011         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
6012         (pthread_barrier_wait): Likewise.
6013         * nptl/Versions (libpthread): Export __pthread_barrier_init and
6014         __pthread_barrier_wait at version GLIBC_PRIVATE.
6015         * include/pthread.h (__pthread_barrier_init): Declare.
6016         (__pthread_barrier_wait): Likewise.
6017         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
6018         Call __pthread_barrier_wait instead of pthread_barrier_wait.
6019         (helper_thread): Likewise.
6020         (init_mq_netlink): Call __pthread_barrier_init instead of
6021         pthread_barrier_init.
6023         [BZ #18542]
6024         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
6025         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
6026         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
6027         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
6028         vswscanf.
6029         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
6030         Remove variable.
6032         [BZ #18540]
6033         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
6034         strong alias of _IO_fflush.  Use libc_hidden_def.
6035         * libio/iofflush_u.c (fflush_unlocked): Rename to
6036         __fflush_unlocked and define as weak alias of __fflush_unlocked.
6037         Use libc_hidden_weak.
6038         * include/stdio.h (__fflush_unlocked): Declare.  Use
6039         libc_hidden_proto.
6040         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
6041         fflush_unlocked.
6042         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
6043         Remove variable.
6045         [BZ #18539]
6046         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
6047         define as weak alias of __addseverity.
6048         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
6049         Remove variable.
6050         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
6051         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
6052         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
6054         [BZ #18536]
6055         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
6056         (__tfind): Likewise.
6057         (__tdelete): Likewise.
6058         (__twalk): Likewise.
6059         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
6060         __twalk to GLIBC_PRIVATE.
6061         * include/search.h (__tsearch): Use libc_hidden_proto.
6062         (__tfind): Likewise.
6063         (__tdelete): Likewise.
6064         (__twalk): Likewise.
6065         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
6066         Call __tdelete instead of tdelete.
6067         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
6068         tfind.  Call __tsearch instead of tsearch.
6069         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
6070         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
6071         Remove variable.
6072         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
6074         [BZ #18534]
6075         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
6076         (dprintf): Define as a weak alias of __dprintf, not a strong
6077         alias.
6078         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
6079         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
6080         dprintf.
6081         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
6082         Remove variable.
6083         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
6084         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
6086         [BZ #18533]
6087         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
6088         not a strong alias.
6089         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
6090         Remove variable.
6092         [BZ #18532]
6093         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
6094         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
6095         (in6addr_loopback): Rename to __in6addr_loopback and define as
6096         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
6097         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
6098         libc_hidden_proto.
6099         (__in6addr_any): Likewise.
6100         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
6101         in6addr_any.
6102         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
6103         variable.
6104         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
6106 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
6108         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
6109         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
6110         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
6111         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
6112         redirections for pow.
6113         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
6114         * sysdeps/x86_64/fpu/Versions: New versions added.
6115         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
6116         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
6117         build of SSE, AVX2 and AVX512 IFUNC versions.
6118         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
6119         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
6120         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
6121         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
6122         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
6123         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
6124         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
6125         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
6126         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
6127         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
6128         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
6129         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
6130         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
6131         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
6132         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
6133         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
6134         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
6135         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
6136         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
6137         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
6138         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
6139         * NEWS: Mention addition of x86_64 vector pow.
6141         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
6142         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
6143         redirections for expf.
6144         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
6145         * sysdeps/x86_64/fpu/Versions: New versions added.
6146         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
6147         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
6148         build of SSE, AVX2 and AVX512 IFUNC versions.
6149         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
6150         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
6151         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
6152         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
6153         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
6154         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
6155         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
6156         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
6157         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
6158         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
6159         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
6160         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
6161         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
6162         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
6163         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
6164         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
6165         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
6166         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
6167         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
6168         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
6169         * NEWS: Mention addition of x86_64 vector expf.
6171         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
6172         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
6173         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
6174         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
6175         redirections for exp.
6176         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
6177         * sysdeps/x86_64/fpu/Versions: New versions added.
6178         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
6179         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
6180         build of SSE, AVX2 and AVX512 IFUNC versions.
6181         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
6182         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
6183         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
6184         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
6185         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
6186         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
6187         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
6188         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
6189         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
6190         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
6191         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
6192         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
6193         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
6194         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
6195         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
6196         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
6197         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
6198         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
6199         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
6200         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
6201         * NEWS: Mention addition of x86_64 vector exp.
6203         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
6204         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
6205         redirections for logf.
6206         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
6207         * sysdeps/x86_64/fpu/Versions: New versions added.
6208         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
6209         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
6210         build of SSE, AVX2 and AVX512 IFUNC versions.
6211         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
6212         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
6213         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
6214         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
6215         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
6216         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
6217         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
6218         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
6219         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
6220         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
6221         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
6222         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
6223         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
6224         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
6225         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
6226         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
6227         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
6228         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
6229         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
6230         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
6231         * NEWS: Mention addition of x86_64 vector logf.
6233         * bits/libm-simd-decl-stubs.h: Added stubs for log.
6234         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
6235         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
6236         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
6237         redirections for log.
6238         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
6239         * sysdeps/x86_64/fpu/Versions: New versions added.
6240         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
6241         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
6242         build of SSE, AVX2 and AVX512 IFUNC versions.
6243         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
6244         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
6245         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
6246         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
6247         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
6248         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
6249         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
6250         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
6251         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
6252         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
6253         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
6254         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
6255         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
6256         test.
6257         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
6258         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
6259         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
6260         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
6261         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
6262         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
6263         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
6264         * NEWS: Mention addition of x86_64 vector log.
6266 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6268         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
6269         cfi_adjust_cfa_offset argument.
6270         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
6271         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
6273         [BZ #18034]
6274         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
6275         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
6276         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
6277         ordering using ldar.
6278         (_dl_tlsdesc_dynamic): Likewise.
6279         (_dl_tlsdesc_return_lazy): Likewise.
6280         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
6281         relaxed atomics instead of volatile and synchronize with release store.
6282         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
6283         volatile.
6284         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
6286 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
6288         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
6289         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
6290         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
6291         * sysdeps/x86_64/fpu/Versions: New versions added.
6292         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
6293         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
6294         build of SSE, AVX2 and AVX512 IFUNC versions.
6295         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
6296         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
6297         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
6298         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
6299         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
6300         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
6301         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
6302         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
6303         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
6304         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
6305         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
6306         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
6307         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
6308         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
6309         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
6310         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
6311         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
6312         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
6313         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
6314         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
6315         * NEWS: Mention addition of x86_64 vector sinf.
6317 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
6319         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
6320         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
6321         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
6322         Remove variable.
6323         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
6324         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
6326 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
6328         [BZ #18530]
6329         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
6330         strong alias of _IO_fputs.  Use libc_hidden_def.
6331         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
6332         and define as weak alias of __fputs_unlocked.  Use
6333         libc_hidden_weak.
6334         * include/stdio.h (__fputs_unlocked): Declare.  Use
6335         libc_hidden_proto.
6336         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
6337         fputs_unlocked.
6339         [BZ #18529]
6340         * resolv/netdb.h [__USE_POSIX]: Change condition to
6341         [__USE_XOPEN2K].
6342         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
6343         not expect.
6344         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
6345         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
6346         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
6347         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
6348         [XPG4 || UNIX98] (AI_ALL): Likewise.
6349         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
6350         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
6351         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
6352         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
6353         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
6354         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
6355         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
6356         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
6357         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
6358         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
6359         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
6360         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
6361         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
6362         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
6363         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
6364         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
6365         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
6366         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
6367         [XPG4 || UNIX98] (gai_strerror): Likewise.
6368         [XPG4 || UNIX98] (getaddrinfo): Likewise.
6369         [XPG4 || UNIX98] (getnameinfo): Likewise.
6371         [BZ #18528]
6372         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
6373         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
6374         __USE_XOPEN2K8].
6375         (getgrent): Likewise.
6376         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
6377         expect.
6378         [XPG3 || POSIX2008] (endgrent): Likewise.
6379         [XPG3] (setgrent): Likewise.
6380         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
6381         variable.
6382         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
6384         [BZ #18527]
6385         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
6386         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
6387         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
6388         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
6389         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
6390         * include/unistd.h (__getlogin_r): Declare.  Use
6391         libc_hidden_proto.
6392         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
6393         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
6394         variable.
6395         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
6396         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
6397         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
6399 2015-06-12  Martin Sebor  <msebor@redhat.com>
6401         [BZ #18512]
6402         * Makerules (check-install-supported): New target.
6403         (install): Add check-install-supported as a dependency.
6404         * manual/install.texi (Installing the C Library): Document
6405         that overriding prefix and exec_prefix is not supported.
6406         Mention DESTDIR.
6407         * INSTALL: Regenerate from the above.
6409 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
6411         [BZ #18519]
6412         * posix/Versions (libc): Export __libc_pread at version
6413         GLIBC_PRIVATE.
6414         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
6415         instead of pread.
6416         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
6417         variable.
6419         [BZ #18522]
6420         * misc/efgcvt_r.c
6421         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
6422         (cvt_symbol): Use weak_alias instead of strong_alias.
6423         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
6424         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
6425         Remove variable.
6426         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
6427         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
6429         [BZ #18520]
6430         * inet/herrno.c (h_errno): Rename to __h_errno.
6431         (__libc_h_errno): Define as alias of __h_errno not h_errno.
6432         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
6433         to __h_errno instead of h_errno.
6434         * nptl/herrno.c (h_errno): Rename to __h_errno.
6435         (__h_errno_location): Refer to __h_errno not h_errno.
6436         * resolv/Versions (h_errno): Rename to __h_errno.
6437         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
6438         Remove variable.
6439         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
6441 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
6443         * configure.ac: More strict check for AVX512 assembler support.
6444         * configure: Regenerated.
6446         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
6447         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
6448         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
6449         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
6450         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
6451         * sysdeps/x86_64/fpu/Versions: New versions added.
6452         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
6453         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
6454         Added build of SSE, AVX2 and AVX512 IFUNC versions.
6455         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
6456         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
6457         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
6458         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
6459         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
6460         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
6461         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
6462         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
6463         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
6464         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
6465         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
6466         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
6467         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
6468         test.
6469         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
6470         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
6471         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
6472         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
6473         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
6474         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
6475         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
6476         * NEWS: Mention addition of x86_64 vector sin.
6478 2015-06-11  Florian Weimer  <fweimer@redhat.com>
6480         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
6481         comment.
6483 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
6485         [BZ #18479]
6486         * nptl/pt-interp.c: New file.
6487         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
6488         Add pt-interp.
6489         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
6490         $(common-objpfx)runtime-linker.h.
6492 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
6494         * Makeconfig (+interp): Remove unused variable.
6495         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
6496         only.  Depend on $(common-objpfx)runtime-linker.h instead of
6497         $(elf-objpfx)runtime-linker.h.
6498         ($(elf-objpfx)runtime-linker.h): Rename to
6499         $(common-objpfx)runtime-linker.h and move ...
6500         * Makerules [$(build-shared) = yes]: ... here.
6501         * elf/interp.c: Include <runtime-linker.h> instead of
6502         <elf/runtime-linker.h>.
6504 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6506         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
6507         (__gettimeofday_syscall): Remove vsyscall fallback.
6508         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
6509         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
6510         Add syscall fallback function.
6511         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
6512         if vDSO is not present.
6513         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
6514         fallback function.
6515         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
6516         present.
6517         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
6518         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
6520 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
6522         [BZ #18497]
6523         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
6524         of wcscmp.
6525         (wcscmp): Define as weak alias of WCSCMP.
6526         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
6527         wcscoll.
6528         (USE_HIDDEN_DEF): Define.
6529         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
6530         __wcscoll.  Don't use libc_hidden_weak.
6531         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
6532         wcscmp.
6533         * sysdeps/i386/i686/multiarch/wcscmp-c.c
6534         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
6535         __GI_wcscmp.
6536         (weak_alias): Undefine and redefine.
6537         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
6538         __wcscmp and define as weak alias of __wcscmp.
6539         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
6540         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
6541         (__wcscoll): Likewise.
6542         (wcscmp): Don't use libc_hidden_proto.
6543         (wcscoll): Likewise.
6544         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
6545         wcscoll.
6546         * posix/regexec.c (check_node_accept_bytes): Likewise.
6547         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
6548         variable.
6549         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
6550         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
6552         [BZ #18507]
6553         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
6554         __fstatvfs and define as weak alias of __fstatvfs.  Use
6555         libc_hidden_weak.
6556         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
6557         and define as weak alias of __statvfs.  Use libc_hidden_weak.
6558         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
6559         Define as alias of __fstatvfs, not fstatvfs.
6560         (fstatvfs64): Likewise.
6561         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
6562         Define as alias of __statvfs, not statvfs.
6563         (statvfs64): Likewise.
6564         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
6565         Remove variable.
6567 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6569         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6570         (HAVE_GETCPU_VSYSCALL): Define.
6571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
6572         (HAVE_GETCPU_VSYSCALL): Likewise.
6573         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
6574         * sysdeps/unix/sysv/linux/sched_getcpu.c
6575         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
6576         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
6577         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
6578         prototype.
6579         * sysdeps/unix/sysv/linux/x86_64/init-first.c
6580         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
6581         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
6582         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
6583         Define.
6584         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
6585         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
6586         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
6587         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
6589 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
6591         * sysdeps/x86_64/fpu/Makefile: New file.
6592         * sysdeps/x86_64/fpu/Versions: New file.
6593         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
6594         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
6595         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
6596         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
6597         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
6598         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
6599         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
6600         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
6601         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
6602         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
6603         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
6604         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
6605         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
6606         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
6607         Added build of SSE, AVX2 and AVX512 IFUNC versions.
6608         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
6609         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
6610         * sysdeps/x86_64/configure.ac: Options for libmvec build.
6611         * sysdeps/x86_64/configure: Regenerated.
6612         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
6613         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
6614         * manual/install.texi (Configuring and compiling): Document
6615         --disable-mathvec.
6616         * INSTALL: Regenerated.
6617         * NEWS: Mention addition of libmvec and x86_64 vector cos.
6619         * math/Makefile: Added rules for vector tests.
6620         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
6621         declaration under condition.
6622         * math/test-double-vlen2.h: New file.
6623         * math/test-double-vlen4.h: New file.
6624         * math/test-double-vlen8.h: New file.
6625         * math/test-vec-loop.h: Added initialization macro.
6626         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
6627         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
6628         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
6629         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
6630         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
6631         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
6632         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
6633         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
6634         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
6635         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
6636         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
6638         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
6639         * sysdeps/x86_64/fpu/Versions: New versions added.
6640         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
6641         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
6642         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
6643         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
6644         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
6645         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
6646         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
6647         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
6648         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
6649         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
6650         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
6651         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
6652         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
6653         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
6654         Added build of SSE, AVX2 and AVX512 IFUNC versions.
6655         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
6656         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
6657         * NEWS: Mention addition of x86_64 vector cosf.
6659         * math/Makefile: Added CFLAGS for new tests.
6660         * math/test-float-vlen16.h: New file.
6661         * math/test-float-vlen4.h: New file.
6662         * math/test-float-vlen8.h: New file.
6663         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
6664         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
6665         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
6666         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
6667         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
6668         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
6669         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
6670         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
6671         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
6672         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
6673         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
6675 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
6677         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
6678         * locale/programs/ld-ctype.c: Likewise.
6680 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
6682         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
6683         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
6684         bit_ZMM16_31_state): New macro.
6685         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6686         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
6688 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
6690         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
6692 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
6694         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
6696 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
6698         [BZ #18498]
6699         * libio/memstream.c (open_memstream): Rename to __open_memstream
6700         and define as weak alias of __open_memstream.
6701         * include/stdio.h (__open_memstream): Declare.  Use
6702         libc_hidden_proto.
6703         (open_memstream): Don't use libc_hidden_proto.
6704         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
6705         open_memstream.
6706         * posix/getopt.c (_getopt_internal_r): Likewise.
6707         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
6708         variable.
6709         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
6710         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
6711         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
6713         [BZ #18496]
6714         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
6715         instead of wcrtomb.
6717         [BZ #18483]
6718         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
6719         [__USE_XOPEN2K8].  Remove redundant #endif.
6720         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
6721         Remove redundant #if.
6722         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
6723         Remove variable.
6724         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
6725         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
6727         [BZ #18495]
6728         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
6729         (__iswlower): Likewise.
6730         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
6731         (__iswlower): Likewise.
6732         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
6733         instead of towlower.
6734         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
6735         instead of iswlower.  Call __towupper instead of towupper.
6736         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
6737         instead of iswalnum.
6739 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6741         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
6742         errors to stderr.
6744 2015-06-05  Florian Weimer  <fweimer@redhat.com>
6746         [BZ #15661]
6747         [BZ #17322]
6748         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
6749         Check for overflow properly.  Check for O_APPEND.  Ignore large
6750         file system block sizes.  Add comments about problems.
6751         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
6752         * manual/filesys.texi (Storage Allocation): New node.
6754 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6756         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
6757         cancellable syscalls.
6758         (SYS_ify): Add guard to no redefine it.
6759         (INLINE_SYSCALL): Likewise.
6760         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
6761         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
6762         SYSCALL_CANCEL instead.
6763         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
6764         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
6765         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
6766         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
6767         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
6768         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
6769         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
6770         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
6771         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
6772         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
6773         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
6774         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
6775         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
6776         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
6777         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
6778         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
6779         Likewise.
6780         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
6781         (__libc_pread64): Likewise.
6782         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
6783         (__libc_preadv): Likewise.
6784         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
6785         (__libc_readv64): Likewise.
6786         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
6787         (__libc_pwrite): Likewise.
6788         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
6789         (__libc_pwrite64): Likewise.
6790         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
6791         (__libc_pwritev): Likewise.
6792         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
6793         (__libc_pwritev64): Likewise.
6794         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
6795         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
6796         (sync_file_range): Likewise.
6797         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
6798         Likewise.
6799         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
6800         Likewise.
6801         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
6802         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
6803         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
6804         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
6805         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
6806         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
6807         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
6808         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
6809         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
6810         Likewise.
6811         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
6812         (__libc_read64): Likewise.
6813         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
6814         Likewise.
6815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
6816         Likewise.
6817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
6818         Likewise.
6819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
6820         Likewise.
6821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
6822         (__libc_pread64): Likewise.
6823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
6824         Likewise.
6825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
6826         (__libc_pwrite64): Likewise.
6827         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
6828         (sync_file_range): Likewise.
6829         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
6830         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
6831         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
6832         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
6833         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
6834         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
6835         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
6836         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
6837         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
6838         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
6839         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
6840         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
6841         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
6842         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
6843         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
6844         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
6845         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
6846         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
6847         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
6848         Likewise.
6849         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
6850         Likewise.
6851         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
6852         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
6853         Likewise.
6854         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
6855         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
6856         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
6857         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
6858         Likewise.
6859         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
6860         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
6861         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
6862         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
6863         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
6865 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
6867         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
6868         Include dl-vdso.
6869         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
6870         Use VDSO routines for gettimeofday, clock_gettime if
6871         available.
6872         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
6873         Declare VDSO symbols.
6874         * sysdeps/unix/sysv/linux/arm/sysdep.h:
6875         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
6876         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
6877         * sysdeps/unix/sysv/linux/arm/Versions: Add
6878         __vdso_clock_gettime.
6880 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6882         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
6883         be an inline implementation regardless of library is built within.
6884         (open_not_cancel_2): Likewise.
6885         (__read_nocancel): Likewise.
6886         (__write_nocancel): Likewise.
6887         (openat_not_cancel): Likewise.
6888         (openat_not_cancel_3): Likewise.
6889         (openat64_not_cancel): Likewise.
6890         (openat64_not_cancel_3): Likewise.
6891         (__close_nocancel): Likewise.
6892         (pause_not_cancel): Likewise.
6893         (nanosleep_not_cancel): Likewise.
6894         (sigsuspend_not_cancel): Likewise.
6896 2015-06-04  Torvald Riegel  <triegel@redhat.com>
6898         [BZ #14958]
6899         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
6900         wake-up.
6901         (__pthread_rwlock_rdlock_slow): Likewise.
6902         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
6903         Likewise.
6904         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
6905         Likewise.
6906         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
6907         * nptl/tst-rwlock16.c: New file.
6908         * nptl/Makefile (tests): Add new test.
6910 2015-06-04  Torvald Riegel  <triegel@redhat.com>
6912         [BZ #18324]
6913         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
6914         missing wake-up of readers.
6915         * nptl/tst-rwlock15.c: New file.
6916         * nptl/Makefile (tests): Add new test.
6918 2015-06-03  Roland McGrath  <roland@hack.frob.com>
6920         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
6921         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
6922         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
6923         and __nacl_supply_interface_rtld.
6924         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
6925         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
6926         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
6927         Add __nacl_supply_interface_rtld.
6928         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
6930 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
6932         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
6933         isfinite.
6934         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6935         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
6937 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
6939         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
6940         __signbit* with standard C99 macros.
6941         * math/e_exp10l.c: Likewise.
6942         * math/e_exp2l.c: Likewise.
6943         * math/e_scalb.c: Likewise.
6944         * math/e_scalbf.c: Likewise.
6945         * math/e_scalbl.c: Likewise.
6946         * math/s_ldexp.c: Likewise.
6947         * math/s_ldexpf.c: Likewise.
6948         * math/s_ldexpl.c: Likewise.
6949         * math/w_atan2.c: Likewise.
6950         * math/w_atan2f.c: Likewise.
6951         * math/w_atan2l.c: Likewise.
6952         * math/w_cosh.c: Likewise.
6953         * math/w_coshf.c: Likewise.
6954         * math/w_coshl.c: Likewise.
6955         * math/w_exp10.c: Likewise.
6956         * math/w_exp10f.c: Likewise.
6957         * math/w_exp10l.c: Likewise.
6958         * math/w_exp2.c: Likewise.
6959         * math/w_exp2f.c: Likewise.
6960         * math/w_exp2l.c: Likewise.
6961         * math/w_fmod.c: Likewise.
6962         * math/w_fmodf.c: Likewise.
6963         * math/w_fmodl.c: Likewise.
6964         * math/w_hypot.c: Likewise.
6965         * math/w_hypotf.c: Likewise.
6966         * math/w_hypotl.c: Likewise.
6967         * math/w_jnl.c: Likewise.
6968         * math/w_lgamma.c: Likewise.
6969         * math/w_lgamma_r.c: Likewise.
6970         * math/w_lgammaf.c: Likewise.
6971         * math/w_lgammaf_r.c: Likewise.
6972         * math/w_lgammal.c: Likewise.
6973         * math/w_lgammal_r.c: Likewise.
6974         * math/w_pow.c: Likewise.
6975         * math/w_powf.c: Likewise.
6976         * math/w_powl.c: Likewise.
6977         * math/w_remainder.c: Likewise.
6978         * math/w_remainderf.c: Likewise.
6979         * math/w_remainderl.c: Likewise.
6980         * math/w_scalb.c: Likewise.
6981         * math/w_scalbf.c: Likewise.
6982         * math/w_scalbl.c: Likewise.
6983         * math/w_scalbln.c: Likewise.
6984         * math/w_scalblnf.c: Likewise.
6985         * math/w_scalblnl.c: Likewise.
6986         * math/w_sinh.c: Likewise.
6987         * math/w_sinhf.c: Likewise.
6988         * math/w_sinhl.c: Likewise.
6989         * math/w_tgamma.c: Likewise.
6990         * math/w_tgammaf.c: Likewise.
6991         * math/w_tgammal.c: Likewise.
6992         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6993         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
6994         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6995         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6996         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6997         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6998         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
6999         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
7000         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
7001         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7002         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
7003         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
7004         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7005         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
7006         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
7007         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7008         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
7009         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
7010         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
7011         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
7012         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
7013         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
7014         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7015         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7016         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
7017         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
7018         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
7019         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
7020         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7021         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
7022         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
7023         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
7024         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
7025         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
7026         * stdio-common/printf_fp.c: Likewise.
7027         * stdio-common/printf_fphex.c: Likewise.
7028         * stdio-common/printf_size.c: Likewise.
7030 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
7032         [BZ #18470]
7033         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
7034         strnlen.
7035         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
7036         Remove variable.
7037         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
7038         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
7039         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
7040         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
7041         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
7042         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
7043         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
7044         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
7045         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
7046         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
7048         [BZ #18468]
7049         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
7050         weak alias of __wmemchr.  Use libc_hidden_weak.
7051         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
7052         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
7053         instead of wmemchr.
7055 2015-06-02  Roland McGrath  <roland@hack.frob.com>
7057         [BZ #18383]
7058         * elf/tst-tlsalign-extern.c: New file.
7059         * elf/tst-tlsalign-extern-static.c: New file.
7060         * elf/tst-tlsalign-vars.c: New file.
7061         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
7062         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
7063         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
7064         ($(objpfx)tst-tlsalign-extern-static): Likewise.
7065         (test-xfail-tst-tlsalign-extern-static): New variable.
7067 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
7069         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
7070         Use variable name _sc_err instead of err.
7071         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
7072         instead of ret.
7073         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
7074         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
7075         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
7076         (INLINE_SYSCALL): Likewise.
7078         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
7079         * include/string.h (__strnlen): Use libc_hidden_proto.
7080         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
7081         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
7082         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
7083         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
7084         (libc_hidden_def): Undefine and redefine.
7085         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
7086         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
7087         __GI_strnlen.
7088         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
7089         libc_hidden_def.
7090         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
7092         [BZ #18469]
7093         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
7094         weak alias of __towlower.  Use libc_hidden_weak.
7095         (towupper): Rename to __towupper and define as weak alias of
7096         __towupper.  Use libc_hidden_weak.
7097         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
7098         (__towupper): Likewise.
7099         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
7100         __towlower instead of towlower.
7102 2015-06-02  Roland McGrath  <roland@hack.frob.com>
7104         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
7105         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
7107 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7109         * sysdeps/aarch64/libm-test-ulps: Update.
7111 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7113         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
7114         Define.
7115         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
7116         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
7117         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
7118         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
7119         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
7120         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
7121         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
7123 2015-06-01  Martin Sebor  <msebor@redhat.com>
7125         [BZ #18116]
7126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
7127         (__setcontext): Use extended four-operand version of mtsf whenever
7128         possible.
7129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
7130         (__novec_swapcontext): Likewise.
7132 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
7134         * benchtests/scripts/compare_bench.py: New file.
7135         * benchtests/scripts/import_bench.py (mean): New function.
7136         (split_list): Likewise.
7137         (do_for_all_timings): Likewise.
7138         (compress_timings): Likewise.
7140         * benchtests/scripts/import_bench.py: New file.
7141         * benchtests/scripts/validate_benchout.py: Import import_bench
7142         instead of jsonschema.
7143         (validate_bench): Remove function.
7144         (main): Use import_bench.
7146 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
7148         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
7149         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
7151 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7153         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7155 2015-05-28  Roland McGrath  <roland@hack.frob.com>
7157         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
7158         set THREAD_SELF->tid to a magic value and futex-wake it.
7159         Pass its address to the thread_exit system call.
7160         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
7161         bit is clear.
7162         * sysdeps/nacl/lowlevellock.h: New file.
7163         * sysdeps/nacl/lll_timedwait_tid.c: New file.
7165         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
7166         Add TIMEOUT to current time, don't subtract it.
7168 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
7170         [BZ #2981]
7171         [BZ #18422]
7172         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
7173         ($(objpfx)tst-audit2.out): Also depend on
7174         $(objpfx)tst-auditmod9b.so.
7175         * elf/tst-audit2.c: Include <dlfcn.h>.
7176         (calloc_called): New.
7177         (calloc): Allow to be called more than once.
7178         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
7180 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
7182         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
7183         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
7185 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
7187         * stdlib/monetary.h: Fix comment.
7189 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
7191         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
7192         Avoid using variables in #defines that might cause shadowing.
7193         (INTERNAL_VSYSCALL_CALL): Likewise.
7195 2015-05-26  Roland McGrath  <roland@hack.frob.com>
7197         * sysdeps/nacl/lll_timedlock_wait.c: New file.
7199         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
7200         * nptl/lll_timedlock_wait.c: ... to this new file.
7201         * nptl/Makefile (libpthread-routines): Add it.
7202         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
7203         * nptl/lll_timedwait_tid.c: ... to this new file.
7204         * nptl/Makefile (libpthread-routines): Add it.
7205         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
7206         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
7207         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
7208         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
7209         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
7210         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
7211         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
7212         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
7213         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
7214         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
7216 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7218         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
7219         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
7220         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
7221         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
7222         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
7223         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
7224         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
7225         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
7226         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
7227         * sysdeps/unix/sysv/linux/tile/sysdep.h
7228         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
7229         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
7230         using vDSO syscall macro.
7232 2015-05-26  Andriy Rysin  <arysin@gmail.com>
7234         [BZ #17293]
7235         * uk_UA: Fix sorting order for Ukrainian locale
7237 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
7239         * stdlib/monetary.h: Fix comment.
7241 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7243         [BZ #18234]
7244         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
7245         st_mtim and st_ctim members.
7246         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
7247         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
7248         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
7249         (struct stat64): Likewise.
7250         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
7251         (struct stat64): Likewise.
7252         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
7253         (struct stat64): Likewise.
7255 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7257         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
7258         Define and include sysdep-vdso.h.
7259         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
7260         Likewise.
7261         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
7262         Likewise.
7263         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
7264         Define with VDSO_SYMBOL and use PTR_MANGLE.
7265         (__vdso_clock_gettime): Likewise.
7266         (__vdso_clock_getres): Likewise.
7267         (_libc_vdso_platform_setup): Likewise.
7268         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
7269         Likewise.
7270         (_libc_vdso_platform_setup): Likewise.
7271         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
7272         Likewise.
7273         (__vdso_clock_gettime): Likewise.
7274         (__vdso_clock_getres): Likewise.
7275         (__vdso_get_tbfreq): Likewise.
7276         (__vdso_getcpu): Likewise.
7277         (__vdso_time): Likewise.
7278         (__vdso_sigtramp_rt64): Likewise.
7279         (__vdso_signtramp32): Likewise.
7280         (__vdso_sigtramp_rt32): Likewise.
7281         (_libc_vdso_platform_setup): Likewise.
7282         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
7283         Likewise.
7284         (__vdso_clock_gettime): Likewise.
7285         (__vdso_clock_getres): Likewise.
7286         (_libc_vdso_platform_setup): Likewise.
7287         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
7288         Likewise.
7289         (__vdso_clock_gettime): Likewise.
7290         (_libc_vdso_platform_setup): Likewise.
7291         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
7292         Likewise.
7293         (__vdso_getcpu): Likewise.
7294         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
7295         Use VDSO_SYMBOL macro to define.
7296         (__vdso_clock_gettime): Likewise.
7297         (__vdso_clock_getres): Likewise.
7298         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
7299         Likewise.
7300         (__vdso_clock_gettime): Likewise.
7301         (__vdso_clock_getres): Likewise.
7302         (__vdso_get_tbfreq): Likewise.
7303         (__vdso_getcpu): Likewise.
7304         (__vdso_time): Likewise.
7305         (__vdso_sigtramp_rt64): Likewise.
7306         (__vdso_signtramp32): Likewise.
7307         (__vdso_sigtramp_rt32): Likewise.
7308         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
7309         Likewise.
7310         (__vdso_clock_gettime): Likewise.
7311         (__vdso_clock_getres): Likewise.
7312         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
7313         Likewise.
7314         (__vdso_clock_gettime): Likewise.
7315         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
7316         Likewise.
7317         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
7318         macro.
7319         (INTERNAL_VSYSCALL): Likewise.
7320         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
7321         Remove macro.
7322         (INTERNAL_VSYSCALL): Likewise.
7323         (INTERNAL_VSYSCALL_NCS): Likewise.
7324         (INTERNAL_VSYSCALL_CALL): New macro.
7325         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
7326         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
7327         Likewise.
7328         (INTERNAL_VSYSCALL): Likewise.
7329         (INTERNAL_VSYSCALL_NCS): Likewise.
7330         (INTERNAL_VSYSCALL_CALL): New macro.
7331         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
7332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7333         (INLINE_VSYSCALL): Remove macro.
7334         (INTERNAL_VSYSCALL): Remove macro.
7335         (INTERNAL_VSYSCALL_NCS): Remove macro.
7336         (INTERNAL_VSYSCALL_CALL): New macro.
7337         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
7338         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
7339         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
7340         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
7341         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
7342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
7343         (INLINE_VSYSCALL): Remove macro.
7344         (INTERNAL_VSYSCALL): Likewise.
7345         (INTERNAL_VSYSCALL_NCS): Likewise.
7346         (INTERNAL_VSYSCALL_CALL): New macro.
7347         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
7348         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
7349         PTR_DEMANGLE on vDSO pointer.
7350         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
7351         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
7352         macro.
7353         (INTERNAL_SYSCALL): Likewise.
7354         (INTERNAL_VSYSCALL_NCS): Remove macro.
7355         (INTERNAL_VSYSCALL_CALL): New macro.
7356         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
7357         Remove macro.
7358         (INTERNAL_VSYSCALL): Likewise.
7359         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
7360         sysdep-vdso.h instead of libc-vdso.h.
7361         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
7362         definition.
7363         (INLINE_VSYSCALL): Likewise.
7364         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
7365         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
7366         definition.
7367         (INLINE_VSYSCALL): Likewise.
7368         (INTERNAL_VSYSCALL): Likewise.
7369         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
7370         * sysdeps/unix/sysv/linux/timespec_get.c
7371         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
7372         (timespec_get): Use ANSI prototype.
7373         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
7374         and definition for Linux.
7376 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
7378         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
7379         * include/libc-symbols.h: libmvec_hidden_* macro series added.
7381 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
7383         [BZ #2981]
7384         [BZ #18410]
7385         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
7386         for missing DT_PLTRELSZ.
7388 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
7390         Remove obsolete aliases that broke 'locale -a'
7391         [BZ #18412]
7392         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
7393         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
7394         breaking some applications that use 'locale -a' output.
7395         Change the encoding of this file from Latin-1 to ASCII to avoid
7396         other potential problems with people grepping this file.
7398 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7400         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
7401         -fasynchronous-unwind-tables.
7402         (CFLAGS-sendto.c): Likewise.
7403         (CFLAGS-sendmsg.c): Likewise.
7404         (CFLAGS-connect.c): Likewise.
7405         (CFLAGS-recvmsg.c): Likewise.
7406         (CFLAGS-recvfrom.c): Likewise.
7407         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
7408         (SOCKETCALL): New macro: non-cancellable socketcall.
7409         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
7410         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
7411         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
7412         * sysdeps/unix/sysv/linux/accept.c: New file.
7413         * sysdeps/unix/sysv/linux/bind.c: Likewise.
7414         * sysdeps/unix/sysv/linux/connect.c: Likewise.
7415         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
7416         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
7417         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
7418         * sysdeps/unix/sysv/linux/listen.c: Likewise.
7419         * sysdeps/unix/sysv/linux/recv.c: Likewise.
7420         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
7421         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
7422         * sysdeps/unix/sysv/linux/send.c: Likewise.
7423         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
7424         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
7425         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
7426         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
7427         * sysdeps/unix/sysv/linux/socket.c: Likewise.
7428         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
7429         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
7430         prototype.
7431         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
7432         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
7433         instead of __internal_xxx function.
7434         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
7435         prototype.
7436         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
7437         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
7438         instead of __internal_xxx function.
7439         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
7440         prototype.
7441         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
7442         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
7443         instead of __internal_xxx function.
7444         * sysdeps/unix/sysv/linux/accept.S: Remove file.
7445         * sysdeps/unix/sysv/linux/bind.S: Likewise.
7446         * sysdeps/unix/sysv/linux/connect.S: Likewise.
7447         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
7448         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
7449         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
7450         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
7451         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
7452         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
7453         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
7454         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
7455         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
7456         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
7457         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
7458         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
7459         * sysdeps/unix/sysv/linux/listen.S: Likewise.
7460         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
7461         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
7462         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
7463         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
7464         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
7465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
7466         * sysdeps/unix/sysv/linux/recv.S: Likewise.
7467         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
7468         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
7469         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
7470         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
7471         * sysdeps/unix/sysv/linux/send.S: Likewise.
7472         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
7473         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
7474         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
7475         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
7476         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
7477         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
7478         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
7479         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
7480         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
7481         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
7482         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
7483         socketcall is implemented in GLIBC.
7485 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
7487         * soft-fp/fmadf4.c: Include <libc-internal.h>.
7488         (__fma): Ignore uninitialized warnings around packing.
7489         * soft-fp/fmasf4.c: Include <libc-internal.h>.
7490         (__fmaf): Ignore uninitialized warnings around packing.
7491         * soft-fp/fmatf4.c: Include <libc-internal.h>.
7492         (__fmal): Ignore uninitialized warnings around packing.
7494         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
7495         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
7496         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
7497         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
7499         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
7500         switch statement into default case.
7501         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
7503         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
7504         a conditional in forcing "inexact".
7505         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
7506         Likewise.
7508 2015-05-22  Roland McGrath  <roland@hack.frob.com>
7510         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
7511         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
7512         for each INTERNAL_SYSCALL use.
7514 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
7516         [BZ #438]
7517         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
7518         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
7519         variable.
7521         [BZ #18444]
7522         * string/basename.c (basename): Rename to __basename and define as
7523         weak alias of __basename.  Use libc_hidden_weak.
7524         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
7525         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
7526         __basename instead of basename.
7527         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
7528         Remove variable.
7529         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
7531 2015-05-18  Florian Weimer  <fweimer@redhat.com>
7533         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
7534         (_IO_JUMPS_FILE_plus): New.
7535         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
7536         _IO_CAST_FIELD_ACCESS.
7537         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
7538         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
7539         * libio/freopen.c (freopen): Likewise.
7540         * libio/freopen64.c (freopen64): Likewise.
7541         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
7542         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
7543         * libio/iofwide.c (_IO_fwide): Likewise.
7544         * libio/memstream.c (open_memstream): Likewise.
7545         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
7546         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
7547         * libio/oldiopopen.c (_IO_old_popen): Likewise.
7549 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
7551         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
7552         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
7553         NADJ.
7554         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
7555         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
7556         NADJ.
7557         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
7558         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
7559         NADJ.
7561         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
7562         (p == 4) case.
7564         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
7565         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
7566         Remove variable.
7567         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
7568         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
7569         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
7571 2015-05-21  Florian Weimer  <fweimer@redhat.com>
7573         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
7574         Adjust jump table label generation macros.
7576 2015-05-21  Florian Weimer  <fweimer@redhat.com>
7578         * stdio-common/vfprintf.c (vfprintf): Move local variables
7579         args_malloced, specs, specs_malloced, and the code after
7580         do_positional to the printf_positional function.
7581         (printf_positional): New function.
7583 2015-05-21  Florian Weimer  <fweimer@redhat.com>
7585         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
7586         function.
7587         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
7588         STEP4_TABLE, process_arg): Move macro definitions
7589         out of the vfprintf function.  (Cosmetic change only.)
7591 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
7593         * benchtests/Makefile (stdio-common-bench): Define.
7594         (benchset): Add stdio-common-bench.
7595         * sprintf-inputs: New file.
7596         * sprintf-source.c: New file.
7598 2015-05-21  Andreas Schwab  <schwab@suse.de>
7600         [BZ #13028]
7601         [BZ #17053]
7602         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
7603         of struct __res_state.
7604         * resolv/res_send.c (__libc_res_nsend): Likewise.
7605         (get_nsaddr): New function.
7606         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
7607         statp directly.
7609 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
7611         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
7612         -D_POSIX_C_SOURCE=199506L.
7614         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
7616         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
7617         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
7618         Do not mention otherwise.
7619         [POSIX] (_XOPEN_VERSION): Do not expect.
7620         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
7621         [POSIX] (_POSIX2_C_BIND): Likewise.
7622         [POSIX] (_POSIX2_VERSION): Likewise.
7623         [POSIX] (_XOPEN_XPG2): Likewise.
7624         [POSIX] (_XOPEN_XPG3): Likewise.
7625         [POSIX] (_XOPEN_XPG4): Likewise.
7626         [POSIX] (_XOPEN_UNIX): Likewise.
7627         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
7628         [POSIX] (_POSIX_BARRIERS): Likewise.
7629         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
7630         [POSIX] (_POSIX_CPUTIME): Likewise.
7631         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
7632         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
7633         [POSIX] (_POSIX_SHELL): Likewise.
7634         [POSIX] (_POSIX_SPAWN): Likewise.
7635         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
7636         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
7637         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
7638         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
7639         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
7640         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
7641         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
7642         [POSIX] (_XBS5_LP64_OFF64): Likewise.
7643         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
7644         [POSIX] (_POSIX_TIMEOUTS): Likewise.
7645         [POSIX] (_POSIX2_PBS): Likewise.
7646         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
7647         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
7648         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
7649         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
7650         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
7651         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
7652         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
7653         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
7654         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
7655         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
7656         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
7657         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
7658         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
7659         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
7660         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
7661         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
7662         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
7663         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
7664         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
7665         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
7666         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
7667         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
7668         [POSIX] (_SC_2_C_BIND): Likewise.
7669         [POSIX] (_SC_2_C_VERSION): Likewise.
7670         [POSIX] (_SC_2_PBS): Likewise.
7671         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
7672         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
7673         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
7674         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
7675         [POSIX] (_SC_2_PBS_TRACK): Likewise.
7676         [POSIX] (_SC_ATEXIT_MAX): Likewise.
7677         [POSIX] (_SC_BARRIERS): Likewise.
7678         [POSIX] (_SC_BASE): Likewise.
7679         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
7680         [POSIX] (_SC_DEVICE_IO): Likewise.
7681         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
7682         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
7683         [POSIX] (_SC_FD_MGMT): Likewise.
7684         [POSIX] (_SC_FIFO): Likewise.
7685         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
7686         [POSIX] (_SC_FILE_LOCKING): Likewise.
7687         [POSIX] (_SC_FILE_SYSTEM): Likewise.
7688         [POSIX] (_SC_IOV_MAX): Likewise.
7689         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
7690         [POSIX] (_SC_NETWORKING): Likewise.
7691         [POSIX] (_SC_PAGE_SIZE): Likewise.
7692         [POSIX] (_SC_PASS_MAX): Likewise.
7693         [POSIX] (_SC_PIPE): Likewise.
7694         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
7695         [POSIX] (_SC_REGEXP): Likewise.
7696         [POSIX] (_SC_SHELL): Likewise.
7697         [POSIX] (_SC_SIGNALS): Likewise.
7698         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
7699         [POSIX] (_SC_SPIN_LOCKS): Likewise.
7700         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
7701         [POSIX] (_SC_USER_GROUPS): Likewise.
7702         [POSIX] (_SC_USER_GROUPS_R): Likewise.
7703         [POSIX] (_SC_STREAMS): Likewise.
7704         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
7705         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
7706         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
7707         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
7708         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
7709         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
7710         [POSIX] (_PC_FILESIZEBITS): Likewise.
7711         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
7712         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
7713         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
7714         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
7715         [POSIX] (uid_t): Likewise.
7716         [POSIX] (gid_t): Likewise.
7717         [POSIX] (off_t): Likewise.
7718         [POSIX] (pid_t): Likewise.
7719         [POSIX] (cuserid): Allow.
7720         (_SC_2_CHAR_TERM): Require constant.
7721         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
7722         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
7723         variable.
7725 2015-05-20  Roland McGrath  <roland@hack.frob.com>
7727         * sysdeps/nacl/pthread-pids.h: New file.
7728         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
7729         (create_thread): Use __nacl_get_tid to initialize PD->tid.
7731         * nptl/pthread-pids.h: New file.
7732         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
7733         * nptl/nptl-init.c: Include <pthread-pids.h>.
7734         (__pthread_initialize_minimal_internal):
7735         Call __pthread_initialize_pids instead of set_tid_address syscall.
7737         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
7738         * sysdeps/posix/usleep.c: ... here.
7740 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7742         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
7743         call_pselect6 object.
7744         [$(subdir) = io]: Remove call_sync_file_range object.
7745         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
7746         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
7747         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
7748         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
7750 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
7752         * math/s_cproj.c: Add include "math_private.h".
7753         * math/s_cprojf.c: Likewise.
7754         * math/s_cprojl.c: Likewise.
7756 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
7758         [BZ #18244]
7759         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
7760         high mantissa bit when testing whether P is a NaN.
7761         * math/libm-test.inc (remainder_test_data): Add more tests.
7762         (remquo_test_data): Likewise.
7764         [BZ #18049]
7765         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
7766         below -32, return the argument, with underflow if subnormal.
7767         * math/auto-libm-test-in: Add more tests of atanh.
7768         * math/auto-libm-test-out: Regenerated.
7770 2015-05-19  Roland McGrath  <roland@hack.frob.com>
7772         [BZ #18434]
7773         * nptl/tst-sem15.c: New file.
7774         * nptl/Makefile (tests): Add it.
7775         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
7776         s/<</>>/ to fix typo in EOVERFLOW check.
7777         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
7779 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
7781         * manual/strings.texi (envz_remove): Fix typo in safety
7782         annotations.
7784 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
7785             Steve Ellcey  <sellcey@imgtec.com>
7787         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
7788         in order to avoid strict alias warnings.
7789         (iruserok_af): Ditto for ra.
7791 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
7793         [BZ #17581]
7794         * malloc/hooks.c
7795         (magicbyte): Convert to a function and avoid returning 0x01.
7796         (mem2mem_check): Avoid using a length byte equal to the magic byte.
7797         (mem2chunk_check): Fix unsigned comparisons to zero.
7798         Hoist defs of sz and magic.
7800 2015-05-19  Richard Henderson  <rth@redhat.com>
7802         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
7804         * sysdeps/alpha/fpu/libm-test-ulps: Update.
7806 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
7808         [BZ #16159]
7809         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
7810         * malloc/arena.c (arena_lock): Check if arena is corrupt.
7811         (reused_arena): Find a non-corrupt arena.
7812         (heap_trim): Pass arena to unlink.
7813         * malloc/hooks.c (malloc_check_get_size): Pass arena to
7814         malloc_printerr.
7815         (top_check): Likewise.
7816         (free_check): Likewise.
7817         (realloc_check): Likewise.
7818         * malloc/malloc.c (malloc_printerr): Add arena argument.
7819         (unlink): Likewise.
7820         (munmap_chunk): Adjust.
7821         (ARENA_CORRUPTION_BIT): New macro.
7822         (arena_is_corrupt): Likewise.
7823         (set_arena_corrupt): Likewise.
7824         (sysmalloc): Use mmap if there are no usable arenas.
7825         (_int_malloc): Likewise.
7826         (__libc_malloc): Don't fail if arena_get returns NULL.
7827         (_mid_memalign): Likewise.
7828         (__libc_calloc): Likewise.
7829         (__libc_realloc): Adjust for additional argument to
7830         malloc_printerr.
7831         (_int_free): Likewise.
7832         (malloc_consolidate): Likewise.
7833         (_int_realloc): Likewise.
7834         (_int_memalign): Don't touch corrupt arenas.
7835         * malloc/tst-malloc-backtrace.c: New test case.
7837         * Makefile (summarize-tests): Fix return value on success.
7839         * manual/string.texi (Envz Functions): Add envz_remove.
7841 2015-05-18  Roland McGrath  <roland@hack.frob.com>
7843         * sysdeps/posix/opendir.c: Include <stdbool.h>.
7844         (invalid_name): New function, broken out of ...
7845         (__opendirat): ... here.  Call it.
7846         (need_isdir_precheck): New function, broken out of ...
7847         (__opendirat): ... here.  Call it.
7848         Use __fxstatat64, not __xstatat64.
7849         (opendir_oflags): New function, broken out of ...
7850         (__opendirat): ... here.  Call it.
7851         (opendir_tail): New function, broken out of ...
7852         (__opendirat): ... here.  Call it.
7853         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
7854         opendir_tail, rather than punting to __opendirat.
7855         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
7857 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
7859         * .gitignore: Ignore generated *.pyc.
7861 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
7863         * include/stdio.h: Define __need_wint_t.
7864         * test-skeleton.c: Avoid `for' loop initial declaration.
7865         * nptl/tst-initializers1.c: Use test-skeleton.c.
7867 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7869         [BZ #18418]
7870         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
7872 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
7874         [BZ #16352]
7875         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
7876         (__ieee754_atanh): Force underflow exception for results with
7877         small absolute value.
7878         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
7879         (__ieee754_atanhf): Force underflow exception for results with
7880         small absolute value.
7881         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
7882         (__ieee754_atanh): Force underflow exception for results with
7883         small absolute value.
7884         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
7885         (__ieee754_atanhf): Force underflow exception for results with
7886         small absolute value.
7887         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
7888         (__ieee754_atanhl): Force underflow exception for results with
7889         small absolute value.
7890         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
7891         (__ieee754_atanhl): Force underflow exception for results with
7892         small absolute value.
7893         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
7894         (__ieee754_atanhl): Force underflow exception for results with
7895         small absolute value.
7896         * math/auto-libm-test-in: Do not allow missing underflow
7897         exceptions from atanh.
7898         * math/auto-libm-test-out: Regenerated.
7900         [BZ #18221]
7901         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
7902         2**-28 as threshold for returning x or +/- 1/x.
7903         * math/auto-libm-test-in: Add more tests of tan.
7904         * math/auto-libm-test-out: Regenerated.
7906         [BZ #18220]
7907         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
7908         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
7909         * math/auto-libm-test-in: Add another test of lgamma.
7910         * math/auto-libm-test-out: Regenerated.
7912 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
7914         * stdio-common/printf_fp.c (___printf_fp): Use abs.
7915         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
7916         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
7917         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
7918         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
7919         (ADD2A): Use fabs.  (SUB2A): Use fabs.
7920         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
7921         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
7922         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
7923         (log1): Use fabs.  (my_log2): Use fabs.
7924         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
7925         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
7926         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
7927         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
7928         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
7929         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
7930         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
7931         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
7932         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
7933         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
7934         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
7936 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
7938         [BZ #18217]
7939         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
7940         as threshold for returning 1 - x.
7941         * math/auto-libm-test-in: Add more tests of erfc.
7942         * math/auto-libm-test-out: Regenerated.
7944 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
7946         [BZ #18196]
7947         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
7948         threshold for large arguments.
7949         * math/auto-libm-test-in: Add another test of atan.
7950         * math/auto-libm-test-out: Regenerated.
7952         [BZ #16339]
7953         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
7954         (__log1p): Force underflow exception for results with small
7955         absolute value.
7956         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
7957         (__log1pf): Force underflow exception for results with small
7958         absolute value.
7959         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
7960         (__log1p): Force underflow exception for results with small
7961         absolute value.
7962         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
7963         (__log1pf): Force underflow exception for results with small
7964         absolute value.
7965         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
7966         (__log1pl): Force underflow exception for results with small
7967         absolute value.
7968         * math/auto-libm-test-in: Do not allow missing underflow
7969         exceptions from log1p.
7970         * math/auto-libm-test-out: Regenerated.
7972 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
7973             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7975         [BZ #16704]
7976         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
7978 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
7980         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
7981         (libmvec): New variable.
7982         * configure.ac: Added option for mathvec build.
7983         * configure: Regenerated.
7984         * mathvec/Depend: New file.
7985         * mathvec/Makefile: New file.
7986         * shlib-versions: Added libmvec.
7987         * math/Makefile: Added rule for libm.so installation.
7989         * bits/math-vector.h: New file.
7990         * bits/libm-simd-decl-stubs.h: New header.
7991         * math/Makefile (headers): Added new header
7992         libm-simd-decl-stubs.h.
7993         * math/math.h (__MATHCALL_VEC): New macro.
7995         * math/gen-libm-have-vector-test.sh: Script generates series of macros
7996         for conditions in testing functions.
7997         * math/Makefile: Added call of libm-have-vector-test.sh.
7998         * math/libm-test.inc (HAVE_VECTOR): New macros.
8000         * math/libm-test.inc: START refactored.
8001         * math/test-double.c (TEST_MATHVEC): Add define.
8002         * math/test-float.c: Likewise.
8003         * math/test-idouble.c: Likewise.
8004         * math/test-ifloat.c: Likewise.
8005         * math/test-ildoubl.c: Likewise.
8006         * math/test-ldouble.c: Likewise.
8007         * sysdeps/generic/math-tests-arch.h
8008         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
8009         architecture check.
8011         * math/test-double.c (FUNC_TEST): New macro.
8012         * math/test-float.c: Likewise.
8013         * math/test-idouble.c: Likewise.
8014         * math/test-ifloat.c: Likewise.
8015         * math/test-ildoubl.c: Likewise.
8016         * math/test-ldouble.c: Likewise.
8017         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
8019 2015-05-13  Roland McGrath  <roland@hack.frob.com>
8021         * sysdeps/nacl/fdopendir.c: New file.
8023         * dirent/scandir-tail.c: New file.
8024         * dirent/scandir64-tail.c: New file.
8025         * dirent/Makefile (routines): Add them.
8026         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
8027         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
8028         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
8029         [!SCANDIR] (SCANDIR_TAIL): New macro.
8030         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
8031         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
8032         (SCANDIRAT): Macro removed.
8033         (SCANDIR_TAIL): New macro.
8034         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
8035         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
8036         (SCANDIRAT): Just call __opendirat and __scandir_tail.
8037         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
8038         (READDIR): Macro removed.
8039         (SCANDIR_TAIL): New macro.
8040         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
8041         (SCANDIR_TAIL): New macro.
8043         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
8044         * dirent/scandir-cancel.c: ... to this new file.
8045         * dirent/Makefile (routines): Add it.
8046         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
8047         * sysdeps/unix/sysv/linux/i386/scandir64.c
8048         (SKIP_SCANDIR_CANCEL): Macro removed.
8049         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
8051         * dirent/tst-scandir.c: New file.
8052         * dirent/tst-scandir64.c: New file.
8053         * dirent/Makefile (tests): Add them.
8055 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
8057         [BZ #18409]
8058         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
8060 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8062         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
8063         list.
8065 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
8067         * benchtests/bench-strcoll.c: New benchmark.
8068         * benchtests/Makefile: Generate locales and run benchmark.
8069         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
8070         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
8071         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
8072         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
8073         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
8074         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
8075         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
8076         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
8077         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
8078         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
8079         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
8080         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
8081         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
8082         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
8083         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
8084         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
8085         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
8086         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
8087         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
8088         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
8089         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
8090         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
8091         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
8092         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
8094 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
8096         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
8097         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
8099 2015-05-12  Roland McGrath  <roland@hack.frob.com>
8101         * posix/uname-values.h: New file.
8102         * posix/uname.c: Include that instead of <config-name.h>.
8103         * sysdeps/nacl/uname-values.h: New file.
8104         * sysdeps/arm/nacl/uname-values.h: New file.
8106 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
8108         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
8109         splitting into fields.
8111 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
8113         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
8114         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
8115         * locale/localeinfo.h: Add enum collation_encoding_type.
8116         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
8117         * programs/ld-collate.c (collate_output): Add encoding type info.
8118         * string/strcoll_l.c (STRDIFF): New function.
8119         * (STRCOLL): Use STRDIFF to skip over equal prefix.
8120         * wcsmbs/wcscoll_l.c: Define STRDIFF.
8122 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
8124         [BZ #18397]
8125         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
8126         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
8127         <fpu_control.h> instead of <math/fpu_control.c>.
8128         * sysdeps/mips/mips32/fpu/Makefile: New file.
8130 2015-05-11  Andreas Schwab  <schwab@suse.de>
8132         [BZ #18007]
8133         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
8134         nss_endgrent.
8135         (_nss_compat_endgrent): Call nss_endgrent.
8136         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
8137         nss_endpwent.
8138         (_nss_compat_endpwent): Call nss_endpwent.
8139         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
8140         needent, call nss_setspent only if non-zero.
8141         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
8142         (internal_endspent): Don't call nss_endspent.
8143         (_nss_compat_endspent): Call nss_endspent.
8144         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
8145         Remove.  All uses removed.
8146         (internal_setent): Remove parameter stayopen, add parameter
8147         stream.  Use it instead of global variable.
8148         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
8149         (internal_endent, internal_getent): Add parameter stream.  Use it
8150         instead of global variable.
8151         (CONCAT(_nss_files_end,ENTNAME))
8152         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
8153         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
8154         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
8155         uses removed.
8156         (internal_setent, internal_endent): Add parameter stream.  Use it
8157         instead of global variable.
8158         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
8159         stream.
8160         (get_next_alias): Add parameter stream.
8161         (_nss_files_getaliasent_r): Pass global stream.
8162         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
8163         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
8164         (_nss_files_gethostbyname4_r): Pass local stream to
8165         internal_setent, internal_getent and internal_endent.  Remove
8166         locking.
8168 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
8170         * tst-strfmon1.c (tests): Update expected currency symbol.
8172 2015-05-08  Roland McGrath  <roland@hack.frob.com>
8174         * sysdeps/nacl/gethostname.c: New file.
8176 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
8178         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
8179         and sinh.
8180         * math/auto-libm-test-out: Regenerated.
8181         * sysdeps/i386/fpu/libm-test-ulps: Update.
8182         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8184 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
8186         [BZ #18125]
8187         * stdlib/tst-setcontext3.c: New file.
8188         * stdlib/tst-setcontext3.sh: New file.
8189         * stdlib/Makefile (tests): Add tst-setcontext3.
8190         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
8191         to verify test program created output file.
8192         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
8193         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
8194         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
8195         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
8197 2015-05-06  Roland McGrath  <roland@hack.frob.com>
8199         [BZ #18383]
8200         * elf/tst-tlsalign.c: New file.
8201         * elf/tst-tlsalign-static.c: New file.
8202         * elf/tst-tlsalign-lib.c: New file.
8203         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
8204         (tests-static): Add tst-tlsalign-static.
8205         (modules-names): Add tst-tlsalign-lib.
8206         (test-xfail-tst-tlsalign): New variable.
8207         (test-xfail-tst-tlsalign-static): New variable.
8209         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
8210         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
8212 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
8214         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
8215         csqrt, erfc, sin and sincos.
8216         * math/auto-libm-test-out: Regenerated.
8217         * sysdeps/i386/fpu/libm-test-ulps: Update.
8218         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8220 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8222         * sysdeps/aarch64/libm-test-ulps: Update.
8224 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
8226         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
8227         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
8228         * math/auto-libm-test-out: Regenerated.
8229         * sysdeps/i386/fpu/libm-test-ulps: Update.
8230         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8232 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
8234         [BZ #18265]
8235         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
8236         (wcsncpy): Likewise.
8238 2015-05-05  Florian Weimer  <fweimer@redhat.com>
8240         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
8241         Assume __ASSUME_FALLOCATE is always true.
8242         * sysdeps/unix/sysv/linux/posix_fallocate64.c
8243         (__posix_fallocate64_l64): Likweise.
8244         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
8245         (posix_fallocate): Likewise.
8246         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
8247         (__posix_fallocate64_l64): Likewise.
8248         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
8249         [!__ASSUME_FALLOCATE]: Add comment.
8251 2015-05-05  Florian Weimer  <fweimer@redhat.com>
8253         * sysdeps/unix/sysv/linux/i386/Makefile
8254         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
8255         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
8256         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
8257         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
8258         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
8259         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
8260         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
8262 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
8264         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
8265         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
8266         tgamma.
8267         * math/auto-libm-test-out: Regenerated.
8268         * sysdeps/i386/fpu/libm-test-ulps: Update.
8269         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8271 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
8273         * math/auto-libm-test-in: Add more tests of tgamma.
8274         * math/auto-libm-test-out: Regenerated.
8275         * sysdeps/i386/fpu/libm-test-ulps: Update.
8276         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8278         * math/auto-libm-test-in: Add more tests of tanh.
8279         * math/auto-libm-test-out: Regenerated.
8280         * sysdeps/i386/fpu/libm-test-ulps: Update.
8281         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8283         * math/auto-libm-test-in: Add more tests of tan.
8284         * math/auto-libm-test-out: Regenerated.
8285         * sysdeps/i386/fpu/libm-test-ulps: Update.
8286         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8288         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
8289         * math/auto-libm-test-out: Regenerated.
8290         * sysdeps/i386/fpu/libm-test-ulps: Update.
8291         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8293         * math/auto-libm-test-in: Add another test of pow.
8294         * math/auto-libm-test-out: Regenerated.
8295         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8297         * math/auto-libm-test-in: Add more tests of lgamma.
8298         * math/auto-libm-test-out: Regenerated.
8299         * sysdeps/i386/fpu/libm-test-ulps: Update.
8300         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8302         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
8303         log1p.
8304         * math/auto-libm-test-out: Regenerated.
8305         * sysdeps/i386/fpu/libm-test-ulps: Update.
8306         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8308 2015-05-01  Mark Wielaard  <mjw@redhat.com>
8310         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
8311         Elf64_Chdr structs and ELFCOMPRESS constants.
8313 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
8315         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
8316         expm1.
8317         * math/auto-libm-test-out: Regenerated.
8318         * sysdeps/i386/fpu/libm-test-ulps: Update.
8319         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8321         * math/auto-libm-test-in: Add more tests of erf and erfc.
8322         * math/auto-libm-test-out: Regenerated.
8323         * sysdeps/i386/fpu/libm-test-ulps: Update.
8324         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8326 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8328         * config.h.in (HAVE_AARCH64_BE): Add.
8330 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
8332         * math/auto-libm-test-in: Add more tests of csqrt.
8333         * math/auto-libm-test-out: Regenerated.
8334         * sysdeps/i386/fpu/libm-test-ulps: Update.
8335         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8337         * math/auto-libm-test-in: Add more tests of cosh and sinh.
8338         * math/auto-libm-test-out: Regenerated.
8339         * sysdeps/i386/fpu/libm-test-ulps: Update.
8340         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8342         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
8344 2015-04-29  Roland McGrath  <roland@hack.frob.com>
8346         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
8347         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
8349         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
8350         (euidaccess, eaccess): Define as weak aliases.
8352         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
8353         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
8354         but __suseconds_t is often 'long int' so some sources assume that
8355         type is being used (e.g. they use %ld to print tv_usec).
8357 2015-04-29  Florian Weimer  <fweimer@redhat.com>
8359         [BZ #18007]
8360         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
8361         (CVE-2014-8121)
8362         * nss/tst-nss-getpwent.c: New file.
8363         * nss/Makefile (tests): Add new test.
8365 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
8367         [BZ #18346]
8368         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
8369         exponents less than 48 as cases where high part of mantissa needs
8370         examining to determine whether argument is integral.
8371         * math/libm-test.inc (round_test_data): Add more tests.
8373 2015-04-28  Mark Wielaard  <mjw@redhat.com>
8375         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
8377 2015-04-27  David S. Miller  <davem@davemloft.net>
8379         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
8380         __tls_get_addr.
8381         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
8383 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
8385         [BZ#18333]
8386         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
8388 2015-04-27  Florian Weimer  <fweimer@redhat.com>
8390         [BZ#18333]
8391         * time/tzset.c (parse_tzname): Return error on memory allocation
8392         failure.
8393         * test-skeleton.c (struct temp_name_list): Change type of name
8394         member to non-const.
8395         (add_temp_file): Create a copy of the file name.
8396         (delete_temp_files): Deallocate memory.
8397         (create_temp_file): Add comment.
8399 2015-04-24  Florian Weimer  <fweimer@redhat.com>
8401         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
8402         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
8404 2015-04-24  Roland McGrath  <roland@hack.frob.com>
8406         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
8407         * sysdeps/arm/configure: Regenerated.
8409 2015-04-24  Florian Weimer  <fweimer@redhat.com>
8411         [BZ #17715]
8412         * time/tzfile.c (__tzfile_read): Check for large values of
8413         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
8414         * time/tzset.c (__tzstring_len): New function, based on the old
8415         __tzstring function.
8416         (__tzstring): Call __tzstring_len.
8417         (parse_tzname): New helper function extracted from
8418         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
8419         the input string.
8420         (parse_offset): New helper function extracted from
8421         __tzset_parse_tz.  Replace switch with fallthrough with
8422         initialization before sscanf.
8423         (parse_rule): Likewise.
8424         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
8425         new-style function definition.
8426         * timezone/Makefile (tests): Add tst-tzset.
8427         (tst-tzset.out): Dependencies on time zone files.
8428         (tst-tzset-ENV): Set TZDIR.
8429         (testdata/XT%): Copy crafted time zone files.
8430         * timezone/README: Mention crafted time zone files.
8431         * timezone/testdata/XT1, timezone/testdata/XT2,
8432         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
8433         files.
8434         * timezone/tst-tzset.c: New test.
8436 2015-04-24  Florian Weimer  <fweimer@redhat.com>
8438         * Makeconfig (+gccwarn): Remove -Winline.
8440 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
8442         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
8444 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
8446         * NEWS: Mention sysconf() cache information support for s390.
8447         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
8449 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
8451         * math/k_casinh.c (__kernel_casinh): Use __copysign.
8452         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
8453         (__nearbyint): Likewise.
8454         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
8455         (copysignl): Likewise.
8457 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
8459         [BZ #18287]
8460         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
8461         based on padding.  (CVE-2015-1781)
8463 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8465         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
8466         libc-vdso.h.
8467         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
8468         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
8469         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
8470         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
8471         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
8472         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
8473         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
8474         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
8475         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
8476         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
8477         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
8478         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
8479         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
8480         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
8481         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
8482         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
8483         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
8484         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
8485         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
8486         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
8487         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
8488         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
8489         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
8491 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
8493         * stdlib/setenv.c (__add_to_environ):
8494         Dump core quickly if setenv (..., NULL, ...) is called.
8495         This time, do it the right way, and pacify GCC with a pragma.
8497 2015-04-17  Roland McGrath  <roland@hack.frob.com>
8499         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
8500         IMAP->l_prev cannot be null, and #if out the code for the contrary
8501         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
8502         believe that NS (&_dl_ns[NSID]) could point outside the array.
8504         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
8505         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
8506         before using NSID as an index.
8508 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
8510         [BZ #17825]
8511         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
8512         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
8513         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
8515 2015-04-17  Roland McGrath  <roland@hack.frob.com>
8517         Add preliminary port to Google Native Client on ARM.
8518         * abi-tags (.*-.*-nacl.*): New entry.
8519         * sysdeps/arm/nacl: New directory.
8520         * sysdeps/nacl: New directory.
8522 2015-04-16  David S. Miller  <davem@davemloft.net>
8524         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
8525         lowlevellock-futex.h
8527 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
8529         * sysdeps/tile/configure.ac: New file.
8530         * sysdeps/tile/configure: Regenerated.
8532 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8534         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
8535         conditionals for weak_alias and libc_hidden_weak.
8536         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
8537         libc_hidden_weak and weak_alias.
8538         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
8539         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
8540         and weak_alias for static one.
8542 2015-04-15  David S. Miller  <davem@davemloft.net>
8544         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
8546 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
8548         [BZ #18206]
8549         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
8550           Use signed comparision instead of substraction to avoid
8551           overflow bug.
8552         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
8553           Take the sign of ret.
8554         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
8555           Do not expect precise return values. Only the sign matters.
8556         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
8557         * wcsmbs/test-wcsncmp.c: New File.
8558         * string/test-strncmp.c: Add wcsncmp support.
8560 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
8562         [BZ #6792]
8563         * math/w_log1p.c: New file.
8564         * math/w_log1pf.c: Likewise.
8565         * math/w_log1pl.c: Likewise.
8566         * math/Makefile (libm-calls): Add w_log1p.
8567         * math/s_log1pl.c (log1pl): Remove weak_alias.
8568         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
8569         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
8570         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
8571         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
8572         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
8573         [NO_LONG_DOUBLE] (log1pl): Likewise.
8574         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
8575         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
8576         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
8577         (log1p): Remove long_double_symbol.
8578         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
8579         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
8580         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
8581         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
8582         remove weak_alias for corresponding log1p function.
8583         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
8584         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
8585         * sysdeps/ia64/fpu/w_log1p.c: New file.
8586         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
8587         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
8588         * math/libm-test.inc (log1p_test_data): Add errno expectations.
8590 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
8592         [BZ #18247]
8593         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
8594         decimal exponent by 1.
8595         * stdlib/tst-strtod-round-data: Add more tests.
8596         * stdlib/tst-strtod-round.c (tests): Regenerated.
8598 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
8600         * math/auto-libm-test-in: Add more tests of clog and clog10.
8601         * math/auto-libm-test-out: Regenerated.
8602         * sysdeps/i386/fpu/libm-test-ulps: Update.
8603         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8605 2015-04-09  Roland McGrath  <roland@hack.frob.com>
8607         * Makeconfig (module-cppflags): Exclude all .v.i files.
8608         (skip-module-cppflags): Variable removed.
8610         * configure.ac (libc_config_ok): Initialize before reading
8611         preconfigure scripts, not after.
8612         * configure: Regenerated.
8614         * test-skeleton.c (TIMEOUT): Move #define to top level.
8615         (main): Grok environment variable TEST_DIRECT.  If set, print
8616         test expectation details into that file and then behave as if
8617         given --direct.
8619 2015-04-09  Florian Weimer  <fweimer@redhat.com>
8621         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
8622         warning on 32-bit.
8624 2015-04-08  David S. Miller  <davem@davemloft.net>
8626         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8628 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
8630         * math/auto-libm-test-in: Add more tests of atanh.
8631         * math/auto-libm-test-out: Regenerated.
8632         * sysdeps/i386/fpu/libm-test-ulps: Update.
8633         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8635         * math/auto-libm-test-in: Add more tests of atan.
8636         * math/auto-libm-test-out: Regenerated.
8637         * sysdeps/i386/fpu/libm-test-ulps: Update.
8638         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8640 2015-04-08  Florian Weimer  <fweimer@redhat.com>
8642         * elf/pldd.c (main): Rewrite to use struct
8643         scratch_buffer instead of extend_alloca.
8644         * elf/pldd-xx.c (find_maps): Likewise.
8645         * grp/initgroups.c: Include <scratch_buffer.h> instead of
8646         <alloca.h>.
8647         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
8648         scratch_buffer instead of extend_alloca.
8649         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
8650         grp/compat-initgroups.c.
8651         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
8652         Rewrite to use struct scratch_buffer instead of extend_alloca.
8653         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
8654         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
8656 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
8658         * math/auto-libm-test-in: Add more tests of cbrt.
8659         * math/auto-libm-test-out: Regenerated.
8660         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8662         * math/auto-libm-test-in: Add more tests of cabs.
8663         * math/auto-libm-test-out: Regenerated.
8664         * sysdeps/i386/fpu/libm-test-ulps: Update.
8665         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8667         [BZ #18210]
8668         [BZ #18211]
8669         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
8670         (__ieee754_atan2): Set FE_TONEAREST mode for internal
8671         computations.
8672         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
8673         clog10.
8674         * math/auto-libm-test-out: Regenerated.
8675         * sysdeps/i386/fpu/libm-test-ulps: Update.
8676         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8678         [BZ #18197]
8679         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
8680         (atan): Set FE_TONEAREST mode for internal computations.
8681         * math/auto-libm-test-in: Add more tests of atan.
8682         * math/auto-libm-test-out: Regenerated.
8684 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
8686         [BZ #17930]
8687         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
8689 2015-04-07  Florian Weimer  <fweimer@redhat.com>
8691         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
8693 2015-04-07  Florian Weimer  <fweimer@redhat.com>
8695         * include/scratch_buffer.h: New file.
8696         * malloc/scratch_buffer_grow.c: Likewise.
8697         * malloc/scratch_buffer_grow_preserve.c: Likewise.
8698         * malloc/scratch_buffer_set_array_size.c: Likewise.
8699         * malloc/tst-scratch_buffer.c: Likewise.
8700         * malloc/Makefile (routines): Add scratch_buffer_grow.
8701         (tests): Add test case.
8702         * malloc/Versions (GLIBC_PRIVATE): Export
8703         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
8704         __libc_scratch_buffer_set_array_size.
8706 2015-04-06  Richard Henderson  <rth@redhat.com>
8708         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
8709         * sysdeps/alpha/fpu/libm-test-ulps: Update.
8711         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
8712         unsigned int before printing.
8714 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8716         [BZ #17596]
8717         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
8718         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
8720 2015-04-02  Florian Weimer  <fweimer@redhat.com>
8722         * include/libc-internal.h (libc_max_align_t): Define.
8724 2015-04-02  Andreas Schwab  <schwab@suse.de>
8726         [BZ #16850]
8727         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
8729 2015-04-02  Mel Gorman  <mgorman@suse.de>
8731         [BZ #17195]
8732         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
8733         as well as the main arena.
8735 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
8737         [BZ #18185]
8738         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
8739         sharing L2 cache to 2 for Silvermont/Knights Landing.
8741 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
8743         [BZ #17711]
8744         * config.make.in (have-protected-data): New.
8745         * configure.ac: Check linker support for protected data symbol.
8746         * configure: Regenerated.
8747         * elf/Makefile (modules-names): Add tst-protected1moda and
8748         tst-protected1modb if $(have-protected-data) is yes.
8749         (tests): Add tst-protected1a and tst-protected1b if
8750         $(have-protected-data) is yes.
8751         ($(objpfx)tst-protected1a): New.
8752         ($(objpfx)tst-protected1b): Likewise.
8753         (tst-protected1modb.so-no-z-defs): Likewise.
8754         * elf/tst-protected1a.c: New file.
8755         * elf/tst-protected1b.c: Likewise.
8756         * elf/tst-protected1mod.h: Likewise.
8757         * elf/tst-protected1moda.c: Likewise.
8758         * elf/tst-protected1modb.c: Likewise.
8760 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
8762         [BZ #17711]
8763         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
8764         indicates it is called from do_lookup_x on relocation against
8765         protected data, skip the data definion in the executable from
8766         copy reloc.
8767         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
8768         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
8769         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
8770         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
8771         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
8772         otherwise to 0.
8773         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
8774         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
8775         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
8776         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
8777         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
8778         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
8780 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
8782         * sysdeps/nptl/pthread.h: Remove duplicate definition of
8783         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
8785 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
8787         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
8788         THREAD_SETMEM_NC.
8789         * sysdeps/x86_64/nptl/tls.h: Ditto.
8791 2015-03-27  Roland McGrath  <roland@hack.frob.com>
8793         * dlfcn/tststatic.c (main): Converted to ...
8794         (do_test): ... this.
8795         (TEST_FUNCTION): New macro.
8796         Include test-skeleton.c.
8798 2015-03-26  Alan Modra  <amodra@gmail.com>
8800         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
8801         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
8802         zero for undefined weak.
8803         (elf_machine_plt_conflict): Similarly.
8805 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
8807         * math/auto-libm-test-in: Add more tests of acosh, asinh and
8808         atanh.
8809         * math/auto-libm-test-out: Regenerated.
8810         * sysdeps/i386/fpu/libm-test-ulps: Update.
8811         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8813         * math/auto-libm-test-in: Add another test of asin.
8814         * math/auto-libm-test-out: Regenerated.
8815         * sysdeps/i386/fpu/libm-test-ulps: Update.
8816         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8818         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
8819         Remove macro.
8820         (LLL_EBX_REG): Likewise.
8821         (LLL_ENTER_KERNEL): Likewise.
8823         * math/auto-libm-test-in: Add more tests of asin.
8824         * math/auto-libm-test-out: Regenerated.
8825         * sysdeps/i386/fpu/libm-test-ulps: Update.
8826         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8828         [BZ #18138]
8829         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
8830         libc_do_syscall_args): New structure.
8831         (INTERNAL_SYSCALL_MAIN_0): New macro.
8832         (INTERNAL_SYSCALL_MAIN_1): Likewise.
8833         (INTERNAL_SYSCALL_MAIN_2): Likewise.
8834         (INTERNAL_SYSCALL_MAIN_3): Likewise.
8835         (INTERNAL_SYSCALL_MAIN_4): Likewise.
8836         (INTERNAL_SYSCALL_MAIN_5): Likewise.
8837         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
8838         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
8839         Replace conditional definitions by conditional definitions of ....
8840         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
8841         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
8842         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
8843         (libpthread-sysdep_routines): Add libc-do-syscall.
8844         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
8845         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
8846         to __NR_futex not 240.
8848 2015-03-25  Alan Modra  <amodra@gmail.com>
8850         * NEWS: Advertise TLS optimization.
8851         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
8852         (DT_PPC_NUM): Increment.
8853         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
8854         (CHECK_STATIC_TLS): Use here.
8855         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
8856         TLS descriptors.
8857         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
8858         * sysdeps/powerpc/dl-tls.c: New file.
8859         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
8860         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
8861         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
8862         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
8863         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
8864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
8865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
8867 2015-03-25  Alan Modra  <amodra@gmail.com>
8869         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
8870         for overlapping .opd entries" to "support...".
8871         * sysdeps/powerpc/powerpc64/configure: Regenerate
8873 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
8875         * math/auto-libm-test-in: Add more tests of acos.
8876         * math/auto-libm-test-out: Regenerated.
8877         * sysdeps/i386/fpu/libm-test-ulps: Update.
8878         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8880         * math/auto-libm-test-in: Add more tests of expm1.
8881         * math/auto-libm-test-out: Regenerated.
8882         * sysdeps/i386/fpu/libm-test-ulps: Update.
8883         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8885 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
8887         * math/auto-libm-test-in: Add more tests of cosh and sinh.
8888         * math/auto-libm-test-out: Regenerated.
8889         * sysdeps/i386/fpu/libm-test-ulps: Update.
8890         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8892         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
8893         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8895         * math/auto-libm-test-in: Add more tests of log2.
8896         * math/auto-libm-test-out: Regenerated.
8897         * sysdeps/i386/fpu/libm-test-ulps: Update.
8898         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8900 2015-03-23  Roland McGrath  <roland@hack.frob.com>
8902         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
8903         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
8904         _IO_IS_APPENDING bit in READ_WRITE instead.
8906 2015-03-23  Florian Weimer  <fweimer@redhat.com>
8908         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
8909         (__determine_cpumask_size): Replace extend_alloca with a
8910         variable-length array.  Do not treat res == 0 as an error.
8912 2015-03-23  Florian Weimer  <fweimer@redhat.com>
8914         [BZ #18100]
8915         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
8916         and integer overflow.
8917         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
8918         (main): Add integer overflow tests.
8919         * manual/pattern.texi (Calling Wordexp): Document additional use
8920         for WRDE_SYNTAX.
8922 2015-03-23  Alan Modra  <amodra@gmail.com>
8924         * config.h.in: Remove HAVE_ASM_PPC_REL16.
8925         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
8926         and false branch of conditional.
8927         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
8928         Likewise.
8930 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
8932         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
8933         libc-modules.h
8934         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
8935         unused declaration of _hurd_intr_rpc_msg_in_trap.
8936         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
8937         defined instead of whether it is non-zero.
8938         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
8939         input constraint instead of both input and output constraint.  Use ecx
8940         clobber instead of %ecx.
8941         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
8942         mutex_unlock): Use a statement expression instead of an expression list.
8943         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
8944         type to vm_size_t instead of vm_address_t.
8945         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
8946         defined instead of whether it is non-zero.
8947         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
8948         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
8949         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
8950         comparisons with mapaddr.
8951         * nscd/nscd-client.h: Include <time.h>.
8952         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
8953         9th parameter to __vm_region instead of int.
8954         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
8955         * scripts/check-local-headers.sh (exclude): Add device/,
8956         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
8957         cthreads.h.
8959 2015-03-19  Roland McGrath  <roland@hack.frob.com>
8961         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
8962         to account for alignment padding.
8963         * sysdeps/arm/memmove.S: Likewise.
8965 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
8967         * sysdeps/unix/sysv/linux/generic/README: New file.
8969 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
8971         [BZ #18138]
8972         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
8973         (futex_abstimed_wait)
8974         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
8975         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
8976         of lll_futex_timed_wait.
8978 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
8980         [BZ #17542]
8981         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
8983 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
8985         [BZ #17090]
8986         [BZ #17620]
8987         [BZ #17621]
8988         [BZ #17628]
8989         * NEWS: Update.
8990         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
8991         entries with Static TLS too.  Skip entries past the end of the
8992         allocated DTV, from Alan Modra.
8993         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
8994         Static TLS DTV entry set up from...
8995         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
8996         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
8997         * nptl/allocatestack.c (init_one_static_tls): ... and here...
8998         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
8999         for Static TLS.
9000         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
9001         that the slot we find is associated with the given map before
9002         using its generation count.
9003         * nptl_db/db_info.c: Include ldsodefs.h.
9004         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
9005         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
9006         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
9007         (link_map::l_tls_offset): New struct field.
9008         (dtv_t::counter): Likewise.
9009         (rtld_global): New struct.
9010         (_rtld_global): New rtld variable.
9011         (dl_tls_dtv_slotinfo_list): New rtld global field.
9012         (dtv_slotinfo_list): New struct.
9013         (dtv_slotinfo): Likewise.
9014         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
9015         (td_lookup): Rename to...
9016         (td_mod_lookup): ... this.  Use new mod parameter instead of
9017         LIBPTHREAD_SO.
9018         * nptl_db/td_thr_tlsbase.c: Include link.h.
9019         (dtv_slotinfo_list, dtv_slotinfo): New functions.
9020         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
9021         addresses even if the DTV is out of date or missing them.
9022         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
9023         index zero-length arrays.
9024         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
9025         (td_lookup): Make it a macro implemented in terms of...
9026         (td_mod_lookup): ... this declaration.
9027         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
9028         (DB_MAIN_VARIABLE): Likewise.
9030 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
9032         [BZ #18134]
9033         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
9035 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
9037         * stdlib/setenv.c (__add_to_environ): Revert previous change.
9039 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
9041         [BZ #18128]
9042         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
9043         (atomic_add, atomic_increment_and_test)
9044         (atomic_decrement_and_test): Fix 64-bit arithmetic.
9046 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
9048         * stdlib/setenv.c (__add_to_environ):
9049         Dump core quickly if setenv (..., NULL, ...) is called.
9051 2015-03-13  Roland McGrath  <roland@hack.frob.com>
9053         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
9054         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
9055         all the necessary asm magic in one place.
9056         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
9057         using those.
9059 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
9061         [BZ #14906]
9062         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
9063         traced file mtime. Use consistent log message.
9064         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
9065         (register_traced_file): Call install_watches. Always set mtime.
9066         (invalidate_cache): Iterate over all trace files. Call install_watches.
9067         (inotify_check_files): Don't inline. Handle watching parent
9068         directories and configuration file movement in and out.
9069         (handle_inotify_events): New function.
9070         (main_loop_poll): Call handle_inotify_events.
9071         (main_loop_epoll): Likewise.
9072         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
9073         (struct traced_file): Use array of inotify fds. Add parent directory,
9074         and basename.
9075         (struct database_dyn): Remove unused file_mtime.
9076         (init_traced_file): New inline function.
9077         (define_traced_file): New macro.
9078         * nss/nss_db/db-init.c: Use define_traced_file.
9079         (_nss_db_init): Use init_traced_file.
9080         * nss/nss_files/files-init.c: Use define_traced_file.
9081         (_nss_files_init): Use init_traced_file.
9083 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
9085         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
9086         [_LIBC]: Do not include <stdlib.h>.
9087         [!_LIBC] (abort): Remove declaration.
9088         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
9089         _FP_STATIC_ASSERT instead of conditionally calling abort.
9090         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
9091         (_FP_EXTEND_CNAN): Likewise.
9092         (FP_TRUNC): Likewise.
9093         (__FP_CLZ): Likewise.
9094         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
9096 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
9098         * manual/string.texi (XPG basename): Fix prototype.
9100 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
9102         [BZ #18080]
9103         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
9104         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
9105         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
9106         (__setcontext): Likewise.
9107         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
9108         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
9109         Call rt_sigprocmask syscall one time to set new signal mask
9110         and retrieve the current signal mask instead of two calls.
9111         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
9112         (__swapcontext): Likewise.
9113         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
9114         * stdlib/tst-setcontext2.c: New file.
9116 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
9118         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9120 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
9122         [BZ #18093]
9123         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
9124         the wrong size.
9126 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
9128         [BZ #18043]
9129         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
9131 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
9133         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
9134         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
9135         Remove define.
9136         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
9137         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
9138         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
9139         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
9140         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
9141         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
9142         define.
9143         * nptl_db/td_symbol_list.c (td_lookup): Remove
9144         HAVE_ASM_GLOBAL_DOT_NAME code.
9145         * sysdeps/powerpc/powerpc64/configure.ac: Remove
9146         HAVE_ASM_GLOBAL_DOT_NAME check.
9147         * sysdeps/powerpc/powerpc64/configure: Regenerate.
9148         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
9149         (DOT_LABEL): Remove define.
9150         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
9151         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
9152         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
9153         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
9154         (__TLS_GET_ADDR): Likewise.
9155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
9156         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
9158 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
9160         [BZ #18111]
9161         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
9162         (_FPU_SETCW): Initialize cw from fpsr before storing.
9163         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
9164         (fesetexceptflag): Rewrite using fpu_control.h.
9165         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
9167 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
9169         [BZ #18110]
9170         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
9171         asms.
9172         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
9174 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
9176         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
9177         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
9178         abort.
9179         (_FP_FMA): Likewise.
9180         (_FP_DIV): Likewise.
9182 2015-03-10  Roland McGrath  <roland@hack.frob.com>
9184         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
9185         with 0 in that case.
9186         * Makefile (summarize-tests): New canned sequence, factored out of
9187         commands for targets tests and xtests.  Display summary lines that
9188         don't start with PASS: or XFAIL: rather than ones that do start with
9189         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
9190         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
9191         do start with ERROR: or FAIL:.
9192         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
9193         (except for [$(build-shared) = yes]).
9194         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
9195         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
9196         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
9197         * nptl/Makefile: Revert 2015-03-04 changes.
9198         [$(CXX) empty] (tests-unsupported): New variable.
9199         * debug/Makefile: Likewise.
9201         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
9202         gnulib file.  Replace __attribute with __attribute__ throughout.
9204 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
9206         * sysdeps/hppa/fpu/libm-test-ulps: Update.
9208 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
9210         [BZ #18104]
9211         * math/auto-libm-test-in: Add another test of pow.
9212         * math/auto-libm-test-out: Regenerated.
9214 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9216         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
9217         $(config-cflags-nofma).
9219 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
9221         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
9222         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
9223         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
9224         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
9225         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
9226         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
9227         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
9228         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
9229         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
9230         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
9231         Add comment on closing #endif.
9233 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
9235         * posix/wordexp.c (CHAR_IN_SET): New macro.
9236         (parse_param): Use it.
9238 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9240         * sysdeps/powerpc/fpu/libm-test-ulps: update.
9242 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
9244         [BZ #18043]
9245         * posix/wordexp.c (parse_param): Fix buffer overflow.
9246         * posix/wordexp-test.c (test_case): Add test case.
9248 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
9250         [BZ #18042]
9251         * posix/wordexp.c (parse_backtick): Fix off-by-one.
9252         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
9254 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
9256         [BZ #18043]
9257         * posix/wordexp-test.c (test_case): Add test for BZ #18043
9258         (do_bz18043): Delete.
9259         (at_page_end): New.
9260         (testit): Refactor to have words at the edge of unreadable page.
9262 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
9264         [BZ #16734]
9265         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
9266         Cleanup read-only streams as well.
9267         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
9269 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9271         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
9272         <bits/libc-lockP.h>
9274 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
9276         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
9277         on [__KERNEL__].
9278         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
9279         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
9280         * soft-fp/op-common.h (_FP_DECL): Likewise.
9282 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
9284         * elf/ifuncdep2.c (global): Replace
9285         __attribute__((visibility("protected"))) with
9286         asm (".protected global").
9287         * elf/ifuncmod1.c (global): Likewise.
9288         * elf/ifuncmod5.c (global): Likewise.
9290 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
9292         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
9293         <asm/sfp-machine.h> instead of <sfp-machine.h>.
9295 2015-03-06  Roland McGrath  <roland@hack.frob.com>
9297         * manual/install.texi (Configuring and compiling):
9298         Document test-wrapper-env-only.
9299         * INSTALL: Regenerated.
9301 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
9303         [BZ #18043]
9304         * posix/wordexp.c (parse_param): Fix buffer overflow.
9305         * posix/wordexp-test.c (do_bz18043): Add test case.
9307 2015-03-06  Vincent Bernat  <vincent@bernat.im>
9309         * time/tst-strptime2.c (do_test): Ensure failing tests are
9310         reported correctly.
9311         * time/tst-strptime3.c (do_test): Likewise.
9313 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
9315         Fix aio_error thread-safety.
9316         * sysdeps/pthread/aio_error.c: New file
9317         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
9318         synchronization.
9320 2015-03-06  Florian Weimer  <fweimer@redhat.com>
9322         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
9323         (group_number, vfprintf): Use it.
9324         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
9325         (JUMP, REF): Use it.
9326         (WORK_BUFFER_SIZE): New enum constant.
9327         (process_arg, vfprintf): Use it.
9329 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
9331         * manual/errno.texi (Error Messages): Complete example function
9332         by adding missing #define.
9333         (program_invocation_name): Add statement indicating GNU
9334         extension and reference which header file declares the variable.
9335         (program_invocation_short_name): Likewise.
9337 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
9339         * manual/errno.texi (Error Messages): Delete strerror ISO C89
9340         compatibility note.
9342 2015-03-05  Roland McGrath  <roland@hack.frob.com>
9344         * Makeconfig (test-wrapper-env-only): New variable.
9345         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
9346         then use that with $(test-wrapper-env-only) rather than using
9347         $(test-wrapper-env) $(run-program-env) $($*-ENV).
9349 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
9351         [BZ #18082]
9352         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
9353         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
9354         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
9355         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
9356         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
9357         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
9358         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
9359         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
9360         Likewise.
9361         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
9362         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
9363         Likewise.
9364         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
9365         Likewise.
9366         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
9367         Likewise.
9368         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
9369         Likewise.
9370         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
9371         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
9372         Likewise.
9373         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
9374         Likewise.
9375         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
9376         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
9378 2015-03-04  Roland McGrath  <roland@hack.frob.com>
9380         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
9381         (ETH_ALEN): New macro.
9382         (struct ether_addr): Use it for length of ether_addr_octet.
9384         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
9385         (setdb): Don't call __nss_configure_lookup for "rpc".
9386         (do_test): Don't call test_rpc.
9387         (output_rpcent, test_rpc): Functions moved ...
9388         * sunrpc/test-rpcent.c: ... to this new file.
9389         * sunrpc/Makefile (tests): Add it.
9391         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
9392         __xpg_sigpause.
9393         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
9394         * nptl/tst-signal6.c: Likewise.
9395         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
9396         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
9398         * configure.ac (libc_cv_cxx_link_ok): New check.
9399         Reset CXX to empty if it fails to link.
9400         * configure: Regenerated.
9401         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
9402         bug-atexit3-lib only if $(CXX) is nonempty.
9403         * nptl/Makefile (tests): Likewise for tst-cancel24.
9404         (tests, tests-static): Likewise for tst-cancel24-static.
9405         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
9406         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
9407         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
9408         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
9410 2015-03-04  Andreas Schwab  <schwab@suse.de>
9412         [BZ #17631]
9413         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
9414         for non-GCC compilers.
9415         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
9416         Likewise.
9418 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
9420         [BZ #17776]
9421         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
9422         integer before bitwise and assembly operations.
9423         (feclearexcept): Likewise.
9424         * math/test-fenvinline.c: New file.
9425         * math/Makefile: Add test-fenvinline test.
9427 2015-03-03  Alan Modra  <amodra@gmail.com>
9429         [BZ #16512]
9430         * scripts/localplt.awk: Strip off symbol version.
9431         * NEWS: Mention bug fix.
9433 2015-03-02  Roland McGrath  <roland@hack.frob.com>
9435         * sysdeps/pthread/timer_routines.c
9436         (timer_free_list, thread_free_list, thread_active_list): Make static.
9438 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
9440         [BZ #17779]
9441         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
9442         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
9443         Undefine.
9444         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9445         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
9446         Likewise.
9447         * sysdeps/unix/sysv/linux/sh/kernel-features.h
9448         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
9449         Likewise.
9451 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
9453         [BZ #18036]
9454         * posix/fnmatch_loop.c (END): Detect invalid pattern.
9455         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
9457 2015-03-02  Andreas Schwab  <schwab@suse.de>
9459         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
9460         variable name.
9462 2015-03-02  Florian Weimer  <fweimer@redhat.com>
9464         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
9465         Return error status.
9467 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
9469         [BZ #15969]
9470         * locale/findlocale.c (_nl_find_locale): Introduce const
9471         version of loc_name and drop unsafe type casts.
9473 2015-02-27  Roland McGrath  <roland@hack.frob.com>
9475         * dlfcn/tststatic2.c (main): Converted to ...
9476         (do_test): ... this.
9477         (TEST_FUNCTION): New macro.
9478         Include test-skeleton.c.
9480 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
9482         [BZ #17711]
9483         * elf/Makefile (tests): Add vismain only if PIE is enabled.
9484         (tests-pie): Add vismain.
9485         (CFLAGS-vismain.c): New.
9486         * elf/vismain.c: Add comments for PIE requirement.
9488 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
9490         [BZ #18046]
9491         [BZ #18047]
9492         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
9493         0x1p-56L as threshold for just returning the argument.
9494         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
9495         0x1p-32L as threshold for just returning the argument.
9496         * math/auto-libm-test-in: Add more tests of atanh.
9497         * math/auto-libm-test-out: Regenerated.
9498         * sysdeps/i386/fpu/libm-test-ulps: Update.
9499         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
9501 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
9503         * string/bcopy.c (bcopy): Call memmove for performance.
9505 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
9507         * string/bzero.c (__bzero): Call memset for performance.
9509 2015-02-27  John David Anglin  <dave.anglin@bell.net>
9511         [BZ #18068]
9512         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
9513         to 00100000.
9515 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
9517         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
9519 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
9521         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
9522         (__kernel_standard): Use CSTR macro when setting exc.name.
9523         * sysdeps/ieee754/Makefile [$(subdir) = math]
9524         (CFLAGS-k_standard.c): Remove variable.
9526         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
9527         setting p and q from "else if" to "else".
9528         (qzero): Likewise.
9529         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
9530         (qone): Likewise.
9531         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
9532         (qzerof): Likewise.
9533         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
9534         (qonef): Likewise.
9535         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
9536         (qzero): Likewise.
9537         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
9538         (qone): Likewise.
9540         [BZ #18038]
9541         [BZ #18039]
9542         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
9543         return pi/2 for arguments below 0x1p-113L.
9544         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
9545         return pi/2 for arguments below 0x1p-106L.
9546         * math/auto-libm-test-in: Add more tests of acos.
9547         * math/auto-libm-test-out: Regenerated.
9549         [BZ #16351]
9550         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
9551         (MO): New macro.
9552         (__ieee754_asin): Force underflow exception for results with small
9553         absolute value.
9554         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
9555         (MO): New macro.
9556         (__ieee754_asinf): Force underflow exception for results with
9557         small absolute value.
9558         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
9559         (__ieee754_asin): Force underflow exception for results with small
9560         absolute value.
9561         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
9562         (__ieee754_asinf): Force underflow exception for results with
9563         small absolute value.
9564         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
9565         (__ieee754_asinl): Force underflow exception for results with
9566         small absolute value.
9567         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
9568         (__ieee754_asinl): Force underflow exception for results with
9569         small absolute value.
9570         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
9571         (__ieee754_asinl): Force underflow exception for results with
9572         small absolute value.
9573         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
9574         Include <math.h>.
9575         * math/auto-libm-test-in: Do not mark underflow exceptions as
9576         possibly missing for bug 16351.
9577         * math/auto-libm-test-out: Regenerated.
9579         [BZ #18030]
9580         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
9581         of power of 2 down when low part has opposite sign.
9582         * math/libm-test.inc (logb_test_data): Add more tests.
9584 2015-02-26  Andreas Schwab  <schwab@suse.de>
9586         [BZ #18032]
9587         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
9588         over collating symbol inside a bracket expression.  Minor cleanup.
9589         * posix/tst-fnmatch3.c (do_test): Add test case.
9591 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
9593         [BZ #18029]
9594         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
9595         Adjust exponent of power of 2 down when low part has opposite
9596         sign.
9597         * math/libm-test.inc (ilogb_test_data): Add more tests.
9599 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
9601         [BZ #15969]
9602         * locale/findlocale.c (_nl_find_locale): Fix constness error in
9603         the previous change.
9605         [BZ #15969]
9606         * locale/findlocale.c (_nl_find_locale): Retry archive search
9607         after alias expansion.
9609 2015-02-25  Roland McGrath  <roland@hack.frob.com>
9611         * iconv/tst-iconv3.c (main): Converted to ...
9612         (do_test): ... this.
9613         (TEST_FUNCTION): New macro.
9614         Include test-skeleton.c.
9616         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
9617         (convert): Make function static.
9618         (test_unalign): Likewise.  Add const to argument pointee types.
9619         (main): Replace with static function do_test.
9620         Print "Succeeded." only if RET is zero.
9621         (TEST_FUNCTION): New macro.
9622         Include test-skeleton.c.
9624         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
9625         returns a null pointer.
9627 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9629         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
9630         to __memcpy_ppc only for static builds.
9632 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
9634         [BZ #18020]
9635         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
9636         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
9637         * math/auto-libm-test-in: Add more tests of asinh.
9638         * math/auto-libm-test-out: Regenerated.
9639         * sysdeps/i386/fpu/libm-test-ulps: Update.
9640         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9642 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
9644         [BZ #15850]
9645         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
9646         and ip6_mtuinfo definitions here.
9647         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
9648         in this define too.  Update comment.
9650 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
9652         * elf/sprof.c (load_shobj): Tweak error message to match others.
9654 2015-02-24  Kevin Easton  <kevin@guarana.org>
9656         [BZ #16145] (partial fix)
9657         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
9658         to reduce lock contention.
9660 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
9662         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
9663         (struct timex): Update time comment.
9664         (ADJ_SETOFFSET): Define.
9666 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
9668         [BZ #18019]
9669         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
9670         2**56 not 2**28 as threshold for log (2x) formula.
9671         * math/auto-libm-test-in: Add more tests of acosh.
9672         * math/auto-libm-test-out: Regenerated.
9673         * sysdeps/i386/fpu/libm-test-ulps: Update.
9674         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9676 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
9678         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
9679         parenthesis around the buf assignment.
9680         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
9682 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
9684         [BZ #16783]
9685         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
9686         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
9687         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
9688         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
9689         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
9690         * math/libm-test.inc (scalb_test_data): Add more tests.
9692 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
9694         [BZ #17916]
9695         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
9696         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
9698 2015-02-24  Eric Rannaud  <e@nanocritical.com>
9700         [BZ #17523]
9701         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
9702         * io/bits/fcntl2.h (open): Use it.
9703         (openat): Likewise.
9704         * io/open.c (__libc_open): Likewise.
9705         * io/open64.c (__libc_open64): Likewise.
9706         * io/open64_2.c (__open64_2): Likewise.
9707         * io/open_2.c (__open_2): Likewise.
9708         * io/openat.c (__openat): Likewise.
9709         * io/openat64.c (__openat64): Likewise.
9710         * io/openat64_2.c (__openat64_2): Likewise.
9711         * io/openat_2.c (__openat_2): Likewise.
9712         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
9713         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
9714         * sysdeps/posix/open64.c (__libc_open64): Likewise.
9715         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
9716         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
9717         (__open_nocancel): Likewise.
9718         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
9719         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
9720         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
9722 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
9724         [BZ #14841]
9725         * resolv/gethnamaddr.c (getanswer): Skip logging if
9726         RES_USE_DNSSEC is set.
9727         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
9729 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
9731         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
9733 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
9735         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
9736         201304L, for Unicode 7.
9738 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
9740         [BZ #17836]
9741         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
9742         shared library.  Add gmon-start.os otherwise.
9743         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
9744         $(objpfx)gmon-start.os if builing shared library.
9745         ($(objpfx)g$(static-start-installed-name)): Likewise.
9747 2015-02-23  Andreas Schwab  <schwab@suse.de>
9749         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
9751 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
9753         [BZ #17269]
9754         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
9755         (enlarge_userbuf): Likewise.
9757 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
9759         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
9760         * math/atest-exp.c (TIMEOUT): Adjust to 200.
9761         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
9762         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
9764 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
9766         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
9767         expression inside statement expression.
9769 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
9771         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
9772         <sysdeps/nptl/lowlevellock.h> and remove macros and
9773         functions that are now defined there.
9774         (SYS_futex): Remove.
9775         (lll_compare_and_swap): Remove.
9776         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
9778 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
9780         [BZ #17999]
9781         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
9782         instead of scandirat.
9783         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
9784         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
9785         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
9786         __scandirat.
9787         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
9788         (__scandirat): Declare.  Use libc_hidden_proto.
9789         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
9790         Remove variable.
9791         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
9793 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
9795         [BZ #15319]
9796         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
9797         (MO): New macro.
9798         (__ieee754_atan2): For results with small absolute value, force
9799         underflow exception and remove excess range and precision from
9800         return value.
9801         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
9802         (MO): New macro.
9803         (__ieee754_atan2f): For results with small absolute value, force
9804         underflow exception and remove excess range and precision from
9805         return value.
9806         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
9807         (MO): New macro.
9808         (__atan): For results with small absolute value, force underflow
9809         exception and remove excess range and precision from return value.
9810         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
9811         (MO): New macro.
9812         (__atanf): For results with small absolute value, force underflow
9813         exception and remove excess range and precision from return value.
9814         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
9815         <math.h>.
9816         (__ieee754_atan2): Force underflow exception for results with
9817         small absolute value.
9818         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
9819         <math_private.h>.
9820         (atan): Force underflow exception for results with small absolute
9821         value.
9822         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
9823         (__atanf): Force underflow exception for results with small
9824         absolute value.
9825         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
9826         <math.h>.
9827         (__atanl): Force underflow exception for results with small
9828         absolute value.
9829         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
9830         (__atanl): Force underflow exception for results with small
9831         absolute value.
9832         * sysdeps/x86/fpu/bits/mathinline.h
9833         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
9834         (__ieee754_atan2): Only define inline for long double.
9835         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
9836         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
9837         * math/auto-libm-test-in: Do not mark underflow exceptions as
9838         possibly missing for bug 15319.  Add more tests of atan2.
9839         * math/auto-libm-test-out: Regenerated.
9840         * math/libm-test.inc (casin_test_data): Do not mark underflow
9841         exceptions as possibly missing for bug 15319.
9842         (casinh_test_data): Likewise.
9843         * sysdeps/i386/fpu/libm-test-ulps: Update.
9845 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
9847         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
9848         * sysdeps/mips/bits/endian.h: Fix comments.
9850 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
9852         [BZ #17996]
9853         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
9854         (hdestroy_r): Likewise.
9855         (hsearch_r): Likewise.
9856         (__hcreate_r): Declare and use libc_hidden_proto.
9857         (__hdestroy_r): Likewise.
9858         (__hsearch_r): Likewise.
9859         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
9860         (hcreate): Call __hcreate_r instead of hcreate_r.
9861         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
9862         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
9863         as weak alias of __hcreate_r.
9864         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
9865         __hdestroy_r.
9866         (hsearch_r): Rename to __hsearch_r and define as weak alias of
9867         __hsearch_r.
9868         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
9869         Remove variable.
9870         (test-xfail-XPG4/search.h/linknamespace): Likewise.
9871         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
9872         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
9873         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
9875 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
9877         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
9878         arena_lock into a single arena_get.
9880 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
9882         * dl-reloc.c: Inlucde libc-internal.h.
9883         (_dl_try_allocate_static_tls): Call ALIGN_UP.
9884         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
9885         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
9886         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
9887         (grow_heap): Likewise.
9888         * malloc/malloc.c: Include libc-internal.h.
9889         (do_check_malloc): Call powerof2.
9890         (sysmalloc): Use pagesize. Call ALIGN_UP.
9891         (systrim): Use pagesize.
9892         (mremap_chunk): Use pagesize. Call ALIGN_UP.
9893         (__libc_valloc): Use pagesize.
9894         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
9896 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
9898         [BZ #17991]
9899         * include/sys/resource.h (__getrlimit64): Declare.  Use
9900         libc_hidden_proto.
9901         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
9902         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
9903         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
9904         getrlimit64.
9905         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
9906         __getrlimit64.
9907         [!getrlimit64] (getrlimit64): Define as weak alias of
9908         __getrlimit64.  Use libc_hidden_weak.
9909         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
9910         using __getrlimit64 not __new_getrlimit64.
9911         (__GI_getrlimit64): Likewise.
9912         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
9913         Likewise.
9914         (__GI_getrlimit64): Likewise.
9915         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
9916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
9917         (getrlimit): Add __getrlimit64 alias.
9918         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
9919         Likewise.
9920         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
9921         Remove variable.
9922         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
9923         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
9925 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
9927         * libio/fileops.c: Add missing sys/mman.h
9928         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
9930 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
9932         * manual/math.texi (Errors in Math Functions): Clarify goals
9933         regarding inexact and underflow exceptions.
9935 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
9937         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
9938         * sysdeps/mips/memset.S: Ditto.
9940 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
9942         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
9944 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
9946         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
9947         (__v1longjmp): Remove versioned symbol.
9948         (__v1siglongjmp): Remove alias and versioned symbol.
9949         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
9950         (__v2siglongjmp): Likewise.
9952 2015-02-16  Torvald Riegel  <triegel@redhat.com>
9954         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
9956 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
9958         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
9960 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
9962         [BZ #17987]
9963         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
9964         zero result does not depend on the sign resulting from
9965         subtraction.
9966         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
9967         Likewise.
9968         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
9969         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
9970         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
9971         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
9972         * math/libm-test.inc (remquo_test_data): Add more tests.
9974 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
9976         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
9977         Problem reported by J William Piggott.
9979 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
9981         [BZ #17978]
9982         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
9983         products 4 * y and 2 * y where those would overflow.
9984         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
9985         Likewise.
9986         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
9987         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
9988         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
9989         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
9990         * math/libm-test.inc (remquo_test_data): Add more tests.
9992         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
9994         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
9995         [defined _COMPILING_NEWLIB].
9996         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
9997         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
9999         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
10000         [!defined __mips_isa_rev || __mips_isa_rev < 6].
10002 2015-02-16  Torvald Riegel  <triegel@redhat.com>
10004         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
10005         acquired.
10007 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
10009         [BZ #17792]
10010         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
10011         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
10012         HOST_STACK_END_ADDR): Likewise.
10014 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
10016         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
10017         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
10018         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
10020 2015-02-13  Roland McGrath  <roland@hack.frob.com>
10022         * sysdeps/generic/c++-types.data: New file.
10023         * sysdeps/generic/ld.abilist: New file.
10024         * sysdeps/generic/libBrokenLocale.abilist: New file.
10025         * sysdeps/generic/libanl.abilist: New file.
10026         * sysdeps/generic/libc.abilist: New file.
10027         * sysdeps/generic/libcrypt.abilist: New file.
10028         * sysdeps/generic/libdl.abilist: New file.
10029         * sysdeps/generic/libm.abilist: New file.
10030         * sysdeps/generic/libpthread.abilist: New file.
10031         * sysdeps/generic/libresolv.abilist: New file.
10032         * sysdeps/generic/librt.abilist: New file.
10034 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
10036         [BZ #17569]
10037         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
10038         Compute absolute value of x as modified by fmod, not original
10039         value of x.
10040         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
10041         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
10042         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
10043         RUN_TEST_ffI_f1_mod8.
10044         (remquo_test_data): Add more tests.
10046 2015-02-13  Roland McGrath  <roland@hack.frob.com>
10048         * sysdeps/init_array/pt-crti.S: New file.
10050 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
10052         [BZ #17967]
10053         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
10054         __builtin_fmaf instead of relying on contraction of a * b + c.
10056 2015-02-12  J William Piggott  <elseifthen@gmx.com>
10058         [BZ #17969]
10059         * manual/time.texi: correct the zoneinfo path in the TZ Variable
10060         node.
10062 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
10064         [BZ #17964]
10065         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
10066         __builtin_fma instead of relying on contraction of a * b + c.
10068 2015-02-12  Roland McGrath  <roland@hack.frob.com>
10070         * Makeconfig (ASFLAGS): Add -Werror=undef.
10071         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
10072         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
10073         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
10075         * Makeconfig (after-link): New variable.
10076         (+link-pie, +link-pie-tests): Use it.
10077         (+link-static, +link-static-tests): Likewise.
10078         (+link, +link-tests): Likewise.
10079         * Makerules (build-module, build-module-asneeded): Likewise.
10080         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
10081         Likewise.
10082         * elf/Makefile ($(objpfx)ld.so): Likewise.
10084 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
10086         [BZ #17965]
10087         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
10088         both struct timeval and struct timespec.
10090 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
10092         [BZ #16560]
10093         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10094         and redefine.
10095         (__ieee754_exp2l): Do not multiply small fractional parts by
10096         M_LN2l.
10097         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
10098         small argument.
10099         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
10100         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
10101         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
10102         * math/auto-libm-test-in: Add more tests of exp2.
10103         * math/auto-libm-test-out: Regenerated.
10105 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10107         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
10108         unaligned path.
10110 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10112         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
10113         little endian.
10115 2015-02-12  Andreas Schwab  <schwab@suse.de>
10117         [BZ #15790]
10118         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
10119         Filter out elision flags from value returned in kind.
10120         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
10121         * nptl/tst-pthread-mutexattr.c: New file.
10123 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10125         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
10126         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
10127         into gnu-gnu, and update comment to refer to abi-tags.
10129 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
10131         [BZ #15467]
10132         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
10133         (__sincos): Set errno to EDOM for infinite argument.
10134         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
10135         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
10136         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
10137         (__sincosl): Set errno to EDOM for infinite argument.
10138         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
10139         (__sincosl): Set errno to EDOM for infinite argument.
10140         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
10141         (__sincosl): Set errno to EDOM for infinite argument.
10142         * math/libm-test.inc (sincos_test_data): Test errno setting.
10144 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
10146         * string/strxfrm_l.c: Remove #define STRCMP.
10147         * string/strcoll_l.c: Remove #define STRLEN.
10148         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
10149         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
10151 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
10153         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
10154         * sysdeps/mips/mips32/sfp-machine.h: ... here.
10155         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
10156         * sysdeps/mips/mips64/Makefile: ... here.
10157         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
10158         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
10159         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
10160         * sysdeps/mips/mips64/sfp-machine.h: ... here.
10161         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
10162         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
10163         * sysdeps/mips/mips64/n64/Implies: Likewise.
10165 2015-02-10  Roland McGrath  <roland@hack.frob.com>
10167         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
10168         <sys/time.h>, <string.h>, and <errno.h>.
10169         (dest_offset, dest_address, value, zero): Remove unused variables.
10170         (ldouble): Remove typedef.
10171         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
10172         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
10173         1).  Fix code style.
10174         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
10175         (check): Function removed.
10176         (CHECK): New macro.
10177         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
10178         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
10179         Don't call set_sigaction_FP and remove_sigaction_FP here.
10180         (ldouble_test): Just use 'long double' as macro argument, no need for
10181         the 'ldouble' typedef.
10182         (do_test): Set up SIGFPE handler at start, using plain signal rather
10183         than sigaction.  Fix code style.
10185 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
10187         [BZ #17949]
10188         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
10189         jump label.
10191 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
10193         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
10194         * sysdeps/powerpc/powerpc32/configure: Regenerated.
10196         * sysdeps/powerpc/configure.ac: Remove file.
10197         * sysdeps/powerpc/configure: Likewise.
10199         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
10200         [sysdep_routines]: Remove wordcopy-power6 object.
10201         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
10202         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
10203         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
10204         (__memmove_ppc32): Likewise.
10205         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
10206         file.
10207         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
10208         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
10209         Remove preprocessor.
10211         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
10212         [sysdep_routines]: Remove wide chars objects.
10213         [wcsmbs]: New rule for wide char objects.
10215         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10216         Remove wordcopy-power6 obejct.
10217         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
10218         Use local call for wordcopy and memcpy symbols.
10219         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
10220         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
10221         implementation for loader.
10222         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
10224         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10225         Remove wordcopy-power7 object.
10226         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
10227         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
10228         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
10229         (_wordcopy_fwd_dest_aligned): Likewise.
10230         (_wordcopy_bwd_aligned): Likewise.
10231         (_wordcopy_bwd_dest_aligned): Likewise.
10233         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
10234         Rewrite to call __memmove_ppc instead of include default
10235         implementation.
10237         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10238         Remove wide chars objects.
10239         [wcsmbs]: New rule for wide char objects.
10241 2015-02-09  Andreas Schwab  <schwab@suse.de>
10243         [BZ #17912]
10244         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
10245         in terms of __O_DIRECTORY.
10247 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10249         * time/getdate.c: Include <stdbool.h>.
10250         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
10251         call PTR_MANGLE.
10252         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
10253         PTR_DEMANGLE.
10255 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
10257         Add ersatz _Static_assert on older C hosts
10258         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
10259         pre-C11 C platform that is not known to support _Static_assert.
10261 2015-02-07  Richard Braun  <rbraun@sceen.net>
10263         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
10264         sigstate.
10265         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
10267 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10269         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
10270         priority against unexistent AIO_PRIO_DELTA_MAX.
10271         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
10272         instead of int.
10273         * misc/fchflags.c (fchflags): Likewise.
10274         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
10275         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
10276         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
10277         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
10278         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
10279         Declare macros.
10280         [__USE_MISC] (chflags, fchflags): Declare functions.
10281         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
10282         EINVAL when nfds is greater than FD_SETSIZE.
10283         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
10284         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
10285         45.
10286         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
10287         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
10288         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
10289         MACH_RCV_TIMED_OUT.
10290         * hurd/hurd/signal.h (_hurd_self_sigstate,
10291         _hurd_critical_section_lock, _hurd_critical_section_unlock):
10292         Explicit casts from void *.
10293         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
10294         * abi-tags: Rename gnu-gnu os into gnu.
10296         [BZ #4719]
10297         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
10298         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
10299         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
10300         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
10301         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
10302         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
10304         [BZ #17944]
10305         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
10306         duplicates ADDR->sun_path with sockaddr LEN limitation.
10307         * sysdeps/mach/hurd/connect.c: Include <string.h>
10308         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
10309         * sysdeps/mach/hurd/sendmsg.c: Likewise.
10310         * sysdeps/mach/hurd/sendto.c: Likewise.
10311         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
10312         implementing it by hand.
10314 2015-02-06  Roland McGrath  <roland@hack.frob.com>
10316         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
10317         Use sfi_breg on ldr.
10318         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
10319         Likewise.
10321         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
10322         it's defined.
10323         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
10324         Test SIGSETXID only if it's defined.
10326         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
10328         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
10329         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
10331         * nptl/tst-align2.c: Moved ...
10332         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
10333         * nptl/Makefile (tests): Remove tst-align2.
10334         * sysdeps/unix/sysv/linux/Makefile
10335         [$(subdir) = nptl] (tests): Add tst-align-clone.
10336         * nptl/tst-getpid1.c: Moved ...
10337         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
10338         * nptl/tst-getpid2.c: Moved ...
10339         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
10340         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
10341         * sysdeps/unix/sysv/linux/Makefile
10342         [$(subdir) = nptl] (tests): ... here.
10343         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
10344         * sysdeps/unix/sysv/linux/Makefile
10345         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
10347         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
10348         Drop trailing \n from perror argument.  Use return rather than exit.
10350         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
10351         on [SA_SIGINFO].
10352         * nptl/tst-cancel21.c (do_test): Likewise.
10353         * debug/tst-backtrace6.c: Include <signal.h> first thing.
10354         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
10355         [!SA_SIGINFO]: Make it a stub test.
10357         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
10358         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
10360         * posix/tst-getlogin.c: Move to ...
10361         * login/tst-getlogin.c: ... here.
10362         * posix/Makefile (tests): Move tst-getlogin to ...
10363         * login/Makefile (tests): ... here.
10365         * libio/tst-atime.c (do_test): Move local variables SV and E
10366         inside [ST_NOATIME] conditional.
10368         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
10370         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
10372         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
10373         (wait_code): New function replaces macro.
10374         Call nanosleep rather than syscall.
10376         * nptl/pt-system.c: Rewritten.  Put everything under
10377         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
10378         Use IFUNC to redirect when possible.
10380         * nptl/pt-longjmp.c: Rewritten.  Put everything under
10381         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
10382         Use IFUNC to redirect when possible.
10384         * nptl/pt-fork.c: Rewritten.  Put everything under
10385         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
10386         Use IFUNC to redirect when possible.
10387         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
10389         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
10390         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
10391         unconditionally nowadays.  This included the only reference to
10392         __vdso_clock_gettime that appears outside libc proper.
10393         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
10394         Remove version set (containing only __vdso_clock_gettime).
10395         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
10396         Add attribute_hidden.
10397         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
10398         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
10399         libc_hidden_data_def.
10400         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
10401         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
10403         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
10404         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
10405         setrpcent, and getrpcport to ...
10406         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
10407         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
10408         getrpcbynumber_r, and getrpcent_r to ...
10409         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
10410         * inet/getrpcbyname.c: Moved ...
10411         * sunrpc/getrpcbyname.c: ... here.
10412         * inet/getrpcbyname_r.c: Moved ...
10413         * sunrpc/getrpcbyname_r.c: ... here.
10414         * inet/getrpcbynumber.c: Moved ...
10415         * sunrpc/getrpcbynumber.c: ... here.
10416         * inet/getrpcbynumber_r.c: Moved ...
10417         * sunrpc/getrpcbynumber_r.c: ... here.
10418         * inet/getrpcent.c: Moved ...
10419         * sunrpc/getrpcent.c: ... here.
10420         * inet/getrpcent_r.c: Moved ...
10421         * sunrpc/getrpcent_r.c: ... here.
10422         * inet/Makefile (routines): Move those to ...
10423         * sunrpc/Makefile (routines): ... here.
10424         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
10425         the $(subdirs) list.
10426         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
10427         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
10428         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
10429         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
10431         * elf/Makefile (routines): Include $(all-dl-routines), not just
10432         $(dl-routines).
10433         (rtld-routines): Likewise.  Use = rather than :=.
10434         * sysdeps/aarch64/Makefile [$(subdir) = elf]
10435         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
10436         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
10437         * sysdeps/arm/Makefile: Likewise.
10438         * sysdeps/i386/Makefile: Likewise.
10439         * sysdeps/x86_64/Makefile: Likewise.
10440         * sysdeps/hppa/Makefile [$(subdir) = elf]
10441         (sysdep_routines, sysdep-rtld-routines): Don't add
10442         $(sysdep-dl-routines) to these.
10443         * sysdeps/ia64/Makefile: Likewise.
10444         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
10445         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
10446         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
10447         Don't add dl-static to these; sysdep-dl-routines alone is enough.
10448         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
10449         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
10450         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
10451         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
10452         * sysdeps/powerpc/Makefile [$(subdir) = elf]
10453         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
10454         these; sysdep-dl-routines alone is enough.
10456 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
10458         [BZ #17932]
10459         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
10460         where multiplication results in zero and third argument is finite
10461         and nonzero.
10462         * math/auto-libm-test-in: Add more tests of fma.
10463         * math/auto-libm-test-out: Regenerated.
10465         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
10466         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
10467         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
10468         (_FP_CMP_EQ): Likewise.
10469         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
10471         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
10472         extra argument CHECK_NAN.  Redefine as wrapper around
10473         _FP_EXTEND_CNAN.
10475 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
10477         * version.h (RELEASE): Set to "stable".
10478         (VERSION): Set to "2.21"
10479         * include/features.h (__GLIBC_MINOR__): Set to 21.
10481         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
10483 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
10484             Paul Eggert  <eggert@cs.ucla.edu>
10486         [BZ #16618]
10487         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
10488         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
10489         size in bytes. Store needed elements in wpmax. Use needed size
10490         in bytes for extend_alloca.
10492 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
10494         * manual/install.texi: Latest tested versions are GCC 4.9.2,
10495         binutls 2.25, and texinfo 5.2.
10496         * INSTALL: Regenerate.
10497         * sysdeps/nios2/configure: Regenerate.
10498         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
10499         * manual/contrib.texi: Update.
10500         * po/be.po: Update.
10501         * po/bg.po: Update.
10502         * po/ca.po: Update.
10503         * po/cs.po: Update.
10504         * po/da.po: Update.
10505         * po/de.po: Update.
10506         * po/el.po: Update.
10507         * po/eo.po: Update.
10508         * po/es.po: Update.
10509         * po/fi.po: Update.
10510         * po/fr.po: Update.
10511         * po/gl.po: Update.
10512         * po/hr.po: Update.
10513         * po/hu.po: Update.
10514         * po/ia.po: Update.
10515         * po/id.po: Update.
10516         * po/it.po: Update.
10517         * po/ja.po: Update.
10518         * po/ko.po: Update.
10519         * po/lt.po: Update.
10520         * po/nb.po: Update.
10521         * po/nl.po: Update.
10522         * po/pl.po: Update.
10523         * po/pt_BR.po: Update.
10524         * po/ru.po: Update.
10525         * po/rw.po: Update.
10526         * po/sk.po: Update.
10527         * po/sl.po: Update.
10528         * po/sv.po: Update.
10529         * po/tr.po: Update.
10530         * po/uk.po: Update.
10531         * po/vi.po: Update.
10532         * po/zh_CN.po: Update.
10533         * po/zh_TW.po: Update.
10535         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
10536         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
10537         * sysdeps/hppa/dl-irel.h: Remove #warning.
10538         * sysdeps/hppa/entry.h: Provide prototype for
10539         __canonicalize_funcptr_for_compare and cast argument.
10540         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
10541         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
10542         * sysdeps/hppa/sotruss-lib.c: New file.
10543         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
10544         (atomic_compare_and_exchange_val_acq): Use __typeof__.
10545         (atomic_compare_and_exchange_bool_acq): Likewise.
10546         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
10547         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
10549         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
10550         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
10551         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
10553 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
10555         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
10556         called function in non-PIC case.
10558 2015-01-31  David S. Miller  <davem@davemloft.net>
10560         * sysdeps/sparc/sparc32/bits/atomic.h
10561         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
10562         unlock not after it.
10563         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
10564         volatile register usage warnings from the compiler.
10566         * sysdeps/sparc/nptl/sem_init.c: Delete.
10567         * sysdeps/sparc/nptl/sem_post.c: Delete.
10568         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
10569         * sysdeps/sparc/nptl/sem_wait.c: Delete.
10570         * sysdeps/sparc/sparc32/sem_init.c: New file.
10571         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
10572         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
10573         padding explicitly initialized.
10574         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
10575         padding for in-semaphore spinlock.
10576         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
10577         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
10578         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
10579         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
10580         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
10581         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
10582         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
10583         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
10584         version.
10585         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
10586         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
10588 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
10590         [BZ #17801]
10591         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10592         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
10593         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
10594         New.
10595         (index_AVX_Fast_Unaligned_Load): Likewise.
10596         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
10597         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
10598         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
10599         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
10600         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
10601         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
10602         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
10603         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
10604         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
10606 2015-01-29  Andreas Schwab  <schwab@suse.de>
10608         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
10610 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
10612         [BZ #17892]
10613         * nscd/nscd_stat.c (send_stats): Initialize DATA.
10615 2015-01-28  Martin Sebor  <msebor@redhat.com>
10617         * math/README.libm-test: Clarify. Add "How to read the test output."
10619 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
10621         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
10622         Define to 0.
10624 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
10626         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
10627         (__HAVE_64B_ATOMICS): Define to 0.
10629 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
10631         [BZ #17885]
10632         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
10633         value to set as new flag.
10635         [BZ #16576]
10636         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
10637         and use _ARCH_PPCSQ instead.
10638         (__ieee754_sqrt): Likewise.
10639         (__ieee754_sqrtf): Likewise.
10640         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
10641         _ARCH_PPCSQ is defined.
10642         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
10643         fsqrt instruction.
10644         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
10645         _ARCH_PPCSQ is defined.
10646         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
10647         fsqrts instruction.
10648         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
10650 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10652         * iconv/loop.c: Suppress array out of bound warning caused by GCC
10653         bug (GCC BZ #64739).
10655 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
10657         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
10658         Mark _retval as used.
10659         (lll_futex_wake_unlock): Likewise.
10660         (lll_futex_timed_wait_requeue_pi): Likewise.
10662         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
10663         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
10664         register variables.
10666         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
10667         libm_hidden_def.
10669         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
10670         (__bswap_64): Mark as __always_inline.
10672 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
10674         [BZ #15378]
10675         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
10676         when none of the search directories exist.
10678 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
10680         [BZ #17869]
10681         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
10682         power8 in .machine directive.
10684         [BZ #17868]
10685         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
10686         set dependency from opd value.
10688 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
10690         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10691         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
10692         architecture.
10694 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
10696         [BZ #17870]
10697         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
10698         with uint64_t.
10699         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
10700         (uint64_t) 1.
10701         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
10702         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
10703         Replace 1UL with (uint64_t) 1.
10704         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
10705         int with uint64_t.
10707 2015-01-23  Roland McGrath  <roland@hack.frob.com>
10709         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
10710         (if_freenameindex): Likewise.
10712         * resource/getrlimit64.c: Add missing libc_hidden_def.
10714 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
10716         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
10717         __label__.
10718         (_FP_FMA): Likewise.
10719         (_FP_TO_INT_ROUND): Likewise.
10720         (_FP_FROM_INT): Likewise.
10722 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10724         [BZ #16418]
10725         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
10726         Make code racy and cancel safe.
10728 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
10730         * sysdeps/arm/unwind-resume.h: Fix copyright year.
10731         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
10732         attribution.
10734         * pwd/tst-getpw.c: Rewrite.
10736         [BZ #17702]
10737         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
10738         (modules-names): Add moddummy1 and moddummy2.
10739         ($(objpfx)tst-rec-dlopen): Define.
10740         * dlfcn/moddummy1.c: New file.
10741         * dlfcn/moddummy2.c: New file.
10742         * dlfcn/tst-rec-dlopen.c: New file.
10743         * elf/dl-cache.c (_dl_load_cache_lookup):
10744         Return char*. Copy result with alloca/strcpy/strdup.
10745         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
10746         returns char*. Free cached. If not saving realname
10747         free cached.
10748         * elf/dl-open.c (dl_open_worker): Do not assert that
10749         _r_debug->r_state is RT_CONSISTENT.
10750         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
10751         returns char*.
10753 2015-01-21  Torvald Riegel  <triegel@redhat.com>
10754             Carlos O'Donell  <carlos@redhat.com>
10756         [BZ #12674]
10757         * nptl/sem_waitcommon.c: New file.
10758         * nptl/sem_wait.c: Include sem_waitcommon.c.
10759         (__sem_wait_cleanup, do_futex_wait): Remove.
10760         (__new_sem_wait): Adapt.
10761         (__new_sem_trywait): New function.
10762         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
10763         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
10764         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
10765         (sem_timedwait): Adapt.
10766         * nptl/sem_post.c (__new_sem_post): Adapt.
10767         (futex_wake): New function.
10768         (__old_sem_post): Add release MO fence.
10769         * nptl/sem_open.c (sem_open): Adapt.
10770         * nptl/sem_init.c (__new_sem_init): Adapt.
10771         (futex_private_if_supported): New function.
10772         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
10773         (__old_sem_getvalue): Add using previous code.
10774         * sysdeps/nptl/internaltypes.h: Adapt.
10775         * nptl/tst-sem13.c (do_test): Adapt.
10776         * nptl/tst-sem11.c (main): Adapt.
10777         * nptl/sem_trywait.c: Remove.
10778         * nptl/DESIGN-sem.txt: Remove.
10779         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
10780         (gen-as-const-headers): Remove structsem.sym.
10781         * nptl/structsem.sym: Remove.
10782         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
10783         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
10784         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
10785         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
10786         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
10787         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
10788         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
10789         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
10790         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
10791         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
10792         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
10793         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
10794         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
10795         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
10796         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
10797         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
10798         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
10799         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
10800         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
10801         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
10802         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
10803         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
10805 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
10807         * INSTALL: Regenerated.
10809         * po/libc.pot: Regenerated.
10811 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
10812             Sandra Loosemore  <sandra@codesourcery.com>
10813             Andrew Jenner  <andrew@codesourcery.com>
10814             Joseph Myers  <joseph@codesourcery.com>
10815             Nathan Sidwell  <nathan@codesourcery.com>
10817         * NEWS: Mention new Nios II port.
10818         * sysdeps/nios2/Implies: New file.
10819         * sysdeps/nios2/Makefile: New file.
10820         * sysdeps/nios2/Subdirs: New file.
10821         * sysdeps/nios2/Versions: New file.
10822         * sysdeps/nios2/__longjmp.S: New file.
10823         * sysdeps/nios2/abort-instr.h: New file.
10824         * sysdeps/nios2/backtrace.c: New file.
10825         * sysdeps/nios2/bits/endian.h: New file.
10826         * sysdeps/nios2/bits/fenv.h: New file.
10827         * sysdeps/nios2/bits/link.h: New file.
10828         * sysdeps/nios2/bits/setjmp.h: New file.
10829         * sysdeps/nios2/bsd-_setjmp.S: New file.
10830         * sysdeps/nios2/bsd-setjmp.S: New file.
10831         * sysdeps/nios2/configure: New generated file.
10832         * sysdeps/nios2/configure.ac: New file.
10833         * sysdeps/nios2/crti.S: New file.
10834         * sysdeps/nios2/crtn.S: New file.
10835         * sysdeps/nios2/dl-init.c: New file.
10836         * sysdeps/nios2/dl-machine.h: New file.
10837         * sysdeps/nios2/dl-sysdep.h: New file.
10838         * sysdeps/nios2/dl-tls.h: New file.
10839         * sysdeps/nios2/dl-trampoline.S: New file.
10840         * sysdeps/nios2/gccframe.h: New file.
10841         * sysdeps/nios2/gmp-mparam.h: New file.
10842         * sysdeps/nios2/jmpbuf-offsets.h: New file.
10843         * sysdeps/nios2/jmpbuf-unwind.h: New file.
10844         * sysdeps/nios2/ldsodefs.h: New file.
10845         * sysdeps/nios2/libc-tls.c: New file.
10846         * sysdeps/nios2/libm-test-ulps: New file.
10847         * sysdeps/nios2/machine-gmon.h: New file.
10848         * sysdeps/nios2/math-tests.h: New file.
10849         * sysdeps/nios2/math_private.h: New file.
10850         * sysdeps/nios2/memusage.h: New file.
10851         * sysdeps/nios2/nptl/Makefile: New file.
10852         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
10853         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
10854         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
10855         * sysdeps/nios2/nptl/pthreaddef.h: New file.
10856         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
10857         * sysdeps/nios2/nptl/tls.h: New file.
10858         * sysdeps/nios2/preconfigure: New file.
10859         * sysdeps/nios2/s_fma.c: New file.
10860         * sysdeps/nios2/s_fmaf.c: New file.
10861         * sysdeps/nios2/setjmp.S: New file.
10862         * sysdeps/nios2/sfp-machine.h: New file.
10863         * sysdeps/nios2/sotruss-lib.c: New file.
10864         * sysdeps/nios2/stackguard-macros.h: New file.
10865         * sysdeps/nios2/stackinfo.h: New file.
10866         * sysdeps/nios2/start.S: New file.
10867         * sysdeps/nios2/sysdep.h: New file.
10868         * sysdeps/nios2/tls-macros.h: New file.
10869         * sysdeps/nios2/tst-audit.h: New file.
10870         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
10871         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
10872         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
10873         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
10874         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
10875         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
10876         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
10877         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
10878         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
10879         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
10880         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
10881         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
10882         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
10883         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
10884         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
10885         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
10886         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
10887         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
10888         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
10889         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
10890         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
10891         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
10892         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
10893         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
10894         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
10895         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
10896         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
10897         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
10898         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
10899         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
10900         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
10901         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
10902         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
10903         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
10904         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
10905         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
10906         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
10907         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
10908         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
10909         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
10910         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
10911         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
10912         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
10913         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
10915 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
10917         [BZ #17844]
10918         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
10919         (getutent): Use weak_alias in non SHARED case
10920         and default_symbol_version in SHARED case.
10921         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
10922         (getutent_r, pututline): Likewise.
10923         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
10924         (getutid): Likewise.
10925         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
10926         (getutid_r): Likewise.
10927         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
10928         (getutline): Likewise.
10929         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
10930         (getutline_r): Likewise.
10931         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
10932         (updwtmp): Likewise.
10934 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
10936         [BZ #17848]
10937         * sysdeps/s390/s390-32/memcmp.S
10938         (memcmp_g5): Rename to __memcmp_g5.
10939         * sysdeps/s390/s390-32/memcpy.S
10940         (memcpy_g5): Rename to __memcpy_g5.
10941         Jump to __memcpy_mvcle instead of memcpy_mvcle.
10942         (memcpy_mvcle) Rename to __memcpy_mvcle.
10943         * sysdeps/s390/s390-32/memset.S
10944         (memset_g5): Rename to __memset_g5.
10945         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
10946         (IFUNC_RESOLVE): Prefix ifunc-resolve function
10947         and use prefixed functions.
10948         * sysdeps/s390/s390-32/multiarch/memcmp.S
10949         (memcmp_z196): Rename to __memcmp_z196.
10950         (memcmp_z10): Rename to __memcmp_z10.
10951         (memcmp): Set alias to __memcmp_g5.
10952         (bcmp): Set alias to __memcmp_g5.
10953         * sysdeps/s390/s390-32/multiarch/memcpy.S
10954         (memcpy_z196): Rename to __memcpy_z196.
10955         Jump to __memcpy_mvcle instead of memcpy_mvcle.
10956         (memcpy_z10): Rename to __memcpy_z10.
10957         Jump to __memcpy_mvcle instead of memcpy_mvcle.
10958         (memcpy): Set alias to __memcpy_g5.
10959         * sysdeps/s390/s390-32/multiarch/memset.S
10960         (memset_z196): Rename to __memset_z196.
10961         Jump to __memset_mvcle instead of memset_mvcle.
10962         (memset_z10): Rename to __memset_z10.
10963         Jump to __memset_mvcle instead of memset_mvcle.
10964         (memset_mvcle) Rename to __memset_mvcle.
10965         (memset): Set alias to __memset_g5.
10966         * sysdeps/s390/s390-64/memcmp.S
10967         (memcmp_z900): Rename to __memcmp_z900.
10968         * sysdeps/s390/s390-64/memcpy.S
10969         (memcpy_z900): Rename to __memcpy_z900.
10970         Jump to __memcpy_mvcle instead of memcpy_mvcle.
10971         (memcpy_mvcle) Rename to __memcpy_mvcle.
10972         * sysdeps/s390/s390-64/memset.S
10973         (memset_z900): Rename to __memset_z900.
10974         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
10975         (IFUNC_RESOLVE): Prefix ifunc-resolve function
10976         and use prefixed functions.
10977         * sysdeps/s390/s390-64/multiarch/memcmp.S
10978         (memcmp_z196): Rename to __memcmp_z196.
10979         (memcmp_z10): Rename to __memcmp_z10.
10980         (memcmp): Set alias to __memcmp_z900.
10981         (bcmp): Set alias to __memcmp_z900.
10982         * sysdeps/s390/s390-64/multiarch/memcpy.S
10983         (memcpy_z196): Rename to __memcpy_z196.
10984         Jump to __memcpy_mvcle instead of memcpy_mvcle.
10985         (memcpy_z10): Rename to __memcpy_z10.
10986         Jump to __memcpy_mvcle instead of memcpy_mvcle.
10987         (memcpy): Set alias to __memcpy_z900.
10988         * sysdeps/s390/s390-64/multiarch/memset.S
10989         (memset_z196): Rename to __memset_z196.
10990         Jump to __memset_mvcle instead of memset_mvcle.
10991         (memset_z10): Rename to __memset_z10.
10992         Jump to __memset_mvcle instead of memset_mvcle.
10993         (memset_mvcle) Rename to __memset_mvcle.
10994         (memset): Set alias to __memset_z900.
10996 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
10998         [BZ #17748]
10999         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
11000         __fesetenv instead of fesetenv.
11002 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
11004         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
11005         macro.
11007 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11009         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
11010         regression on LE.
11012         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
11013         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
11014         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
11015         strncmp-power8 object.
11016         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11017         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
11018         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
11019         * NEWS: Update.
11021 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11022             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11024         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
11025         trailing byte check.
11027 2015-01-13  David S. Miller  <davem@davemloft.net>
11029         * include/signal.h (__sigreturn): Guard with __USE_MISC.
11031 2015-01-13  Roland McGrath  <roland@hack.frob.com>
11033         * login/logout.c (logout): Use memset rather than bzero.
11034         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
11035         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
11036         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
11037         (_gethtbyaddr): Likewise.
11038         * locale/programs/simple-hash.c (bcopy): Macro removed.
11040 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11042         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
11043         Add strcmp-power8 object.
11044         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11045         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
11046         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
11047         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
11048         __strcmp_power8 implementation.
11049         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
11050         * NEWS: Update.
11052         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
11053         Add strncpy-power8 and stpncpy-power8 objects.
11054         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11055         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
11056         implementations.
11057         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
11058         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
11059         __stpncpy_power8 implementation.
11060         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
11061         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
11062         __strncpy_power8 implementation.
11063         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
11064         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
11065         * NEWS: Update.
11067         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
11068         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
11069         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
11071         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
11072         strncat-power8 object.
11073         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
11074         __strcat_power8 implementation.
11075         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11076         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
11077         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
11078         optimized strcat for power8.
11080         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
11081         strcpy-power8 and stpcpy-power8 objects.
11082         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11083         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
11084         implementations.
11085         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
11086         multiarch stpcpy implementation for POWER8.
11087         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
11088         multiarch strcpy implementation for POWER8.
11089         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
11090         __strcpy_power8 function.
11091         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
11092         stpcpy for POWER8.
11093         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
11094         strcpy for POWER8.
11095         * NEWS: Update.
11097 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
11099         [BZ #16009]
11100         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
11101         weights and rules. Use do_xfrm_cached if data fits in cache,
11102         do_xfrm otherwise.  Moved former main loop to...
11103         * (do_xfrm_cached): New function.
11104         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
11105         find_idx, find_position and stack_push.
11106         * (find_idx): New function.
11107         * (find_position): Likewise.
11108         * localedata/sort-test.sh: Added test run for do_xfrm.
11109         * localedata/xfrm-test.c (main): Added command line option
11110         -nocache to run the test with strings that are too large for
11111         the STRXFRM cache.
11113 2015-01-13  Torvald Riegel  <triegel@redhat.com>
11115         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
11116         variable to lll_futex_wake call, not the value itself.
11118 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
11120         [BZ #17803]
11121         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
11122         twom64.  Adjust value to 0x1p-64L.
11123         (__scalblnl): Only return standard underflowing result for K <=
11124         -64 not K <= -63; adjust exponent for underflowing result by 64
11125         not 63.
11126         * math/libm-test.inc (scalbn_test_data): Add more tests.
11127         (scalbln_test_data): Likewise.
11129         [BZ #17834]
11130         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
11131         0x1p63L.
11132         (__scalblnl): Get new exponent of adjusted subnormal value from ES
11133         not HX.
11134         * math/libm-test.inc (scalbn_test_data): Add more tests.
11135         (scalbln_test_data): Likewise.
11137 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11138             Stefani Seibold  <stefani@seibold.net>
11140         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
11141         (sysdep_routines): Add dl-vdso here, ...
11142         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
11143         (sysdep_routines): ... not here.
11144         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
11145         fallback when vDSO is not presented.
11146         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
11147         Define with libc_hidden_proto/libc_hidden_data_def definitions.
11148         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
11149         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
11150         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
11151         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
11152         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
11153         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
11154         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
11155         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
11156         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
11157         fallback configurable symbol when vDSO is not available.
11158         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
11159         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
11160         be able to redefine fallback symbol when vDSO is not available.
11161         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
11162         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
11164 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11166         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
11167         (TLS_INIT_TP): Add tm_capable initialization.
11168         (TLS_DEFINE_INIT_TP): Likewise.
11169         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
11170         TCB.
11171         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
11172         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
11173         calculation.
11174         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
11175         transactoion is lock elision is built and TCB tm_capable is set.
11176         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
11177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
11178         (INTERNAL_SYSCALL_NCS): Likewise.
11179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
11180         (INTERNAL_SYSCALL_NCS): Likewise.
11181         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
11183         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
11184         for powerpc.
11185         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
11186         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
11187         and remove it for 32 bits case.
11188         [pthread_rwlock_t] (__rwelision): New field for lock elision.
11189         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
11190         initialization.
11191         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
11192         Disable lock elision with rdlocks if elision is not available.
11194         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
11195         (sysdep_routines): Add lock elision objects.
11196         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
11197         [pthread_mutex_t] (__spins): Rework to add lock elision field.
11198         [pthread_mutex_t] (__elision): Add field.
11199         [__PTHREAD_SPINS]: Adjust to init lock elision field.
11200         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
11201         elision definitions for powerpc.
11202         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
11203         implementation of lock elision for powerpc.
11204         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
11205         implementation of timed lock elision for powerpc.
11206         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
11207         implementation of trylock with lock elision for powerpc.
11208         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
11209         implementaion of unlock for lock elision for powerpc.
11210         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
11211         automatic enable lock elision for mutexes.
11212         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
11213         transaction execution definitions for powerpc.
11214         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
11215         definitions.
11216         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
11217         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
11218         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
11219         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
11220         * NEWS: Update.
11222 2015-01-09  Roland McGrath  <roland@hack.frob.com>
11224         * sysdeps/posix/shm-directory.c: Use <> rather than ""
11225         for #include of <shm-directory.h>.
11227 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
11229         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
11230         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
11232 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
11234         [BZ #17791]
11235         * NEWS: Mention bug fix.
11236         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
11237         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
11238         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
11240 2015-01-09  Torvald Riegel <triegel@redhat.com>
11242         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
11244 2015-01-09  Torvald Riegel <triegel@redhat.com>
11246         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
11248 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
11250         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
11251         pointer and cast to uintptr_t.
11253 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
11255         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
11256         removed.
11257         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
11259 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
11261         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
11262         of 0.
11264 2015-01-08  Roland McGrath  <roland@hack.frob.com>
11266         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
11267         <nptl/pthreadP.h> instead.
11268         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
11270         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
11271         already defined.
11272         [__SIGRTMIN] (init): Function removed.
11273         [__SIGRTMIN] (initialized): Variable removed.
11274         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
11275         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
11276         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
11277         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
11278         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
11279         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
11280         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
11281         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
11282         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
11283         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
11284         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
11285         * sysdeps/nptl/allocrtsig.c: New file.
11286         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
11287         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
11288         * sysdeps/generic/testrtsig.h: File removed.
11290         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
11291         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
11293         * nptl/nptl-init.c (pthread_functions): Conditionalize
11294         .ptr__nptl_setxid initialization on [SIGSETXID].
11296         * sysdeps/nptl/sys/procfs.h: New file.
11297         * nptl_db/Makefile (headers): Add it.
11298         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
11300         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
11301         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
11302         * nptl/pthread_attr_setaffinity.c: Include it.
11303         * nptl/pthread_setattr_default_np.c: Likewise.
11304         * nptl/check-cpuset.h: New file.
11306 2015-01-08  Richard Henderson  <rth@redhat.com>
11308         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
11309         (CFLAGS-tst-execstack-prog.c): Likewise.
11310         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
11312 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
11313             Sandra Loosemore  <sandra@codesourcery.com>
11314             Andrew Jenner  <andrew@codesourcery.com>
11315             Joseph Myers  <joseph@codesourcery.com>
11316             Nathan Sidwell  <nathan@codesourcery.com>
11318         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
11319         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
11320         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
11321         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
11322         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
11323         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
11324         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
11325         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
11326         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
11327         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
11328         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
11329         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
11330         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
11331         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
11332         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
11333         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
11334         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
11336 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11338         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
11339         timespec struct member in syscall macro.
11340         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
11341         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
11342         first timeval struct member in syscall macro.
11343         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
11345 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
11347         [BZ #17748]
11348         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
11349         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
11350         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
11351         __feupdateenv and define as weak alias of __feupdateenv.  Use
11352         libm_hidden_weak.
11353         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
11354         libm_hidden_def.
11355         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
11356         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
11357         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
11358         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
11359         libm_hidden_def.
11360         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
11361         __feupdateenv and define as weak alias of __feupdateenv.  Use
11362         libm_hidden_weak.
11363         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
11364         libm_hidden_def.
11365         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
11366         __feupdateenv and define as weak alias of __feupdateenv.  Use
11367         libm_hidden_weak.
11368         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
11369         libm_hidden_def.
11370         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
11371         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
11372         (__feupdateenv): Likewise.
11373         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
11374         __feupdateenv and define as weak alias of __feupdateenv.  Use
11375         libm_hidden_weak.
11376         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
11377         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
11378         libm_hidden_def.
11379         * sysdeps/tile/math_private.h (__feupdateenv): New inline
11380         function.
11381         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
11382         libm_hidden_def.
11383         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
11384         __feupdateenv instead of feupdateenv.
11385         (default_libc_feupdateenv_test): Likewise.
11386         (libc_feresetround_ctx): Likewise.
11388 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11390         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
11391         prototype.
11393 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
11395         * posix/regcomp.c (parse_bracket_exp): Initialize type to
11396         COLL_SYM in a couple of places to avoid uninitialized variable
11397         wanings on tilegx gcc 4.8.2.
11399 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
11401         * sysdeps/aarch64/strcpy.S: New file.
11402         * sysdeps/aarch64/stpcpy.S: New file.
11403         * NEWS: Updated.
11405 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
11407         * sysdeps/aarch64/strrchr.S: New file.
11408         * NEWS: Updated.
11410 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
11412         [BZ #17658]
11413         * stdlib/setenv.c: Fix memory leak when setting large,
11414         duplicate string.
11416 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
11418         [BZ #17273]
11419         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
11420         and tabs from buffer before parsing fstab entry.
11421         * misc/tst-mntent.c (main): Add test for mount entry with
11422         trailing spaces and tabs.
11424 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
11426         [BZ #17748]
11427         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
11428         * math/fesetround.c (fesetround): Rename to __fesetround and
11429         define as weak alias of __fesetround.  Use libm_hidden_weak.
11430         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
11431         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
11432         * sysdeps/arm/fesetround.c (fesetround): Likewise.
11433         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
11434         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
11435         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
11436         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
11437         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
11438         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
11439         __fesetround_inline.
11440         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
11441         __fesetround_inline instead of __fesetround.
11442         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
11443         __fesetround and define as weak alias of __fesetround.  Use
11444         libm_hidden_weak.  Call __fesetround_inline instead of
11445         __fesetround.
11446         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
11447         __fesetround and define as weak alias of __fesetround.  Use
11448         libm_hidden_weak.
11449         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
11450         Likewise.
11451         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
11452         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
11453         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
11454         * sysdeps/tile/math_private.h (__fesetround): New inline function.
11455         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
11456         __fesetround and define as weak alias of __fesetround.  Use
11457         libm_hidden_weak.
11458         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
11459         __fesetround instead of fesetround.
11460         (default_libc_feholdexcept_setround): Likewise.
11461         (libc_feholdsetround_ctx): Likewise.
11462         (libc_feholdsetround_noex_ctx): Likewise.
11464         [BZ #17748]
11465         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
11466         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
11467         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
11468         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
11469         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
11470         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
11471         define as weak alias of __fesetenv.  Use libm_hidden_weak.
11472         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
11473         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
11474         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
11475         define as weak alias of __fesetenv.  Use libm_hidden_weak.
11476         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
11477         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
11478         define as weak alias of __fesetenv.  Use libm_hidden_weak.
11479         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
11480         libm_hidden_def.
11481         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
11482         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
11483         Likewise.
11484         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
11485         define as weak alias of __fesetenv.  Use libm_hidden_weak.
11486         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
11487         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
11488         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
11489         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
11490         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
11491         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
11492         __fesetenv instead of fesetenv.
11493         (libc_feresetround_noex_ctx): Likewise.
11494         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
11495         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
11496         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
11497         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
11498         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
11499         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
11500         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
11501         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
11502         (__feupdateenv): Likewise.
11503         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
11504         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
11505         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
11506         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
11508 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
11510         [BZ #17806]
11511         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
11512         addresses have been freed.
11514 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
11516         * resolv/res_init.c (__res_vinit): Improve comments about nserv
11517         and nservall.
11519 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
11521         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
11522         Clean up check_pf allocation pattern. addresses
11524 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11526         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
11527         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
11528         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
11529         * nptl/pthread_exit.c (__pthread_exit): Likewise.
11530         * nptl/pthread_join.c (pthread_join): Likewise.
11531         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
11532         * sysdeps/posix/waitid.c (__waitid): Likewise.
11533         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
11534         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
11535         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
11536         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
11537         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
11538         Likewise.
11539         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
11540         (__libc_pread64): Likewise.
11541         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
11542         (__libc_pwrite): Likewise.
11543         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
11544         (__libc_pwrite64): Likewsie.
11545         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
11546         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
11547         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
11548         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
11549         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
11550         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
11551         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
11552         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
11553         Likewise.
11554         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
11555         (__libc_pread64): Likewise.
11556         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
11557         Likewise.
11558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
11559         (__libc_pwrite64): Likewise.
11560         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
11561         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
11562         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
11563         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
11564         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
11565         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
11566         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
11567         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
11568         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
11569         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
11570         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
11571         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
11572         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
11573         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
11574         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
11575         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
11576         Likewise.
11578 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
11580         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
11581         (CFLAGS-test-double.c): Likewise.
11582         (CFLAGS-test-ldouble.c): Likewise.
11583         (CPPFLAGS-test-ifloat.c): Likewise.
11584         (CPPFLAGS-test-idouble.c): Likewise.
11585         (CPPFLAGS-test-ildoubl.c): Likewise.
11586         (CFLAGS-test-test-fenv.c): Remove variable.
11587         (CFLAGS-test-misc.c): Likewise.
11589 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
11591         [BZ #17797]
11592         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
11593         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
11594         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
11595         CLOCKS_PER_SEC == 1000000.
11596         * time/clocktest.c (main): Replace %ld with %jd and cast to
11597         intmax_t.
11599 2015-01-05  Roland McGrath  <roland@hack.frob.com>
11601         * sysdeps/generic/unwind-resume.h: New file.
11602         * sysdeps/gnu/unwind-resume.c: Include it.
11603         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
11604         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
11605         argument list.
11606         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
11607         global rather than static.
11608         (_Unwind_Resume): Update user.
11609         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
11610         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
11611         rather than static.  Add __attribute__ ((cold)).
11612         (_Unwind_Resume, __gcc_personality_v0): Update callers.
11613         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
11614         * sysdeps/arm/arm-unwind-resume.S: New file.
11615         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
11616         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
11617         * sysdeps/arm/Makefile [$(subdir) = csu]
11618         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
11619         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
11620         Add rt-arm-unwind-resume.
11621         [$(subdir) = nptl]
11622         (libpthread-sysdep_routines, libpthread-shared-only-routines):
11623         Add pt-arm-unwind-resume.
11624         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
11625         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
11627 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
11629         [BZ #17748]
11630         * include/fenv.h (__feholdexcept): Declare.  Use
11631         libm_hidden_proto.
11632         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
11633         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
11634         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
11635         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
11636         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
11637         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
11638         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
11639         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
11640         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
11641         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
11642         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
11643         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
11644         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
11645         (feholdexcept): Likewise.
11646         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
11647         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
11648         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
11649         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
11650         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
11651         __feholdexcept instead of feholdexcept.
11652         (default_libc_feholdexcept_setround): Likewise.
11654 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
11656         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
11657         to avoid using stl/str to align destination.
11659 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
11661         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
11663 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
11665         [BZ #17796]
11666         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
11667         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
11668         Define as weak alias not strong alias.
11670 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
11672         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
11673         bltzal with addiupc.
11674         (RTLD_START): Ditto.
11676 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
11678         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
11679         for __vdso_* functions in declarations.
11680         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
11681         definitions.
11682         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
11683         INTERNAL_VSYSCALL): Use struct return types to check for error.
11685         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
11686         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
11687         function with cast from llround().
11688         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
11689         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
11690         Define.
11692 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
11694         [BZ #17793]
11695         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
11696         Define as weak alias not strong alias.
11698         [BZ #17635]
11699         * ctype/ctype-c99.c: New file.  isblank implementation moved from
11700         ...
11701         * ctype/ctype-extn.c: ... here.
11702         (__isblank_l): Move to ...
11703         * ctype/ctype-c99_l.c: ... here.  New file.
11704         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
11705         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
11706         Remove variable.
11707         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
11708         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
11709         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
11710         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
11711         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
11713         [BZ #17777]
11714         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
11715         (posix_fadvise64): Define as weak alias not strong alias.
11716         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
11717         (posix_fallocate64): Likewise.
11718         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
11719         Remove variable.
11720         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
11721         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
11722         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
11723         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
11724         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
11726 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
11728         [BZ #16191]
11729         * NEWS: Mention bug fix.
11730         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
11731         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
11732         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
11733         (HOST_STACK_END_ADDR): Likewise.
11735 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
11737         [BZ #17748]
11738         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
11739         * math/fegetround.c (fegetround): Rename to __fegetround and
11740         define as weak alias of __fegetround.  Use libm_hidden_weak.
11741         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
11742         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
11743         * sysdeps/arm/fegetround.c (fegetround): Likewise.
11744         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
11745         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
11746         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
11747         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
11748         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
11749         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
11750         Undefine after rather than before function definition; use
11751         parentheses around function name in definition.
11752         (__fegetround): Also undefine macro after function definition.
11753         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
11754         __fegetround and define as weak alias of __fegetround.  Use
11755         libm_hidden_weak.  Do not undefine as macro.
11756         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
11757         Likewise.
11758         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
11759         __fegetround and define as weak alias of __fegetround.  Use
11760         libm_hidden_weak.
11761         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
11762         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
11763         * sysdeps/tile/math_private.h (__fegetround): New inline function.
11764         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
11765         __fegetround and define as weak alias of __fegetround.  Use
11766         libm_hidden_weak.
11767         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
11768         __fegetround instead of fegetround.
11770         [BZ #17782]
11771         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
11772         Condition macro definition on [__USE_MISC].
11774         [BZ #17781]
11775         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
11776         (struct sigaction): Change type of sa_flags field to int.
11778         [BZ #17780]
11779         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
11780         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
11781         __glibc_reserved0.
11783         * nptl/version.c (banner): Use single year in copyright notice.
11785         * NEWS: Update copyright dates.
11786         * catgets/gencat.c (print_version): Likewise.
11787         * csu/version.c (banner): Likewise.
11788         * debug/catchsegv.sh: Likewise.
11789         * debug/pcprofiledump.c (print_version): Likewise.
11790         * debug/xtrace.sh (do_version): Likewise.
11791         * elf/ldconfig.c (print_version): Likewise.
11792         * elf/ldd.bash.in: Likewise.
11793         * elf/pldd.c (print_version): Likewise.
11794         * elf/sotruss.sh: Likewise.
11795         * elf/sprof.c (print_version): Likewise.
11796         * iconv/iconv_prog.c (print_version): Likewise.
11797         * iconv/iconvconfig.c (print_version): Likewise.
11798         * locale/programs/locale.c (print_version): Likewise.
11799         * locale/programs/localedef.c (print_version): Likewise.
11800         * login/programs/pt_chown.c (print_version): Likewise.
11801         * malloc/memusage.sh (do_version): Likewise.
11802         * malloc/memusagestat.c (print_version): Likewise.
11803         * malloc/mtrace.pl: Likewise.
11804         * manual/libc.texinfo: Likewise.
11805         * nptl/version.c (banner): Likewise.
11806         * nscd/nscd.c (print_version): Likewise.
11807         * nss/getent.c (print_version): Likewise.
11808         * nss/makedb.c (print_version): Likewise.
11809         * posix/getconf.c (main): Likewise.
11810         * scripts/test-installation.pl: Likewise.
11811         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
11813 2015-01-02  Will Newton  <will.newton@linaro.org>
11815         * sysdeps/arm/armv7/configure: Removed.
11816         * sysdeps/arm/armv7/configure.ac: Likewise.
11818 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
11820         * All files with FSF copyright notices: Update copyright dates
11821         using scripts/update-copyrights.
11822         * intl/plural.c: Regenerated.
11823         * locale/programs/charmap-kw.h: Likewise.
11824         * locale/programs/locfile-kw.h: Likewise.
11826 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
11828         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
11830 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
11832         [BZ #17748]
11833         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
11834         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
11835         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
11836         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
11837         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
11838         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
11839         define as weak alias of __fegetenv.  Use libm_hidden_weak.
11840         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
11841         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
11842         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
11843         define as weak alias of __fegetenv.  Use libm_hidden_weak.
11844         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
11845         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
11846         define as weak alias of __fegetenv.  Use libm_hidden_weak.
11847         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
11848         libm_hidden_def.
11849         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
11850         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
11851         Likewise.
11852         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
11853         define as weak alias of __fegetenv.  Use libm_hidden_weak.
11854         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
11855         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
11856         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
11857         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
11858         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
11859         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
11860         __fegetenv instead of fegetenv.
11861         (libc_feholdsetround_noex_ctx): Likewise.
11863 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
11865         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
11866         (Elf_MIPS_ABIFlags_v0): New structure.
11867         (EF_MIPS_FP64): Define.
11868         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
11869         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
11870         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
11871         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
11872         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
11873         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
11874         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
11875         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
11876         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
11877         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
11878         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
11879         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
11880         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
11881         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
11882         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
11883         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
11884         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
11885         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
11886         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
11887         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
11888         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
11889         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
11890         field.
11891         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
11892         EF_MIPS_FP64.
11893         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
11894         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
11895         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
11896         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
11897         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
11898         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
11899         * sysdeps/mips/tst-abi-interlink.c: Likewise.
11900         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
11901         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
11902         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
11903         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
11904         record the current FP ABI extension.
11905         (mips-mode-switch): Define to show if kernel headers support mode
11906         switching.
11907         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
11908         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
11909         supported SYSV ABI version to 3.
11910         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
11911         feature.
11913 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11914             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11916         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
11917         path.
11918         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
11920 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
11922         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
11923         __fegetround and redefine to call __fegetround.  Remove condition
11924         on [!__NO_MATH_INLINES].
11925         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
11926         function.
11927         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
11928         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
11929         Remove macro.
11930         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
11931         instead of <fenv_libc.h>.
11932         (__llrintl): Call fegetround instead of __fegetround.
11933         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
11934         instead of <fenv_libc.h>.
11935         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
11936         (__lrintl): Call fegetround instead of __fegetround.
11937         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
11938         instead of <fenv_libc.h>.
11939         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
11940         (__rintl): Call fegetround instead of __fegetround.
11942 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
11944         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
11945         arrays.
11947 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
11949         [BZ #17775]
11950         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
11951         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
11952         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
11954 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
11956         * sysdeps/i386/tls-macros.h: Include <features.h>.
11957         (TLS_LE): Use non-PIC version for GCC >= 5.0.
11958         (TLS_IE): Likewise.
11959         (TLS_LD): Likewise.
11960         (TLS_GD): Likewise.
11961         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
11962         define for GCC >= 5.0.
11964 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
11966         * math/test-fenv.c (test_single_exception, set_single_exc,
11967         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
11968         feexcp_mask_test, feenable_test, fe_single_test): Add
11969         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
11970         case where they are not used.
11971         * math/libm-test.inc: Likewise.
11972         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
11973         unused in the absence of FP rounding/exception support.
11974         * stdio-common/tst-printf-round.c: Likewise.
11975         * stdlib/tst-strtod-round.c: Likewise.
11976         * stdlib/tst-strtod-underflow.c: Likewise.
11978 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
11980         [BZ #17723]
11981         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
11982         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
11983         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
11984         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
11985         libm_hidden_weak.
11986         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
11987         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
11988         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
11989         libm_hidden_def.
11990         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
11991         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
11992         libm_hidden_weak.
11993         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
11994         Likewise.
11995         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
11996         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
11997         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
11998         libm_hidden_weak.
11999         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
12000         libm_hidden_def.
12001         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
12002         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
12003         (__feraiseexcept): Likewise.
12004         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
12005         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
12006         libm_hidden_weak.
12007         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
12008         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
12009         libm_hidden_def.
12010         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
12011         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
12012         Use libm_hidden_def.
12013         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
12014         libm_hidden_def.
12015         (feraiseexcept): Define as weak not strong alias.  Use
12016         libm_hidden_weak.
12017         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
12018         New inline function.  Factored out of ...
12019         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
12020         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
12021         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
12022         feraiseexcept.
12023         * math/w_acos.c (__acos): Likewise.
12024         * math/w_asin.c (__asin): Likewise.
12025         * math/w_ilogb.c (__ilogb): Likewise.
12026         * math/w_j0.c (y0): Likewise.
12027         * math/w_j1.c (y1): Likewise.
12028         * math/w_jn.c (yn): Likewise.
12029         * math/w_log.c (__log): Likewise.
12030         * math/w_log10.c (__log10): Likewise.
12031         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
12032         * sysdeps/aarch64/fpu/math_private.h
12033         (libc_feupdateenv_test_aarch64): Likewise.
12034         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
12035         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
12036         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
12037         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
12038         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
12039         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
12040         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
12041         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
12042         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
12043         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
12045 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
12047         [BZ #17732]
12048         * io/test-utime.c (main): Replace %ld with %jd and cast to
12049         intmax_t.
12050         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
12051         * nptl/tst-mutex5.c: Include <stdint.h>.
12052         (do_test): Replace %ld with %jd and cast to intmax_t.
12053         * posix/tst-regex.c (run_test): Likewise.
12054         (run_test_backwards): Likewise.
12055         * rt/tst-clock.c: Include <stdint.h>.
12056         (clock_test): Replace %ld with %jd and cast to intmax_t.
12057         * rt/tst-cpuclock1.c: Include <stdint.h>.
12058         (do_test): Replace %lu with %ju and cast to uintmax_t.
12059         * rt/tst-cpuclock2.c: Include <stdint.h>.
12060         (do_test): Replace %lu with %ju and cast to uintmax_t.
12061         * rt/tst-mqueue1.c: Include <stdint.h>.
12062         (check_attrs): Replace %ld with %jd and cast to intmax_t.
12063         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
12064         intmax_t.
12065         * rt/tst-mqueue4.c (do_test): Likewise.
12066         * rt/tst-timer4.c: Include <stdint.h>.
12067         (check_ts): Replace %ld with %jd and cast to intmax_t.
12068         (do_test): Likewise.
12069         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
12070         and cast to intmax_t.
12071         * sysdeps/pthread/tst-timer.c (main): Likewise.
12072         * time/clocktest.c (main): Likewise.
12073         * time/tst-posixtz.c (do_test): Likewise.
12074         * timezone/tst-timezone.c (main): Likewise.
12076 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
12077             H.J. Lu  <hongjiu.lu@intel.com>
12079         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
12080         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
12081         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
12082         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
12083         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
12084         version if bit_Fast_Unaligned_Load is set.
12085         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
12086         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
12087         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
12088         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
12089         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
12090         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
12091         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12092         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
12093         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
12094         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
12095         to 4.
12096         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
12097         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
12098         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
12099         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
12101 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
12103         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
12104         instead of #if to avoid a Wundef warning.
12105         * stdlib/tst-limits.c (do_test): Likewise.
12107         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
12108         parallel other exception macros.
12109         (fegetenv): Convert from macro to extern inline so that it applies
12110         retroactively to inline functions already seen by the compiler.
12111         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
12113         * posix/Makefile (before-compile): Use $(objpfx) for
12114         posix-conf-vars-def.h.
12116 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
12118         * posix/getconf.c (main): Use size_t for type of I.
12119         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
12120         NSPEC.
12122         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
12123         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
12124         * posix/posix-envs.def: Likewise.
12125         * sysdeps/posix/sysconf.c: Likewise.
12126         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
12127         (specs): Remove array.
12128         * scripts/gen-posix-conf-vars.awk: Support generation of specs
12129         array.
12131         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
12132         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
12133         (__sysconf): Use CONF_IS_* macros.
12135         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
12136         ($(objpfx)posix-conf-vars-def.h): New target.
12137         * posix/posix-conf-vars.list: New file.
12138         * posix/posix-conf-vars.h: New file.
12139         * posix/confstr.c: Include posix-conf-vars.h.
12140         (confstr): Use CONF_IS_* macros.
12141         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
12142         CONF_IS_* macros.
12143         * scripts/gen-posix-conf-vars.awk: New file.
12145 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
12147         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
12148         fegetround): Add no-op macros to avoid linknamespace issues.
12150         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
12151         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
12153         * sysdeps/unix/sysv/linux/tile/sysdep.h
12154         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
12155         assembly-specific section to avoid a redefinition warning.
12157         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
12158         long before casting to pointer to avoid a cast warning.
12160 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
12162         * sysdeps/tile/tilegx/Implies: New file.
12164 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
12166         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
12168 2014-12-23  Florian Weimer  <fweimer@redhat.com>
12170         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
12172 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
12174         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
12175         not define.
12176         * sysdeps/unix/sysv/linux/utimes.c: Do not include
12177         <kernel-features.h>.
12178         (__utimes) [__NR_utimes]: Make code unconditional.
12179         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
12180         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12181         (__ASSUME_UTIMES): Do not undefine.
12182         * sysdeps/unix/sysv/linux/tile/kernel-features.h
12183         (__ASSUME_UTIMES): Likewise.
12184         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
12185         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
12186         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
12187         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
12189 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
12191         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
12193 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
12195         [BZ #17747]
12196         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
12197         alias to weak alias for j0l, y0l.
12198         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
12199         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
12201         [BZ #17746]
12202         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
12203         conversion.
12205 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
12207         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
12208         to zero if not already defined.
12210 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
12212         [BZ #17724]
12213         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
12214         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
12215         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
12216         (char *) casts added.
12217         * sysdeps/ieee754/k_standardf.c: New file.
12218         * sysdeps/ieee754/k_standardl.c: Likewise.
12219         * math/Makefile (libm-support): Remove k_standard.
12220         (libm-calls): Add k_standard.
12222 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
12224         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
12225         Optimize to avoid an unnecessary FPCR read.
12227 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
12229         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
12230         Optimize to reduce FPCR/FPSR accesses.
12232 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
12234         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
12235         Call libc_fetestexcept_aarch64.
12237 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
12239         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
12240         Call libc_fesetround_aarch64.
12242 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
12244         [BZ #17733]
12245         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
12246         (__bind): Do not define as weak alias.
12247         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
12248         define.
12249         (__getsockname): Do not define as weak alias.
12251 2014-12-22  Will Newton  <will.newton@linaro.org>
12253         * manual/install.texi: Document that we require bison 2.7
12254         or above.
12255         * INSTALL: Regenerate.
12256         * configure.ac: Use AC_CHECK_PROG_VER instead of
12257         AC_PATH_PROG when checking for bison and check for
12258         version 2.7 or above.
12259         * configure: Regenerate.
12261 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
12263         [BZ #17745]
12264         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
12265         * sysdeps/tile/ffsll.c (ffsll): To here.
12267         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
12269 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
12271         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
12272         if not defined.
12273         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
12274         definition.
12275         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
12276         hidden ___tls_get_addr.
12277         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
12278         hidden __tls_get_addr.
12279         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
12280         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
12281         Likewise.
12283 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
12285         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
12286         _dl_init call.
12288 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
12290         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
12291         from "call _dl_init@PLT".
12292         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
12294 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
12296         * manual/search.texi: (Array Sort Function): Clarify stable sorting
12297         guarantees.
12299 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
12301         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
12303 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
12305         [BZ #17744]
12306         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
12307         strnlen.
12309 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
12311         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
12312         of multu on MIPSr6.
12313         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
12314         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
12315         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
12316         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
12317         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
12319 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
12321         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
12322         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
12323         (PTR_SUBU): Use subu for mips32r6/mips64r6.
12324         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
12325         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
12326         mips32r6/mips64r6.
12327         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
12329 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
12331         * string/strncat.c (STRNCAT): Simplify implementation.
12333 2014-12-19  David S. Miller  <davem@davemloft.net>
12335         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
12336         access the quad as both a long double and as a series of 4 words.
12338         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
12339         link_map->l_info array access.
12341 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
12343         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
12345         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
12346         * math/atest-exp2.c (TIMEOUT): Likewise.
12347         * math/atest-sincos.c (TIMEOUT): Likewise.
12349 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
12351         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
12352         -Wno-error with -fno-builtin-lround.
12354 2014-12-19  Torvald Riegel  <triegel@redhat.com>
12356         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
12357         Contains futex constants and functions moved over from ...
12358         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
12359         <lowlevellock-futex.h>.
12360         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
12361         (lll_timedwait_tid): Add comments and parentheses around macro
12362         arguments.
12364 2014-12-19  Torvald Riegel  <triegel@redhat.com>
12366         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
12367         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
12368         (__lll_private_flag): Remove.
12369         (lll_futex_wait): Likewise.
12370         (lll_futex_timed_wait): Likewise.
12371         (lll_futex_wake): Likewise.
12372         (lll_futex_requeue): Likewise.
12373         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
12374         (__lll_timedwait_tid): Spell out argument names.
12375         (lll_timedwait_tid): Add comments and parentheses around macro
12376         arguments.
12377         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
12378         LLL_SHARED and LLL_PRIVATE usable from assembly code.
12380 2014-12-19  Torvald Riegel  <triegel@redhat.com>
12382         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
12383         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
12384         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
12385         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
12386         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
12387         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
12388         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
12389         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
12390         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
12391         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
12392         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
12393         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
12394         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
12395         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
12396         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
12397         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
12398         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
12399         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
12400         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
12402 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
12404         * sysdeps/x86_64/x32/Makefile: New file.
12406 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
12408         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
12409         1L with (mp_limb_t) 1.
12411 2014-12-17  Roland McGrath  <roland@hack.frob.com>
12413         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
12414         * nptl/libc_pthread_init.c: ... here.
12415         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
12416         * nptl/register-atfork.c: ... here.
12418         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
12419         Use pthread_sigmask rather than INTERNAL_SYSCALL.
12420         Use assert_perror to check its return value.
12421         (__gai_create_helper_thread): Likewise.
12423         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
12425         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
12427 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
12429         [BZ #17725]
12430         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
12431         __profil_counter.
12432         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
12433         Likewise.
12434         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
12435         Likewise.
12436         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
12437         Likewise.
12438         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
12439         (profil_counter): Likewise.
12440         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
12441         (profil_counter): Likewise.
12442         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
12443         Likewise.
12444         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
12445         Likewise.
12446         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
12447         (profil_counter): Likewise.
12448         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
12449         Likewise.
12450         [!__profil_counter] (profil_counter): Define as weak alias of
12451         __profil_counter.
12452         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
12453         (profil_counter): Rename to __profil_counter.
12454         [!__profil_counter] (profil_counter): Define as weak alias of
12455         __profil_counter.
12456         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
12457         (profil_counter): Rename to __profil_counter.
12458         [!__profil_counter] (profil_counter): Define as weak alias of
12459         __profil_counter.
12460         * sysdeps/posix/profil.c: Update comment referring to
12461         profil_counter.
12462         (__profil): Use __profil_counter instead of profil_counter.
12463         * sysdeps/posix/sprofil.c (profil_counter): Rename to
12464         __profil_counter.  Use __profil_counter_ushort and
12465         __profil_counter_uint in definitions.
12466         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
12467         instead of profil_counter_uint and profil_counter_ushort.
12469         [BZ #17722]
12470         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
12471         define as weak alias of __inet_makeaddr.
12472         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
12473         as weak alias of __inet_addr.
12474         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
12475         as weak alias of __inet_pton.  Use libc_hidden_weak.
12476         * include/arpa/inet.h (__inet_pton): Declare.  Use
12477         libc_hidden_proto.
12478         (inet_makeaddr): Don't use libc_hidden_proto.
12479         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
12480         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
12481         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
12482         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
12483         Remove variable.
12484         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
12485         (test-xfail-POSIX/time.h/linknamespace): Likewise.
12487 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
12489         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
12491 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
12493         * stdio-common/bug-vfprintf-nargs.c (do_test):
12494         Cast value to intptr_t to avoid format warning
12495         for usage with PRIdPTR printing macro.
12497 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
12499         * libio/tst-widetext.c (do_test):
12500         Use format type %td instead of %Zd for ptrdiff_t
12501         in order to avoid format warning.
12503 2014-12-17  Andreas Schwab  <schwab@suse.de>
12505         * nscd/mem.c (gc): Add size_t cast to match printf format.
12507 2014-12-16  Roland McGrath  <roland@hack.frob.com>
12509         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
12510         (init): Apply PTR_MANGLE to pointers before storing them.
12511         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
12512         before using them.
12514 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
12516         [BZ #17719]
12517         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
12518         define as weak alias of __memrchr.
12519         (__memrchr): Do not define as strong alias of memrchr.
12520         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
12521         Remove variable.
12522         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
12523         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
12524         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
12526         [BZ #17717]
12527         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
12528         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
12529         (if_indextoname): Rename to __if_indextoname and define as weak
12530         alias of __if_indextoname.  Use libc_hidden_weak.
12531         (if_freenameindex): Rename to __if_freenameindex and define as
12532         weak alias of __if_freenameindex.
12533         (if_nameindex): Rename to __if_nameindex and define as weak alias
12534         of __if_nameindex.
12535         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
12536         __if_nametoindex and define as weak alias of __if_nametoindex.
12537         Use libc_hidden_weak.
12538         (if_freenameindex): Rename to __if_freenameindex and define as
12539         weak alias of __if_freenameindex.
12540         (if_nameindex): Rename to __if_nameindex and define as weak alias
12541         of __if_nameindex.
12542         (if_indextoname): Rename to __if_indextoname and define as weak
12543         alias of __if_indextoname.  Use libc_hidden_weak.
12544         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
12545         __if_nametoindex and define as weak alias of __if_nametoindex.
12546         Use libc_hidden_weak.
12547         (if_freenameindex): Rename to __if_freenameindex and define as
12548         weak alias of __if_freenameindex.  Use libc_hidden_weak.
12549         (if_nameindex_netlink): Use __if_freenameindex instead of
12550         if_freenameindex.
12551         (if_nameindex): Rename to __if_nameindex and define as weak alias
12552         of __if_nameindex.  Use libc_hidden_weak.
12553         (if_indextoname): Rename to __if_indextoname and define as weak
12554         alias of __if_indextoname.  Use libc_hidden_weak.
12555         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
12556         libc_hidden_proto.
12557         [!_ISOMAC] (__if_freenameindex): Likewise.
12558         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
12559         if_nametoindex.
12560         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
12561         variable.
12562         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
12563         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
12564         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
12565         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
12566         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
12567         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
12568         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
12570         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
12571         Remove variable.
12572         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
12573         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
12575 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
12577         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
12578         subscript above bounds'
12580         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
12581         bounds.
12583 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
12585         * libio/tst-fopenloc.c: Use test-skeleton.c.
12587         * stdlib/tst-bsearch.c: Use test-skeleton.c.
12588         (entry): Rename to ITEM.
12589         (do_test, comp): Adjust.
12591         * stdio-common/tst-fseek.c: Use test-skeleton.c.
12593 2014-12-16  Torvald Riegel  <triegel@redhat.com>
12595         * string/tester.c: Include <libc-internal.h>.
12596         (test_memset): Ignore -Wmemset-transposed-args.
12598 2014-12-16  Torvald Riegel  <triegel@redhat.com>
12600         * misc/tst-mntent2.c (do_test): Fix warning.
12602 2014-12-16  Torvald Riegel  <triegel@redhat.com>
12604         * elf/tst-unique4lib.cc(a): Mark as used.
12606 2014-12-16  Florian Weimer  <fweimer@redhat.com>
12608         [BZ #17630]
12609         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
12610         names.
12612 2014-12-16  Allan McRae  <allan@archlinux.org>
12614         * stdio-common/Makefile (tests): Re-add bug26.
12616 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
12618         [BZ #17657]
12619         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
12620         static array.
12622 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
12624         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
12625         (__lll_lock_wait): Likewise.
12626         (__lll_timedlock_wait): Likewise.
12627         (__lll_timedwait_tid): Likewise.
12628         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
12629         (__lll_robust_timedlock_wait): Likewise.
12630         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
12631         (lll_cond_trylock): Likewise.
12632         (__lll_lock): Likewise.
12633         (__lll_robust_lock): Likewise.
12634         (__lll_cond_lock): Likewise.
12635         (lll_robust_cond_lock): Likewise.
12636         (__lll_timedlock): Likewise.
12637         (__lll_robust_timedlock): Likewise.
12638         (__lll_unlock): Likewise.
12639         (__lll_robust_unlock): Likewise.
12640         (lll_wait_tid): Likewise.
12641         (lll_timedwait_tid): Likewise.
12643 2014-12-15  Torvald Riegel  <triegel@redhat.com>
12645         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
12647 2014-12-15  Torvald Riegel  <triegel@redhat.com>
12649         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
12651 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
12653         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
12654         * stdio-common/tst-sprintf.c: Likewise.
12656 2014-12-15  Torvald Riegel  <triegel@redhat.com>
12658         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
12660 2014-12-15  Jeff Law  <law@redhat.com>
12662         [BZ #16617]
12663         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
12664         on the heap.  (CVE-2012-3406)
12665         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
12666         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
12667         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
12669 2014-12-15  Will Newton  <will.newton@linaro.org>
12671         * manual/install.texi: Bump required version of texinfo
12672         to 4.7 from 4.5.
12673         * INSTALL: Regenerated.
12674         * configure.ac: Check for makeinfo version 4.7 and above.
12675         * configure: Regenerated.
12677 2014-12-12  Roland McGrath  <roland@hack.frob.com>
12679         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
12680         PREFIX, string constant to insert between directory and name.
12681         * sysdeps/posix/shm_open.c: Update caller.
12682         * sysdeps/posix/shm_unlink.c: Likewise.
12683         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
12684         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
12685         (SEM_SHM_PREFIX): New macro.
12686         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
12687         [$(have-thread-library) = no].
12688         * nptl/Makefile (libpthread-routines): Add shm-directory.
12689         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
12690         * sysdeps/nptl/shm-directory.h: New file.
12691         * sysdeps/posix/shm-directory.c
12692         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
12693         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
12694         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
12695         INTERNAL_SYSCALL.
12696         (__where_is_shmfs): Function removed.
12697         (mountpoint, defaultmount, defaultdir, __namedsem_once):
12698         Variables removed.
12699         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
12700         Use SHM_GET_NAME.
12701         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
12703         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
12704         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
12705         unconditional for use inside libpthread.
12706         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
12708 2014-12-12  Roland McGrath  <roland@hack.frob.com>
12710         * nptl/pthread_getaffinity.c: New file.
12711         * nptl/pthread_setaffinity.c: New file.
12712         * nptl/pthread_getname.c: New file.
12713         * nptl/pthread_setname.c: New file.
12715         * nptl/pthread_create.c (START_THREAD_DEFN)
12716         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
12718 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
12719             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12721         * resolv/res_send.c (send_vc): Disable warning resplen may
12722         be used uninitialized.
12724 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
12726         * nptl/tst-mutex6.c
12727         (ATTR_NULL): New define checks ATTR against NULL.
12728         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
12729         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
12731 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
12733         [BZ #17581]
12734         * malloc/hooks.c
12735         (mem2mem_check): Revert my previous change.
12736         (malloc_check_get_size): Revert my previous change.
12737         (mem2chunk_check): Revert my previous change.
12739 2014-12-11  Roland McGrath  <roland@hack.frob.com>
12741         * sysdeps/posix/shm-directory.c: New file.
12742         * sysdeps/posix/shm-directory.h: New file.
12743         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
12744         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
12745         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
12746         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
12747         Transmute EPERM to EACCES.
12748         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
12749         from ...
12750         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
12751         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
12753 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12755         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
12756         pointer and cast to uintptr_t.
12757         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
12758         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
12759         Add cast to avoid warning.
12760         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
12762 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
12764         * nptl/semaphore.h: Move to ...
12765         * sysdeps/pthread/semaphore.h: ... here.
12766         * Makefile (installed-headers): Change nptl/semaphore.h to
12767         sysdeps/pthread/semaphore.h.
12769 2014-12-11  Roland McGrath  <roland@hack.frob.com>
12771         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
12772         generated error format strings.
12774         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
12775         -Wformat-extra-args warnings for scanf formats.
12776         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
12777         test of zero-length format (duh).
12778         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
12779         corner-case scanf format test.
12780         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
12781         generated fprintf format string.
12782         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
12783         corner-case sprintf format tests.
12784         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
12785         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
12786         -Wformat-extra-args warnings throughout.
12787         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
12788         (CFLAGS-scanf4.c): Likewise.
12789         (CFLAGS-scanf7.c): Likewise.
12790         (CFLAGS-tst-sprintf.c): Likewise.
12791         (CFLAGS-tst-printf.c): Likewise.
12792         (CFLAGS-tst-printfsz.c): Likewise.
12794 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
12796         * include/cpio.h: New file.
12797         * include/fmtmsg.h: Likewise.
12799         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
12800         corresponding format argument to size_t.
12801         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
12802         arguments.
12803         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
12804         corresponding format argument to size_t.
12805         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
12806         arguments.
12807         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
12808         corresponding format argument to size_t.
12809         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
12810         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
12811         (CFLAGS-tst-mbswcs2.c): Likewise.
12812         (CFLAGS-tst-mbswcs3.c): Likewise.
12813         (CFLAGS-tst-mbswcs4.c): Likewise.
12814         (CFLAGS-tst-mbswcs5.c): Likewise.
12815         (CFLAGS-tst-trans.c): Likewise
12817 2014-12-11  Roland McGrath  <roland@hack.frob.com>
12819         * posix/regexbug1.c (main): Use "%s" format with regerror results,
12820         rather than assuming they won't contain any '%'s.
12822 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
12824         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
12825         inhibit_loop_to_libcall to avoid recursive calls.
12826         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
12827         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
12829 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
12831         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
12832         prototype.
12834 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
12836         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
12837         integer value instead of boolean.
12839 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
12841         * malloc/malloc.c: Fix powerof2 check.
12843 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
12845         * locale/programs/locfile.h (maybe_swap_uint32):
12846         Remove inline and add unused attribute.
12848 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
12850         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
12851         Truncating assembler expression to a .long expression.
12853 2014-12-11  Andreas Schwab  <schwab@suse.de>
12855         * elf/rtld.c (struct map_args): Constify str member.
12856         (do_preload): Constify fname argument.
12858 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12860         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
12861         constants definition.
12863 2014-12-11  Andreas Schwab  <schwab@suse.de>
12865         [BZ #16657]
12866         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
12867         FORCE_ELISION instead of DO_ELISION.
12868         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
12869         Remove.
12870         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
12871         Likewise.
12873         * iconvdata/gconv-modules: Remove duplicate entry.
12875 2014-12-11  Will Newton  <will.newton@linaro.org>
12877         Merge gettext 0.19.3 into intl/.
12879         This involves a number of cosmetic changes to comments
12880         and ANSI function definitions and prototypes throughout
12881         all the files. The gettext copyright header is used but
12882         with the date ranges taken from the glibc copy.
12884         * NEWS: Add gettext merge to 2.21.
12885         * intl/bindtextdom.c: Switch to gettext copyright.
12886         Use ANSI definitions and prototypes.
12887         Use gl_* locking primitives rather than __libc_* ones.
12888         Use __builtin_expect rather than __glibc_likely/unlikely.
12889         * intl/dcgettext.c: Switch to gettext copyright.
12890         Use ANSI definitions and prototypes.
12891         * intl/dcigettext.c: Switch to gettext copyright.
12892         Use ANSI definitions and prototypes.
12893         (INTDIV0_RAISES_SIGFPE): New define.
12894         Use gl_* locking primitives rather than __libc_* ones.
12895         Include eval-plural.h instead of plural-eval.c.
12896         Use __builtin_expect rather than __glibc_likely/unlikely.
12897         * intl/dcngettext.c: Switch to gettext copyright.
12898         Use ANSI definitions and prototypes.
12899         * intl/dgettext.c: Likewise.
12900         * intl/dngettext.c: Likewise.
12901         * intl/plural-eval.c: Renamed to...
12902         * intl/eval-plural.h: ...this.
12903         * intl/explodename.c: Switch to gettext copyright.
12904         Use ANSI definitions and prototypes.
12905         (_nl_explode_name): Use strchr instead of __rawmemchr.
12906         * intl/finddomain.c: Switch to gettext copyright.
12907         Use ANSI definitions and prototypes.
12908         Use gl_* locking primitives rather than __libc_* ones.
12909         (_nl_find_domain): Use malloc rather than alloca for
12910         allocation of temporary locale name.
12911         * intl/gettext.c: Switch to gettext copyright.
12912         Use ANSI definitions and prototypes.
12913         * intl/gettextP.h: Switch to gettext copyright.
12914         Use ANSI definitions and prototypes.
12915         Use gl_* locking primitives rather than __libc_* ones.
12916         * intl/gmo.h: Switch to gettext copyright.
12917         (struct sysdep_string): Move struct segment_pair outside of
12918         struct definition.
12919         * intl/hash-string.c: Use ANSI definitions and prototypes.
12920         * intl/hash-string.h: Switch to gettext copyright.
12921         Use ANSI definitions and prototypes.
12922         * intl/l10nflist.c: Switch to gettext copyright.
12923         Use ANSI definitions and prototypes.
12924         (_nl_normalize_codeset): Avoid integer overflow.
12925         * intl/loadinfo.h: Switch to gettext copyright.
12926         Use ANSI definitions and prototypes.
12927         (LIBINTL_DLL_EXPORTED): New define.
12928         (PATH_SEPARATOR): New define.
12929         * intl/loadmsgcat.c: Switch to gettext copyright.
12930         * intl/localealias.c: Switch to gettext copyright.
12931         Use ANSI definitions and prototypes.
12932         (_nl_expand_alias): Use PATH_SEPARATOR.
12933         * intl/ngettext.c: Switch to gettext copyright.
12934         Use ANSI definitions and prototypes.
12935         * intl/plural-exp.c: Likewise.
12936         * intl/plural-exp.h: Switch to gettext copyright.
12937         Use ANSI definitions and prototypes.
12938         (struct expression): Move definition of enum operator outside
12939         of struct definition.
12940         * intl/plural.c: Regenerate.
12941         * intl/plural.y: Switch to gettext copyright.
12942         Use ANSI definitions and prototypes.
12943         Port to bison 3.0.
12944         * intl/textdomain.c: Switch to gettext copyright.
12945         Use ANSI definitions and prototypes.
12946         Use gl_* locking primitives rather than __libc_* ones.
12948 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
12950         * debug/warning-nop.c: Add used atrribute.
12952 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
12954         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
12956         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
12957         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
12958         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
12960 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
12961             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12963         [BZ #17634]
12964         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
12965         Undefine after defining function.  Define as weak alias of
12966         __wcschr.  Use libc_hidden_weak.
12967         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
12968         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
12969         (libc_hidden_def): Also define __GI___wcschr alias.
12970         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
12971         __wcschr and define as weak alias of __wcschr.
12972         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
12973         __wcschr.
12974         [!WCSCHR] (DEFAULT_WCSCHR): Define.
12975         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
12976         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
12977         libc_hidden_weak.  Do not use libc_hidden_def.
12978         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
12979         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
12980         __GI___wcschr alias.
12981         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
12982         [IS_IN (libc)] (wcschr): Define as macro expanding to
12983         __redirect_wcschr.
12984         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
12985         [IS_IN (libc)] (__wcschr_power6): Likewise.
12986         [IS_IN (libc)] (__wcschr_power7): Likewise.
12987         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
12988         instead of wcschr.
12989         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
12990         __libc_wcschr.
12991         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
12992         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
12993         __wcschr and define as weak alias of __wcschr.  Use
12994         libc_hidden_builtin_def.
12995         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
12996         as weak alias of __wcschr.  Use libc_hidden_weak.
12997         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
12998         wcschr.
12999         * time/era.c (_nl_init_era_entries): Likewise.
13000         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
13001         variable.
13002         (test-xfail-XPG3/time.h/linknamespace): Likewise.
13003         (test-xfail-XPG4/time.h/linknamespace): Likewise.
13005 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
13007         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
13008         format for long int variable.
13010 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
13012         [BZ #10672]
13013         * manual/search.texi: (Array Sort Function): Remove claim how to make
13014         qsort stable.
13016 2014-12-10  Andreas Schwab  <schwab@suse.de>
13018         [BZ #12847]
13019         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
13020         user-controlled locks.
13022 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
13024         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
13025         register.
13027 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
13029         * configure.ac (--disable-werror): New configure option.
13030         (enable_werror): New AC_SUBST.
13031         * configure: Regenerated.
13032         * config.make.in (enable-werror): New variable.
13033         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
13034         -Wno-error=undef.
13035         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
13036         * manual/install.texi (Configuring and compiling): Document
13037         --disable-werror.
13038         * INSTALL: Regenerated.
13039         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
13040         (CFLAGS-tst-chk2.c): Likewise.
13041         (CFLAGS-tst-chk3.c): Likewise.
13042         (CFLAGS-tst-chk4.cc): Likewise.
13043         (CFLAGS-tst-chk5.cc): Likewise.
13044         (CFLAGS-tst-chk6.cc): Likewise.
13045         (CFLAGS-tst-lfschk1.c): Likewise.
13046         (CFLAGS-tst-lfschk2.c): Likewise.
13047         (CFLAGS-tst-lfschk3.c): Likewise.
13048         (CFLAGS-tst-lfschk4.cc): Likewise.
13049         (CFLAGS-tst-lfschk5.cc): Likewise.
13050         (CFLAGS-tst-lfschk6.cc): Likewise.
13052         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
13053         (main): Disable -Wdeprecated-declarations around calls to
13054         register_printf_function.
13056         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
13057         (do_test): Disable -Wdiv-by-zero around some calls to
13058         fwrite_unlocked and fread_unlocked.
13060         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
13061         (DIAG_POP_NEEDS_COMMENT): Likewise.
13062         (_DIAG_STR1): Likewise.
13063         (_DIAG_STR): Likewise.
13064         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
13065         * stdio-common/bug21.c: Include <libc-internal.h>.
13066         (do_test): Disable -Wformat around call to sscanf.
13067         * stdio-common/scanf14.c: Include <libc-internal.h>.
13068         (main): Disable -Wformat around some calls to scanf functions.
13070 2014-12-09  Torvald Riegel  <triegel@redhat.com>
13072         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
13074 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13076         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
13077         stack variable alignment.
13079 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
13081         [BZ #17682]
13082         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
13083         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
13084         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
13085         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
13086         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
13087         __getrlimit instead of getrlimit.
13088         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
13089         __gettimeofday instead of gettimeofday.
13090         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
13091         Likewise.
13092         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
13093         Likewise.
13094         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
13095         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
13096         Remove variable.
13097         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
13098         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
13100 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13102         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
13103         for wide-character tests.
13105 2014-12-04  Roland McGrath  <roland@hack.frob.com>
13107         * io/openat64.c: #include <libc-internal.h>
13108         (__openat64): Prototypify.  Use ignore_value on MODE.
13109         * io/openat.c: Likewise.
13110         * misc/reboot.c: #include <libc-internal.h>
13111         (reboot): Prototypify.  Use ignore_value on HOWTO.
13112         * misc/ptrace.c: #include <libc-internal.h>
13113         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
13115 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
13117         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
13118         XPG4, UNIX98 and XOPEN2K.
13119         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
13120         Remove variable.
13121         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
13123 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
13125         * libio/fileops.c: Use ISO C style for function definitions.
13126         * libio/iofopen.c: Likewise.
13127         * libio/wfileops.c: Likewise.
13129         [BZ #17653]
13130         * libio/fileops.c (_IO_new_file_underflow): Unset cached
13131         offset on EOF.
13132         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
13133         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
13134         (fgets_func): Function pointer to fgets and fgetws.
13135         (do_ftell_test): Add test to verify ftell value after read
13136         EOF.
13137         (do_test): Set fgets_func.
13139         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
13140         O_TRUNC flag for w and w+ modes.
13141         (do_rewind_test): Likewise.
13142         (do_ftell_test): Likewise.
13143         (do_write_test): Likewise.
13145         [BZ #17647]
13146         * libio/fileops.c (do_ftell): Seek only when there are
13147         unflushed writes.
13148         * libio/wfileops.c (do_ftell_wide): Likewise.
13149         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
13150         test case.
13151         (do_one_test): Call it.
13153 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
13155         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
13156         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
13157         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
13158         Remove variable.
13159         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
13160         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
13161         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
13163 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
13165         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
13166         Remove variable.
13167         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
13169         [BZ #17668]
13170         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
13171         as weak alias of __getifaddrs.  Use libc_hidden_weak.
13172         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
13173         __freeifaddrs.  Use libc_hidden_weak.
13174         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
13175         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
13176         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
13177         __freeifaddrs.  Use libc_hidden_weak.
13178         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
13179         __getifaddrs and define as weak alias of __getifaddrs.  Use
13180         libc_hidden_weak.
13181         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
13182         __freeifaddrs.  Use libc_hidden_weak.
13183         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
13184         Remove variable.
13185         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
13186         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
13188 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
13190         [BZ #17601]
13191         * sysdeps/mips/start.S (__start): Use indirect jump to call
13192         __libc_start_main.
13194 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
13196         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
13198         * nptl/tst-mutex1.c: Include <stdbool.h>.
13199         [!ATTR] (ATTR_NULL): New macro.
13200         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
13201         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
13202         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
13204         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
13205         to char *.
13207         [BZ #17665]
13208         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
13209         Change conditional to [__USE_MISC].
13211         [BZ #17664]
13212         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
13213         fgets_unlocked.
13214         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
13215         __fgets_unlocked.
13216         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
13217         fgets_unlocked.
13218         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
13219         Remove variable.
13220         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
13221         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
13222         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
13223         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
13224         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
13225         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
13226         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
13227         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
13228         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
13230         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
13232 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13234         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
13235         Remove strpbrk objects.
13236         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13237         (__libc_ifunc_impl_list): Remove strpbrk implementation.
13238         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
13239         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
13240         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
13241         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
13243         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
13244         Remove strcspn objects.
13245         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13246         (__libc_ifunc_impl_list): Remove strcspn implementation.
13247         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
13248         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
13249         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
13250         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
13252         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
13253         Remove strspn objetcs.
13254         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13255         (__libc_ifunc_impl_list): Remove strspn implementation.
13256         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
13257         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
13258         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
13259         * sysdeps/powerpc/powerpc64/strspn.S: New file.
13261 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
13263         [BZ #17581]
13264         * malloc/hooks.c
13265         (mem2mem_check): Add a terminator to the chain of checking blocks.
13266         (malloc_check_get_size): Use it here.
13267         (mem2chunk_check): Ditto.
13269 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13271         * sysdeps/powerpc/powerpc64/strtok.S: New file.
13272         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
13274 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
13276         * bits/ioctl-types.h: Indent preprocessor directives correctly.
13278         * nptl/nptl-init.c: Include libc-internal.h.
13279         (__pthread_initialize_minimal_internal): Use ROUND_UP.
13281         * elf/ldconfig.c (search_dir): Expand comment.
13283 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
13285         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
13286         variable.
13287         (linknamespace-symlist-stdlibs-tests): Likewise.
13288         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
13289         instead of $(objpfx)symlist-stdlibs.
13290         (linknamespace-libs-isoc): New variable.
13291         (linknamespace-libs): Use $(linknamespace-libs-isoc).
13292         (linknamespace-libs-ISO): New variable.
13293         (linknamespace-libs-ISO99): Likewise.
13294         (linknamespace-libs-ISO11): Likewise.
13295         (linknamespace-libs-XPG3): Likewise.
13296         (linknamespace-libs-XPG4): Likewise.
13297         (linknamespace-libs-POSIX): Likewise.
13298         (linknamespace-libs-UNIX98): Likewise.
13299         (linknamespace-libs-XOPEN2K): Likewise.
13300         (linknamespace-libs-POSIX2008): Likewise.
13301         (linknamespace-libs-XOPEN2K8): Likewise.
13302         ($(objpfx)symlist-stdlibs): Replace by
13303         $(linknamespace-symlist-stdlibs-tests).  Use
13304         $(linknamespace-libs-$*) as set of libraries.
13305         ($(linknamespace-header-tests)): Update dependencies.  Use
13306         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
13307         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
13308         * conform/linknamespace.pl: Remove comment about considering
13309         definitions of symbols from irrelevant libraries.
13311 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
13313         [BZ #13862]
13314         * elf/dl-tls.c: Include <atomic.h>.
13315         (oom): Remove #ifdef SHARED/#endif.
13316         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
13317         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
13318         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
13319         big enough.
13320         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
13321         * nptl/Makefile (tests): Add tst-stack4.
13322         (modules-names): Add tst-stack4mod.
13323         ($(objpfx)tst-stack4): New.
13324         (tst-stack4mod.sos): Likewise.
13325         ($(objpfx)tst-stack4.out): Likewise.
13326         ($(tst-stack4mod.sos)): Likewise.
13327         (clean): Likewise.
13328         * nptl/tst-stack4.c: New file.
13329         * nptl/tst-stack4mod.c: Likewise.
13331 2014-11-27  J. Brown  <jb999@gmx.de>
13333         * sysdeps/x86/bits/string.h: Add recent CPUs.
13335 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
13337         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
13338         sigblock.
13340         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
13341         feof.
13343         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
13344         variable.
13346 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
13348         * nscd/connections.c: Include libc-internal.h because of macro
13349         usage ignore_value.
13351 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
13353         * string/bits/string3.h (__warn_memset_zero_len): Don't
13354         declare for gcc newer than 5.0.
13355         (memset): Don't test for zero-length __LEN for gcc newer than
13356         5.0.
13358 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
13360         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
13361         size_t for %zu format.
13363         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
13364         difference, not %ju.
13366 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
13368         * include/libc-internal.h (ignore_value): New macro.
13369         * nscd/connections.c (restart): Wrap calls to setuid and setgid
13370         with ignore_value.
13372         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
13373         definition.
13375         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
13376         pthread_cleanup_push to void *.
13378         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
13379         Undefine.
13381         [BZ #16619]
13382         [BZ #16740]
13383         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
13384         instead of 1L << 52.
13386         * libio/bug-rewind.c (do_test): Check fwscanf return values.
13387         * libio/bug-rewind2.c (do_test): Likewise.
13389         * debug/test-stpcpy_chk-ifunc.c: Remove file.
13390         * debug/test-strcpy_chk-ifunc.c: Likewise.
13391         * wcsmbs/test-wcschr-ifunc.c: Likewise.
13392         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
13393         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
13394         * wcsmbs/test-wcslen-ifunc.c: Likewise.
13395         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
13396         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
13397         * Rules [$(multi-arch) = no] (tests): Do not filter out
13398         $(tests-ifunc).
13399         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
13400         * debug/Makefile (tests-ifunc): Remove variable.
13401         (tests): Do not add $(tests-ifunc).
13402         * wcsmbs/Makefile (tests-ifunc): Remove variable.
13403         (tests): Do not add $(tests-ifunc).
13404         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
13405         [TEST_IFUNC]: Remove conditionals.
13406         * string/test-string.h (TEST_IFUNC): Remove macro.
13407         [TEST_IFUNC]: Remove conditionals.
13409         * string/test-strchr.c [!WIDE] (L): New macro.
13410         [WIDE] (L): Likewise.
13411         (check1): Use CHAR instead of char.  Use L on string and character
13412         constants.
13414 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
13416         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
13417         tests.
13418         * sysdeps/powerpc/bits/atomic.h
13419         (__arch_atomic_exchange_and_add_32_acq): Add definition.
13420         (__arch_atomic_exchange_and_add_32_rel): Likewise.
13421         (atomic_exchange_and_add_acq): Likewise.
13422         (atomic_exchange_and_add_rel): Likewise.
13423         * sysdeps/powerpc/powerpc32/bits/atomic.h
13424         (__arch_atomic_exchange_and_add_64_acq): Add definition.
13425         (__arch_atomic_exchange_and_add_64_rel): Likewise.
13426         * sysdeps/powerpc/powerpc64/bits/atomic.h
13427         (__arch_atomic_exchange_and_add_64_acq): Add definition.
13428         (__arch_atomic_exchange_and_add_64_rel): Likewise.
13430 2014-11-26  Torvald Riegel  <triegel@redhat.com>
13432         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
13433         Change synchronization of __sched_fifo_min_prio and
13434         __sched_fifo_max_prio.
13435         * nptl/pthread_mutexattr_getprioceiling.c
13436         (pthread_mutexattr_getprioceiling): Likewise.
13437         * nptl/pthread_mutexattr_setprioceiling.c
13438         (pthread_mutexattr_setprioceiling): Likewise.
13439         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
13440         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
13441         Likewise.
13443 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
13445         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
13446         void.
13448 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
13450         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
13451         third argument const.
13453 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
13455         fnmatch: work around GCC compiler warning bug with uninit var
13456         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
13457         This works around a bug with x86-64 GCC 4.9.2 and earlier
13458         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
13459         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
13460         used uninitialized in this function [-Wmaybe-uninitialized]".
13462 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
13464         * posix/bug-regex31.c (main): Return RES not 0.
13466 2014-11-25  Anton Blanchard <anton@samba.org>
13468         * sysdeps/powerpc/bits/atomic.h
13469         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
13471 2014-11-24  Sterling Augustine  <saugustine@google.com>
13473         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
13475 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
13477         [BZ #17608]
13478         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
13480 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
13482         [BZ #17633]
13483         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
13484         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
13485         variable.
13486         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
13487         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
13489 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
13491         * string/strncpy.c (strncpy): Improve performance by using memset.
13493 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
13495         * string/strcpy.c (strcpy):
13496         Improve performance by using strlen and memcpy.
13498 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
13500         * string/strcoll_l.c (get_next_seq): __always_inline.
13501         * string/strcoll_l.c (do_compare): __always_inline.
13503 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
13505         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
13506         defined.
13507         * include/mqueue.h: Likewise.
13508         * include/stdlib.h: Likewise.
13510         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
13511         (get_null_defines): Adjust.
13512         * sunrpc/Makefile: Adjust comment.
13513         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
13514         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
13515         (CFLAGS-interp.c): Likewise.
13516         (CFLAGS-ldconfig.c): Likewise.
13517         (CPPFLAGS-.os): Likewise.
13518         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
13519         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
13520         * extra-modules.mk (extra-modules.mk): Likewise.
13521         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
13522         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
13523         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
13524         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
13525         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
13526         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
13527         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
13528         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
13529         * iconvdata/Makefile (CPPFLAGS): Likewise.
13530         (cpp-srcs-left): Add libof for all iconvdata routines.
13531         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
13532         * include/assert.h: Likewise.
13533         * include/ctype.h: Likewise.
13534         * include/errno.h: Likewise.
13535         * include/libc-symbols.h: Likewise.
13536         * include/math.h: Likewise.
13537         * include/netdb.h: Likewise.
13538         * include/resolv.h: Likewise.
13539         * include/stdio.h: Likewise.
13540         * include/stdlib.h: Likewise.
13541         * include/string.h: Likewise.
13542         * include/sys/stat.h: Likewise.
13543         * include/wctype.h: Likewise.
13544         * intl/l10nflist.c: Likewise.
13545         * libidn/idn-stub.c: Likewise.
13546         * libio/libioP.h: Likewise.
13547         * nptl/libc_multiple_threads.c: Likewise.
13548         * nptl/pthreadP.h: Likewise.
13549         * posix/regex_internal.h: Likewise.
13550         * resolv/res_hconf.c: Likewise.
13551         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
13552         * sysdeps/arm/memmove.S: Likewise.
13553         * sysdeps/arm/sysdep.h: Likewise.
13554         * sysdeps/generic/_itoa.h: Likewise.
13555         * sysdeps/generic/symbol-hacks.h: Likewise.
13556         * sysdeps/gnu/errlist.awk: Likewise.
13557         * sysdeps/gnu/errlist.c: Likewise.
13558         * sysdeps/i386/i586/memcpy.S: Likewise.
13559         * sysdeps/i386/i586/memset.S: Likewise.
13560         * sysdeps/i386/i686/memcpy.S: Likewise.
13561         * sysdeps/i386/i686/memmove.S: Likewise.
13562         * sysdeps/i386/i686/mempcpy.S: Likewise.
13563         * sysdeps/i386/i686/memset.S: Likewise.
13564         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
13565         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
13566         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
13567         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
13568         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
13569         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
13570         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
13571         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
13572         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
13573         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
13574         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
13575         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
13576         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
13577         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
13578         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
13579         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
13580         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
13581         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
13582         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
13583         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
13584         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
13585         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
13586         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
13587         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
13588         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
13589         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
13590         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
13591         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
13592         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
13593         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
13594         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
13595         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
13596         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
13597         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13598         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
13599         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
13600         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
13601         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
13602         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
13603         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
13604         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
13605         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
13606         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
13607         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
13608         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
13609         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
13610         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
13611         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
13612         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
13613         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
13614         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
13615         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
13616         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
13617         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
13618         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
13619         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
13620         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
13621         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
13622         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
13623         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
13624         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
13625         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
13626         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
13627         * sysdeps/nptl/bits/libc-lock.h: Likewise.
13628         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
13629         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
13630         * sysdeps/posix/closedir.c: Likewise.
13631         * sysdeps/posix/opendir.c: Likewise.
13632         * sysdeps/posix/readdir.c: Likewise.
13633         * sysdeps/posix/rewinddir.c: Likewise.
13634         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
13635         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
13636         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
13637         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
13638         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
13639         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
13640         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
13641         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
13642         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
13643         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
13644         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
13645         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
13646         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
13647         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
13648         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
13649         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
13650         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
13651         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
13652         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
13653         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
13654         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
13655         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
13656         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
13657         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
13658         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
13659         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
13660         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
13661         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
13662         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
13663         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
13664         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
13665         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
13666         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
13667         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
13668         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
13669         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
13670         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
13671         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
13672         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
13673         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
13674         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
13675         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
13676         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
13677         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
13678         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
13679         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
13680         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
13681         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
13682         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
13683         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
13684         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
13685         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
13686         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
13687         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
13688         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
13689         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
13690         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
13691         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
13692         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
13693         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
13694         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
13695         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
13696         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
13697         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
13698         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
13699         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
13700         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
13701         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
13702         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
13703         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
13704         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
13705         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
13706         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
13707         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
13708         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
13709         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
13710         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
13711         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
13712         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
13713         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
13714         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
13715         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
13716         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
13717         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
13718         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
13719         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
13720         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
13721         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
13722         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
13723         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
13724         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
13725         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
13726         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
13727         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
13728         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
13729         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
13730         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
13731         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
13732         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
13733         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
13734         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13735         * sysdeps/unix/alpha/sysdep.S: Likewise.
13736         * sysdeps/unix/alpha/sysdep.h: Likewise.
13737         * sysdeps/unix/make-syscalls.sh: Likewise.
13738         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
13739         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
13740         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
13741         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
13742         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
13743         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
13744         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
13745         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
13746         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
13747         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
13748         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
13749         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
13750         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
13751         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
13752         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
13753         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
13754         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
13755         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
13756         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
13757         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
13758         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
13759         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
13760         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
13761         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
13762         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
13763         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
13764         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
13765         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
13766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
13767         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
13768         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
13769         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
13770         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
13771         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13772         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
13773         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
13774         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
13775         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13776         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
13777         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
13778         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
13779         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
13780         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
13781         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
13782         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
13783         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
13784         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
13785         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
13786         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
13787         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13788         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
13789         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
13790         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
13791         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
13792         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
13793         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
13794         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
13795         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13796         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
13797         * sysdeps/x86_64/memcpy.S: Likewise.
13798         * sysdeps/x86_64/memmove.c: Likewise.
13799         * sysdeps/x86_64/memset.S: Likewise.
13800         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
13801         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
13802         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
13803         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
13804         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
13805         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
13806         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
13807         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
13808         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
13809         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
13810         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
13811         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
13812         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
13813         * sysdeps/x86_64/multiarch/memset.S: Likewise.
13814         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13815         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
13816         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
13817         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
13818         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
13819         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
13820         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
13821         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
13822         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
13823         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
13824         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
13825         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
13826         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
13827         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
13828         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
13829         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
13830         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
13831         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
13832         * sysdeps/x86_64/strcmp.S: Likewise.
13834         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
13836         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
13837         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
13838         * elf/rtld-Rules: Likewise.
13839         * elf/setup-vdso.h: Likewise.
13840         * include/assert.h: Likewise.
13841         * include/bits/stdlib-float.h: Likewise.
13842         * include/errno.h: Likewise.
13843         * include/sys/stat.h: Likewise.
13844         * include/unistd.h: Likewise.
13845         * sysdeps/aarch64/setjmp.S: Likewise.
13846         * sysdeps/alpha/setjmp.S: Likewise.
13847         * sysdeps/arm/__longjmp.S: Likewise.
13848         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
13849         * sysdeps/arm/setjmp.S: Likewise.
13850         * sysdeps/arm/sysdep.h: Likewise.
13851         * sysdeps/generic/_itoa.h: Likewise.
13852         * sysdeps/generic/dl-sysdep.h: Likewise.
13853         * sysdeps/generic/ldsodefs.h: Likewise.
13854         * sysdeps/i386/dl-tls.h: Likewise.
13855         * sysdeps/i386/setjmp.S: Likewise.
13856         * sysdeps/m68k/setjmp.c: Likewise.
13857         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
13858         * sysdeps/mach/hurd/opendir.c: Likewise.
13859         * sysdeps/posix/getcwd.c: Likewise.
13860         * sysdeps/posix/opendir.c: Likewise.
13861         * sysdeps/posix/profil.c: Likewise.
13862         * sysdeps/powerpc/dl-procinfo.h: Likewise.
13863         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
13864         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
13865         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
13866         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
13867         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
13868         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
13869         * sysdeps/s390/dl-tls.h: Likewise.
13870         * sysdeps/s390/s390-32/setjmp.S: Likewise.
13871         * sysdeps/s390/s390-64/setjmp.S: Likewise.
13872         * sysdeps/sh/sh3/setjmp.S: Likewise.
13873         * sysdeps/sh/sh4/setjmp.S: Likewise.
13874         * sysdeps/unix/alpha/sysdep.h: Likewise.
13875         * sysdeps/unix/arm/sysdep.S: Likewise.
13876         * sysdeps/unix/i386/sysdep.S: Likewise.
13877         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
13878         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
13879         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
13880         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
13881         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
13882         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
13883         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
13884         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
13885         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
13886         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
13887         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
13888         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
13889         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
13890         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
13891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13892         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
13893         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13894         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13895         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
13896         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
13897         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
13898         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
13899         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13900         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
13901         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
13902         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
13903         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13904         * sysdeps/unix/x86_64/sysdep.S: Likewise.
13905         * sysdeps/x86_64/setjmp.S: Likewise.
13907         * include/math.h: Use IS_IN instead of IS_IN_libm.
13908         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
13909         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
13910         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
13911         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
13912         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
13913         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
13914         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
13915         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
13916         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
13917         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
13918         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
13919         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
13920         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
13921         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
13922         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
13923         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
13924         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
13925         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
13926         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
13927         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
13928         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
13929         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
13930         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
13931         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
13932         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
13933         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
13934         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
13935         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
13936         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
13937         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
13938         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
13939         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
13940         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
13941         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
13942         Likewise.
13943         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
13944         Likewise.
13945         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
13946         Likewise.
13947         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
13948         Likewise.
13949         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
13950         Likewise.
13951         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
13952         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
13953         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
13954         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
13955         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
13956         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
13957         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
13958         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
13959         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
13960         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
13961         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
13962         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
13963         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
13964         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
13965         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
13966         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
13967         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
13968         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
13969         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
13970         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
13971         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
13972         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
13973         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
13974         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
13975         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
13976         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
13977         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
13979         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
13980         * nptl/pthreadP.h: Likewise.
13981         * nptl_db/structs.def: Likewise.
13982         * sysdeps/arm/sysdep.h: Likewise.
13983         * sysdeps/nptl/bits/libc-lock.h: Likewise.
13984         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
13985         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
13986         * sysdeps/unix/alpha/sysdep.h: Likewise.
13987         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
13988         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
13989         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
13990         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
13991         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
13992         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
13993         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
13994         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
13995         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
13996         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
13997         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
13998         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
13999         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
14000         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
14001         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
14002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
14003         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
14004         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
14005         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
14006         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
14007         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
14008         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
14009         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
14010         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
14011         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
14012         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
14014         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
14015         * nptl/pthreadP.h: Likewise.
14016         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
14017         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
14018         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
14019         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
14020         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
14021         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
14022         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
14023         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
14024         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
14025         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
14026         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
14027         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
14028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
14029         Likewise.
14030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
14031         Likewise.
14032         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
14033         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
14034         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
14035         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
14036         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
14037         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
14038         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
14039         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
14041         * dlfcn/dladdr.c: Use IS_IN.
14042         * dlfcn/dladdr1.c: Likewise.
14043         * dlfcn/dlclose.c: Likewise.
14044         * dlfcn/dlerror.c: Likewise.
14045         * dlfcn/dlinfo.c: Likewise.
14046         * dlfcn/dlmopen.c: Likewise.
14047         * dlfcn/dlopen.c: Likewise.
14048         * dlfcn/dlsym.c: Likewise.
14049         * dlfcn/dlvsym.c: Likewise.
14051         * include/ifaddrs.h: Use IS_IN.
14052         * inet/check_pf.c: Likewise.
14053         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
14054         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
14056         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
14057         IS_IN_ldconfig.
14058         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
14059         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
14061         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
14062         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
14063         IS_IN (libc).
14065         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
14067         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
14068         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
14069         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
14070         * include/libc-symbols.h (IS_IN_LIB): New macro.
14071         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
14072         * include/netdb.h: Likewise.
14073         * include/stap-probe.h: Remove all uses of IN_LIB.
14075         * Makeconfig (module-cppflags-real): Define MODULE_NAME
14076         instead of IN_MODULE.
14077         * include/libc-symbols.h (IN_MODULE): Define using
14078         MODULE_NAME.
14079         (PASTE_NAME, PASTE_NAME1): New macros.
14080         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
14081         of IN_LIB.
14082         (STAP_PROBE_ASM): Likewise.
14084 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14086         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
14087         __mach_init in dlopened libc.
14089 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
14091         * sysdeps/arm/preconfigure.ac: Delete EABI check.
14092         * sysdeps/arm/preconfigure: Regenerate.
14094 2014-11-21  Roland McGrath  <roland@hack.frob.com>
14096         * nptl/pthread_create.c (__pthread_create_2_1): Set
14097         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
14098         when copying values from IATTR into PD.
14100 2014-11-21  Will Newton  <will.newton@linaro.org>
14101             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
14103         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
14104         Refactor inline-asm.  Also add comment.
14106         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
14107         ElfW macro instead of hardcoded Elf64 types.
14108         (la_aarch64_gnu_pltenter): Likewise.
14109         * sysdeps/aarch64/dl-machine.h
14110         (elf_machine_runtime_setup): Use ElfW(Addr).
14112         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
14113         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
14114         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
14115         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
14116         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
14117         (R_AARCH64_TLS_DTPMOD64): Rename to ..
14118         (R_AARCH64_TLS_DTPMOD): This.
14119         (R_AARCH64_TLS_DTPREL64): Rename to ...
14120         (R_AARCH64_TLS_DTPREL): This.
14121         (R_AARCH64_TLS_TPREL64): Rename to ...
14122         (R_AARCH64_TLS_TPREL): This.
14123         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
14124         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
14125         R_AARCH64_TLS_TPREL64.
14126         (elf_machine_rela): Likewise.
14128 2014-11-21  Torvald Riegel  <triegel@redhat.com>
14130         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
14131         by setting it to 0.  64b atomics are not supported currently.
14133 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
14135         [BZ #16469]
14136         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
14137         search domain names.
14139 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
14141         [BZ #16469]
14142         * NEWS: Update.
14143         * resolv/res_query.c (__libc_res_nquerydomain): Retain
14144         trailing dot.
14145         * posix/tst-getaddrinfo5.c: New.
14146         * posix/Makefile (tests): Add it.
14148 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
14150         [BZ #14498]
14151         * NEWS: Fixed.
14152         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
14153         after parsing line but before break_if_match.
14154         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
14155         if there is a protocol mismatch.
14157 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
14159         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
14160         because the potential race is on the user-supplied stream.
14162 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
14164         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
14165         string literal if not passed a buffer.
14166         * manual/job.texi (ctermid): Update reasoning, note deviation
14167         from posix, suggest mtasurace when not passed a buffer, for
14168         future non-preliminary safety notes.
14170 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
14172         * manual/users.texi (cuserid): Fix MT-Safety note for the case
14173         of not passing it a buffer.
14174         Reported by Peng Haitao.
14176 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
14178         * manual/Makefile ($(objpfx)stamp-summary): Require
14179         check-safety.sh to pass.
14180         * manual/check-safety.sh: Wish for verification that every
14181         @deftypefn and @deftypefun is followed by a @safety remark.
14183 2014-11-20  Roland McGrath  <roland@hack.frob.com>
14185         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
14187         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
14188         PTHREAD_CANCEL_ASYNCHRONOUS.
14189         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
14190         send SIGCANCEL.
14192         * nptl/default-sched.h: New file.
14193         * sysdeps/unix/sysv/linux/default-sched.h: New file.
14194         * nptl/pthread_create.c: Include it.
14195         (__pthread_create_2_1): Use collect_default_sched instead of making
14196         Linux syscalls here directly.
14198 2014-11-20  Torvald Riegel  <triegel@redhat.com>
14200         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
14201         __pthread_once): Use C11 atomics.
14203 2014-11-20  Torvald Riegel  <triegel@redhat.com>
14205         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
14207 2014-11-20  Torvald Riegel  <triegel@redhat.com>
14209         * include/atomic.h (__atomic_link_error, __atomic_check_size,
14210         atomic_thread_fence_acquire, atomic_thread_fence_release,
14211         atomic_thread_fence_seq_cst, atomic_load_relaxed,
14212         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
14213         atomic_compare_exchange_weak_relaxed,
14214         atomic_compare_exchange_weak_acquire,
14215         atomic_compare_exchange_weak_release,
14216         atomic_exchange_acquire, atomic_exchange_release,
14217         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
14218         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
14219         atomic_fetch_and_acquire,
14220         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
14222 2014-11-20  Torvald Riegel  <triegel@redhat.com>
14224         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
14225         USE_ATOMIC_COMPILER_BUILTINS): Define.
14226         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
14227         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14228         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
14229         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14230         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
14231         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14232         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
14233         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14234         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
14235         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14236         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
14237         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14238         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
14239         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14240         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
14241         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14242         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
14243         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14244         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
14245         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14246         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
14247         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14248         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
14249         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14250         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
14251         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14252         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
14253         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14254         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
14255         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14256         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
14257         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14258         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
14259         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14260         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
14261         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14262         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
14263         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14264         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
14265         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14267 2014-11-19  Roland McGrath  <roland@hack.frob.com>
14269         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
14270         the sched_priority value here.  It was already checked when the user
14271         called pthread_attr_setschedparam.
14273         * nptl/tst-bad-schedattr.c: New file.
14274         * nptl/Makefile (tests): Add it.
14276 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
14277             Florian Weimer  <fweimer@redhat.com>
14278             Joseph Myers  <joseph@codesourcery.com>
14279             Adam Conrad  <adconrad@0c3.net>
14280             Andreas Schwab  <schwab@suse.de>
14281             Brooks  <bmoses@google.com>
14283         [BZ #17625]
14284         * wordexp-test.c (__dso_handle): Add prototype.
14285         (__register_atfork): Likewise.
14286         (__app_register_atfork): New function.
14287         (registered_forks): New global.
14288         (register_fork): New function.
14289         (test_case): Add 3 new tests for WRDE_CMDSUB.
14290         (main): Call __app_register_atfork.
14291         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
14292         fork count is non-zero fail the test.
14293         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
14294         is set.
14295         (parse_dollars): Remove check for WRDE_NOCMD.
14296         (parse_dquote): Likewise.
14298 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
14300         * Makeconfig (built-modules): List non-library modules to be
14301         built.
14302         (module-cppflags): Include libc-modules.h for
14303         everything except shlib-versions.v.i.
14304         (CPPFLAGS): Use it.
14305         (before-compile): Add libc-modules.h.
14306         ($(common-objpfx)libc-modules.h,
14307         $(common-objpfx)libc-modules.stmp): New targets.
14308         (common-generated): Add libc-modules.h and libc-modules.stmp.
14309         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
14310         * include/libc-symbols.h: Don't include libc-modules.h.
14311         * include/libc-modules.h: Remove file.
14312         * scripts/gen-libc-modules.awk: New script to generate
14313         libc-modules.h.
14314         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
14315         Depend on libc-modules.stmp.
14317         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
14319         * Makeconfig (in-module): Get value of libof set for the
14320         translation unit.
14321         (CPPFLAGS): Use $(in-module).
14322         * Makerules: Don't suffix routine names for nonlib.
14323         * include/libc-modules.h: New file.
14324         * include/libc-symbols.h: Include libc-modules.h
14325         (IS_IN): New macro to replace IS_IN_* macros.
14326         * elf/Makefile: Set libof-* for each routine.
14327         * elf/rtld-Rules: Likewise.
14328         * extra-modules.mk: Likewise.
14329         * iconv/Makefile: Likewise.
14330         * iconvdata/Makefile: Likewise.
14331         * locale/Makefile: Likewise.
14332         * malloc/Makefile: Likewise.
14333         * nss/Makefile: Likewise.
14334         * sysdeps/gnu/Makefile: Likewise.
14335         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
14336         * sysdeps/unix/sysv/linux/Makefile: Likewise.
14337         * sysdeps/s390/s390-64/Makefile: Likewise.
14338         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
14339         CPPFLAGS for nscd instead of nonlib.
14341 2014-11-18  Roland McGrath  <roland@hack.frob.com>
14343         * nptl/createthread.c: New file.
14345         * nptl/createthread.c: Moved ...
14346         * sysdeps/unix/sysv/linux/createthread.c: ... here.
14348         * nptl/createthread.c: Add proper top-line comment.
14349         (do_clone): Folded into ...
14350         (create_thread): ... here.  Take new arguments STOPPED_START and
14351         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
14352         increment __nptl_threads, do event-reporting logic, do
14353         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
14354         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
14355         resource cleanup if sched_setaffinity or sched_setscheduler fails,
14356         just send SIGCANCEL.
14357         * nptl/pthread_create.c: Forward-declare create_thread before
14358         including createthread.c.
14359         (start_thread): Use new macro START_THREAD_DEFN to replace defining
14360         declaration, and new macro START_THREAD_SELF to replace argument.
14361         Remove return statement.
14362         (report_thread_creation): New function.
14363         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
14364         synchronization logic, and __nptl_nthreads increment here, around
14365         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
14366         PD->parent_cancelhandling here, before create_thread.  When
14367         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
14368         __deallocate_stack, and ENOMEM translation here.
14370 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
14372         [BZ #17616]
14373         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
14374         (mptwo): Rename to __mptwo.
14375         (__inv): Use __mptwo instead of mptwo.
14376         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
14377         (mptwo): Rename to __mptwo.
14378         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
14379         of mpone and __mptwo instead of mptwo.
14380         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
14381         instead of mpone.
14382         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
14383         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
14384         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
14385         of mpone and __mptwo instead of mptwo.
14386         (__mpranred): Use __mpone instead of mpone.
14387         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
14388         variable.
14389         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
14390         (test-xfail-ISO99/math.h/linknamespace): Likewise.
14391         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
14392         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
14393         (test-xfail-ISO11/math.h/linknamespace): Likewise.
14394         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
14395         (test-xfail-XPG3/math.h/linknamespace): Likewise.
14396         (test-xfail-XPG4/math.h/linknamespace): Likewise.
14397         (test-xfail-POSIX/math.h/linknamespace): Likewise.
14398         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
14399         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
14400         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
14401         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
14402         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
14403         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
14404         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
14405         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
14406         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
14407         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
14409 2014-11-18  Tom de Vries  <tom@codesoucery.com>
14411         * manual/signal.texi (Primitives Interrupted by Signals): In section,
14412         replace BSD Handler xref with BSD Signal Handling.
14414 2014-11-17  Richard Henderson  <rth@redhat.com>
14416         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
14417         (_FP_PACK_RAW_2): Remove.
14418         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
14419         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
14420         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
14421         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
14422         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
14423         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
14424         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
14425         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
14426         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
14427         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
14428         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
14429         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
14430         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
14431         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
14432         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
14433         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
14435 2014-11-14  Roland McGrath  <roland@hack.frob.com>
14437         * signal/signal.h [__USE_MISC]
14438         (struct sigvec): Remove type.
14439         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
14440         (sigvec): Remove declaration.
14441         * sysdeps/posix/sigvec.c: Moved ...
14442         * signal/sigvec.c: ... here, replacing old file.
14443         (struct sigvec): New type, copied from old signal.h definition.
14444         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
14445         (__sigvec): Convert definition to prototype.
14446         (sigvec): Replace weak_alias with compat_symbol.
14447         * signal/Versions (libc: GLIBC_2.21): New version set.
14448         * include/signal.h: Remove __sigvec declaration.
14449         * sysdeps/unix/bsd/sigvec.c: Remove file.
14450         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
14451         * manual/signal.texi (BSD Handler): Remove subsection.
14452         Move siginterrupt up to ...
14453         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
14454         (Blocking in BSD): Fold subsection into its parent.
14455         * NEWS: Mention sigvec removal.
14457 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
14459         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
14460         (DLA_FMS): Make definition conditional only on [__FMA4__].
14461         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
14462         definition.
14464         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
14465         Make definition conditional only on [PROF].
14466         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
14467         definition.
14468         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
14469         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
14471         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
14472         !__GNUC__].
14473         * include/signal.h (__sigpause): Move declaration above call to
14474         libc_hidden_proto.
14475         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
14476         variable.
14477         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
14478         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
14480 2014-11-14  David S. Miller  <davem@davemloft.net>
14482         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
14483         Define before including <string/memcpy.c> and <string/mempcpy.c>.
14485 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
14487         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
14488         * configure: Regenerated.
14489         * manual/install.texi (Tools for Compilation): Document a
14490         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
14491         compiler verified to work.
14492         * INSTALL: Regenerated.
14494         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
14495         redeclare with asm name.
14496         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
14497         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
14498         including <string.h>.
14499         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
14500         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
14501         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
14502         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
14503         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
14504         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
14505         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
14507 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
14509         * stdlib/strtol.c (__strtol): Use prototype definition.
14511         [BZ #17594]
14512         * stdlib/strtol.c (SYM__): New macro.
14513         (SYM__1): Likewise.
14514         (__strtol): Likewise.
14515         (strtol): Rename to __strtol and define as weak alias of
14516         __strtol.  Use libc_hidden_weak.
14518 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
14520         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
14521         Use numbered labels in inline assembly.
14523 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
14525         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
14526         Add setjmp LIBC_PROBE.
14527         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
14528         Likewise.
14529         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
14530         Add longjmp, longjmp_target LIBC_PROBE.
14531         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
14532         Likewise.
14534 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
14536         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
14537         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
14538         to get rid of unused variable warning.
14540 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
14542         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
14543         Check for unwind_backtrace ==  NULL only in SHARED case.
14544         (__backchain_backtrace): Compile only in SHARED case.
14545         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
14546         Likewise.
14547         (__backchain_backtrace): Declare as static.
14549 2014-11-12  Roland McGrath  <roland@hack.frob.com>
14551         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
14552         (__libc_multiple_threads_ptr): Variable moved ...
14553         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
14555 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
14557         * conform/GlibcConform.pm: New file.
14558         * conform/conformtest.pl: Use GlibcConform module.
14559         * conform/linknamespace.pl: New file.
14560         * conform/list-header-symbols.pl: Likewise.
14561         * conform/Makefile (linknamespace-symlists-base): New variable.
14562         (linknamespace-symlists-tests): Likewise.
14563         (linknamespace-header-base): Likewise.
14564         (linknamespace-header-tests): Likewise.
14565         (tests-special): Add new tests.
14566         ($(linknamespace-symlists-tests)): New rule.
14567         (linknamespace-libs): New variable.
14568         ($(objpfx)symlist-stdlibs): New rule.
14569         ($(linknamespace-header-tests)): Likewise.
14570         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
14571         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
14572         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
14573         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
14574         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
14575         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
14576         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
14577         (test-xfail-ISO/math.h/linknamespace): Likewise.
14578         (test-xfail-ISO/signal.h/linknamespace): Likewise.
14579         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
14580         (test-xfail-ISO/time.h/linknamespace): Likewise.
14581         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
14582         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
14583         (test-xfail-ISO99/math.h/linknamespace): Likewise.
14584         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
14585         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
14586         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
14587         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
14588         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
14589         (test-xfail-ISO11/math.h/linknamespace): Likewise.
14590         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
14591         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
14592         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
14593         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
14594         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
14595         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
14596         (test-xfail-XPG3/math.h/linknamespace): Likewise.
14597         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
14598         (test-xfail-XPG3/search.h/linknamespace): Likewise.
14599         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
14600         (test-xfail-XPG3/time.h/linknamespace): Likewise.
14601         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
14602         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
14603         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
14604         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
14605         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
14606         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
14607         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
14608         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
14609         (test-xfail-XPG4/math.h/linknamespace): Likewise.
14610         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
14611         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
14612         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
14613         (test-xfail-XPG4/search.h/linknamespace): Likewise.
14614         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
14615         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
14616         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
14617         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
14618         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
14619         (test-xfail-XPG4/time.h/linknamespace): Likewise.
14620         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
14621         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
14622         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
14623         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
14624         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
14625         (test-xfail-POSIX/math.h/linknamespace): Likewise.
14626         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
14627         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
14628         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
14629         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
14630         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
14631         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
14632         (test-xfail-POSIX/time.h/linknamespace): Likewise.
14633         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
14634         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
14635         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
14636         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
14637         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
14638         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
14639         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
14640         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
14641         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
14642         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
14643         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
14644         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
14645         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
14646         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
14647         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
14648         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
14649         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
14650         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
14651         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
14652         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
14653         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
14654         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
14655         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
14656         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
14657         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
14658         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
14659         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
14660         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
14661         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
14662         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
14663         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
14664         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
14665         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
14666         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
14667         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
14668         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
14669         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
14670         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
14671         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
14672         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
14673         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
14674         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
14675         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
14676         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
14677         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
14678         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
14679         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
14680         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
14681         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
14682         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
14683         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
14684         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
14685         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
14686         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
14687         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
14688         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
14689         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
14690         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
14691         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
14692         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
14693         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
14694         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
14695         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
14696         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
14697         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
14698         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
14699         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
14700         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
14701         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
14702         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
14703         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
14704         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
14705         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
14706         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
14707         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
14708         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
14709         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
14710         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
14711         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
14712         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
14713         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
14714         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
14715         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
14716         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
14717         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
14718         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
14719         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
14720         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
14721         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
14722         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
14723         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
14724         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
14725         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
14726         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
14727         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
14728         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
14729         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
14730         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
14732         [BZ #17589]
14733         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
14734         of fgets_unlocked.
14736         [BZ #17585]
14737         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
14738         (memmem): Rename to __memmem and define as weak alias of
14739         __memmem.  Use libc_hidden_weak.
14740         (__memmem): Use libc_hidden_def.
14741         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
14742         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
14743         memmem.
14745         [BZ #17582]
14746         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
14747         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
14748         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
14749         and define as weak alias of __fgets_unlocked.  Use
14750         libc_hidden_weak.
14751         (__fgets_unlocked): Use libc_hidden_def.
14752         * include/stdio.h (__fgets_unlocked): Declare.  Use
14753         libc_hidden_proto.
14754         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
14755         __fgets_unlocked instead of fgets_unlocked.
14756         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
14757         (GET_NPROCS_CONF_PARSER): Likewise.
14758         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
14759         (GET_NPROCS_CONF_PARSER): Likewise.
14761         [BZ #17574]
14762         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
14763         weak alias of __wmemset.  Use libc_hidden_weak.
14764         (__wmemset): Use libc_hidden_def.
14765         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
14766         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
14767         of wmemset.
14769         [BZ #17573]
14770         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
14771         with asm name __mempcpy.
14772         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
14774         [BZ #17572]
14775         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
14776         and define as weak alias of __rawmemchr.
14777         (__rawmemchr): Do not define as strong alias of rawmemchr.
14779         [BZ #17571]
14780         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
14781         alias of __qsort_r.
14782         (qsort): Call __qsort_r instead of qsort_r.
14783         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
14784         (__qsort_r): Declare.  Call libc_hidden_proto.
14785         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
14786         instead of qsort_r.
14787         * nscd/gai.c (__qsort_r): Define to qsort_r.
14788         * posix/tst-rfc3484.c (__qsort_r): Likewise.
14789         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
14790         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
14792         [BZ #17570]
14793         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
14794         define as weak alias of __malloc_info.
14796         [BZ #17584]
14797         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
14798         as weak alias of __rewinddir.  Don't use libc_hidden_def.
14799         (__rewinddir): Use libc_hidden_def.
14800         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
14801         as weak alias of __rewinddir.  Don't use libc_hidden_def.
14802         (__rewinddir): Use libc_hidden_def.
14803         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
14804         weak alias of __rewinddir.  Don't use libc_hidden_def.
14805         (__rewinddir): Use libc_hidden_def.
14806         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
14807         (__rewinddir): Use libc_hidden_proto.
14808         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
14809         rewinddir.
14810         (__getcwd): Use __rewinddir instead of rewinddir.
14812         [BZ #17583]
14813         * libio/fileno.c (fileno): Rename to __fileno and define as weak
14814         alias of __fileno.  Use libc_hidden_weak.
14815         (__fileno): Use libc_hidden_def.
14816         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
14817         * libio/ftello.c (ftello): Rename to __ftello and define as weak
14818         alias of __ftello.
14819         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
14820         __ftello.
14821         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
14822         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
14823         libc_hidden_def.
14824         (fread_unlocked): Don't use libc_hidden_ver.
14825         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
14826         and define as weak alias of __fread_unlocked.  Don't use
14827         libc_hidden_def.
14828         (__fread_unlocked): Use libc_hidden_def.
14829         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
14830         (ftello): Don't use libc_hidden_proto.
14831         (__ftello): Declare.  Use libc_hidden_proto.
14832         (fread_unlocked): Don't use libc_hidden_proto.
14833         (__fread_unlocked): Declare.  Use libc_hidden_proto.
14834         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
14835         and __ftello instead of fileno, fread_unlocked and ftello.
14837 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
14839         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
14840         GOT12.
14841         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
14842         Likewise.
14843         (_dl_start_user): Likewise.
14844         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
14846 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
14847             Siddhesh Poyarekar  <siddhesh@redhat.com>
14849         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
14850         Move argv and envp down instead of moving argc up.
14851         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
14853 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
14855         [BZ #17506]
14856         * test-skeleton.c (main): Return successful if one of
14857         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
14858         * string/tst-strcoll-overflow.c: Define expected status.
14860 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
14862         [BZ #17475]
14863         * locale/iso-639.def: Define Bhili and Tulu language codes.
14865 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
14867         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
14869 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
14871         [BZ #17555]
14872         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
14874 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
14876         * configure.ac: Updated check of minimal required version to
14877         2.22.
14878         * manual/install.texi (Tools for Compilation): Updated version
14879         number.
14880         * configure: Regenerated.
14881         * INSTALL: Likewise.
14883 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
14885         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
14886         __tls_get_addr.
14888 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
14890         * include/sys/wait.h (__libc_waitpid): Remove declaration.
14891         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
14892         (__waitpid): Don't define as alias.  Use libc_hidden_def not
14893         libc_hidden_weak.
14894         (waitpid): Define as alias of __waitpid.
14895         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
14896         __waitpid.
14897         (__waitpid): Don't define as alias.  Use libc_hidden_def not
14898         libc_hidden_weak.
14899         (waitpid): Define as alias of __waitpid.
14900         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
14901         __libc_waitpid alias.
14902         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
14903         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
14904         Likewise.
14905         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
14906         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
14907         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
14908         alias.
14909         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
14910         __waitpid.
14911         (__waitpid): Don't define as alias.  Use libc_hidden_def not
14912         libc_hidden_weak.
14913         (waitpid): Define as alias of __waitpid.
14915 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
14917         * manual/llio.texi: Add comment that write safety has been
14918         fixed in Linux.
14920         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
14921         (localplt-build-dso): Add elf/ld.so.
14922         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
14923         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
14924         and free for ld.so.
14925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
14926         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
14927         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
14928         Likewise.
14929         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
14930         Likewise.
14931         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
14932         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
14933         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
14934         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
14935         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
14936         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
14937         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
14938         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
14939         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
14940         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
14941         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
14943 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
14945         [BZ #14132]
14946         * include/libc-symbols.h (INTUSE): Remove macro.
14947         (INTDEF): Likewise.
14948         (INTVARDEF): Likewise.
14949         (_INTVARDEF): Likewise.
14950         (INTDEF2): Likewise.
14951         (INTVARDEF2): Likewise.
14952         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
14953         rtld_hidden_def instead of INTVARDEF.
14954         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
14955         (_dl_starting_up_internal): Remove declaration.
14956         (_dl_starting_up): Use rtld_hidden_proto.
14957         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
14958         declaration.
14959         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
14960         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
14961         _dl_starting_up.
14962         * elf/dl-writev.h (_dl_writev): Likewise.
14963         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
14964         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
14965         _dl_starting_up_internal.
14967 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14969         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
14970         test-skeleton.c.
14972 2014-11-05  Will Newton  <will.newton@linaro.org>
14974         * benchtests/Makefile: (bench-malloc): Add malloc thread
14975         scalability benchmark.
14976         * benchtests/bench-malloc-threads.c: New file.
14978 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
14980         * sysdeps/aarch64/strchrnul.S: New file.
14982 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14984         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
14985         definition.
14986         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
14987         Likwise.
14988         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
14989         Likewise.
14990         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
14991         Likewise.
14992         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
14993         Likewise.
14994         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
14995         Likewise.
14997 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
14999         * catgets/test-gencat.c: Use test-skeleton.c.
15000         * catgets/tst-catgets.c: Likewise.
15001         * csu/tst-empty.c: Likewise.
15002         * elf/tst-audit2.c: Likewise.
15003         * elf/tst-global1.c: Likewise.
15004         * elf/tst-pathopt.c: Likewise.
15005         * elf/tst-piemod1.c: Likewise.
15006         * elf/tst-tls10.c: Likewise.
15007         * elf/tst-tls11.c: Likewise.
15008         * elf/tst-tls12.c: Likewise.
15009         * gnulib/tst-gcc.c: Likewise.
15010         * iconvdata/tst-e2big.c: Likewise.
15011         * iconvdata/tst-loading.c: Likewise.
15012         * iconv/tst-iconv1.c: Likewise.
15013         * iconv/tst-iconv2.c: Likewise.
15014         * inet/test-inet6_opt.c: Likewise.
15015         * inet/tst-gethnm.c: Likewise.
15016         * inet/tst-network.c: Likewise.
15017         * inet/tst-ntoa.c: Likewise.
15018         * intl/tst-codeset.c: Likewise.
15019         * intl/tst-gettext2.c: Likewise.
15020         * intl/tst-gettext3.c: Likewise.
15021         * intl/tst-ngettext.c: Likewise.
15022         * intl/tst-translit.c: Likewise.
15023         * io/test-stat.c: Likewise.
15024         * libio/test-fmemopen.c: Likewise.
15025         * libio/tst-freopen.c: Likewise.
15026         * libio/tst-sscanf.c: Likewise.
15027         * libio/tst-ungetwc1.c: Likewise.
15028         * libio/tst-ungetwc2.c: Likewise.
15029         * libio/tst-widetext.c: Likewise.
15030         * localedata/tst-ctype.c: Likewise.
15031         * localedata/tst-digits.c: Likewise.
15032         * localedata/tst-leaks.c: Likewise.
15033         * localedata/tst-mbswcs1.c: Likewise.
15034         * localedata/tst-mbswcs2.c: Likewise.
15035         * localedata/tst-mbswcs3.c: Likewise.
15036         * localedata/tst-mbswcs4.c: Likewise.
15037         * localedata/tst-mbswcs5.c: Likewise.
15038         * localedata/tst-setlocale.c: Likewise.
15039         * localedata/tst-trans.c: Likewise.
15040         * localedata/tst-wctype.c: Likewise.
15041         * localedata/tst-xlocale1.c: Likewise.
15042         * login/tst-grantpt.c: Likewise.
15043         * malloc/tst-calloc.c: Likewise.
15044         * malloc/tst-malloc.c: Likewise.
15045         * malloc/tst-mallocstate.c: Likewise.
15046         * malloc/tst-mcheck.c: Likewise.
15047         * malloc/tst-mtrace.c: Likewise.
15048         * malloc/tst-obstack.c: Likewise.
15049         * math/atest-exp2.c: Likewise.
15050         * math/atest-exp.c: Likewise.
15051         * math/atest-sincos.c: Likewise.
15052         * math/test-matherr.c: Likewise.
15053         * math/test-misc.c: Likewise.
15054         * math/test-powl.c: Likewise.
15055         * math/tst-definitions.c: Likewise.
15056         * misc/tst-dirname.c: Likewise.
15057         * misc/tst-efgcvt.c: Likewise.
15058         * misc/tst-fdset.c: Likewise.
15059         * misc/tst-hsearch.c: Likewise.
15060         * misc/tst-mntent2.c: Likewise.
15061         * nptl/tst-sem7.c: Likewise.
15062         * nptl/tst-sem8.c: Likewise.
15063         * nptl/tst-sem9.c: Likewise.
15064         * nss/test-netdb.c: Likewise.
15065         * posix/tst-fnmatch.c: Likewise.
15066         * posix/tst-getlogin.c: Likewise.
15067         * posix/tst-gnuglob.c: Likewise.
15068         * posix/tst-mmap.c: Likewise.
15069         * pwd/tst-getpw.c: Likewise.
15070         * resolv/tst-inet_ntop.c: Likewise.
15071         * rt/tst-timer.c: Likewise.
15072         * stdio-common/test-fseek.c: Likewise.
15073         * stdio-common/test-popen.c: Likewise.
15074         * stdio-common/test-vfprintf.c: Likewise.
15075         * stdio-common/tst-cookie.c: Likewise.
15076         * stdio-common/tst-fileno.c: Likewise.
15077         * stdio-common/tst-gets.c: Likewise.
15078         * stdio-common/tst-obprintf.c: Likewise.
15079         * stdio-common/tst-perror.c: Likewise.
15080         * stdio-common/tst-sprintf2.c: Likewise.
15081         * stdio-common/tst-sprintf3.c: Likewise.
15082         * stdio-common/tst-sprintf.c: Likewise.
15083         * stdio-common/tst-swprintf.c: Likewise.
15084         * stdio-common/tst-tmpnam.c: Likewise.
15085         * stdio-common/tst-unbputc.c: Likewise.
15086         * stdio-common/tst-wc-printf.c: Likewise.
15087         * stdlib/tst-environ.c: Likewise.
15088         * stdlib/tst-fmtmsg.c: Likewise.
15089         * stdlib/tst-limits.c: Likewise.
15090         * stdlib/tst-rand48-2.c: Likewise.
15091         * stdlib/tst-rand48.c: Likewise.
15092         * stdlib/tst-random2.c: Likewise.
15093         * stdlib/tst-random.c: Likewise.
15094         * stdlib/tst-strtol.c: Likewise.
15095         * stdlib/tst-strtoll.c: Likewise.
15096         * stdlib/tst-tls-atexit.c: Likewise.
15097         * stdlib/tst-xpg-basename.c: Likewise.
15098         * string/test-ffs.c: Likewise.
15099         * string/tst-bswap.c: Likewise.
15100         * string/tst-inlcall.c: Likewise.
15101         * string/tst-strtok.c: Likewise.
15102         * string/tst-strxfrm.c: Likewise.
15103         * sysdeps/x86_64/tst-audit10.c: Likewise.
15104         * sysdeps/x86_64/tst-audit3.c: Likewise.
15105         * sysdeps/x86_64/tst-audit4.c: Likewise.
15106         * sysdeps/x86_64/tst-audit5.c: Likewise.
15107         * time/tst-ftime_l.c: Likewise.
15108         * time/tst-getdate.c: Likewise.
15109         * time/tst-mktime3.c: Likewise.
15110         * time/tst-mktime.c: Likewise.
15111         * time/tst-posixtz.c: Likewise.
15112         * time/tst-strptime2.c: Likewise.
15113         * time/tst-strptime3.c: Likewise.
15114         * wcsmbs/tst-btowc.c: Likewise.
15115         * wcsmbs/tst-mbrtowc.c: Likewise.
15116         * wcsmbs/tst-mbsrtowcs.c: Likewise.
15117         * wcsmbs/tst-wchar-h.c: Likewise.
15118         * wcsmbs/tst-wcpncpy.c: Likewise.
15119         * wcsmbs/tst-wcrtomb.c: Likewise.
15120         * wcsmbs/tst-wcsnlen.c: Likewise.
15121         * wcsmbs/tst-wcstof.c: Likewise.
15123 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
15125         [BZ #14132]
15126         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
15127         INTDEF.
15128         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
15129         declaration.
15130         (_dl_mcount): Use rtld_hidden_proto.
15131         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
15132         _dl_mcount.
15133         * elf/rtld.c (_rtld_global_ro): Likewise.
15135         [BZ #14132]
15136         * elf/dl-init.c (_dl_init): Don't use INTDEF.
15137         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
15138         of _dl_init_internal.
15139         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
15140         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
15141         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
15142         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
15143         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
15144         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
15145         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
15146         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
15147         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
15148         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
15149         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
15150         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
15151         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
15152         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
15153         * sysdeps/tile/dl-start.S (_start): Likewise.
15154         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
15155         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
15157         [BZ #14132]
15158         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
15159         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
15160         (rtld_progname): Make macro definition unconditional.
15161         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
15162         INTDEF.
15163         (dlmopen_doit): Do not use INTUSE with _dl_argv.
15164         (dl_main): Likewise.
15165         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
15166         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
15167         instead of _dl_argv_internal.
15168         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
15169         __GI__dl_argv instead of INTUSE(_dl_argv).
15170         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
15171         __GI__dl_argv instead of _dl_argv_internal.
15173         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
15174         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
15175         macro.
15176         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
15177         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
15178         New macro.
15179         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
15180         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
15181         macro.
15182         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
15183         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
15185 2014-11-04  Andreas Schwab  <schwab@suse.de>
15187         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
15189 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15191         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
15192         mtvsrd instruction in binary form.
15194 2014-11-03  Andreas Schwab  <schwab@suse.de>
15196         [BZ #17522]
15197         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
15198         for less than MB_LEN_MAX use a local buffer of that size.
15199         * libio/tst-fputws.c: New file.
15200         * libio/Makefile (tests): Add tst-fputws.
15202 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
15204         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
15205         the size of the fpu_fr.fpu_dregs[] array.
15207 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
15209         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
15210         (__nanosleep): Do not define as alias.
15211         (nanosleep): Define as alias of __nanosleep.
15212         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
15213         __libc_nanosleep name.
15215 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
15217         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
15218         install.texi in comment.
15220 2014-10-31  Torvald Riegel  <triegel@redhat.com>
15222         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
15223         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
15224         ... add here and use lwsync or sync ...
15225         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
15226         ... and add here using lwsync.
15228 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
15230         * elf/dl-machine-reject-phdr.h: New file.
15231         * elf/dl-load.c: #include that.
15232         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
15233         if that returned true.
15235 2014-10-31  Roland McGrath  <roland@hack.frob.com>
15237         [BZ #17496]
15238         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
15239         gen-as-const-headers chunk.  Add a big scare comment after the last
15240         safe place to touch before-compile.
15242 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
15244         * manual/install.texi (Tools for Compilation): Update autoconf
15245         version requirements.
15246         * INSTALL: Regenerated.
15248         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
15249         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
15250         (__libc_pselect): Likewise.
15252         [BZ #14138]
15253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
15254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
15255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
15256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
15258 2014-10-31  Torvald Riegel  <triegel@redhat.com>
15260         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
15261         correct barrier instruction.
15262         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
15263         Likewise.
15264         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
15265         Likewise.
15267 2014-10-30  Roland McGrath  <roland@hack.frob.com>
15269         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
15270         after defining inlines.  Instead, just use parens to defeat macro
15271         expansion of __isctype in its declaration.
15273 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
15275         * include/sys/uio.h (__libc_readv): Remove declaration.
15276         (__libc_writev): Likewise.
15277         * misc/readv.c (__libc_readv): Rename to __readv.
15278         (__readv): Do not define as alias.
15279         (readv): Define as alias of __readv.
15280         * misc/writev.c (__libc_writev): Rename to __writev.
15281         (__writev): Do not define as alias.
15282         (writev): Define as alias of __writev.
15283         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
15284         (__readv): Do not define as alias.
15285         (readv): Define unconditionally as alias of __readv.
15286         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
15287         (__writev): Do not define as alias.
15288         (writev): Define unconditionally as alias of __writev.
15289         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
15290         name.
15291         (writev): Do not define __libc_writev name.
15293 2014-10-30  Roland McGrath  <roland@hack.frob.com>
15295         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
15296         (convert_charseq): New function, broken out of ...
15297         (use_from_charmap): ... here.  Call it.
15298         (use_to_charmap): Use convert_charseq and free instead of duplicating
15299         its code with a variable-length stack struct.
15301 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
15303         * include/fcntl.h (__libc_creat): Remove declaration.
15304         * io/creat.c (__libc_creat): Rename to creat.
15305         (creat): Do not define as alias.
15306         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
15307         of creat instead of __libc_creat.
15308         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
15309         to creat.
15310         (creat): Do not define as alias.
15311         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
15312         __libc_creat.
15313         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
15314         __libc_creat name.
15315         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
15316         Likewise.
15318 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
15320         * manual/llio.texi: Add comments discussing why write() may be
15321         considered MT-unsafe on Linux.
15323 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
15325         * dl-load.c (local_strdup): Remove.
15326         (expand_dynamic_string_token): Use __strdup.
15327         (decompose_rpath): Likewise.
15328         (_dl_map_object): Likewise.
15330 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
15332         [BZ #14132]
15333         * sysdeps/generic/unwind-dw2-fde.c
15334         (__register_frame_info_bases_internal): Do not declare.
15335         (__register_frame_info_table_bases_internal): Likewise.
15336         (__deregister_frame_info_bases_internal): Likewise.
15337         (__register_frame_info_bases): Declare and use hidden_proto before
15338         definition.  Use hidden_def instead of INTDEF.
15339         (__register_frame_info_table_bases): Likewise.
15340         (__deregister_frame_info_bases): Likewise.
15341         (__register_frame_info): Do not use INTUSE.
15342         (__register_frame): Likewise.
15343         (__register_frame_info_table): Likewise.
15344         (__register_frame_table): Likewise.
15345         (__deregister_frame_info): Likewise.
15346         (__deregister_frame): Likewise.
15348 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
15350         * sysdeps/unix/sysv/linux/arm/kernel-features.h
15351         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
15352         not undefine.
15353         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
15354         Likewise.
15355         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
15356         Likewise.
15358 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
15360         [BZ #14138]
15361         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
15362         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
15363         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
15364         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
15365         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
15366         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
15367         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
15368         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
15369         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
15370         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
15371         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
15372         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
15373         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
15374         syscall.
15375         (setfsuid): Likewise.
15376         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
15377         (setfsuid): Likewise.
15378         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
15379         (setfsuid): Likewise.
15380         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
15381         Likewise.
15382         (setfsuid): Likewise.
15383         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
15384         (setfsuid): Likewise.
15385         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
15386         Likewise.
15387         (setfsuid): Likewise.
15389 2014-10-27  Andreas Schwab  <schwab@suse.de>
15391         [BZ #17501]
15392         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
15393         check for Slow_SSE4_2 feature bit.
15394         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
15395         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
15396         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
15397         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
15399 2014-10-24  Roland McGrath  <roland@hack.frob.com>
15401         * configure.ac: Validate compiler version with a empirical test of
15402         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
15403         $CC -v output.
15404         * configure: Regenerated.
15406         * inet/htons.c (htons): Prototypify.
15407         * inet/htonl.c (htonl): Likewise.
15409 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
15411         * string/strncat.c (strncat): Improve performance by using strlen.
15413 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
15415         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
15417 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
15419         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
15420         Call libc_fetestexcept_aarch64.
15422 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
15424         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
15425         Call libc_feholdexcept_aarch64.
15427 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
15429         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
15430         Call get_rounding_mode.
15432 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
15434         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
15435         Simplify logic.
15437 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
15439         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
15440         Simplify logic.
15442 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
15444         [BZ #14138]
15445         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
15446         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
15447         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
15448         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
15449         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
15450         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
15451         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
15452         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
15453         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
15454         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
15455         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
15456         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
15457         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
15458         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
15459         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
15460         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
15461         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
15462         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
15463         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
15464         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
15465         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
15466         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
15467         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
15468         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
15469         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
15470         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
15471         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
15472         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
15473         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
15474         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
15475         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
15476         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
15477         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
15478         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
15479         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
15480         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
15481         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
15482         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
15483         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
15484         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
15485         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
15486         syscall.
15487         (geteuid): Likewise.
15488         (getgid): Likewise.
15489         (getuid): Likewise.
15490         (getresgid): Likewise.
15491         (getresuid): Likewise.
15492         (getgroups): Likewise.
15493         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
15494         (geteuid): Likewise.
15495         (getgid): Likewise.
15496         (getuid): Likewise.
15497         (getresgid): Likewise.
15498         (getresuid): Likewise.
15499         (getgroups): Likewise.
15500         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
15501         (geteuid): Likewise.
15502         (getgid): Likewise.
15503         (getuid): Likewise.
15504         (getresgid): Likewise.
15505         (getresuid): Likewise.
15506         (getgroups): Likewise.
15507         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
15508         Likewise.
15509         (geteuid): Likewise.
15510         (getgid): Likewise.
15511         (getuid): Likewise.
15512         (getresgid): Likewise.
15513         (getresuid): Likewise.
15514         (getgroups): Likewise.
15515         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
15516         (geteuid): Likewise.
15517         (getgid): Likewise.
15518         (getuid): Likewise.
15519         (getresgid): Likewise.
15520         (getresuid): Likewise.
15521         (getgroups): Likewise.
15522         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
15523         Likewise.
15524         (geteuid): Likewise.
15525         (getgid): Likewise.
15526         (getuid): Likewise.
15527         (getgroups): Likewise.
15529         [BZ #14138]
15530         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
15531         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
15532         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
15533         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
15534         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
15535         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
15536         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
15537         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
15538         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
15539         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
15540         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
15541         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
15542         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
15543         __chown.
15544         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
15545         (lchown): Likewise.
15546         (fchown): Likewise.
15547         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
15548         Likewise.
15549         (lchown): Likewise.
15550         (fchown): Likewise.
15551         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
15552         (lchown): Likewise.
15553         (fchown): Likewise.
15554         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
15555         Likewise.
15556         (lchown): Likewise.
15557         (fchown): Likewise.
15559 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
15561         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
15562         Simplify logic.
15564 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
15566         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
15567         Cleanup logic.
15569 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
15571         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
15572         Remove unused include.
15574 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
15576         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
15577         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
15578         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
15579         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
15581 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
15582             Helge Deller <deller@gmx.de>
15584         [BZ #17508]
15585         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
15586         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
15587         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
15589 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
15591         [BZ #14132]
15592         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
15593         Remove macro definition.
15594         (__ashrdi3_v_glibc20): Likewise.
15595         (__lshrdi3_v_glibc20): Likewise.
15596         (__cmpdi2_v_glibc20): Likewise.
15597         (__ucmpdi2_v_glibc20): Likewise.
15598         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
15599         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
15600         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
15601         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
15602         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
15603         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
15605 2014-10-22  Roland McGrath  <roland@hack.frob.com>
15607         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
15608         old GNU extension [0] syntax.
15609         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
15610         alloca rather than an array member with variable length.
15611         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
15612         * nscd/nscd.c (invalidate_db): New function, broken out of ...
15613         (parse_opt): ... here.  Likewise use alloca there.
15614         Validate the -i argument before checking for rootness.
15615         (send_shutdown): New function, broken out of ...
15616         (parse_opt): ... here.
15618 2014-10-22  Roland McGrath  <roland@hack.frob.com>
15620         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
15621         macro to get at the _rt_local_ro field.
15622         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
15623         ([PIC] case) or _dl_hwcap ([!PIC] case).
15624         * sysdeps/arm/setjmp.S: Likewise.
15626         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
15627         * sysdeps/arm/configure.ac: New check to define it.
15628         * sysdeps/arm/configure: Regenerated.
15629         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
15630         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
15631         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
15632         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
15633         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
15634         Use move/movt pair instead of a load.
15635         (LDST_GLOBAL): Macro removed.
15636         (LDR_GLOBAL): New macro replaces it.
15637         (LDR_HIDDEN): New macro.
15638         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
15639         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
15641         * setjmp/tst-setjmp-static.c: New file.
15642         * setjmp/Makefile (tests): Add it.
15643         (tests-static): New variable.
15645 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
15647         [BZ #17485]
15648         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
15650 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
15652         [BZ #14132]
15653         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
15655 2014-10-21  Roland McGrath  <roland@hack.frob.com>
15657         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
15659 2014-10-20  Roland McGrath  <roland@hack.frob.com>
15661         * io/fts.c (dirent_not_directory): New function.
15662         (fts_build): Call it.
15664 2014-10-20  Roland McGrath  <roland@hack.frob.com>
15666         * nptl/version.c (__nptl_main): Use normal __write rather than
15667         INTERNAL_SYSCALL.
15668         (banner): Update copyright years.
15670         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
15671         gettimeofday.
15672         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
15673         * nptl/pthread_cond_timedwait.c: Likewise.
15674         * nptl/pthread_mutex_timedlock.c: Likewise.
15675         * nptl/sem_timedwait.c: Likewise.
15677         * sysdeps/nptl/bits/libc-lock.h
15678         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
15679         (__libc_lock_init_recursive): Return void, not 0.
15680         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
15681         (__libc_rwlock_init): Likewise.
15682         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
15684 2014-10-20  Torvald Riegel  <triegel@redhat.com>
15686         [BZ #15215]
15687         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
15688         (__pthread_once_slow): ... here.
15689         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
15690         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
15692 2014-10-20  Torvald Riegel  <triegel@redhat.com>
15694         [BZ #15215]
15695         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
15696         __PTHREAD_ONCE_FORK_GEN_INCR): New.
15697         * sysdeps/nptl/fork.c (__libc_fork): Use them.
15698         * nptl/pthread_once.c (__pthread_once): Likewise.
15699         Update comments.
15701 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
15703         [BZ #14138]
15704         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
15705         name.
15706         (writev): Use __libc_writev as strong name.
15707         * sysdeps/unix/sysv/linux/readv.c: Remove file.
15708         * sysdeps/unix/sysv/linux/writev.c: Likewise.
15710 2014-10-17  Roland McGrath  <roland@hack.frob.com>
15712         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
15714         * sysdeps/i386/nptl/tls.h
15715         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
15716         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
15717         New macros.
15718         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
15719         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
15720         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
15721         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
15722         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
15723         Call CHECK_THREAD_SYSINFO instead of doing an assert.
15725         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
15726         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
15727         on [__NR_futex].
15728         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
15729         broken out of ...
15730         (__pthread_mutex_init): ... here.  Call it.
15731         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
15732         Conditionalize PI cases on [__NR_futex].
15733         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
15734         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
15735         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
15737         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
15738         conditional on [SIGSETXID].
15739         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
15740         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
15741         is defined.  Likewise for SIGSETXID.
15742         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
15743         Conditionalize definitions on [SIGSETXID].
15744         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
15745         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
15746         unblocking on [SIGCANCEL].
15748         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
15749         [__NR_set_robust_list].
15751 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
15753         * string/strcoll_l.c (get_next_seq): Fix up formatting.
15754         (do_compare): Likewise.
15756 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
15758         [BZ #15884]
15759         * string/strcoll_l.c: Don't include stdio.h.
15760         (coll_seq): Remove members idxarr and rulearr.
15761         (get_next_seq_cached): Remove function.
15762         (get_next_seq): Likewise.
15763         (get_next_seq_nocache): Rename to get_next_seq.
15764         (do_compare): Remove function.
15765         (do_compare_nocache): Rename to do_compare.
15766         (STRCOLL): Remove weight and rules cache.
15768 2014-10-16  Roland McGrath  <roland@hack.frob.com>
15770         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
15771         * sysdeps/arm/sfp-machine.h: ... to here.
15772         * sysdeps/arm/Implies: Remove arm/soft-fp.
15774 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
15776         * conform/data/sys/utsname.h-data (*_t): Allow.
15777         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
15778         [POSIX] (WEXITED): Do not expect constant.
15779         [POSIX] (WSTOPPED): Likewise.
15780         [POSIX] (WNOHANG): Likewise.
15781         [POSIX] (WNOWAIT): Likewise.
15782         [POSIX] (siginfo_t): Do not expect type or elements.
15783         [POSIX] (pid_t): Do not expect type.
15784         [POSIX] (signal.h): Do not allow header.
15785         [POSIX] (sys/resource.h): Likewise.
15786         [POSIX] (si_*): Do not allow pattern.
15787         [POSIX] (W*): Likewise.
15788         [POSIX] (P_*): Likewise.
15789         [POSIX] (BUS_*): Likewise.
15790         [POSIX] (CLD_*): Likewise.
15791         [POSIX] (FPE_*): Likewise.
15792         [POSIX] (ILL_*): Likewise.
15793         [POSIX] (POLL_*): Likewise.
15794         [POSIX] (SEGV_*): Likewise.
15795         [POSIX] (SI_*): Likewise.
15796         [POSIX] (TRAP_*): Likewise.
15797         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
15798         variable.
15800 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
15802         [BZ #12926]
15803         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
15804         infinite loop when __recvmsg returns 0.
15806 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
15808         * CANCEL-FCT-WAIVE: Remove file.
15809         * CANCEL-FILE-WAIVE: Likewise.
15811         [BZ #14132]
15812         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
15813         instead of INTVARDEF.
15814         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
15815         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
15816         rtld_hidden_data_def instead of INTVARDEF.
15817         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
15818         * elf/dl-deps.c (expand_dst): Likewise.
15819         * elf/dl-load.c (_dl_dst_count): Likewise.
15820         (_dl_dst_substitute): Likewise.
15821         (decompose_rpath): Likewise.
15822         (_dl_init_paths): Likewise.
15823         (open_path): Likewise.
15824         (_dl_map_object): Likewise.
15825         * elf/rtld.c (dl_main): Likewise.
15826         (process_dl_audit): Likewise.
15827         (process_envvars): Likewise.
15828         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
15829         Remove declaration.
15830         (__libc_enable_secure): Use rtld_hidden_proto.
15832 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
15834         * elf/dl-load.c
15835         (add_path): New function broken out of _dl_rtld_di_serinfo.
15836         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
15838 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
15840         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
15841         parentheses around macro arguments.
15842         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
15843         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
15844         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
15845         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
15846         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
15847         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
15848         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
15849         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
15850         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
15851         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
15852         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
15853         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
15854         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
15855         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
15856         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
15857         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
15858         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
15859         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
15860         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
15861         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
15862         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
15863         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
15864         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
15865         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
15866         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
15867         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
15868         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
15869         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
15870         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
15871         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
15872         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
15873         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
15874         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
15875         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
15876         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
15877         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
15878         Likewise.
15879         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
15880         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
15881         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
15882         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
15883         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
15884         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
15885         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
15886         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
15887         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
15888         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
15889         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
15890         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
15891         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
15892         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
15893         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
15894         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
15895         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
15896         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
15897         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
15898         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
15899         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
15900         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
15901         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
15902         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
15903         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
15904         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
15905         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
15906         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
15907         (_FP_FRAC_SRS_1): Likewise.
15908         (_FP_FRAC_CLZ_1): Likewise.
15909         (_FP_MUL_MEAT_1_imm): Likewise.
15910         (_FP_MUL_MEAT_1_wide): Likewise.
15911         (_FP_MUL_MEAT_1_hard): Likewise.
15912         (_FP_SQRT_MEAT_1): Likewise.
15913         (_FP_FRAC_ASSEMBLE_1): Likewise.
15914         (_FP_FRAC_DISASSEMBLE_1): Likewise.
15915         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
15916         (__FP_CLZ_2): Likewise.
15917         (_FP_MUL_MEAT_2_wide): Likewise.
15918         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
15919         (_FP_MUL_MEAT_2_gmp): Likewise.
15920         (_FP_MUL_MEAT_2_120_240_double): Likewise.
15921         (_FP_SQRT_MEAT_2): Likewise.
15922         (_FP_FRAC_ASSEMBLE_2): Likewise.
15923         (_FP_FRAC_DISASSEMBLE_2): Likewise.
15924         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
15925         (_FP_FRAC_CLZ_4): Likewise.
15926         (_FP_MUL_MEAT_4_wide): Likewise.
15927         (_FP_MUL_MEAT_4_gmp): Likewise.
15928         (_FP_SQRT_MEAT_4): Likewise.
15929         (_FP_FRAC_ASSEMBLE_4): Likewise.
15930         (_FP_FRAC_DISASSEMBLE_4): Likewise.
15931         * soft-fp/op-common.h (_FP_CMP): Likewise.
15932         (_FP_CMP_EQ): Likewise.
15933         (_FP_CMP_UNORD): Likewise.
15934         (_FP_TO_INT): Likewise.
15935         (_FP_FROM_INT): Likewise.
15936         [!__FP_CLZ] (__FP_CLZ): Likewise.
15937         (_FP_DIV_HELP_imm): Likewise.
15938         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
15939         Likewise.
15940         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
15941         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
15942         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
15943         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
15944         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
15945         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
15946         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
15947         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
15948         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
15949         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
15950         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
15951         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
15952         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
15953         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
15954         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
15955         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
15956         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
15957         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
15958         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
15959         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
15960         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
15961         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
15962         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
15963         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
15964         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
15965         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
15966         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
15967         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
15968         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
15969         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
15970         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
15971         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
15972         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
15973         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
15974         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
15975         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
15976         (FP_UNPACK_RAW_SP): Likewise.
15977         (FP_PACK_RAW_S): Likewise.
15978         (FP_PACK_RAW_SP): Likewise.
15979         (FP_UNPACK_S): Likewise.
15980         (FP_UNPACK_SP): Likewise.
15981         (FP_UNPACK_SEMIRAW_S): Likewise.
15982         (FP_UNPACK_SEMIRAW_SP): Likewise.
15983         (FP_PACK_S): Likewise.
15984         (FP_PACK_SP): Likewise.
15985         (FP_PACK_SEMIRAW_S): Likewise.
15986         (FP_PACK_SEMIRAW_SP): Likewise.
15987         (_FP_SQRT_MEAT_S): Likewise.
15988         (FP_CMP_S): Likewise.
15989         (FP_CMP_EQ_S): Likewise.
15990         (FP_CMP_UNORD_S): Likewise.
15991         (FP_TO_INT_S): Likewise.
15992         (FP_FROM_INT_S): Likewise.
15994         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
15996         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
15997         (FP_EX_INVALID_IMZ): Likewise.
15998         (FP_EX_INVALID_IMZ_FMA): Likewise.
15999         (FP_EX_INVALID_ISI): Likewise.
16000         (FP_EX_INVALID_ZDZ): Likewise.
16001         (FP_EX_INVALID_IDI): Likewise.
16002         (FP_EX_INVALID_SQRT): Likewise.
16003         (FP_EX_INVALID_CVI): Likewise.
16004         (FP_EX_INVALID_VC): Likewise.
16005         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
16006         "invalid" exceptions.
16007         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
16008         (_FP_ADD_INTERNAL): Likewise.
16009         (_FP_MUL): Likewise.
16010         (_FP_FMA): Likewise.
16011         (_FP_DIV): Likewise.
16012         (_FP_CMP_CHECK_NAN): Likewise.
16013         (_FP_SQRT): Likewise.
16014         (_FP_TO_INT): Likewise.
16015         (FP_EXTEND): Likewise.
16017 2014-10-09  Allan McRae  <allan@archlinux.org>
16019         * po/fr.po: Update French translation from translation project.
16021 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
16023         [BZ #14132]
16024         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
16025         of INTDEF.
16026         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
16027         (__cxa_atexit): Use libc_hidden_proto.
16028         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
16030         [BZ #14132]
16031         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
16032         declaration.
16033         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
16034         [!_ISOMAC] (__iswspace_l_internal): Likewise.
16035         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
16036         [!_ISOMAC] (__iswctype_internal): Likewise.
16037         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
16038         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
16039         alias.
16040         (fcntl): Remove __fcntl_internal alias.
16041         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
16042         __connect_internal alias.
16043         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
16044         Likewise.
16046         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
16047         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
16048         FP_DENORM_ZERO.
16049         (_FP_CHECK_FLUSH_ZERO): New macro.
16050         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
16051         (_FP_CMP): Likewise.
16052         (_FP_CMP_EQ): Likewise.
16053         (_FP_TO_INT): Do not set inexact for subnormal arguments if
16054         FP_DENORM_ZERO.
16055         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
16056         (FP_TRUNC): Likewise.
16058         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
16059         treated as invalid conversion, not as normal exponent.
16061         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
16062         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
16063         (_FP_CMP_EQ): Likewise.
16064         (_FP_CMP_UNORD): Likewise.
16065         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
16066         (FP_CMP_EQ_D): Likewise.
16067         (FP_CMP_UNORD_D): Likewise.
16068         * soft-fp/extended.h (FP_CMP_E): Likewise.
16069         (FP_CMP_EQ_E): Likewise.
16070         (FP_CMP_UNORD_E): Likewise.
16071         * soft-fp/quad.h (FP_CMP_Q): Likewise.
16072         (FP_CMP_EQ_Q): Likewise.
16073         (FP_CMP_UNORD_Q): Likewise.
16074         * soft-fp/single.h (FP_CMP_S): Likewise.
16075         (FP_CMP_EQ_S): Likewise.
16076         (FP_CMP_UNORD_S): Likewise.
16077         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
16078         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
16079         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
16080         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
16081         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
16082         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
16083         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
16084         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
16085         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
16086         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
16087         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
16088         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
16089         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
16090         to FP_CMP_Q.
16091         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
16092         FP_CMP_Q.
16093         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
16094         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
16095         FP_CMP_EQ_Q.
16096         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
16097         FP_CMP_Q.
16098         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
16099         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
16100         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
16101         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
16102         FP_CMP_EQ_Q.
16103         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
16104         FP_CMP_Q.
16105         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
16106         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
16107         FP_CMP_EQ_Q.
16108         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
16109         FP_CMP_Q.
16110         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
16111         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
16112         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
16113         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
16114         FP_CMP_EQ_Q.
16116         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
16117         a subnormal result, set the underflow exception if trapping on
16118         underflow is enabled.
16119         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
16120         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
16121         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
16122         redefine to 0.
16123         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
16124         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
16125         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
16126         * soft-fp/extendxftf2.c (__extendxftf2): Use
16127         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
16129         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
16130         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
16131         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
16132         FP_HANDLE_EXCEPTIONS.
16133         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
16134         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
16135         FP_HANDLE_EXCEPTIONS.
16136         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
16137         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
16138         FP_HANDLE_EXCEPTIONS.
16139         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
16140         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
16141         FP_HANDLE_EXCEPTIONS.
16143 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
16145         [BZ #14132]
16146         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
16147         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
16148         use INTUSE.
16149         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
16150         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
16151         Remove alias.
16152         (__adjtimex): Define using libc_hidden_ver.
16153         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
16154         Remove declaration.
16155         (ntp_gettime): Call __adjtimex directly.
16156         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
16157         Remove declaration.
16158         (ntp_gettimex): Call __adjtimex directly.
16159         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
16160         __adjtimex_internal alias.
16162 2014-10-08  Roland McGrath  <roland@hack.frob.com>
16164         [BZ #17460]
16165         * nscd/nscd.c (more_help): Rewrite list of tables collection
16166         using xstrdup and asprintf.
16168         * nscd/nscd_conf.c: Remove local xstrdup declaration.
16170 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
16171             Roland McGrath  <roland@hack.frob.com>
16173         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
16174         (do_lookup_unique): ... local function 'enter' here; update callers.
16176 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
16178         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
16179         compat_symbol calls on [SHARED].
16180         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
16181         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
16182         Remove.
16183         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
16184         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
16185         (oldsetrlimit): Remove.
16186         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
16187         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
16188         (lchown): New syscall entry.
16189         (oldsetrlimit): Remove.
16190         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
16191         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
16192         (oldsetrlimit): Remove.
16193         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
16195         [BZ #14138]
16196         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
16197         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
16198         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
16199         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
16200         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
16201         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
16202         (fchown): Likewise.
16203         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
16204         (fchown): Likewise.
16205         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
16206         Likewise.
16208 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16210         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
16211         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
16212         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
16213         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
16214         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
16215         Likewise.
16216         (__old_sem_post): Likewise.
16218 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
16220         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
16221         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
16222         HAVE_CLOCK_GETTIME_VSYSCALL macros.
16223         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
16224         Use INLINE_VSYSCALL macro.
16225         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
16226         __vdso_clock_gettime.
16227         * sysdeps/unix/sysv/linux/tile/init-first.c
16228         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
16229         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
16230         __vdso_clock_gettime.
16232         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
16233         to set up frame more cleanly.
16235         * sysdeps/tile/memcmp.c: New file.
16237         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
16239         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
16240         * sysdeps/tile/tilegx/strcasestr.c: New file.
16241         * sysdeps/tile/tilegx/strnlen.c: New file.
16242         * sysdeps/tile/tilegx/strstr.c: New file.
16244         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
16246 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
16248         * nptl/tst-setuid3.c: Write errors to stdout.
16250 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
16252         * elf/dl-deps.c
16253         (preload): New functions broken out of _dl_map_object_deps.
16254         (_dl_map_object_deps):  Remove a nested function. Update call sites.
16256 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
16258         [BZ #14138]
16259         * sysdeps/unix/sysv/linux/execve.c: Remove file.
16260         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
16262 2014-10-01  Steve Ellcey  <sellcey@mips.com>
16264         * sysdeps/mips/strcmp.S: New.
16266 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
16268         [BZ #14138]
16269         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
16270         (linkat): Likewise.
16271         (mkdirat): Likewise.
16272         (readlinkat): Likewise.
16273         (renameat): Likewise.
16274         (symlinkat): Likewise.
16275         (unlinkat): Likewise.
16276         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
16277         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
16278         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
16279         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
16280         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
16281         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
16282         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
16284 2014-09-30  Will Newton  <will.newton@linaro.org>
16286         * math/math.h: Define long double math functions if
16287         _LIBC_TEST is defined.
16288         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
16290         * localedata/Makefile: Move assignment to tests-special
16291         into an ifdef testing run-built-tests.
16292         * timezone/Makefile: Likewise.
16294 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
16296         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
16297         with $(BASH) not $(SHELL).
16299 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
16300             Matthew LeGendre  <legendre1@llnl.gov>
16302         [BZ #17411]
16303         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
16304         l_reloc_result.
16306 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
16308         * stdio-common/printf_fp.c
16309         (hack_digit): New function, broken out of ...
16310         (__printf_fp): ... local function here.  Update call sites.
16311         hack_digit now takes an additional parameter that is a pointer
16312         to a struct of the referenced locals.  Those locals moved inside
16313         the struct and references updated.
16315 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
16317         * aclocal.m4: Require autoconf 2.69.
16318         * configure: Regenerated.
16319         * sysdeps/aarch64/configure: Likewise.
16320         * sysdeps/alpha/configure: Likewise.
16321         * sysdeps/arm/armv7/configure: Likewise.
16322         * sysdeps/arm/configure: Likewise.
16323         * sysdeps/ia64/configure: Likewise.
16324         * sysdeps/mach/configure: Likewise.
16325         * sysdeps/mips/configure: Likewise.
16326         * sysdeps/s390/configure: Likewise.
16327         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
16328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
16330         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
16331         file.
16332         * sysdeps/ia64/configure.ac: Likewise.
16334 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
16336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
16337         specify symbol version for ld.so.  Do not include entry for
16338         libpthread.
16339         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
16340         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
16341         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
16343         [BZ #14171]
16344         * Makeconfig [$(build-shared) = yes]
16345         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
16346         makefiles.
16347         [$(build-shared) = yes && $(soversions.mk-done) = t]
16348         ($(common-objpfx)gnu/lib-names.h): Remove rule.
16349         [$(build-shared) = yes && $(soversions.mk-done) = t]
16350         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
16351         to Makerules.
16352         [$(build-shared) = yes && $(soversions.mk-done) = t]
16353         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
16354         here.
16355         [$(build-shared) = yes && $(soversions.mk-done) = t]
16356         (common-generated): Don't append gnu/lib-names.h and
16357         gnu/lib-names.stmp here.
16358         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
16359         (lib-names-h-abi): New variable.
16360         [$(build-shared) = yes && $(soversions.mk-done) = t]
16361         (lib-names-stmp-abi): Likewise.
16362         [$(build-shared) = yes && $(soversions.mk-done) = t &&
16363         abi-variants] (before-compile): Append
16364         $(common-objpfx)$(lib-names-h-abi).
16365         [$(build-shared) = yes && $(soversions.mk-done) = t &&
16366         abi-variants] (common-generated): Append gnu/lib-names.h.
16367         [$(build-shared) = yes && $(soversions.mk-done) = t &&
16368         abi-variants] (install-others-nosubdir): Depend on
16369         $(inst_includedir)/$(lib-names-h-abi).
16370         [$(build-shared) = yes && $(soversions.mk-done) = t &&
16371         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
16372         [$(build-shared) = yes && $(soversions.mk-done) = t]
16373         ($(common-objpfx)$(lib-names-h-abi)): New rule.
16374         [$(build-shared) = yes && $(soversions.mk-done) = t]
16375         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
16376         [$(build-shared) = yes && $(soversions.mk-done) = t]
16377         (common-generated): Append $(lib-names-h-abi) and
16378         $(lib-names-stmp-abi).
16379         * scripts/lib-names.awk: Do not handle multi being set.
16380         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
16381         Remove variable.
16382         (abi-lp64_be-ld-soname): Likewise.
16383         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
16384         Likewise.
16385         (abi-hard-ld-soname): Likewise.
16386         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
16387         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
16388         Remove variable.
16389         (abi-o32_hard-ld-soname): Likewise.
16390         (abi-o32_soft_2008-ld-soname): Likewise.
16391         (abi-o32_hard_2008-ld-soname): Likewise.
16392         (abi-n32_soft-ld-soname): Likewise.
16393         (abi-n32_hard-ld-soname): Likewise.
16394         (abi-n32_soft_2008-ld-soname): Likewise.
16395         (abi-n32_hard_2008-ld-soname): Likewise.
16396         (abi-n64_soft-ld-soname): Likewise.
16397         (abi-n64_hard-ld-soname): Likewise.
16398         (abi-n64_soft_2008-ld-soname): Likewise.
16399         (abi-n64_hard_2008-ld-soname): Likewise.
16400         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
16401         Likewise.
16402         (abi-64-v2-ld-soname): Likewise.
16403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
16404         ld.so entries.
16405         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
16406         variable.
16407         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
16408         entry.
16409         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
16410         variable.
16411         (abi-64-ld-soname): Likewise.
16412         (abi-x32-ld-soname): Likewise.
16413         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
16414         entry.
16415         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
16417 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
16419         [BZ #14138]
16420         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
16421         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
16422         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
16423         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
16424         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
16425         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
16426         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
16427         syscall entry for GLIBC_2.2 symbol version.
16428         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
16429         Likewise.
16430         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
16431         (setrlimit): Likewise.
16432         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
16433         Likewise.
16435 2014-09-23  Will Newton  <will.newton@linaro.org>
16437         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
16438         _LINUX_ARM_SYSDEP_H include guard too.
16439         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
16440         define.
16442 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
16444         * sysdeps/unix/sysv/linux/eventfd.c:
16445         Make first argument unsigned.
16446         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
16447         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
16449 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
16451         * socket/recvmmsg.c (recvmmsg): Drop const argument.
16452         * socket/sys/socket.h: Likewise
16453         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
16455 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16457         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
16459 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
16461         * time/tst-ftime.c: New test.
16462         * time/Makefile (tests): Add tst-ftime.
16464 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
16466         * soft-fp/extended.h: Fix comment formatting.
16467         * soft-fp/op-1.h: Likewise.
16468         * soft-fp/op-2.h: Likewise.
16469         * soft-fp/op-4.h: Likewise.
16470         * soft-fp/op-8.h: Likewise.
16471         * soft-fp/op-common.h: Likewise.
16472         * soft-fp/soft-fp.h: Likewise.
16474         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
16476 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
16478         [BZ #6652]
16479         * Makeconfig (soversions-default-setname): Remove variable.
16480         ($(common-objpfx)soversions.i): Don't pass default_setname to
16481         soversions.awk.
16482         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
16483         oldest_abi to abi-versions.awk.
16484         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
16485         * config.make.in (oldest-abi): Remove variable.
16486         * configure.ac (--enable-oldest-abi): Remove configure option.
16487         * configure: Regenerated.
16488         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
16489         text.
16490         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
16491         * scripts/soversions.awk: Do not handle default_setname variable.
16492         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
16493         variable.
16494         * sysdeps/mach/hurd/configure: Regenerated.
16495         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
16496         variable.
16497         * sysdeps/unix/sysv/linux/configure: Regenerated.
16499 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
16501         * elf/Makefile (CFLAGS-interp.c): Remove.
16502         ($(elf-objpfx)runtime-linker.h): Generate header with linker
16503         path string.
16504         * elf/interp.c: Include generated runtime-linker.h
16506         * Makerules (lib%.so): Don't include $(+interp) in
16507         prerequisites.
16508         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
16509         * dlfcn/eval.c: Remove file.
16511         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
16512         macros.
16514         [BZ #17266]
16515         * misc/sys/cdefs.h: Define __extern_always_inline for clang
16516         4.2 and newer.
16518         [BZ #17370]
16519         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
16521 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
16522             Jakub Jelinek  <jakub@redhat.com>
16524         [BZ #17266]
16525         * libio/stdio.h: Check definition of __fortify_function
16526         instead of __extern_always_inline to include bits/stdio2.h.
16527         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
16528         check if __extern_always_inline is defined.
16529         [__USE_MISC || __USE_XOPEN]: Likewise.
16530         [__USE_ISOC99] Likewise.
16531         * misc/sys/cdefs.h (__fortify_function): Define only if
16532         __extern_always_inline is defined.
16533         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
16534         __extern_always_inline and __extern_inline only for g++-4.3
16535         and newer or a compatible gcc.
16537 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
16539         [BZ #17371]
16540         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
16541         last change to handle zero prefix length.
16543 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
16545         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
16546         _SC_REGEX_VERSION.
16548         * posix/getconf.c (vars): Add _POSIX_IPV6 and
16549         _POSIX_RAW_SOCKETS.
16551 2014-09-13  Allan McRae  <allan@archlinux.org>
16553         * po/ru.po: Update Russian translation from translation project.
16555 2014-09-12  Roland McGrath  <roland@hack.frob.com>
16557         * locale/programs/locale.c (show_locale_vars): Inline local function
16558         into its sole call site.  Clean up some style nits.
16559         (print_item): New function, broken out of ...
16560         (show_info): ... local function here.  Clean up style nits.
16562         * locale/programs/ld-ctype.c (set_one_default): New function, broken
16563         out of ...
16564         (set_class_defaults): ... local function set_default here.
16565         Define set_default as a macro locally to pass constant parameters.
16566         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
16567         rather than a shared local.
16569         * stdlib/rpmatch.c (try): New function, broken out of ...
16570         (rpmatch): ... local function here.  Also, prototypify definition.
16572 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
16574         * scripts/soversions.awk: Do not handle configuration names.
16575         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
16576         vendor and os variables to soversions.awk.
16577         * configure.ac: Do not modify gnu-* host_os.
16578         * configure: Regenerated
16579         * shlib-versions: Remove first column with configuration names.
16580         * nptl/shlib-versions: Likewise.
16581         * nptl_db/shlib-versions: Likewise.
16582         * sysdeps/hppa/shlib-versions: Likewise.
16583         * sysdeps/m68k/shlib-versions: Likewise.
16584         * sysdeps/mach/hurd/shlib-versions: Likewise.
16585         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
16586         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
16587         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
16588         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
16589         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
16590         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
16591         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
16592         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
16593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
16594         Likewise.
16595         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
16596         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
16597         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
16598         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
16599         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
16600         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
16601         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
16602         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
16604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
16605         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
16606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
16607         Regenerated.
16608         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
16609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
16610         Condition symbol version definitions on [HAVE_ELFV2_ABI].
16612         * shlib-versions: Remove OS-specific entries.  Moved to files in
16613         sysdeps.
16614         * sysdeps/mach/hurd/shlib-versions: New file.
16615         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
16617         * nptl/shlib-versions: Remove architecture-specific entries.
16618         Moved to files in sysdeps.
16619         * shlib-versions: Likewise.
16620         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
16621         file.
16622         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
16623         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
16624         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
16625         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
16627         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
16628         (UDP_NO_CHECK6_RX): Likewise.
16630 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
16632         * sysdeps/posix/sysconf.c (__sysconf): Spell
16633         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
16635 2014-08-12  Florian Weimer  <fweimer@redhat.com>
16637         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
16638         loading.
16639         * iconv/Versions (__gconv_transliterate): Export for use from
16640         gconv modules.
16641         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
16642         (struct __gconv_trans_data, __gconv_trans_fct,
16643         __gconv_trans_context_fct, __gconv_trans_query_fct,
16644         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
16645         definitions.
16646         (struct __gconv_step_data): Remove __trans member.
16647         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
16648         longer hidden.  Remove unused trans_data argument.
16649         * iconv/gconv_int.h (struct trans_struct): Remove definition.
16650         (__gconv_translit_find): Remove declaration.
16651         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
16652         prototype.
16653         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
16654         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
16655         trans_data argument.  Add hidden definition.
16656         (__gconv_translit_find): Remove.
16657         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
16658         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
16659         * iconv/skeleton.c: Remove transliteration initialization.
16660         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
16661         __gconv_step_data initialization.
16662         * libio/iofwide.c (__libio_translit_): Remove.
16663         (_IO_fwide): Adjust struct __gconv_step_data initialization.
16664         * wcsmbs/btowc.c (__btowc): Likewise.
16665         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
16666         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
16667         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
16668         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
16669         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
16670         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
16671         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
16672         * wcsmbs/wctob.c (wctob): Likewise.
16674 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
16676         [BZ #16194]
16677         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
16678         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
16679         register usage.
16680         * sysdeps/x86/Makefile: Adjust.
16682 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
16683             Roland McGrath  <roland@hack.frob.com>
16685         * locale/weight.h: Add include guard.
16686         (findidx): Make static rather than auto; take new parameters
16687         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
16688         * locale/weightwc.h: Likewise.
16689         * posix/fnmatch_loop.c
16690         (FCT): Change type of EXTRA from int32_t to wint_t.
16691         Don't include either header inside the function.
16692         Call FINDIDX rather than findidx, and pass new arguments.
16693         #undef FINDIDX at the end of the file.
16694         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
16695         FINDIDX before including fnmatch_loop.c for the non-wide version.
16696         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
16697         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
16698         for the wide version.
16699         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
16700         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
16701         Pass new arguments to findidx.
16702         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
16703         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
16704         Don't #include it inside the function.  Pass new arguments to findidx.
16705         * posix/regex_internal.h
16706         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
16707         (re_string_elem_size_at): Don't #include it inside the function.
16708         Pass new arguments to findidx.
16709         * string/strcoll_l.c: #include WEIGHT_H at top level.
16710         (get_next_seq): Don't #include it inside the function.
16711         Pass new arguments to findidx.
16712         (get_next_seq_nocache): Likewise.
16713         * string/strxfrm_l.c: #include WEIGHT_H at top level.
16714         (STRXFRM): Don't #include it inside the function.
16715         Pass new arguments to findidx.
16717 2014-09-11  Florian Weimer  <fweimer@redhat.com>
16719         [BZ #17344]
16720         * malloc/malloc.c (unlink): Turn asserts into a call to
16721         malloc_printerr.
16723 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
16725         [BZ #17370]
16726         * libio/wfileops (do_ftell_wide): Free OUT.
16728 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
16730         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
16732 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
16734         [BZ #17363]
16735         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
16736         group if the current group is empty.
16738 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16740         * benchtests/bench-memset.c (test_main): Add more test from size
16741         from 32 to 512 bytes.
16742         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
16743         Add POWER8 memset object.
16744         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16745         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
16746         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
16747         implementation.
16748         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
16749         Likewise.
16750         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
16751         multiarch POWER8 memset optimization.
16752         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
16753         POWER8 memset optimization.
16755         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
16756         Remove bzero multiarch objects.
16757         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
16758         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
16759         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
16760         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
16761         Remove define.
16762         [__bzero]: Redefine to specific name.
16763         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
16764         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
16765         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
16766         define.
16767         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
16768         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
16770 2014-09-10  Florian Weimer  <fweimer@redhat.com>
16772         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
16773         warnings into errors.
16775         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
16776         __cxa_thread_atexit_impl prototype.
16778 2014-09-09  Steve Ellcey  <sellcey@mips.com>
16780         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
16781         Fix capitalization of error message.
16783 2014-09-09  Steve Ellcey  <sellcey@mips.com>
16785         * sysdeps/mips/preconfigure: Modify ABI tests.
16787 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
16789         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
16791 2014-09-07  Roland McGrath  <roland@hack.frob.com>
16792             Carlos O'Donell  <carlos@systemhalted.org>
16794         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
16795         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
16796         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
16797         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
16798         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
16799         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
16800         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
16801         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
16802         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
16803         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
16804         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
16805         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
16806         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
16807         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
16808         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
16809         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
16810         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
16811         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
16812         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
16813         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
16814         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
16815         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
16816         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
16817         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
16818         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
16819         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
16820         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
16821         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
16822         Deconditionalize the code that was previously under [RESET_PID].
16823         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
16824         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
16825         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
16826         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
16827         include sysdep.h.
16829 2014-09-08  Allan McRae  <allan@archlinux.org>
16831         * version.h (RELEASE): Set to "development".
16832         (VERSION): Set to "2.20.90"
16834 2014-09-07  Allan McRae  <allan@archlinux.org
16836         * version.h (RELEASE): Set to "stable".
16837         (VERSION): Set to "2.20"
16838         * include/features.h (__GLIBC_MINOR__): Set to 20.
16840         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
16841         Liebler.
16843         * po/ko.po: Update Korean translation from translation project.
16845 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
16847         [BZ #17354]
16848         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
16849         macro for handling signed relocations.
16851 2014-09-03  Florian Weimer  <fweimer@redhat.com>
16853         [BZ #17325]
16854         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
16855         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
16856         assert.
16857         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
16858         * iconvdata/ibm935.c (BODY): Likewise.
16859         * iconvdata/ibm937.c (BODY): Likewise.
16860         * iconvdata/ibm939.c (BODY): Likewise.
16861         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
16862         assert.
16863         * iconvdata/Makefile (iconv-test.out): Pass module list to test
16864         script.
16865         * iconvdata/run-iconv-test.sh: New test loop for checking for
16866         decoder crashers.
16868 2014-09-02  Khem Raj  <raj.khem@gmail.com>
16870         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
16871         libm_hidden_ver.
16873 2014-09-01  Allan McRae  <allan@archlinux.org>
16875         * po/eo.po: Update Esperanto translation from translation project.
16877         * po/ca.po: Update Catalan translation from translation project.
16879 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16881         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
16882         __proc_dostop call.
16884 2014-08-27  Mark Wielaard  <mjw@redhat.com>
16886         [BZ #17319]
16887         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
16888         to call set_thread_area instead of hand written asm.
16889         (__NR_set_thread_area): Removed define.
16890         (TLS_FLAG_WRITABLE): Likewise.
16891         (__ASSUME_SET_THREAD_AREA): Remove check.
16892         (TLS_EBX_ARG): Remove define.
16893         (TLS_LOAD_EBX): Likewise.
16895 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16897         Simplify atomicity of socket creation in bind.
16899         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
16900         looking up the name after linking the file.
16902 2014-08-27  Allan McRae  <allan@archlinux.org>
16904         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
16906 2014-08-26  Florian Weimer  <fweimer@redhat.com>
16908         [BZ #17187]
16909         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
16910         trans_compare, open_translit, __gconv_translit_find):
16911         Remove module loading code.
16913 2014-08-26  Allan McRae  <allan@archlinux.org>
16915         * po/vi.po: Update Vietnamese translation from translation project.
16917         * po/uk.po: Update Ukrainian translation from translation project.
16919         * po/fr.po: Update French translation from translation project.
16921         * po/ru.po: Update Russian translation from translation project.
16923         * po/pl.po: Update Polish translation from translation project.
16925         * po/cs.po: Update Czech translation from translation project.
16927         * po/de.po: Update German translation from translation project.
16929         * po/bg.po: Update Bulgarian translation from translation project.
16931         * po/sv.po: Update Sweedish translation from translation project.
16933         * po/nl.po: Update Dutch translation from translation project.
16935         * po/es.po: Update Spanish translation from translation project.
16937 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
16939         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
16941         * catgets/Makefile (CPPFLAGS-gencat): Remove.
16942         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
16943         (CPPFLAGS-iconvconfig): Likewise.
16944         * timezone/Makefile (CPPFLAGS-zic): Likewise.
16946         * include/libc-symbols.h: Remove unnecessary check for
16947         NOT_IN_libc.
16948         * nptl/pthreadP.h: Likewise.
16949         * sysdeps/aarch64/setjmp.S: Likewise.
16950         * sysdeps/alpha/setjmp.S: Likewise.
16951         * sysdeps/arm/sysdep.h: Likewise.
16952         * sysdeps/i386/setjmp.S: Likewise.
16953         * sysdeps/m68k/setjmp.c: Likewise.
16954         * sysdeps/posix/getcwd.c: Likewise.
16955         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
16956         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
16957         * sysdeps/s390/s390-32/setjmp.S: Likewise.
16958         * sysdeps/s390/s390-64/setjmp.S: Likewise.
16959         * sysdeps/sh/sh3/setjmp.S: Likewise.
16960         * sysdeps/sh/sh4/setjmp.S: Likewise.
16961         * sysdeps/unix/alpha/sysdep.h: Likewise.
16962         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
16963         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
16964         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
16965         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
16966         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
16967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
16968         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
16969         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
16970         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
16971         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
16972         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16973         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
16974         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
16975         * sysdeps/x86_64/setjmp.S: Likewise.
16977 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
16979         [BZ #17263]
16980         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
16981         <stdint.h>.
16982         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
16983         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
16985 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
16987         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
16989         [BZ #17262]
16990         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
16991         and __x86_64__ when disabling x87 inline functions.
16993 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
16995         [BZ #17259]
16996         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
16997         asm statement with __cpuid_count.
16999 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
17001         * configure.ac: Change __ehdr_start code to dereference the struct.
17002         Run readelf on the output to look for relocations.
17003         * configure: Regenerated.
17005 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
17007         [BZ #17261]
17008         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
17009         value to 0.
17010         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
17012 2014-08-12  Roland McGrath  <roland@hack.frob.com>
17014         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
17016 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
17018         [BZ #16892]
17019         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
17020         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
17022 2014-08-12  Sean Anderson  <seanga2@gmail.com>
17024         * malloc/malloc.c: Fix typo in comment.
17026 2014-08-09  Allan McRae  <allan@archlinux.org>
17028         * Regenerate libc.po.
17030 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
17032         * intl/tst-gettext2.sh: Check every lang file for creation.
17034 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
17036         * sysdeps/aarch64/fpu/math_private.h
17037         (libc_feholdsetround_noex_aarch64_ctx): New function.
17039 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
17041         * sysdeps/arm/armv6/strcpy.S (strcpy):
17042         Fix performance issue in misaligned cases.
17044 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17046         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
17047         Move definition from termios.h.
17048         (struct termio): Likewise.
17049         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
17050         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
17051         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
17052         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
17053         Likewise.
17054         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
17055         Move definition to ioctl-types.h
17056         (struct termio): Likewise.
17057         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
17058         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
17059         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
17060         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
17061         Likewise.
17063 2014-08-05  Richard Henderson  <rth@redhat.com>
17065         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
17066         exceptions.
17067         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
17068         Add fraiseexcpt.
17069         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
17070         Use __feraiseexcept.
17071         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
17072         Protect libm symbols with IS_IN_libm.
17074         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
17076 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
17078         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
17080 2014-08-04  Will Newton  <will.newton@linaro.org>
17082         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
17083         file.
17085 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
17087         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
17088         variants for each function.
17090 2014-08-04  Roland McGrath  <roland@hack.frob.com>
17092         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
17093         appended ...
17094         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
17095         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
17096         appended ...
17097         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
17098         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
17099         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
17100         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
17101         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
17102         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
17103         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
17104         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
17105         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
17106         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
17107         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
17108         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
17109         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
17110         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
17111         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
17112         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
17113         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
17114         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
17115         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
17116         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
17117         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
17118         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
17119         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
17120         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
17121         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
17122         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
17123         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
17124         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
17125         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
17126         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
17127         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
17128         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
17129         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
17130         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
17131         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
17132         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
17133         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
17134         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
17135         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
17136         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
17137         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
17138         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
17139         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
17140         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
17141         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
17142         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
17143         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
17144         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
17145         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
17146         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
17147         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
17148         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
17149         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
17150         Update #include.
17151         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
17152         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
17154 2014-08-04  Roland McGrath  <roland@hack.frob.com>
17156         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
17157         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
17158         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
17159         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
17160         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
17161         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
17163 2014-08-04  Roland McGrath  <roland@hack.frob.com>
17165         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
17166         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
17167         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17168         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
17170 2014-08-04  Roland McGrath  <roland@hack.frob.com>
17172         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
17173         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
17174         (__libc_vfork): Define function under this name.
17175         (__vfork): Define as an alias.
17176         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
17177         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
17179 2014-08-04  Roland McGrath  <roland@hack.frob.com>
17181         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
17182         that was previously under [RESET_PID].
17183         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
17185 2014-08-04  Andreas Schwab  <schwab@suse.de>
17187         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
17189 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
17191         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
17192         (main): Likewise.
17194 2014-08-01  Roland McGrath  <roland@hack.frob.com>
17196         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
17198 2014-08-01  Richard Henderon  <rth@redhat.com>
17200         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
17201         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
17202         typo in exact zero test.
17203         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17204         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17205         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17207 2014-08-01  Roland McGrath  <roland@hack.frob.com>
17209         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
17210         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
17211         * sysdeps/arm/sysdep.h: ... here.
17212         [!__ASSEMBLER__]: Include <stdint.h>.
17214 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
17216         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
17217         (HAVE_WCTYPE_H): Likewise.
17218         (HAVE_ISWCTYPE): Likewise.
17219         (ENABLE_NLS): Likewise.
17220         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
17221         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
17223         * posix/regex_internal.c: Check if DEBUG is defined and is
17224         set.
17226         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
17227         (HAVE_MBSRTOWCS): Likewise.
17228         * posix/fnmatch.c: Include string.h unconditionally.
17230 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
17232         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
17233         reversal.
17235 2014-07-31  Roland McGrath  <roland@hack.frob.com>
17237         * sysdeps/generic/safe-fatal.h: New file.
17238         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
17239         * nptl/forward.c: Include it.
17240         (__pthread_unwind): Use __safe_fatal as default action, rather
17241         than a bogus use of INTERNAL_SYSCALL that could never work.
17243         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
17244         * configure.ac (libc_cv_builtin_trap): New test.
17245         * configure: Regenerated.
17246         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
17247         (ABORT_INSTRUCTION): Define using __builtin_trap.
17249         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
17250         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
17251         * sysdeps/nptl/nptl-signals.h: New file.
17252         * nptl/pthreadP.h: Include <nptl-signals.h>.
17254 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
17256         * sysdeps/s390/s390-64/utf16-utf32-z9.c
17257         (ONE_DIRECTION): Define.
17258         * sysdeps/s390/s390-64/utf8-utf16-z9.c
17259         (ONE_DIRECTION): Define.
17260         * sysdeps/s390/s390-64/utf8-utf32-z9.c
17261         (ONE_DIRECTION): Define.
17263 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
17265         * sysdeps/s390/Makefile: Delete file.
17266         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
17267         * sysdeps/s390/__longjmp.c: Delete file.
17268         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
17269         Remove fields __flags and __reserved.
17270         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
17271         and add versioning.
17272         * sysdeps/s390/rtld-__longjmp.c: Delete file.
17273         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
17274         * sysdeps/s390/rtld-setjmp.S: Likewise.
17275         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
17276         * sysdeps/s390/s390-32/__longjmp.c: ... here.
17277         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
17278         * sysdeps/s390/s390-32/setjmp.S: ... here.
17279         Add versioning.
17280         (__sigsetjmp): Remove setting __flags field.
17281         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
17282         * sysdeps/s390/s390-64/__longjmp.c: ... here.
17283         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
17284         * sysdeps/s390/s390-64/setjmp.S: ... here.
17285         Add versioning.
17286         (__sigsetjmp): Remove setting __flags field.
17287         * sysdeps/s390/setjmp.S: Delete file.
17288         * sysdeps/s390/sigjmp.c: Likewise.
17289         * sysdeps/s390/v1-longjmp.c: Likewise.
17290         * sysdeps/s390/v1-setjmp.h: Likewise.
17291         * sysdeps/s390/v1-sigjmp.c: Likewise.
17292         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
17293         Remove v1-longjmp_chk.
17294         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
17295         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
17296         Include debug/longjmp_chk.c and add versioning.
17297         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
17298         Include nptl/pt-longjmp.c and add versioning.
17299         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
17300         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
17301         Include __longjmp.c.
17302         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
17303         Move to ...
17304         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
17305         (__getcontext): Remove setting __flags field.
17306         Add versioning.
17307         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
17308         Don't restore upper high grps.
17309         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
17310         Likewise.
17311         (__swapcontext): Remove setting uc_flags field.
17312         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
17313         Delete file.
17314         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
17315         Include __longjmp.c.
17316         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
17317         Move to ...
17318         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
17319         (__getcontext): Remove setting __flags field.
17320         Add versioning.
17321         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
17322         (__swapcontext): Remove setting uc_flags field.
17323         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
17324         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
17325         Remove fields uc_high_gprs and __reserved.
17326         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
17327         New file with reverted content.
17328         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
17329         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
17330         Regenerated.
17331         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
17332         Regenerated.
17334 2014-07-31  Andreas Schwab  <schwab@suse.de>
17336         * config.h.in (HAVE_IFUNC): Define to 0.
17337         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
17338         definedness.
17340 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
17342         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17343         memmove-avx-unaligned, memcpy-avx-unaligned and
17344         mempcpy-avx-unaligned.
17345         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17346         Add tests for AVX memcpy functions.
17347         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
17348         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
17349         memcpy_chk.
17350         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
17351         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
17352         memmove_chk.
17353         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
17354         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
17355         mempcpy_chk.
17356         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
17357         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
17358         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
17360 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17362         [BZ #17213]
17363         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
17364         powerpc64le.
17366 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
17368         [BZ #16839]
17369         * manual/llio.texi: Add section about open file description locks.
17370         * manual/examples/ofdlocks.c: Example of open file description
17371         lock usage.
17372         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
17373         F_OFD_SETLK, and F_OFD_SETLKW.
17375 2014-07-23  Allan McRae  <allan@archlinux.org>
17377         * po/es.po: Update Spanish translation from translation project.
17379 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
17381         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
17383 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
17385         [BZ #17078]
17386         * sysdeps/arm/dl-machine.h (elf_machine_rela)
17387         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
17388         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
17390 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
17392         [BZ #17088]
17393         * math/fesetenv.c (__fesetenv)
17394         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
17395         * math/feupdateenv.c (__feupdateenv)
17396         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
17398         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
17399         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
17400         (__ASSUME_SOCKETCALL): Do not define.
17402         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
17403         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
17404         (__ASSUME_SOCKETCALL): Do not define.
17405         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
17406         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
17407         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
17408         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
17409         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17410         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
17411         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17412         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17414         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
17415         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
17416         (__ASSUME_SOCKETCALL): Do not define.
17417         (__ASSUME_IPC64): Define unconditionally.
17418         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
17419         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
17420         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
17421         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17422         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
17423         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17424         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
17425         Likewise.
17427         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
17428         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
17429         (__ASSUME_SOCKETCALL): Do not define.
17430         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
17431         (__ASSUME_FUTEX_LOCK_PI): Likewise.
17432         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
17433         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
17434         (__ASSUME_REQUEUE_PI): Define unconditionally.
17435         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
17436         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
17437         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17438         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
17439         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17440         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17442         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
17443         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
17444         (__ASSUME_SOCKETCALL): Do not define.
17445         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
17446         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17447         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17448         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
17449         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17450         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17452         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
17453         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
17454         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
17455         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
17456         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17457         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
17458         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17459         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
17460         (__ASSUME_GETCPU_SYSCALL): Likewise.
17462         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
17463         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
17464         cases for individual architectures.
17465         * sysdeps/gnu/configure: Regenerated.
17466         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
17467         LIBC_SLIBDIR_RTLDDIR.
17468         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
17469         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
17470         LIBC_SLIBDIR_RTLDDIR.
17471         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
17472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
17473         LIBC_SLIBDIR_RTLDDIR.
17474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
17475         Regenerated.
17476         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
17477         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
17478         file.
17479         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
17480         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
17481         file.
17482         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
17483         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
17484         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
17485         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
17487         * sysdeps/aarch64/shlib-versions: Move to ...
17488         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
17489         * sysdeps/alpha/shlib-versions: Move to ...
17490         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
17491         * sysdeps/arm/shlib-versions: Move to ...
17492         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
17493         * sysdeps/hppa/shlib-versions: Move all contents except for
17494         libgcc_s entry to ...
17495         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
17496         entry from ...
17497         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
17498         * sysdeps/ia64/shlib-versions: Move to ...
17499         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
17500         entry from ...
17501         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
17502         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
17503         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
17504         * sysdeps/microblaze/shlib-versions: Move to ...
17505         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
17506         * sysdeps/mips/shlib-versions: Move to ...
17507         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
17508         entry from ...
17509         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
17510         * sysdeps/tile/shlib-versions: Move to ...
17511         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
17512         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
17513         from ...
17514         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
17515         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
17516         entry from ...
17517         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
17519 2014-07-17  Will Newton  <will.newton@linaro.org>
17521         * sysdeps/arm/bits/atomic.h
17522         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
17523         (__arch_compare_and_exchange_bool_16_int): Likewise.
17524         (__arch_compare_and_exchange_bool_64_int): Likewise.
17526         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
17527         into an #else block.
17529 2014-07-16  Roland McGrath  <roland@hack.frob.com>
17531         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
17532         just Linux configurations.  Test empirically that the compiler sets
17533         __ARM_EABI__, rather than using the tuple to decide.
17534         * sysdeps/arm/preconfigure: Regenerated.
17535         * sysdeps/unix/sysv/linux/arm/configure: File removed.
17536         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
17537         contents appended ...
17538         * sysdeps/arm/configure.ac: ... here.
17539         * sysdeps/arm/configure: Regenerated.
17541 2014-07-15  Roland McGrath  <roland@hack.frob.com>
17543         * nptl/pthread_kill.c: New file.
17544         * nptl/pthread_sigmask.c: New file.
17545         * nptl/pthread_sigqueue.c: New file.
17547         * sysdeps/nptl/lowlevellock.h: New file.
17548         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
17549         * sysdeps/nptl/lowlevellock-futex.h: New file.
17551         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
17552         Remove dead declarations.
17554 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
17556         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
17557         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
17558         config-cflags-avx2.
17559         * sysdeps/x86_64/configure.ac: Likewise.
17560         * sysdeps/i386/configure: Regenerated.
17561         * sysdeps/x86_64/configure: Likewise.
17562         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17563         memset-avx2 only if config-cflags-avx2 is yes.
17564         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17565         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
17566         defined.
17567         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
17568         only if HAVE_AVX2_SUPPORT is defined.
17569         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17571 2014-07-14  Alan Modra  <amodra@gmail.com>
17573         [BZ #17153]
17574         * elf/elf.h (DT_PPC64_NUM): Correct value.
17575         * NEWS: Add to fixed bug list.
17577 2014-07-13  Jim Meyering  <meyering@fb.com>
17579         [BZ 17150]
17580         regex: don't deref NULL upon heap allocation failure
17581         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
17582         failure in one more place.
17583         To trigger the segfault, configure grep -with-included-regex,
17584         build it, and run these commands:
17585         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
17587 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
17589         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
17591 2014-07-11  Richard Henderson  <rth@redhat.com>
17593         * sysdeps/aarch64/libm-test-ulps: Update.
17595 2014-07-10  Florian Weimer  <fweimer@redhat.com>
17597         [BZ #17135]
17598         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
17599         * nptl/allocatestack.c (__nptl_setxid_error): New function.
17600         (__nptl_setxid): Initialize error member.  Call
17601         __nptl_setxid_error.
17602         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
17603         * nptl/descr.h (struct xid_command): Add error member.
17604         * nptl/tst-setuid3.c: New file.
17605         * nptl/Makefile (tests): Add it.
17607 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17609         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
17610         New define.
17611         (__lll_trylock): Use __lll_base_trylock.
17612         (__lll_cond_trylock): Likewise.
17614 2014-07-10  Roland McGrath  <roland@hack.frob.com>
17616         * nptl/pthread_create.c (start_thread): Use atomic_or and
17617         lll_futex_wake directly rather than lll_robust_dead.
17618         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
17619         (lll_robust_dead): Macro removed.
17620         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
17621         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
17622         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
17623         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
17624         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
17625         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
17626         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
17627         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
17628         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
17629         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
17630         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
17631         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
17632         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
17633         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
17634         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
17636         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
17637         Use atomic_compare_and_exchange_val_acq directly rather than
17638         lll_robust_trylock.
17639         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
17640         (__lll_robust_trylock, lll_robust_trylock): Removed.
17641         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
17642         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
17643         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
17644         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
17645         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
17646         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
17647         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
17648         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
17649         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
17650         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
17651         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
17652         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
17653         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
17654         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
17656 2014-07-02  Florian Weimer  <fweimer@redhat.com>
17658         * manual/locale.texi (Locale Names): New section documenting
17659         locale name syntax.  Adjust menu and node chaining accordingly.
17660         (Choosing Locale): Reference Locale Names, Locale Categories.
17661         Mention setting LC_ALL=C.  Reflect that name syntax is now
17662         documented.
17663         (Locale Categories): New section title.  Reference Locale Names.
17664         LC_ALL is an environment variable, but not a category.
17665         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
17666         description, now in Locale Name.  Reference that section.  Locale
17667         name syntax is now documented.
17669 2014-07-02  Florian Weimer  <fweimer@redhat.com>
17671         [BZ #17137]
17672         * locale/findlocale.c (name_present, valid_locale_name): New
17673         functions.
17674         (_nl_find_locale): Use the loc_name variable to store name
17675         candidates.  Call name_present and valid_locale_name to check and
17676         validate locale names.  Return an error if the locale is invalid.
17678 2014-07-02  Florian Weimer  <fweimer@redhat.com>
17680         * locale/setlocale.c (setlocale): Use strdup for allocating
17681         composite name copy.
17683 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
17685         Sync up with gnulib.
17686         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
17687         [!_LIBC && ENABLE_NLS]: Include gettext.h.
17688         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
17689         and _GL_ARG_NONNULL.
17690         [USE_UNLOCKED_IO]: Include unlocked-io.h.
17691         [!_LIBC]: Include code for Windows and Cygwin.
17692         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
17693         Include prototype for int strerror_r.
17694         [!_LIBC] (is_open): New function.
17695         (flush_stdout): New function.
17696         (print_errno_message): Use it.
17697         (error): Likewise.
17698         (error_at_line): Likewise.
17699         (error_tail) Add function attribute macros.  Use
17700         __builtin_expect.
17702         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
17704         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
17706         * io/ftw.c: Include sys/param.h unconditionally.
17708         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
17710         [BZ #17125]
17711         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
17712         libc_freeres_ptr.
17713         (freecache): New function to free CACHE on exit.
17715         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
17716         initialization.
17718 2014-07-09  David S. Miller  <davem@davemloft.net>
17720         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17722         * sysdeps/sparc/nptl/internaltypes.h: Delete.
17723         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
17724         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
17725         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
17726         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
17727         * sysdeps/sparc/nptl/sem_init.c: Likewise.
17728         * sysdeps/sparc/nptl/sem_post.c: Likewise.
17729         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
17730         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
17731         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
17732         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
17733         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
17734         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
17736 2014-07-09  Andreas Schwab  <schwab@suse.de>
17738         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
17739         output.
17740         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
17741         (do_test): Likewise.
17743         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
17745 2014-07-09  Will Newton  <will.newton@linaro.org>
17747         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
17748         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
17749         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
17750         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
17751         * sysdeps/hppa/start.S (_start): Likewise.
17753 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
17755         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
17757         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
17758         defined.
17760 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
17762         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
17763         after checking that it is non-NULL.
17765         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
17767 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17769         * sysdeps/powerpc/memmove.c: Remove file.
17770         * sysdeps/powerpc/powerpc32/power4/memcopy.h
17771         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
17772         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
17773         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
17774         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
17775         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
17776         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
17777         string memmove instead of removed powerpc one.
17779         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
17780         [weak_alias]: Fix compiler warning due trailing data.
17781         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
17782         [weak_alias]: Likewise.
17783         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
17784         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
17786         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17787         (__libc_ifunc_impl_list): Add memmove functions.
17789 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
17791         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
17792         Remove code.
17793         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
17794         Likewise
17795         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
17796         Likewise
17797         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
17798         Likewise
17799         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
17800         Likewise
17801         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
17802         Likewise
17803         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
17804         Likewise
17805         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
17806         Likewise
17807         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
17808         Likewise
17809         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
17810         Likewise
17811         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
17812         Likewise
17813         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
17814         Likewise
17815         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
17816         Likewise
17817         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
17818         Likewise
17819         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
17820         Likewise
17821         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
17822         Likewise
17823         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
17824         Likewise
17826 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17828         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
17829         to avoid alignment traps in non-cacheable memory.
17830         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
17832         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
17833         multiarch objects.
17834         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
17835         file: multiarch power7 memmove.
17836         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
17837         multiarch default memmove.
17838         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
17839         multiarch memove for powerpc32/power4.
17841         * string/bcopy.c: Use full path to include memmove.c.
17842         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
17843         multiarch objects.
17844         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
17845         bcopy for powerpc64.
17846         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
17847         bcopy for powerpc64.
17848         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
17849         and memmove implementations.
17850         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
17851         optimized multiarch memmove for POWER7/powerpc64.
17852         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
17853         default multiarch memmove for powerpc64.
17854         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
17855         multiarch for powerpc64.
17856         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
17857         for POWER7/powerpc64.
17858         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
17859         memmove for POWER7/powerpc64.
17861         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
17862         glibc default one.
17864         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
17865         __ELF_NATIVE_CLASS equal to 64.
17867 2014-07-07  Roland McGrath  <roland@hack.frob.com>
17869         * sysdeps/nptl/lowlevellock.h: File removed.
17871         * NEWS: NPTL is no longer an add-on!
17872         * nptl/internaltypes.h: Moved ...
17873         * sysdeps/nptl/internaltypes.h: ... here.
17874         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
17875         * sysdeps/nptl/fork.c: Likewise.
17876         * sysdeps/nptl/gai_misc.h: Likewise.
17877         * sysdeps/nptl/librt-cancellation.c: Likewise.
17878         * sysdeps/nptl/jmp-unwind.c: Likewise.
17879         * sysdeps/nptl/setxid.h: Likewise.
17880         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
17881         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
17882         * sysdeps/unix/sysv/linux/arm/Implies: New file.
17883         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
17884         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
17885         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
17886         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
17887         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
17888         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
17889         * sysdeps/unix/sysv/linux/mips/Implies: New file.
17890         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
17891         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
17892         * sysdeps/unix/sysv/linux/sh/Implies: New file.
17893         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
17894         * sysdeps/unix/sysv/linux/tile/Implies: New file.
17895         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
17896         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
17897         * nptl/Makeconfig: Moved ...
17898         * sysdeps/nptl/Makeconfig: ... here.
17899         * nptl/configure: File removed.
17900         * nptl/ANNOUNCE: File removed.
17901         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
17902         * sysdeps/unix/sysv/linux/configure: Regenerated.
17904         * nptl/Makefile (routines): Add libc_pthread_init,
17905         libc_multiple_threads, register-atfork and unregister-atfork.
17906         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
17907         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
17908         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
17909         pthread-pi-defines.sym, structsem.sym.
17910         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
17911         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
17912         [$(subdir) = nptl] (tests): Add tst-setgetname.
17913         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
17914         * sysdeps/unix/sysv/linux/sigaction.c: Just include
17915         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
17916         [!LIBC_SIGACTION]: Remove aliases.
17917         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
17918         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
17919         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
17920         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
17921         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
17922         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
17923         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
17924         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
17925         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
17926         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
17927         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
17928         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
17929         __libc_allocate_rtsig_private.
17930         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
17931         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
17932         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
17933         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
17934         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
17935         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
17936         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
17937         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
17938         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
17939         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
17940         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
17941         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
17942         * nptl/internaltypes.h: ... here.
17943         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
17944         * sysdeps/nptl/jmp-unwind.c: ... here.
17945         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
17946         * nptl/libc-lowlevellock.c: ... here.
17947         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
17948         * nptl/libc_multiple_threads.c: ... here.
17949         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
17950         * nptl/libc_pthread_init.c: ... here.
17951         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
17952         * nptl/lowlevelbarrier.sym: ... here.
17953         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
17954         * nptl/lowlevelcond.sym: ... here.
17955         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
17956         * nptl/lowlevellock.c: ... here.
17957         * nptl/lowlevellock.h: Moved ...
17958         * sysdeps/nptl/lowlevellock.h: ... here.
17959         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
17960         * nptl/lowlevelrobustlock.c: ... here.
17961         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
17962         * nptl/lowlevelrobustlock.sym: ... here.
17963         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
17964         * nptl/lowlevelrwlock.sym: ... here.
17965         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
17966         * nptl/pt-fork.c: ... here.
17967         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
17968         * nptl/pthread-pi-defines.sym: ... here.
17969         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
17970         * nptl/pthread_attr_getaffinity.c: ... here.
17971         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
17972         * nptl/pthread_attr_setaffinity.c: ... here.
17973         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
17974         * nptl/pthread_mutex_cond_lock.c: ... here.
17975         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
17976         Update #include.
17977         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
17978         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
17979         * nptl/pthread_once.c: ... here, replacing old file.
17980         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
17981         * nptl/pthread_yield.c: ... here.
17982         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
17983         * nptl/register-atfork.c: ... here.
17984         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
17985         * nptl/sem_post.c: ... here.
17986         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
17987         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
17988         * nptl/sem_timedwait.c: ... here.
17989         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
17990         * nptl/sem_trywait.c: ... here.
17991         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
17992         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
17993         * nptl/sem_wait.c: ... here.
17994         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
17995         * nptl/structsem.sym: ... here.
17996         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
17997         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
17998         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
17999         * nptl/unregister-atfork.c: ... here.
18000         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
18001         * nptl/unwindbuf.sym: ... here.
18002         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
18003         * sysdeps/nptl/fork.c: ... here.
18004         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
18005         * sysdeps/nptl/fork.h: ... here.
18006         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
18007         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
18008         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
18009         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
18010         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
18011         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
18012         * sysdeps/unix/sysv/linux/getpid.c: ... here.
18013         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
18014         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
18015         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
18016         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
18017         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
18018         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
18019         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
18020         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
18021         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
18022         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
18023         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
18024         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
18025         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
18026         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
18027         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
18028         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
18029         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
18030         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
18031         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
18032         * sysdeps/unix/sysv/linux/raise.c: ... here.
18033         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
18034         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
18035         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
18036         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
18037         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
18038         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
18039         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
18040         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
18041         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
18042         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
18043         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
18044         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
18045         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
18046         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
18047         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
18049 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
18051         * sysdeps/generic/memcopy.h: Add comment for
18052         MEMCPY_OK_FOR_FWD_MEMMOVE.
18054 2014-07-04  Will Newton  <will.newton@linaro.org>
18056         * string/memchr.c: Merge from gnulib.
18057         [_LIBC]: Remove conditionals.
18058         (__ptr_t): Remove define.
18059         (LONG_MAX_32_BITS): Likewise.
18060         (LONG_MAX): Likewise.
18061         (MEMCHR): Use ANSI prototype and optimize algorithm.
18063         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
18065 2014-07-03  Roland McGrath  <roland@hack.frob.com>
18067         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
18068         (lll_futex_timed_wait_bitset): Fix syscall argument count.
18070         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
18071         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
18072         in a bare environment with no <stdlib.h> installed.
18073         * sysdeps/nptl/configure: Regenerated.
18075         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
18077         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
18078         AC_EGREP_CPP for kernel header checks, so they only succeed if
18079         including <linux/version.h> actually works right.
18080         * sysdeps/unix/sysv/linux/configure: Regenerated.
18082         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
18083         value so it's not diagnosed as unused.
18085         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
18086         thing) with "ifeq ($(subdir),rt)".
18088 2014-07-03  Richard Henderson  <rth@redhat.com>
18090         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
18091         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
18092         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
18094         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
18095         (math_force_eval): New.
18097         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
18098         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
18100         * sysdeps/alpha/fpu/s_round.c: Remove file.
18101         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
18103         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
18104         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
18105         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
18106         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
18107         (_dl_start, print_statistics): Likewise.
18108         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
18109         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
18111         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
18112         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
18113         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
18114         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
18115         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
18116         (HP_SMALL_TIMING_AVAIL): Define.
18117         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
18118         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
18119         (HP_SMALL_TIMING_AVAIL): Define.
18120         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
18121         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
18123         * sysdeps/aarch64/hp-timing.h: New file.
18125         * sysdeps/generic/hp-timing.h: Remove dead comment.
18126         * sysdeps/generic/hp-timing-common.h: New file.
18127         * sysdeps/alpha/hp-timing.h: Include it.
18128         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
18129         * sysdeps/i386/i686/hp-timing.h: Likewise.
18130         * sysdeps/ia64/hp-timing.h: Likewise.
18131         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
18132         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
18133         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
18134         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
18135         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
18136         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
18137         (hp_timing_t): New.
18139         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
18140         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
18141         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
18142         * elf/rtld.c (_dl_start_final): Likewise.
18143         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
18144         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
18145         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
18146         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
18147         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
18148         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
18149         (HP_TIMING_DIFF_INIT): Remove.
18150         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
18151         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
18152         (HP_TIMING_DIFF_INIT): Remove.
18153         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
18154         * sysdeps/i386/i686/hp-timing.c: Remove file.
18155         * sysdeps/x86_64/hp-timing.c: Remove file.
18156         * sysdeps/ia64/hp-timing.c: Remove file.
18157         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
18158         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
18159         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
18160         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
18162         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
18163         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
18164         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
18165         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
18166         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
18167         (HP_TIMING_ACCUM): Remove.
18168         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
18169         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
18170         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
18172         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
18173         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
18174         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
18175         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
18176         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
18177         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
18178         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
18179         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
18181         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
18183 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
18185         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
18187 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
18189         Sync up with gettext.
18190         * intl/loadmsgcat.c: Define O_BINARY if not defined.
18191         [_MSC_VER]: Include malloc.h
18192         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
18193         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
18194         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
18195         TEMP_FAILURE_RETRY.  Cast return of alloca.
18196         [!_LIBC] Call gl_rwlock_init.
18197         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
18199 2014-07-02  Roland McGrath  <roland@hack.frob.com>
18201         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
18202         before checking its value.
18204 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
18206         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
18208         * debug/memcpy_chk.c: Don't include pagecopy.h.
18209         * debug/mempcpy_chk.c: Likewise.
18210         * string/memcpy.c: Likewise.
18211         * string/memmove.c: Likewise.
18212         * sysdeps/powerpc/memmove.c: Likewise.
18213         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
18214         definition of PAGE_COPY_FWD_MAYBE here...
18215         * sysdeps/generic/pagecopy.h: ... from here.
18216         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
18218 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
18219             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18221         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
18222         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
18223         optimizations.
18224         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18225         (__libc_ifunc_impl_list): Likewise.
18226         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
18227         multiarch strcat for PPC64.
18228         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
18229         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
18231 2014-07-02  Roland McGrath  <roland@hack.frob.com>
18233         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
18235 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
18237         * intl/loadmsgcat.c: Remove declaration of
18238         get_sysdep_segment_value.
18239         (get_sysdep_segment_value): Use ISO C style.
18240         (_nl_load_domain): Use ISO C style.  Get rid of redundant
18241         semicolon.  Fix typo and formatting in comment.
18242         (_nl_unload_domain): Use ISO C style.
18244         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
18246 2014-07-02  Will Newton  <will.newton@linaro.org>
18248         * malloc/obstack.c: Merge from gnulib master.
18249         [HAVE_CONFIG_H]: Remove conditional code.
18250         [!_LIBC]: Include config.h.
18251         [!ELIDE_CODE]: Don't include inttypes.h, include
18252         stdint.h unconditionally.
18253         (print_and_abort): Mark as _Noreturn.
18254         (_obstack_allocated_p): Mark as __attribute_pure__.
18255         (obstack_free): Rename to __obstack_free.
18256         [!__attribute__]: Remove conditional code.
18257         * malloc/obstack.h: Merge from gnulib master.
18258         [__cplusplus]: Move conditional down.
18259         [!__attribute_pure__]: Define __attribute_pure__ here
18260         if it is not already defined.
18261         (_obstack_memory_used): Mark as __attribute_pure__.
18262         [!__obstack_free]: Define as obstack_free.
18263         [__GNUC__]: Remove check for ancient NeXT gcc.
18265 2014-07-02  Will Newton  <will.newton@linaro.org>
18266             Paul Eggert  <eggert@cs.ucla.edu>
18268         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
18270 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
18272         * resolv/gethnamaddr.c: Add comment warning that the file is
18273         not maintained.
18275 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
18277         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
18278         entries.
18280         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
18281         entry for aio_cancel and aio_cancel64.
18282         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
18283         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
18284         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
18285         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
18286         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
18287         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
18288         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
18289         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
18290         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
18291         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
18292         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
18293         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
18294         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
18296 2014-07-01  Roland McGrath  <roland@hack.frob.com>
18298         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
18299         * nptl/pthread_mutex_lock.c: Likewise.
18300         * nptl/pthread_mutex_timedlock.c: Likewise.
18301         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
18303 2014-07-01  Richard henderson  <rth@redhat.com>
18305         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
18306         (__isnan, __isnanl): Remove.
18307         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
18309         * sysdeps/alpha/fpu/libm-test-ulps: Update.
18311 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
18313         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18315 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
18317         * resolv/nss_dns/dns-host.c (getanswer_r)
18318         [MULTI_PTRS_ARE_ALIASES]: Remove code.
18320 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
18322         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18323         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
18324         undefine.
18325         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
18326         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
18328 2014-07-01  Roland McGrath <roland@hack.frob.com>
18330         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
18331         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
18333         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
18334         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
18336         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
18337         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
18338         ... here.
18339         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
18340         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
18342         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
18343         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
18344         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
18345         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
18347         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
18348         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
18349         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
18350         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
18351         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
18352         Moved ...
18353         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
18354         ... here.
18355         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
18356         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
18357         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
18358         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
18359         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
18360         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
18361         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
18362         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
18363         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
18364         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
18365         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
18366         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
18367         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
18368         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
18369         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
18370         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
18371         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
18372         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
18373         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
18374         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
18375         ... here.
18376         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
18377         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
18378         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
18379         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
18380         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
18381         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
18382         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
18383         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
18385 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
18387         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
18388         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
18389         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
18390         Add sysdep.
18392 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18394         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18396 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
18398         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
18399         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
18401         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
18403         * sysdeps/arm/libm-test-ulps: Regenerated.
18405 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
18406             Roland McGrath <roland@hack.frob.com>
18408         * test-skeleton.c (signal_handler): Kill the whole process group
18409         before killing the child individually.
18410         (main): Report any failure on `setpgid'.
18412 2014-06-30  Roland McGrath  <roland@hack.frob.com>
18414         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
18415         from _TLS_H to _ARM_NPTL_TLS_H.
18416         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
18417         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
18419 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
18421         [BZ #16539]
18422         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
18423         (__expm1l): Return argument unchanged when small but not
18424         subnormal.
18426         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
18427         include macro name.
18428         (_FP_UNPACK_RAW_1_P): Likewise.
18429         (_FP_PACK_RAW_1): Likewise.
18430         (_FP_PACK_RAW_1_P): Likewise.
18431         (_FP_MUL_MEAT_1_wide): Likewise.
18432         (_FP_MUL_MEAT_DW_1_hard): Likewise.
18433         (_FP_MUL_MEAT_1_hard): Likewise.
18434         (_FP_DIV_MEAT_1_imm): Likewise.
18435         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
18436         (_FP_DIV_MEAT_1_udiv): Likewise.
18437         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
18438         (_FP_UNPACK_RAW_2): Likewise.
18439         (_FP_UNPACK_RAW_2_P): Likewise.
18440         (_FP_PACK_RAW_2): Likewise.
18441         (_FP_PACK_RAW_2_P): Likewise.
18442         (_FP_MUL_MEAT_DW_2_wide): Likewise.
18443         (_FP_MUL_MEAT_2_wide): Likewise.
18444         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
18445         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
18446         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
18447         (_FP_MUL_MEAT_2_gmp): Likewise.
18448         (_FP_DIV_MEAT_2_udiv): Likewise.
18449         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
18450         (_FP_FRAC_SRL_4): Likewise.
18451         (_FP_FRAC_SRST_4): Likewise.
18452         (_FP_FRAC_SRS_4): Likewise.
18453         (_FP_UNPACK_RAW_4): Likewise.
18454         (_FP_UNPACK_RAW_4_P): Likewise.
18455         (_FP_PACK_RAW_4): Likewise.
18456         (_FP_PACK_RAW_4_P): Likewise.
18457         (_FP_MUL_MEAT_DW_4_wide): Likewise.
18458         (_FP_MUL_MEAT_4_wide): Likewise.
18459         (_FP_MUL_MEAT_4_gmp): Likewise.
18460         (umul_ppppmnnn): Likewise.
18461         (_FP_DIV_MEAT_4_udiv): Likewise.
18462         (__FP_FRAC_ADD_4): Likewise.
18463         (__FP_FRAC_SUB_3): Likewise.
18464         (__FP_FRAC_SUB_4): Likewise.
18465         (__FP_FRAC_DEC_3): Likewise.
18466         (__FP_FRAC_DEC_4): Likewise.
18467         (__FP_FRAC_ADDI_4): Likewise.
18468         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
18469         (_FP_FRAC_SRL_8): Likewise.
18470         (_FP_FRAC_SRS_8): Likewise.
18472         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
18473         include macro name.
18474         (FP_UNPACK_RAW_EP): Likewise.
18475         (FP_PACK_RAW_E): Likewise.
18476         (FP_PACK_RAW_EP): Likewise.
18477         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
18478         (_FP_ISSIGNAN): Likewise.
18479         (_FP_ADD_INTERNAL): Likewise.
18480         (_FP_FMA): Likewise.
18481         (_FP_CMP): Likewise.
18482         (_FP_SQRT): Likewise.
18483         (_FP_TO_INT): Likewise.
18484         (_FP_FROM_INT): Likewise.
18485         (FP_EXTEND): Likewise.
18486         (_FP_DIV_MEAT_N_loop): Likewise.
18488 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
18490         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
18491         throughout.
18493 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
18495         [BZ #17097]
18496         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
18497         result with correct sign in case of exponents that produce
18498         overflow except for X very close to 1.
18500 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
18502         mktime: merge #if/#ifdef usage from glibc
18503         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
18504         as that works with both Glibc's and Gnulib's style.
18505         See thread starting at Siddhesh Poyarekar's bug report at:
18506         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
18508 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
18510         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
18511         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
18512         * sysdeps/tile/tilegx/memmove.c: Remove file.
18514 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
18516         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
18517         abi-name definition.
18518         * scripts/soversions.awk: Do not handle or generate ABI lines.
18519         * shlib-versions: Remove ABI entries.
18520         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
18521         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
18523 2014-06-27  Roland McGrath  <roland@hack.frob.com>
18525         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
18526         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
18527         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
18528         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
18529         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
18530         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
18531         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
18532         Moved ...
18533         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
18534         ... here.
18535         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
18536         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
18537         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
18538         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
18539         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
18540         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
18541         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
18542         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
18543         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
18544         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
18545         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
18546         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
18547         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
18548         Moved ...
18549         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
18550         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
18551         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
18552         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
18553         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
18554         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
18555         Moved ...
18556         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
18557         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
18558         Moved ...
18559         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
18560         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
18561         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
18562         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
18563         Moved ...
18564         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
18565         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
18566         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
18567         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
18568         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
18569         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
18570         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
18571         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
18572         Moved ...
18573         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
18574         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
18575         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
18576         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
18577         Moved ...
18578         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
18579         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
18580         Moved ...
18581         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
18582         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
18583         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
18584         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
18585         Moved ...
18586         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
18587         ... here.
18588         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
18589         Identical file removed.
18590         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
18591         Moved ...
18592         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
18593         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
18594         Identical file removed.
18595         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
18596         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
18597         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
18598         Moved ...
18599         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
18600         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
18601         Identical file removed.
18602         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
18603         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
18604         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
18605         Identical file removed.
18606         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
18607         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
18608         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
18609         Identical file removed.
18610         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
18611         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
18612         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
18613         Identical file removed.
18614         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
18615         Moved ...
18616         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
18617         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
18618         Identical file removed.
18619         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
18620         Moved ...
18621         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
18622         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
18623         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
18624         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
18625         Identical file removed.
18626         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
18627         Moved ...
18628         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
18629         ... here.
18630         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
18631         Identical file removed.
18632         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
18633         Moved ...
18634         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
18635         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
18636         Identical file removed.
18637         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
18638         Moved ...
18639         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
18640         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
18641         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
18642         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
18643         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
18644         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
18645         Moved ...
18646         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
18647         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
18648         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
18650         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
18651         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
18652         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
18653         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
18654         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
18656 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
18658         [BZ #17092]
18659         * nscd/nscd.c (monitor_child): Return exit status of child
18660         instead of return value from wait syscall.
18662 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
18664         * configure.ac (libc_commonpagesize): Remove variable.
18665         (libc_relro_required): Likewise.
18666         (libc_cv_z_relro): Remove configure test.
18667         * configure: Regenerated.
18668         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
18669         variable.
18670         (libc_relro_required): Likewise.
18671         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
18672         (libc_relro_required): Likewise.
18673         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
18674         (libc_relro_required): Likewise.
18675         * sysdeps/arm/preconfigure: Regenerated.
18676         * sysdeps/ia64/preconfigure: Remove file.
18677         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
18678         variable.
18679         (libc_relro_required): Likewise.
18681         [BZ #16561]
18682         [BZ #16562]
18683         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
18684         (__ieee754_yn): Set FE_TONEAREST mode internally and then
18685         recompute overflowing results in original rounding mode.
18686         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
18687         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
18688         recompute overflowing results in original rounding mode.
18689         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
18690         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
18691         recompute overflowing results in original rounding mode.
18692         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
18693         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
18694         recompute overflowing results in original rounding mode.
18695         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
18696         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
18697         recompute overflowing results in original rounding mode.
18698         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
18699         (libc_feholdsetround_ctx): New macro.
18700         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
18701         * sysdeps/i386/fpu/libm-test-ulps: Update.
18702         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
18704 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
18706         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
18707         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
18708         corresponding .cpsetup call.
18710 2014-06-26  Roland McGrath  <roland@hack.frob.com>
18712         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
18713         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
18714         * sysdeps/arm/Makefile [$(subdir) = csu]
18715         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
18716         (static-only-routines): Add aeabi_read_tp here.
18717         (shared-only-routines): Add libc-aeabi_read_tp here.
18718         (CFLAGS-libc-start.c): Add -fexceptions here.
18719         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
18720         (sysdep_routines, static-only-routines, shared-only-routines):
18721         Don't add to these here.
18722         (CFLAGS-libc-start.c): Likewise.
18724         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
18725         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
18726         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
18727         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
18728         * sysdeps/arm/Makefile [$(subdir) = rt]
18729         (librt-sysdep_routines, librt-shared-only-routines):
18730         Append rt-aeabi_unwind_cpp_pr1 here.
18731         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
18732         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
18733         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
18734         (libpthread-sysdep_routines, libpthread-shared-only-routines):
18735         Append nptl-aeabi_unwind_cpp_pr1 here.
18736         (tests): Filter out tst-cleanupx4 here.
18737         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
18738         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
18739         Don't do those here.
18741 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
18743         * scripts/list-sources.sh: Do not handle ports specially.
18745 2014-06-26  Roland McGrath  <roland@hack.frob.com>
18747         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
18748         * sysdeps/arm/feupdateenv.c: Likewise.
18750         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
18752 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
18754         * manual/texinfo.tex: Update to version 2014-05-05.10 with
18755         trailing whitespace removed.
18756         * scripts/config.guess: Update to version 2014-03-23.
18757         * scripts/config.sub: Update to version 2014-05-01
18758         * scripts/install-sh: Update to version 2013-12-25.23.
18759         * scripts/move-if-change: Update from gnulib.
18761 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
18763         * debug/memmove_chk.c: Remove pagecopy.h include.
18765 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
18767         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
18768         identical to gnulib mktime.
18770 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
18772         * configure.ac: Do not test for machine being rs6000.  Do not test
18773         for powerpc*-*soft.
18774         * configure: Regenerated.
18776         [BZ #11505]
18777         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
18778         test.
18779         * configure: Regenerated.
18780         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
18781         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
18782         Remove configure test.
18783         * sysdeps/arm/configure: Regenerated.
18784         * sysdeps/nptl/configure.ac: Do not check
18785         libc_cv_asm_cfi_directives.
18786         * sysdeps/nptl/configure: Regenerated.
18787         * sysdeps/x86_64/nptl/configure.ac: Remove file.
18788         * sysdeps/x86_64/nptl/configure: Remove generated file.
18789         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
18790         unconditional.
18791         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
18793 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
18795         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
18796         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
18797         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
18798         it is defined.
18800         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
18801         instead of whether it is defined.
18802         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
18803         * sysdeps/hppa/dl-machine.h: Likewise.
18804         * sysdeps/ia64/dl-machine.h: Likewise.
18805         * sysdeps/m68k/dl-machine.h: Likewise.
18806         * sysdeps/microblaze/dl-machine.h: Likewise.
18807         * sysdeps/mips/dl-machine.: Likewise.
18808         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
18809         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
18810         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
18811         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
18812         * sysdeps/sh/dl-machine.h: Likewise.
18813         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
18814         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
18815         * sysdeps/tile/dl-machine.h: Likewise.
18816         * sysdeps/x86_64/dl-machine.h: Likewise.
18818         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
18819         code.
18820         (verify_persistent_db): Likewise.
18822 2014-06-26  Roland McGrath  <roland@hack.frob.com>
18824         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
18825         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
18826         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
18827         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
18828         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
18829         Moved ...
18830         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
18831         ... here.
18832         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
18833         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
18834         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
18835         Identical file removed.
18836         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
18837         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
18838         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
18839         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
18840         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
18841         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
18842         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
18843         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
18844         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
18845         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
18846         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18847         Moved ...
18848         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
18849         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
18850         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
18851         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
18852         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
18853         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
18854         Moved ...
18855         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
18856         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
18857         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
18858         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
18859         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
18860         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
18861         Identical file removed.
18862         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
18863         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
18864         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
18865         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
18866         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
18867         Moved ...
18868         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
18869         ... here.
18870         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
18871         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
18872         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
18873         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
18874         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
18875         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
18876         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
18877         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
18878         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
18879         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
18880         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18881         Moved ...
18882         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
18883         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
18884         Moved ...
18885         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
18886         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
18887         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
18888         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
18889         Moved ...
18890         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
18891         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
18892         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
18894         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
18895         folded into ...
18896         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
18897         * sysdeps/unix/sysv/linux/s390/Versions
18898         (libpthread: GLIBC_2.19): New version set.
18899         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
18900         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
18901         (librt: GLIBC_2.3.3): New version set.
18902         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
18903         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
18904         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
18905         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
18906         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
18907         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
18908         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
18909         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
18910         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
18911         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
18912         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
18913         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
18914         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
18915         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
18916         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
18917         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
18918         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
18919         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
18920         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
18921         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
18922         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
18923         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
18924         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
18925         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
18926         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
18927         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
18928         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
18929         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
18930         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
18931         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
18932         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
18933         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
18934         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
18935         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
18936         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
18937         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
18938         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
18939         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
18940         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
18941         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
18942         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
18943         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
18944         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
18945         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
18946         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
18948         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
18949         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
18950         (__libc_vfork): Define the function under this name.
18951         [!NOT_IN_libc] (__vfork): Make this an alias.
18952         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
18953         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
18954         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
18955         (__libc_vfork): Define the function under this name.
18956         [!NOT_IN_libc] (__vfork): Make this an alias.
18957         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
18958         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
18959         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
18960         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
18961         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
18962         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
18964         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
18965         code that was previously under [RESET_PID].
18966         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
18967         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
18968         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
18970         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
18971         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
18972         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
18973         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
18974         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
18975         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
18976         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
18977         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
18978         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
18979         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
18980         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
18981         Moved ...
18982         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
18983         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
18984         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
18985         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
18986         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
18987         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
18988         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
18989         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
18990         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
18991         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
18992         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
18993         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
18994         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
18995         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
18996         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
18997         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
18998         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
18999         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
19000         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
19001         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
19002         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
19003         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
19004         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
19005         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
19006         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
19007         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
19008         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
19009         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
19010         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
19012 2014-06-25  Roland McGrath  <roland@hack.frob.com>
19014         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
19015         that was previously under [RESET_PID].
19016         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
19018 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
19020         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
19021         not undefine and redefine.
19022         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
19023         [O_CLOEXEC]: Make code unconditional.
19024         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
19025         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
19026         <kernel-features.h>.
19027         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
19028         conditional variable definition.
19029         (shm_open) [O_CLOEXEC]: Make code unconditional.
19030         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
19031         code.
19033         * configure.ac (USE_REGPARMS): Don't define here.
19034         * configure: Regenerated.
19035         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
19036         * sysdeps/i386/configure: Regenerated.
19038         * nptl/createthread.c: Don't include kernel-features.h.
19039         * nptl/pthread_cancel.c: Likewise.
19040         * nptl/pthread_condattr_setclock.c: Likewise.
19041         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
19042         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
19043         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
19044         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
19045         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
19046         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
19047         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
19048         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
19049         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
19050         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
19051         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
19052         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
19053         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
19054         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
19055         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
19056         * nscd/gai.c: Likewise.
19057         * nss/nss_db/db-open.c: Likewise.
19058         * sysdeps/generic/ldsodefs.h: Likewise.
19059         * sysdeps/sh/nptl/tls.h: Likewise.
19060         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
19061         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
19062         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
19063         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
19064         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
19065         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
19066         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
19067         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
19068         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
19069         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
19070         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
19071         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
19072         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
19073         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
19074         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
19075         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
19076         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
19077         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
19078         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
19079         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
19080         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
19081         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
19082         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
19083         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
19084         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
19085         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
19086         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
19087         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
19088         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
19089         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
19090         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
19091         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
19092         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
19093         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
19094         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
19095         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
19096         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
19097         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
19098         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
19099         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
19100         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
19101         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
19102         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
19103         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
19104         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
19105         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
19106         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
19107         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
19108         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
19109         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
19110         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
19111         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
19112         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
19113         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
19114         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
19115         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
19116         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
19117         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
19118         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
19119         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
19120         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
19121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
19122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
19123         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
19124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
19125         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
19126         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
19127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
19128         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
19129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
19130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
19131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
19132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
19133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
19134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
19135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
19136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
19137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
19138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
19139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
19140         * sysdeps/unix/sysv/linux/pread.c: Likewise.
19141         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
19142         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
19143         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
19144         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
19145         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
19146         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
19147         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
19148         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
19149         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
19150         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
19151         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
19152         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
19153         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
19154         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
19155         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
19156         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
19157         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
19158         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
19159         * sysdeps/unix/sysv/linux/system.c: Likewise.
19160         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
19161         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
19162         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
19163         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
19164         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
19165         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
19166         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
19168         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
19169         * configure: Regenerated.
19170         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
19172         * configure.ac (base_machine): Do not set specially for particular
19173         machines here.
19174         * configure: Regenerated.
19175         * sysdeps/powerpc/preconfigure: Move machine and base_machine
19176         settings from configure.ac.
19177         * sysdeps/i386/preconfigure: New file.
19178         * sysdeps/s390/preconfigure: Likewise.
19179         * sysdeps/sh/preconfigure: Likewise.
19180         * sysdeps/sparc/preconfigure: Likewise.
19182 2014-06-25  Roland McGrath  <roland@hack.frob.com>
19184         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
19185         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
19186         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
19187         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
19188         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
19189         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
19190         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
19191         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
19192         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
19193         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
19194         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
19195         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
19196         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
19197         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
19198         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
19199         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
19200         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
19201         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
19202         * sysdeps/sparc/sparc64/Makefile: ... appended here.
19204         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
19205         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
19206         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
19207         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
19208         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
19209         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
19210         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
19211         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
19212         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
19213         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
19214         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
19215         * sysdeps/sparc/sparc32/sem_post.c: ... here.
19216         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
19217         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
19218         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
19219         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
19220         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
19221         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
19222         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
19223         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
19224         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
19225         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
19226         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
19227         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
19228         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
19229         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
19230         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
19231         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
19232         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
19233         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
19234         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
19235         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
19236         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
19237         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
19238         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
19239         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
19240         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
19241         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
19243         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
19244         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
19245         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
19246         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
19247         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
19248         Moved ...
19249         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
19250         ... here.
19251         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
19252         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
19253         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
19254         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
19255         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
19256         Moved ...
19257         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
19258         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
19259         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
19260         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
19261         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
19262         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
19263         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
19264         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
19265         Moved ...
19266         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
19267         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
19268         Moved ...
19269         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
19270         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
19271         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
19272         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
19273         Moved ...
19274         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
19275         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
19276         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
19277         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
19278         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
19279         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
19280         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
19281         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
19282         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
19283         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
19284         Moved ...
19285         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
19286         ... here.
19287         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
19288         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
19289         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
19290         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
19291         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
19292         Moved ...
19293         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
19294         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
19295         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
19296         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
19297         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
19298         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
19299         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
19300         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
19301         Moved ...
19302         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
19303         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
19304         Moved ...
19305         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
19306         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
19307         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
19308         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
19309         Moved ...
19310         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
19311         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
19312         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
19313         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
19314         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
19316 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
19318         * timezone/checktab.awk: Update from tzcode 2014e.
19319         * timezone/private.h: Likewise.
19320         * timezone/tzfile.h: Likewise.
19321         * timezone/zdump.c: Likewise.
19322         * timezone/zic.c: Likewise.
19324         * sysdeps/unix/sysv/linux/kernel-features.h
19325         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
19326         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
19327         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
19328         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
19329         Remove conditional code.
19331 2014-06-25  Will Newton  <will.newton@linaro.org>
19333         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
19334         (_dl_arm_cap_flags): Add HWCAP2 values.
19335         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
19336         (_DL_HWCAP_COUNT): Increase to 37.
19337         (_DL_HWCAP_LAST): New define.
19338         (_DL_HWCAP2_LAST): New define.
19339         (_dl_procinfo): Add support for printing
19340         AT_HWCAP2 entries.
19341         (_dl_string_hwcap): Use _dl_hwcap_string.
19343 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19345         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19347 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
19349         * README: Do not mention ports directory.
19351         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
19352         Remove macro.
19353         * sysdeps/unix/sysv/linux/futimes.c: Do not include
19354         <kernel-features.h>.
19355         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
19356         conditional variable definition.
19357         (__futimes): Update comment.
19358         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
19359         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
19361         [BZ #16560]
19362         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
19363         arguments close to 0.
19364         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
19365         Likewise.
19366         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
19367         Likewise.
19368         * math/auto-libm-test-in: Add more tests of exp10.
19369         * math/auto-libm-test-out: Regenerated.
19370         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19372         * sysdeps/unix/sysv/linux/kernel-features.h
19373         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
19374         * sysdeps/unix/sysv/linux/readv.c: Do not include
19375         <kernel-features.h>.
19376         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
19377         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
19378         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
19379         unconditional.
19380         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
19381         conditional code.
19382         * sysdeps/unix/sysv/linux/writev.c: Do not include
19383         <kernel-features.h>.
19384         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
19385         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
19386         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
19387         unconditional.
19388         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
19389         conditional code.
19391 2014-06-25  Will Newton  <will.newton@linaro.org>
19393         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
19394         comment changes throughout the file.  Remove checks
19395         for HAVE_*_H definitions that are not required.
19396         (__gen_tempname): Call abort if an unknown kind value is
19397         passed.
19399 2014-06-25  Andreas Schwab  <schwab@suse.de>
19401         [BZ #17086]
19402         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
19403         scalbln, scalblnf, scalblnl in libc.
19405 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
19407         [BZ #17086]
19408         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
19409         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
19410         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
19412 2014-06-24  Roland McGrath  <roland@hack.frob.com>
19414         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
19415         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
19416         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
19417         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
19418         Update #include.
19419         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
19420         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
19421         Update #include.
19422         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
19423         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
19424         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
19425         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
19426         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
19427         * sysdeps/x86/bits/pthreadtypes.h: ... here.
19428         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
19429         * sysdeps/x86/bits/semaphore.h: ... here.
19430         * sysdeps/x86/nptl/elide.h: Moved ...
19431         * sysdeps/x86/elide.h: ... here.
19432         * sysdeps/x86_64/nptl/Implies: File removed.
19433         * sysdeps/i386/nptl/Implies: File removed.
19435 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
19437         [BZ #16539]
19438         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
19439         return the argument for normal arguments with exponent below -64.
19440         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
19441         Likewise.
19442         * math/auto-libm-test-in: Add another test of expm1.
19443         * math/auto-libm-test-out: Regenerated.
19445         [BZ #16287]
19446         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
19447         calling __erfcl for arguments at least 16.
19448         * math/auto-libm-test-in: Add more tests of erf.
19449         * math/auto-libm-test-out: Regenerated.
19451         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
19452         individual architectures.
19453         * sysdeps/unix/sysv/linux/configure: Regenerated.
19454         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
19455         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
19456         * sysdeps/unix/sysv/linux/powerpc/configure.ac
19457         (ldd_rewrite_script): Define variable.
19458         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
19459         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
19460         file.
19461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
19462         generated file.
19463         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
19464         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
19465         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
19466         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
19467         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
19468         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
19469         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
19470         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
19472 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
19474         [BZ #17084]
19475         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
19476         Rename member __data.d to __data.__elision_data.
19478 2014-06-24  Wilco  <wdijkstr@arm.com>
19480         * NEWS: Add 16918 to fixed bug list.
19482 2014-06-24  Wilco  <wdijkstr@arm.com>
19484         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
19486 2014-06-24  Wilco  <wdijkstr@arm.com>
19488         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
19489         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
19490         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
19491         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
19492         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
19493         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
19494         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
19495         Use _FPU_MASK_RM.
19497 2014-06-24  Wilco  <wdijkstr@arm.com>
19499         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
19501 2014-06-24  Wilco  <wdijkstr@arm.com>
19503         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
19504         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
19505         * sysdeps/arm/fesetround.c (fesetround): Remove space.
19506         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
19508 2014-06-24  Wilco  <wdijkstr@arm.com>
19510         [BZ #16918]
19511         * sysdeps/arm/feupdateenv.c (feupdateenv):
19512         Rewrite to reduce FPSCR accesses and fix return value.
19514 2014-06-24  Wilco  <wdijkstr@arm.com>
19516         * sysdeps/arm/fclrexcpt.c (feclearexcept):
19517         Optimize to avoid unnecessary FPSCR writes.
19518         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
19519         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
19520         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
19521         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
19523 2014-06-24  Wilco  <wdijkstr@arm.com>
19525         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
19526         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
19527         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
19528         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
19529         Call libc_fetestexcept_vfp.
19530         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
19531         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
19532         __SOFTFP__ ifdef so that they can be built for softfp.
19534 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
19536         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
19537         argument type signed char.
19539         * Makerules (check-abi): Dump diff of symlist if the test
19540         fails.
19542 2014-06-23  Roland McGrath  <roland@hack.frob.com>
19544         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
19545         using abort.
19547         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
19548         Remove unused variable ST.
19550 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
19552         [BZ #16354]
19553         [BZ #17061]
19554         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
19555         small arguments before calling __expm1.
19556         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
19557         small arguments before calling __expm1f.
19558         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
19559         small arguments before calling __expm1l.
19560         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
19561         Likewise.
19562         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
19563         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
19564         spurious underflow for some cosh tests.
19565         * math/auto-libm-test-out: Regenerated.
19566         * sysdeps/i386/fpu/libm-test-ulps: Update.
19568         [BZ #17050]
19569         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
19570         (__ieee754_y1): Set errno if return value overflows.
19571         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
19572         (__ieee754_y1f): Set errno if return value overflows.
19573         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
19574         (__ieee754_y1l): Set errno if return value overflows.
19575         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
19576         (__ieee754_y1l): Set errno if return value overflows.
19577         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
19578         * math/auto-libm-test-out: Regenerated.
19580         * math/gen-auto-libm-tests.c: Document use of
19581         ignore-zero-inf-sign.
19582         (input_flag_type): Add value flag_ignore_zero_inf_sign.
19583         (input_flags): Add ignore-zero-inf-sign.
19584         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
19585         * math/gen-libm-test.pl (generate_testfile): Handle
19586         ignore-zero-inf-sign.
19587         * math/auto-libm-test-in: Mark some cpow tests with
19588         ignore-zero-inf-sign and some with xfail-rounding.
19589         * math/auto-libm-test-out: Regenerated.
19590         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
19591         * sysdeps/i386/fpu/libm-test-ulps: Update.
19592         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19594         [BZ #16315]
19595         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
19596         overflowing or underflowing operations take place with sign of
19597         result.
19598         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
19599         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
19600         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
19601         (__ieee754_pow): Recompute overflowing and underflowing results in
19602         original rounding mode.
19603         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
19604         (__powl_helper): Allow negative argument X and scale negated value
19605         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
19606         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
19607         overflowing or underflowing operations take place with sign of
19608         result.
19609         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
19610         Include <math.h>.
19611         * math/auto-libm-test-in: Add more tests of pow.
19612         * math/auto-libm-test-out: Regenerated.
19613         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
19614         (pow_tonearest_test_data): Remove.
19615         (pow_test_tonearest): Likewise.
19616         (pow_towardzero_test_data): Likewise.
19617         (pow_test_towardzero): Likewise.
19618         (pow_downward_test_data): Likewise.
19619         (pow_test_downward): Likewise.
19620         (pow_upward_test_data): Likewise.
19621         (pow_test_upward): Likewise.
19622         (main): Don't call removed functions.
19623         * sysdeps/i386/fpu/libm-test-ulps: Update.
19624         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19626 2014-06-23  Roland McGrath  <roland@hack.frob.com>
19628         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
19629         Moved ...
19630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
19631         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19632         Moved ...
19633         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
19634         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
19635         Moved ...
19636         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
19637         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
19638         Moved ...
19639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
19640         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
19641         File removed.
19642         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
19643         File removed.
19644         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
19645         File removed.
19646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
19647         File removed.
19648         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
19649         File removed.
19650         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
19651         File removed.
19652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
19653         File removed.
19654         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
19655         File removed.
19656         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
19657         File removed.
19658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
19659         File removed.
19660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
19661         File removed.
19662         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
19663         File removed.
19664         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
19665         Moved ...
19666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
19667         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
19668         Moved ...
19669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
19670         ... here.
19671         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
19672         Moved ...
19673         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
19674         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
19675         Moved ...
19676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
19677         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
19678         Moved ...
19679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
19680         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
19681         Moved ...
19682         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
19683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
19684         Moved ...
19685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
19686         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
19687         Moved ...
19688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
19689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
19690         Moved ...
19691         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
19692         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
19693         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
19694         ... here.
19695         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
19696         Moved ...
19697         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
19698         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
19699         Moved ...
19700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
19701         ... here.
19702         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
19703         Moved ...
19704         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
19705         ... here.
19706         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
19707         Moved ...
19708         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
19709         ... here.
19710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
19711         Moved ...
19712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
19713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
19714         Moved ...
19715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
19716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
19717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
19718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
19719         Moved ...
19720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
19721         ... here.
19722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
19723         Moved ...
19724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
19725         ... here.
19726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
19727         Moved ...
19728         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
19729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
19730         Moved ...
19731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
19732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
19733         Moved ...
19734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
19735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19736         Moved ...
19737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
19738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
19739         Moved ...
19740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
19741         ... here.
19742         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
19743         Moved ...
19744         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
19745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
19746         Moved ...
19747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
19748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
19749         Moved ...
19750         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
19751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
19752         Moved ...
19753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
19754         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
19755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
19756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
19757         Moved ...
19758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
19759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
19760         Moved ...
19761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
19762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
19763         Moved ...
19764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
19765         ... here.
19766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19767         Moved ...
19768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
19769         ... here.
19770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
19771         Moved ...
19772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
19773         ... here.
19774         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
19775         Moved ...
19776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
19777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
19778         Moved ...
19779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
19780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
19781         Moved ...
19782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
19783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
19784         Moved ...
19785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
19786         ... here.
19787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
19788         Moved ...
19789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
19790         ... here.
19791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
19792         Moved ...
19793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
19794         ... here.
19795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
19796         Moved ...
19797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
19798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
19799         Moved ...
19800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
19802 2014-06-23  Will Newton  <will.newton@linaro.org>
19803             Wilco  <wdijkstr@arm.com>
19805         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
19806         implementation.  Include get-rounding-mode.h.
19807         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
19808         [!libc_feholdsetround_noex_ctx]: Define
19809         libc_feholdsetround_noex_ctx.
19810         [!libc_feholdsetround_noexf_ctx]: Define
19811         libc_feholdsetround_noexf_ctx.
19812         [!libc_feholdsetround_noexl_ctx]: Define
19813         libc_feholdsetround_noexl_ctx.
19814         (libc_feholdsetround_ctx): New function.
19815         (libc_feresetround_ctx): New function.
19816         (libc_feholdsetround_noex_ctx): New function.
19817         (libc_feresetround_noex_ctx): New function.
19819 2014-06-23  Roland McGrath  <roland@hack.frob.com>
19821         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
19822         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
19823         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
19824         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
19825         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
19826         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
19828         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
19829         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
19830         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
19831         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
19832         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
19833         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
19834         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
19835         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
19836         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
19837         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
19838         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
19839         Moved ...
19840         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
19841         ... here.
19842         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
19843         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
19844         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
19845         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
19846         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
19847         Moved ...
19848         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
19849         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
19850         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
19851         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
19852         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
19853         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
19854         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
19855         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
19856         Moved ...
19857         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
19858         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
19859         Moved ...
19860         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
19861         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
19862         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
19863         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
19864         Moved ...
19865         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
19866         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
19867         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
19868         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
19869         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
19870         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
19871         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
19872         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
19873         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
19874         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
19875         Moved ...
19876         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
19877         ... here.
19878         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
19879         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
19880         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
19881         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
19882         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
19883         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
19884         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
19885         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
19886         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
19887         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
19888         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
19889         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
19890         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
19891         Moved ...
19892         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
19893         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
19894         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
19895         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
19896         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
19897         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
19898         Moved ...
19899         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
19900         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
19901         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
19902         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
19903         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
19905         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
19906         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
19907         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
19908         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
19909         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
19910         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
19911         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
19912         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
19913         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
19914         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
19915         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
19916         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
19917         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
19918         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
19919         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
19920         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
19921         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
19922         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
19923         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
19924         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
19925         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
19926         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
19927         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
19928         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
19929         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
19930         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
19931         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
19932         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
19934 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
19936         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
19937         (FALLOC_FL_COLLAPSE_RANGE): New macro.
19938         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
19939         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
19940         (IPV6_PMTUDISC_INTERFACE): Likewise.
19941         (IPV6_PMTUDISC_OMIT): Likewise.
19943 2014-06-23  Andreas Schwab  <schwab@suse.de>
19945         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
19946         Remove unused errout label.
19948 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19950         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
19951         macro: hardware supports Vector Crypto instructions.
19953 2014-06-23  Will Newton  <will.newton@linaro.org>
19955         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
19956         rather than __builtin_expect.
19958         * elf/dl-lookup.c (undefined_msg): Remove variable.
19959         (_dl_lookup_symbol_x): Replace undefined_msg with string
19960         literal.
19962         * elf/dl-lookup.c (do_lookup_unique): New function.
19963         (do_lookup_x): Move STB_GNU_UNIQUE handling code
19964         to a separate function.
19966 2014-06-23  Andreas Schwab  <schwab@suse.de>
19968         [BZ #17079]
19969         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
19970         before reading the next line.
19972 2014-06-23  Will Newton  <will.newton@linaro.org>
19974         * test-skeleton.c (signal_handler): Use printf and %m
19975         rather than perror.  Use printf rather than fprintf to
19976         stderr.  Use puts rather than fputs to stderr.
19977         (main): Likewise.
19979 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
19981         * nscd/nscd.c (thread_info_t): Remove typedef.
19982         (thread_info): Remove variable.
19984 2014-06-21  Allan McRae  <allan@archlinux.org>
19986         * NEWS: Mention CVE-2014-4043.
19988 2014-06-20  Roland McGrath  <roland@hack.frob.com>
19990         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
19991         * nptl/smp.h: ... here.
19993         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
19995         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
19996         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
19997         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
19998         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
20000         * nptl/allocatestack.c: Include <stack-aliasing.h>.
20001         * nptl/stack-aliasing.h: New file.
20002         * sysdeps/i386/i686/stack-aliasing.h: New file.
20003         * sysdeps/i386/i686/nptl/Makefile: File removed.
20004         * sysdeps/x86_64/stack-aliasing.h: New file.
20005         * sysdeps/x86_64/nptl/Makefile
20006         (CFLAGS-pthread_create.c): Variable removed.
20008         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
20009         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
20010         old file.
20011         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
20012         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
20013         old file.
20015 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
20017         * sysdeps/unix/sysv/linux/arm/kernel-features.h
20018         (__ASSUME_SIGFRAME_V2): Remove macro.
20019         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
20020         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
20021         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
20022         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
20023         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
20024         Declare as function.  Remove conditional macro definitions.
20025         (__default_rt_sa_restorer): Likewise.
20026         (__default_sa_restorer_v1): Remove declaration.
20027         (__default_sa_restorer_v2): Likewise.
20028         (__default_rt_sa_restorer_v1): Likewise.
20029         (__default_rt_sa_restorer_v2): Likewise.
20030         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
20031         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
20032         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
20034 2014-06-20  Roland McGrath  <roland@hack.frob.com>
20036         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
20037         (libpthread-routines): Add sysdep.
20038         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
20039         * sysdeps/unix/sysv/linux/sparc/Versions
20040         (libpthread: GLIBC_2.3.3): New version set.
20041         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
20042         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
20043         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
20044         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
20045         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
20046         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
20047         Moved ...
20048         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
20049         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
20050         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
20051         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
20052         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
20053         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
20054         * sysdeps/sparc/nptl/sem_init.c: ... here.
20055         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
20056         * sysdeps/sparc/nptl/sem_post.c: ... here.
20057         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
20058         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
20059         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
20060         * sysdeps/sparc/nptl/sem_wait.c: ... here.
20061         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
20062         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
20063         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
20064         (libpthread-routines): Add cpu_relax.
20065         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
20066         File removed.
20067         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
20068         (librt: GLIBC_2.3.3): New version set.
20069         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
20070         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
20071         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
20072         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
20073         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
20074         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
20075         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
20076         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
20077         Moved ...
20078         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
20079         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
20080         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
20081         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
20082         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
20083         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
20084         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
20085         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
20086         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
20087         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
20088         Moved ...
20089         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
20090         Update #include.
20091         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
20092         Moved ...
20093         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
20094         Update #include.
20095         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
20096         Moved ...
20097         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
20098         Update #include.
20099         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
20100         Moved ...
20101         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
20102         Update #include.
20103         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
20104         Moved ...
20105         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
20106         Update #include.
20107         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
20108         Moved ...
20109         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
20110         Update #include.
20111         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
20112         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
20113         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
20114         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
20115         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
20116         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
20117         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
20118         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
20119         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
20120         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
20121         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
20122         Moved ...
20123         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
20124         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
20125         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
20126         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
20127         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
20129 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
20131         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
20132         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
20133         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
20134         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
20135         * nscd/nscd.c: Likewise.
20136         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
20137         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
20138         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
20139         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
20141         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
20142         <kernel-features.h>.
20143         (init_mq_netlink): Remove conditional have_sock_cloexec
20144         definitions.  Remove code conditional on have_sock_cloexec < 0.
20145         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
20146         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
20147         * sysdeps/unix/sysv/linux/opensock.c: Do not include
20148         <kernel-features.h>.
20149         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
20150         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
20152 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
20154         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
20155         Add tests for memset_chk and memset.
20157         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
20158         with AVX2_Usable.
20160 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
20162         [BZ #16046]
20163         * elf/tst-dl-iter-static.c: New file.
20164         * elf/Makefile (tests-static): Add tst-dl-iter-static.
20166         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
20167         error.
20169 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
20171         * sysdeps/unix/sysv/linux/kernel-features.h
20172         (__ASSUME_F_GETOWN_EX): Remove macro.
20173         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
20174         <kernel-features.h>.
20175         (miss_F_GETOWN_EX): Remove variable or macro.
20176         (do_fcntl): Do not check miss_F_GETOWN_EX.
20177         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
20179         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
20180         Remove macro.
20181         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
20182         [!__ASSUME_AT_RANDOM]: Remove conditional code.
20183         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
20185         * sysdeps/unix/sysv/linux/kernel-features.h
20186         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
20187         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
20188         [ADJ_OFFSET_SS_READ]: Make code unconditional.
20189         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
20191 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
20193         [BZ #17075]
20194         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
20195         Fix calculation of the symbol's value.
20196         * sysdeps/arm/tst-armtlsdescloc.c: New file.
20197         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
20198         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
20199         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
20200         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
20201         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
20202         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
20203         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
20204         (modules-names): Add `tst-armtlsdescmod',
20205         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
20206         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
20207         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
20208         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
20209         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
20210         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
20211         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
20212         ($(objpfx)tst-armtlsdescloc): New dependency.
20213         ($(objpfx)tst-armtlsdescextnow): Likewise.
20214         ($(objpfx)tst-armtlsdescextlazy): Likewise.
20215         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
20216         TLS scheme support.
20217         * sysdeps/arm/configure: Regenerate.
20219 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
20221         * include/fcntl.h (__atfct_seterrno): Remove prototype.
20222         (__atfct_seterrno_2): Likewise.
20223         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
20224         <kernel-features.h>.
20225         (__ASSUME_ATFCTS): Do not undefine and redefine.
20226         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
20227         (__have_atfcts): Remove conditional definition.
20228         (__fxstatat([__NR_fstatat64]: Make code unconditional.
20229         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
20230         unreachable if [__ASSUME_ATFCTS].
20231         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
20232         not undefine and redefine.
20233         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
20234         <kernel-features.h>.
20235         (faccessat) [__NR_faccessat]: Make code unconditional.
20236         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
20237         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
20238         <kernel-features.h>.
20239         (fchmodat) [__NR_fchmodat]: Make code unconditional.
20240         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
20241         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
20242         <kernel-features.h>.
20243         (fchownat) [__NR_fchownat]: Make code unconditional.
20244         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
20245         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
20246         <kernel-features.h>.
20247         (futimesat) [__NR_futimesat]: Make code unconditional.
20248         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
20249         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
20250         <kernel-features.h>.
20251         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
20252         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
20253         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
20254         <kernel-features.h>.
20255         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
20256         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
20257         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
20258         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
20259         <kernel-features.h>.
20260         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
20261         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
20262         * sysdeps/unix/sysv/linux/linkat.c: Do not include
20263         <kernel-features.h>.
20264         (linkat) [__NR_linkat]: Make code unconditional.
20265         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
20266         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
20267         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
20268         <kernel-features.h>.
20269         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
20270         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
20271         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
20272         <kernel-features.h>.
20273         (mkdirat) [__NR_mkdirat]: Make code unconditional.
20274         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
20275         * sysdeps/unix/sysv/linux/openat.c: Do not include
20276         <kernel-features.h>.
20277         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
20278         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
20279         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
20280         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
20281         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
20282         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
20283         <kernel-features.h>.
20284         (readlinkat) [__NR_readlinkat]: Make code unconditional.
20285         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
20286         result of INLINE_SYSCALL directly, not via int variable.
20287         * sysdeps/unix/sysv/linux/renameat.c: Do not include
20288         <kernel-features.h>.
20289         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
20290         (renameat) [__NR_renameat]: Make code unconditional.
20291         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
20292         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
20293         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
20294         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
20295         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
20296         (__ASSUME_ATFCTS): Do not undefine and redefine.
20297         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
20298         <kernel-features.h>.
20299         (symlinkat) [__NR_symlinkat]: Make code unconditional.
20300         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
20301         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
20302         <kernel-features.h>.
20303         (unlinkat) [__NR_unlinkat]: Make code unconditional.
20304         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
20305         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
20306         (__ASSUME_ATFCTS): Do not undefine and redefine.
20307         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
20308         <kernel-features.h>.
20309         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
20310         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
20311         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
20312         <kernel-features.h>.
20313         (__xmknodat) [__NR_mknodat]: Make code unconditional.
20314         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
20316 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
20318         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
20320 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
20322         [BZ #17069]
20323         * posix/regcomp.c (parse_reg_exp): Deallocate partially
20324         constructed tree before returning error.
20325         * posix/bug-regexp36.c: Expand test case.
20327 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
20329         [BZ #6803]
20330         * math/libm-test.inc (scalbln_test_date):
20331         Add errno expectations.
20332         * math/w_scalblnf.c: New File.
20333         Add wrapper which checks for setting errno to ERANGE.
20334         Add weak_alias for corresponding scalbln function.
20335         * math/w_scalbln.c: Likewise.
20336         * math/w_scalblnl.c: Likewise.
20337         * math/Makefile (libm-calls): Add w_scalbln.
20338         * sysdeps/ieee754/flt-32/s_scalblnf.c:
20339         Remove weak_alias for corresponding scalbln function.
20340         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
20341         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
20342         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
20343         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
20344         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
20345         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
20346         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
20347         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
20348         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
20349         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
20350         Remove long_double_symbol for scalblnl function in libm, libc.
20351         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
20352         Add wrapper which checks for setting errno to ERANGE.
20353         Add long_double_symbol for scalblnl function in libm, libc.
20354         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
20355         Remove long_double_symbol for scalblnl in libm.
20356         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
20357         Add wrapper which checks for setting errno to ERANGE.
20358         Add long_double_symbol for scalblnl function in libm.
20359         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
20360         Do not use wrapper because of own implementation.
20362 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
20364         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
20365         3 bytes for __pad1 for x32.
20366         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
20368 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
20369             H.J. Lu  <hongjiu.lu@intel.com>
20371         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
20372         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
20373         * sysdeps/x86_64/multiarch/memset.S: Likewise.
20374         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
20375         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
20377 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
20379         [BZ #17069]
20380         * posix/regcomp.c (parse_expression): Deallocate partially
20381         constructed tree before returning error.
20382         * posix/Makefile.c (tests): Add bug-regex36.
20383         (generated): Add bug-regex36.mtrace.
20384         (tests-special): Add $(objpfx)bug-regex36-mem.out
20385         (bug-regex36-ENV): New variable.
20386         ($(objpfx)bug-regex36-mem.out): New rule.
20387         * posix/bug-regex36.c: New file.
20389 2014-06-19  Will Newton  <will.newton@linaro.org>
20391         * malloc/malloc.c (systrim): If extra is zero then return
20392         early.
20394 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
20396         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
20398 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
20400         * sysdeps/aarch64/strchr.S: New file.
20402 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
20404         [BZ #17022]
20405         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
20406         from arguments -2 or below.
20407         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
20408         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
20410 2014-06-18  Andreas Schwab  <schwab@suse.de>
20412         [BZ #17062]
20413         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
20414         of a bracket expr not to run off the end of the string.
20415         * posix/Makefile (tests): Add tst-fnmatch3.
20416         * posix/tst-fnmatch3.c: New file.
20418 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
20420         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
20421         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
20422         [$(cross-compiling) = no]: Likewise.
20423         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
20424         [$(cross-compiling) = no]: Likewise.
20426 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20428         [BZ #17031]
20429         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
20430         double, adjusted for any remainder from the high double.
20431         * math/libm-test.inc (nearbyint): Add tests.
20432         (rint): Likewise.
20434 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20436         * nptl/sysdeps/powerpc/Makefile: Moved ...
20437         * sysdeps/powerpc/nptl/Makefile: ... here.
20438         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
20439         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
20440         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
20441         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
20442         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
20443         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
20444         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
20445         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
20446         * nptl/sysdeps/powerpc/tls.h: Moved ...
20447         * sysdeps/powerpc/nptl/tls.h: ... here.
20449 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
20451         [BZ #16681]
20452         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
20453         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
20454         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
20455         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
20456         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
20457         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
20458         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
20459         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
20460         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
20462 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
20464         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
20466 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
20468         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
20469         defined operator.
20471         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
20472         $TIMEOUTFACTOR.
20474 2014-06-16  Florian Weimer  <fweimer@redhat.com>
20476         [BZ #17058]
20477         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
20478         non-executed part of the test.
20480 2014-06-16  Andreas Schwab  <schwab@suse.de>
20482         * string/bits/string2.h (strdup, strndup): Update feature guard.
20484 2014-06-14  David S. Miller  <davem@davemloft.net>
20486         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20488 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
20490         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
20491         that was previously under [RESET_PID].
20492         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
20494         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
20495         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
20496         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
20497         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
20498         (__libc_vfork): New strong alias.
20499         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
20501 2014-06-14 Andi Kleen  <ak@linux.intel.com>
20503         * sysdeps/generic/elide.h: New file.
20505 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
20507         * Makefile (installed-headers): Adjust path of pthread.h header.
20509 2014-06-13  Roland McGrath  <roland@hack.frob.com>
20511         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
20512         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
20513         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
20514         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
20516         * nptl/sysdeps/s390/Makefile: Moved ...
20517         * sysdeps/s390/nptl/Makefile: ... here.
20518         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
20519         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
20520         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
20521         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
20522         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
20523         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
20524         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
20525         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
20526         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
20527         * sysdeps/s390/nptl/pthreaddef.h: ... here.
20528         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
20529         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
20530         * nptl/sysdeps/s390/tls.h: Moved ...
20531         * sysdeps/s390/nptl/tls.h: ... here.
20533         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
20534         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
20536 2014-06-13  David S. Miller  <davem@davemloft.net>
20538         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
20539         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
20540         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
20541         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
20542         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
20543         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
20544         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
20545         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
20546         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
20547         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
20548         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
20549         Remove RESET_PID cpp guards.
20550         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
20551         Remove RESET_PID cpp guards.
20552         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
20554 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
20556         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
20557         __sp to uintptr_t.
20559 2014-06-13  Andi Kleen  <ak@linux.intel.com>
20561         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
20562         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
20563         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
20564         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
20565         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
20566         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
20567         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
20568         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
20569         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
20570         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
20571         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
20572         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
20573         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
20574         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
20575         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
20576         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
20577         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
20578         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
20579         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
20580         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
20582         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
20583         (pthread_rwlock_rdlock): Add elision.
20584         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
20585         (pthread_rwlock_wrlock): Add elision.
20586         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
20587         (pthread_rwlock_trywrlock): Add elision.
20588         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
20589         (pthread_rwlock_tryrdlock): Add elision.
20590         * nptl/pthread_rwlock_unlock.c: Include elide.h.
20591         (pthread_rwlock_tryrdlock): Add elision unlock.
20592         * nptl/sysdeps/pthread/pthread.h:
20593         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
20594         (PTHREAD_RWLOCK_INITIALIZER,
20595         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
20596         Handle new elision field.
20597         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
20598         * sysdeps/arm/nptl/bits/pthreadtypes.h
20599         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20600         * sysdeps/sh/nptl/bits/pthreadtypes.h
20601         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20602         * sysdeps/tile/nptl/bits/pthreadtypes.h
20603         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20604         * sysdeps/a/nptl/bits/pthreadtypes.h
20605         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20606         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
20607         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20608         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
20609         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20610         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
20611         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20612         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
20613         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20614         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
20615         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20616         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
20617         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20618         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
20619         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20620         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
20621         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20622         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
20623         (elision_init): Set try_xbegin to zero when no RTM.
20624         * sysdeps/x86/nptl/bits/pthreadtypes.h
20625         (pthread_rwlock_t): Change __pad1 to __rwelision.
20626         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20628 2014-06-13  Andi Kleen  <ak@linux.intel.com>
20630         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
20631         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
20632         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
20633         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
20635 2014-06-13  Meador Inge  <meadori@codesourcery.com>
20637         [BZ #16996]
20638         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
20639         that the cached result has been set before returning it.
20641 2014-06-12  Roland McGrath  <roland@hack.frob.com>
20643         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
20644         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
20645         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
20646         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
20647         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
20648         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
20650         * nptl/sysdeps/sparc/Makefile: Moved ...
20651         * sysdeps/sparc/nptl/Makefile: ... here.
20652         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
20653         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
20654         * nptl/sysdeps/sparc/tls.h: Moved ...
20655         * sysdeps/sparc/nptl/tls.h: ... here.
20656         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
20657         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
20658         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
20659         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
20660         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
20661         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
20662         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
20663         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
20664         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
20665         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
20666         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
20667         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
20668         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
20669         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
20670         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
20671         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
20672         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
20673         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
20674         Update #include.
20675         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
20676         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
20677         Update #include.
20678         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
20679         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
20680         Update #include.
20681         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
20682         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
20683         Update #include.
20685         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
20687         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
20688         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
20690         * sysdeps/pthread/posix-timer.h: Include <list.h>.
20691         (struct list_links): Type removed.
20692         (struct thread_node, struct timer_node): Replace struct list_links
20693         with struct list_head.
20694         (list_unlink_ip): Likewise.
20695         * sysdeps/pthread/timer_routines.c
20696         (timer_free_list, thread_free_list, thread_active_list): Likewise.
20697         (list_append, list_insbefore): Likewise.
20698         (list_init): Function removed.
20699         (thread_init, init_module): Use INIT_LIST_HEAD instead.
20700         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
20701         * sysdeps/pthread/Makefile: ... here, new file.
20703         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
20704         * sysdeps/nptl/Implies: ... here.
20705         * sysdeps/unix/sysv/linux/Implies: Add nptl.
20706         * nptl/sysdeps/pthread/list.h: Moved ...
20707         * include/list.h: ... here.
20708         * nptl/sysdeps/pthread/createthread.c: Moved ...
20709         * nptl/createthread.c: ... here.
20710         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
20711         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
20712         * nptl/pt-longjmp.c: ... here.
20713         * nptl/sysdeps/pthread/Makefile: Moved ...
20714         * sysdeps/nptl/Makefile: ... here.
20715         * nptl/sysdeps/pthread/Subdirs: Moved ...
20716         * sysdeps/nptl/Subdirs: ... here.
20717         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
20718         * sysdeps/nptl/aio_misc.h: ... here.
20719         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
20720         * sysdeps/nptl/bits/libc-lock.h: ... here.
20721         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
20722         * sysdeps/nptl/bits/libc-lockP.h: ... here.
20723         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
20724         * sysdeps/nptl/bits/stdio-lock.h: ... here.
20725         * nptl/sysdeps/pthread/configure: Moved ...
20726         * sysdeps/nptl/configure: ... here.
20727         * nptl/sysdeps/pthread/configure.ac: Moved ...
20728         * sysdeps/nptl/configure.ac: ... here.
20729         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
20730         * sysdeps/nptl/gai_misc.h: ... here.
20731         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
20732         * sysdeps/nptl/librt-cancellation.c: ... here.
20733         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
20734         * sysdeps/nptl/malloc-machine.h: ... here.
20735         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
20736         * sysdeps/nptl/pthread-functions.h: ... here.
20737         * nptl/sysdeps/pthread/pthread.h: Moved ...
20738         * sysdeps/nptl/pthread.h: ... here.
20739         * nptl/sysdeps/pthread/setxid.h: Moved ...
20740         * sysdeps/nptl/setxid.h: ... here.
20741         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
20742         * sysdeps/nptl/sigfillset.c: ... here.
20743         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
20744         * sysdeps/nptl/tcb-offsets.h: ... here.
20745         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
20746         * sysdeps/nptl/tst-mqueue8x.c: ... here.
20747         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
20748         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
20749         * nptl/sysdeps/pthread/allocalim.h: Moved ...
20750         * sysdeps/pthread/allocalim.h: ... here.
20751         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
20752         * sysdeps/pthread/bits/sigthread.h: ... here.
20753         * nptl/sysdeps/pthread/flockfile.c: Moved ...
20754         * sysdeps/pthread/flockfile.c: ... here.
20755         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
20756         * sysdeps/pthread/ftrylockfile.c: ... here.
20757         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
20758         * sysdeps/pthread/funlockfile.c: ... here.
20759         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
20760         * sysdeps/pthread/posix-timer.h: ... here.
20761         * nptl/sysdeps/pthread/timer_create.c: Moved ...
20762         * sysdeps/pthread/timer_create.c: ... here.
20763         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
20764         * sysdeps/pthread/timer_delete.c: ... here.
20765         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
20766         * sysdeps/pthread/timer_getoverr.c: ... here.
20767         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
20768         * sysdeps/pthread/timer_gettime.c: ... here.
20769         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
20770         * sysdeps/pthread/timer_routines.c: ... here.
20771         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
20772         * sysdeps/pthread/timer_settime.c: ... here.
20773         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
20774         * sysdeps/pthread/tst-timer.c: ... here.
20775         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
20776         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
20778         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
20779         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
20781         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
20782         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
20783         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
20784         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
20785         Update #include target.
20786         * nptl/sysdeps/i386/i686/Makefile: Moved ...
20787         * sysdeps/i386/i686/nptl/Makefile: ... here.
20788         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
20789         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
20790         Update #include target.
20791         * nptl/sysdeps/i386/i686/tls.h: Moved ...
20792         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
20793         * nptl/sysdeps/i386/Makefile: Moved ...
20794         * sysdeps/i386/nptl/Makefile: ... here.
20795         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
20796         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
20797         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
20798         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
20799         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
20800         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
20801         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
20802         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
20803         * sysdeps/i386/nptl/pthreaddef.h: ... here.
20804         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
20805         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
20806         * nptl/sysdeps/i386/tls.h: Moved ...
20807         * sysdeps/i386/nptl/tls.h: ... here.
20809         * sysdeps/sh/Makefile [$(subdir) = csu]
20810         (gen-as-const-headers): Add tcb-offsets.sym.
20811         * nptl/sysdeps/sh/Makefile: File removed.
20812         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
20813         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
20814         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
20815         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
20816         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
20817         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
20818         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
20819         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
20820         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
20821         * sysdeps/sh/nptl/pthreaddef.h: ... here.
20822         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
20823         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
20824         * nptl/sysdeps/sh/tls.h: Moved ...
20825         * sysdeps/sh/nptl/tls.h: ... here.
20826         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
20827         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
20828         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
20829         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
20830         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
20831         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
20832         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
20833         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
20834         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
20835         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
20836         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
20837         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
20838         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
20839         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
20840         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
20841         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
20842         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
20843         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
20844         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
20845         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
20846         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
20847         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
20848         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
20849         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
20850         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
20851         Moved ...
20852         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
20853         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
20854         Moved ...
20855         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
20856         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
20857         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
20858         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
20859         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
20860         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
20861         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
20862         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
20863         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
20864         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
20865         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
20866         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
20867         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
20868         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
20869         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
20870         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
20871         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
20872         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
20873         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
20875 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
20877         * posix/spawn_faction_addopen.c: Include string.h.
20879 2014-06-11  Roland McGrath  <roland@hack.frob.com>
20881         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
20882         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
20883         * nptl/sysdeps/x86_64/Makefile: Moved ...
20884         * sysdeps/x86_64/nptl/Makefile: ... here.
20885         * nptl/sysdeps/x86_64/configure: Moved ...
20886         * sysdeps/x86_64/nptl/configure: ... here.
20887         * nptl/sysdeps/x86_64/configure.ac: Moved ...
20888         * sysdeps/x86_64/nptl/configure.ac: ... here.
20889         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
20890         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
20891         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
20892         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
20893         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
20894         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
20895         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
20896         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
20897         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
20898         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
20899         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
20900         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
20901         * nptl/sysdeps/x86_64/tls.h: Moved ...
20902         * sysdeps/x86_64/nptl/tls.h: ... here.
20903         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
20904         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
20905         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
20906         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
20908         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
20910 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20912         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20914 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
20916         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
20917         type.
20918         [POSIX] (off_t): Likewise.
20919         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
20920         [POSIX] (S_ISBLK): Require macro.
20921         [POSIX] (S_ISCHR): Likewise.
20922         [POSIX] (S_ISDIR): Likewise.
20923         [POSIX] (S_ISFIFO): Likewise.
20924         [POSIX] (S_ISREG): Likewise.
20925         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
20926         optional-macro.
20927         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
20928         type.
20929         [POSIX] (time_t): Likewise.
20930         [POSIX] (timer_t): Likewise.
20932 2014-06-11  Florian Weimer  <fweimer@redhat.com>
20934         [BZ #17048]
20935         * posix/spawn_int.h (struct __spawn_action): Make the path string
20936         non-const to support deallocation.
20937         * posix/spawn_faction_addopen.c
20938         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
20939         * posix/spawn_faction_destroy.c
20940         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
20941         path in all spawn_do_open actions.
20942         * posix/tst-spawn.c (do_test): Exercise the copy operation in
20943         posix_spawn_file_actions_addopen.
20945 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
20947         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
20948         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
20949         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
20950         conditional code always true.
20951         (__libc_vfork): New alias.
20953 2014-06-11  Roland McGrath  <roland@hack.frob.com>
20955         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
20956         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
20958         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
20960         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
20961         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
20963         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
20964         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
20966         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
20967         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
20969 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
20971         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
20972         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
20973         multiarch strcmp for PPC64.
20974         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
20975         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
20976         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
20977         multiarch optimizations.
20978         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20979         (__libc_ifunc_impl_list): Likewise.
20981 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
20983         * benchtests/scripts/validate_benchout.py: New script.
20984         * benchtests/Makefile (bench-func): Call it.
20985         * benchtests/scripts/benchout.schema.json: New file.
20987 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
20989         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
20990         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
20991         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
20992         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
20993         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
20994         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
20995         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
20996         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
20997         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
20998         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
20999         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
21000         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
21001         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
21002         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
21003         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
21004         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
21005         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
21006         Moved ...
21007         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
21008         ... here.
21009         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
21010         Moved ...
21011         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
21012         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
21013         Moved ...
21014         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
21015         ... here.
21016         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
21017         Moved ...
21018         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
21019         ... here.
21020         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
21021         Moved ...
21022         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
21023         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
21024         Moved ...
21025         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
21026         ... here.
21027         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
21028         Moved ...
21029         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
21030         ... here.
21031         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
21032         Moved ...
21033         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
21034         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
21035         Moved ...
21036         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
21037         ... here.
21038         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
21039         Moved ...
21040         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
21041         ... here.
21042         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
21043         Moved ...
21044         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
21045         ... here.
21046         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
21047         Moved ...
21048         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
21049         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
21050         Moved ...
21051         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
21052         ... here.
21053         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
21054         Moved ...
21055         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
21056         ... here.
21057         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
21058         Moved ...
21059         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
21060         ... here.
21061         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
21062         Moved ...
21063         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
21064         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
21065         Moved ...
21066         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
21067         ... here.
21068         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
21069         Moved ...
21070         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
21071         ... here.
21072         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
21073         Moved ...
21074         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
21075         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
21076         Moved ...
21077         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
21078         ... here.
21079         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
21080         Moved ...
21081         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
21082         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
21083         Moved ...
21084         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
21085         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
21086         Moved ...
21087         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
21088         ... here.
21089         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
21090         Moved ...
21091         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
21092         ... here.
21093         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
21094         Moved ...
21095         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
21096         ... here.
21097         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
21098         Moved ...
21099         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
21100         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
21101         Moved ...
21102         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
21103         ... here.
21104         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
21105         Moved ...
21106         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
21107         ... here.
21108         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
21109         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
21110         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
21111         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
21112         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
21113         Moved ...
21114         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
21115         ... here.
21116         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
21117         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
21118         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
21119         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
21120         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
21121         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
21122         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
21123         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
21124         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
21125         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
21126         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
21127         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
21128         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
21129         Moved ...
21130         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
21131         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
21132         Moved ...
21133         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
21134         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
21135         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
21136         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
21137         Moved ...
21138         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
21139         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
21140         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
21141         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
21142         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
21143         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
21144         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
21146 2014-06-10  Wilco  <wdijkstr@arm.com>
21148         * math/test-fenv-return.c: New file.
21149         * math/Makefile: Add new test test-fenv-return.
21151 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
21153         [BZ #17042]
21154         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
21155         when x - 1 is zero.
21156         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
21157         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
21158         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
21159         0.0L for an argument of 1.0L.
21160         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
21161         Likewise.
21162         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
21163         value when x - 1 is zero.
21164         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
21165         * sysdeps/i386/fpu/libm-test-ulps: Update.
21166         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21168 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
21170         [BZ #15119]
21171         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
21173 2014-06-09  Roland McGrath  <roland@hack.frob.com>
21175         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
21176         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
21178 2014-06-09  Roland McGrath  <roland@hack.frob.com>
21180         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
21181         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
21183         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
21184         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
21186         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
21187         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
21189         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
21190         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
21192         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
21193         if not already defined.
21194         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
21195         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
21196         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
21197         (TLS_INIT_TP): Use it.
21198         (TLS_DEFINE_INIT_TP): New macro.
21199         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
21201 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
21203         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
21204         constant.
21205         [POSIX] (IXANY): Likewise.
21206         [POSIX] (OLCUC): Likewise.
21207         [POSIX || POSIX2008] (CBAUD): Do not allow.
21208         [POSIX || POSIX2008] (DEFECHO): Likewise.
21209         [POSIX || POSIX2008] (ECHOCTL): Likewise.
21210         [POSIX || POSIX2008] (ECHOKE): Likewise.
21211         [POSIX || POSIX2008] (ECHOPRT): Likewise.
21212         [POSIX || POSIX2008] (EXTA): Likewise.
21213         [POSIX || POSIX2008] (EXTB): Likewise.
21214         [POSIX || POSIX2008] (FLUSHO): Likewise.
21215         [POSIX || POSIX2008] (LOBLK): Likewise.
21216         [POSIX || POSIX2008] (PENDIN): Likewise.
21217         [POSIX || POSIX2008] (SWTCH): Likewise.
21218         [POSIX || POSIX2008] (VDISCARD): Likewise.
21219         [POSIX || POSIX2008] (VDSUSP): Likewise.
21220         [POSIX || POSIX2008] (VLNEXT): Likewise.
21221         [POSIX || POSIX2008] (VREPRINT): Likewise.
21222         [POSIX || POSIX2008] (VSTATUS): Likewise.
21223         [POSIX || POSIX2008] (VWERASE): Likewise.
21224         (B*): Change to B[0123456789]*.
21225         * conform/data/time.h-data [POSIX || UNIX98]
21226         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
21227         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
21228         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
21229         [POSIX] (tm_*): Do not allow.
21231 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
21233         * Makefile (install): Don't set LANGUAGE.
21234         * Makefile.in (install): Likewise.
21235         * assert/Makefile (test-assert-ENV): Remove variable.
21236         (test-assert-perr-ENV): Likewise.
21237         * elf/Makefile (neededtest4-ENV): Likewise.
21238         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
21239         [$(cross-compiling) = no]: Don't set LANGUAGE.
21240         * io/ftwtest-sh (LANG): Remove variable.
21241         * libio/Makefile (tst-widetext-ENV): Likewise.
21242         * manual/install.texi (Running make install): Don't refer to
21243         environment settings for make install.
21244         * INSTALL: Regenerated.
21245         * nptl/tst-tls6.sh: Don't set LANG.
21246         * posix/globtest.sh (LANG): Remove variable.
21247         * string/Makefile (tester-ENV): Likewise.
21248         (inl-tester-ENV): Likewise.
21249         (noinl-tester-ENV): Likewise.
21250         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
21251         [$(cross-compiling) = no]: Don't set LANGUAGE.
21252         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
21253         without explicit environment settings.
21255 2014-06-06  Roland McGrath  <roland@hack.frob.com>
21257         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
21258         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
21259         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
21260         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
21262 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
21264         * crypt/crypt-private.h [DOS]: Add some includes taken from the
21265         other files in the crypt directory.
21266         * crypt/crypt.c: Remove duplicate includes.
21267         * crypt/crypt-entry.c: Likewise.
21268         * crypt/crypt_util.c: Likewise.
21270 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
21272         * Makeconfig (run-program-env): New variable.
21273         (run-program-prefix-before-env): Likewise.
21274         (run-program-prefix-after-env): Likewise.
21275         (run-program-prefix): Define in terms of new variables.
21276         (built-program-cmd-before-env): New variable.
21277         (built-program-cmd-after-env): Likewise.
21278         (built-program-cmd): Define in terms of new variables.
21279         (test-program-prefix-before-env): New variable.
21280         (test-program-prefix-after-env): Likewise.
21281         (test-program-prefix): Define in terms of new variables.
21282         (test-program-cmd-before-env): New variable.
21283         (test-program-cmd-after-env): Likewise.
21284         (test-program-cmd): Define in terms of new variables.
21285         * Rules (make-test-out): Use $(run-program-env).
21286         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
21287         (help): Do not mention environment variables.  Mention
21288         --timeoutfactor option.
21289         (timeoutfactor): New variable.
21290         (blacklist_exports): Remove function.
21291         (exports): Remove variable.
21292         (command): Do not include ${exports}.
21293         * manual/install.texi (Configuring and compiling): Do not mention
21294         test wrappers preserving environment variables.  Mention that last
21295         assignment to a variable must take precedence.
21296         * INSTALL: Regenerated.
21297         * benchtests/Makefile (run-bench): Use $(run-program-env).
21298         * catgets/Makefile ($(objpfx)test1.cat): Use
21299         $(built-program-cmd-before-env), $(run-program-env) and
21300         $(built-program-cmd-after-env).
21301         ($(objpfx)test2.cat): Do not specify environment variables
21302         explicitly.
21303         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
21304         $(run-program-env) and $(built-program-cmd-after-env).
21305         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
21306         $(run-program-env) and $(test-program-cmd-after-env).
21307         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
21308         explicitly.
21309         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
21310         run_program_env and test_program_cmd_after_env arguments.
21311         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
21312         * elf/tst-pathopt.sh: Use run_program_env argument.
21313         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
21314         $(test-wrapper-env) and $(run-program-env).
21315         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
21316         run_program_env arguments.
21317         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
21318         * intl/Makefile ($(objpfx)tst-gettext.out): Use
21319         $(test-program-prefix-before-env), $(run-program-env) and
21320         $(test-program-prefix-after-env).
21321         ($(objpfx)tst-gettext2.out): Likewise.
21322         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
21323         run_program_env and test_program_prefix_after_env arguments.
21324         * intl/tst-gettext2.sh: Likewise.
21325         * intl/tst-gettext4.sh: Do not set environment variables
21326         explicitly.
21327         * intl/tst-gettext6.sh: Likewise.
21328         * intl/tst-translit.sh: Likewise.
21329         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
21330         $(test-program-prefix-before-env), $(run-program-env) and
21331         $(test-program-prefix-after-env).
21332         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
21333         run_program_env and test_program_prefix_after_env arguments.
21334         * math/Makefile (run-regen-ulps): Use $(run-program-env).
21335         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
21336         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
21337         explicitly with each use of ${test_wrapper_env}.
21338         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
21339         $(test-program-prefix-before-env), $(run-program-env) and
21340         $(test-program-prefix-after-env).
21341         * posix/tst-getconf.sh: Do not set environment variables
21342         explicitly.
21343         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
21344         run_program_env and test_program_prefix_after_env arguments.
21345         * stdio-common/tst-printf.sh: Do not set environment variables
21346         explicitly.
21347         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
21348         $(test-program-prefix-before-env), $(run-program-env) and
21349         $(test-program-prefix-after-env).
21350         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
21351         run_program_env and test_program_prefix_after_env arguments.
21352         Split $test calls into $test_pre and $test.
21353         * timezone/Makefile (build-testdata): Use
21354         $(built-program-cmd-before-env), $(run-program-env) and
21355         $(built-program-cmd-after-env).
21357 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21359         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
21360         strlen for non SHARED builds.
21362 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
21364         * nptl/allocatestack.c (check_list): Inlined function...
21365         (__reclaim_stacks): ... here.
21367 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
21369         [BZ #15698]
21370         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
21371         memory overrun.
21373 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
21375         * Rules (make-test-out): Include
21376         LOCPATH=$(common-objpfx)localedata in default environment.
21377         * debug/Makefile (tst-chk1-ENV): Remove variable.
21378         (tst-chk2-ENV): Likewise.
21379         (tst-chk3-ENV): Likewise.
21380         (tst-chk4-ENV): Likewise.
21381         (tst-chk5-ENV): Likewise.
21382         (tst-chk6-ENV): Likewise.
21383         (tst-lfschk1-ENV): Likewise.
21384         (tst-lfschk2-ENV): Likewise.
21385         (tst-lfschk3-ENV): Likewise.
21386         (tst-lfschk4-ENV): Likewise.
21387         (tst-lfschk5-ENV): Likewise.
21388         (tst-lfschk6-ENV): Likewise.
21389         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
21390         (tst-iconv7-ENV): Likewise.
21391         * intl/Makefile (LOCPATH-ENV): Likewise.
21392         (tst-codeset-ENV): Likewise.
21393         (tst-gettext3-ENV): Likewise.
21394         (tst-gettext5-ENV): Likewise.
21395         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
21396         (tst-fopenloc-ENV): Likewise.
21397         (tst-fgetws-ENV): Remove variable.
21398         (tst-ungetwc1-ENV): Likewise.
21399         (tst-ungetwc2-ENV): Likewise.
21400         (bug-ungetwc2-ENV): Likewise.
21401         (tst-swscanf-ENV): Likewise.
21402         (bug-ftell-ENV): Likewise.
21403         (tst-fgetwc-ENV): Likewise.
21404         (tst-fseek-ENV): Likewise.
21405         (tst-ftell-partial-wide-ENV): Likewise.
21406         (tst-ftell-active-handler-ENV): Likewise.
21407         (tst-ftell-append-ENV): Likewise.
21408         * posix/Makefile (tst-fnmatch-ENV): Likewise.
21409         (tst-regexloc-ENV): Likewise.
21410         (bug-regex1-ENV): Likewise.
21411         (tst-regex-ENV): Likewise.
21412         (tst-regex2-ENV): Likewise.
21413         (bug-regex5-ENV): Likewise.
21414         (bug-regex6-ENV): Likewise.
21415         (bug-regex17-ENV): Likewise.
21416         (bug-regex18-ENV): Likewise.
21417         (bug-regex19-ENV): Likewise.
21418         (bug-regex20-ENV): Likewise.
21419         (bug-regex22-ENV): Likewise.
21420         (bug-regex23-ENV): Likewise.
21421         (bug-regex25-ENV): Likewise.
21422         (bug-regex26-ENV): Likewise.
21423         (bug-regex30-ENV): Likewise.
21424         (bug-regex32-ENV): Likewise.
21425         (bug-regex33-ENV): Likewise.
21426         (bug-regex34-ENV): Likewise.
21427         (bug-regex35-ENV): Likewise.
21428         (tst-rxspencer-ENV): Likewise.
21429         (tst-rxspencer-no-utf8-ENV): Likewise.
21430         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
21431         (tst-sscanf-ENV): Likewise.
21432         (tst-swprintf-ENV): Likewise.
21433         (tst-swscanf-ENV): Likewise.
21434         (test-vfprintf-ENV): Likewise.
21435         (scanf13-ENV): Likewise.
21436         (bug14-ENV): Likewise.
21437         (tst-grouping-ENV): Likewise.
21438         * stdlib/Makefile (tst-strtod-ENV): Likewise.
21439         (tst-strtod3-ENV): Likewise.
21440         (tst-strtod4-ENV): Likewise.
21441         (tst-strtod5-ENV): Likewise.
21442         (testmb2-ENV): Likewise./
21443         * string/Makefile (tst-strxfrm-ENV): Likewise.
21444         (tst-strxfrm2-ENV): Likewise.
21445         (bug-strcoll1-ENV): Likewise.
21446         (test-strcasecmp-ENV): Likewise.
21447         (test-strncasecmp-ENV): Likewise.
21448         * time/Makefile (tst-strptime-ENV): Likewise.
21449         (tst-ftime_l-ENV): Likewise.
21450         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
21451         (tst-mbrtowc-ENV): Likewise.
21452         (tst-wcrtomb-ENV): Likewise.
21453         (tst-mbrtowc2-ENV): Likewise.
21454         (tst-c16c32-1-ENV): Likewise.
21455         (tst-mbsnrtowcs-ENV): Likewise.
21457 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
21459         * manual/resource.texi (How to get information about the memory
21460         subsystem?): Fix typo.
21461         Reported by Peon de la Parra Ivan <peon@keba.com>
21463 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
21465         [BZ #16882]
21466         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
21467         (pthread_spin_lock): Branch out of spin loop to proper location.
21468         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
21469         (pthread_spin_lock): Likewise.
21471         * nptl/tst-spin4.c: New test.
21472         * nptl/Makefile (tests): Add tst-spin4.
21474 2014-06-03  Andreas Schwab  <schwab@suse.de>
21476         [BZ #15946]
21477         * resolv/res_send.c (send_dg): Reload file descriptor after
21478         calling reopen.
21480 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
21482         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
21484 2014-06-03  Richard Henderson  <rth@redhat.com>
21486         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
21487         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
21488         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
21489         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
21490         in the SAVE_PID block.
21491         (__libc_vfork): New alias.
21492         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
21494         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
21495         child in registers, not on the stack.  Remove RESET_PID conditionals.
21496         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
21498 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
21500         * sysdeps/aarch64/libm-test-ulps: Regenerate.
21502 2014-06-03  Wilco  <wdijkstr@arm.com>
21504         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
21505         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
21506         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
21507         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
21508         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
21509         Likewise.
21511 2014-06-03  Wilco  <wdijkstr@arm.com>
21513         * sysdeps/aarch64/fpu/math_private.h
21514         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
21515         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
21516         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
21517         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
21518         Fix declarations.
21520 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
21522         * crypt/crypt-private.h: Include ufc-crypt.h.
21523         (__b64_from_24bit): Declare extern.
21524         * crypt/crypt_util.c(__b64_from_24bit): New function.
21525         (b64t): New static const variable.
21526         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
21527         (b64t): Remove variable.
21528         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
21529         * crypt/sha256-crypt.c: Include crypt-private.h.
21530         (b64t): Remove variable.
21531         (__sha256_crypt_r): Remove b64_from_24bit and replace
21532         with __b64_from_24bit.
21533         * crypt/sha512-crypt.c: Likewise.
21535 2014-06-02  Roland McGrath  <roland@hack.frob.com>
21537         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
21538         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
21539         Label the code __libc_vfork rather than __vfork.
21540         [!NOT_IN_libc] (vfork): Define as weak alias.
21541         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
21542         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
21543         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
21545 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
21547         * malloc/malloc.c (malloc_info): Fix format specifier for
21548         n_mmaps.
21550 2014-06-02  Wilco  <wdijkstr@arm.com>
21552         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
21553         FPCR write.
21555 2014-06-02  Wilco  <wdijkstr@arm.com>
21557         [BZ #17009]
21558         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
21559         Rewrite to reduce FPCR/FPSR accesses.
21561 2014-06-01  David S. Miller  <davem@davemloft.net>
21563         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21565 2014-05-31  David S. Miller  <davem@davemloft.net>
21567         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
21568         to occur in round to nearest mode when |x| >= 2.0
21570 2014-05-30  Richard Henderson  <rth@twiddle.net>
21572         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
21573         (PSEUDO_RET_NOERRNO): Remove.
21574         (ret): Don't redefine.
21575         (ret_NOERRNO): Define in terms of ret.
21576         (ret_ERRVAL): Likewise.
21578         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
21579         use of PSEUDO_RET; perform the error check directly.
21581 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
21583         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
21584         with __int128_t.
21586 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
21588         * malloc/malloc (malloc_info): Fix formatting.
21590 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
21591             Roland McGrath  <roland@hack.frob.com>
21593         * malloc/malloc (malloc_info): Also print mmapped statistics.
21595 2014-05-30  Roland McGrath  <roland@hack.frob.com>
21597         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
21598         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
21600 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
21602         * malloc/malloc.c (malloc_info): Inline mi_arena.
21604 2014-05-29  Richard Henderson  <rth@twiddle.net>
21606         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
21607         Remove comma before expanding ASM_ARGS_##nr.
21608         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
21609         Make _x0 a strict output; make _x8 a strict input; adjust expansion
21610         of ASM_ARGS_##nr.
21611         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
21612         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
21613         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
21614         (ASM_ARGS_1): Add leading comma.
21616         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
21617         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
21618         to __errno_location.
21619         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
21620         Remove the expected plt for __errno_location.
21622         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
21623         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
21624         call to __read_tp.
21626         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
21627         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
21628         it and break it down.
21629         (DOCARGS_0, DOCARGS_1): Do nothing.
21630         (DOCARGS_2): Update to store into the new stack frame.
21631         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
21632         (UNDOCARGS_1): Update to restore from the new stack frame.
21633         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
21634         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
21636         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
21637         (SINGLE_THREAD_P): New parameter for result regno.
21638         (PSEUDO): Update to match; use cbz instead of beq.
21640         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
21641         Use ENTRY to define the _nocancel entry point.  Share the syscall
21642         and syscall error check paths with the cancel path.
21643         (PSEUDO_END): New.
21645         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
21646         whitespace; tabs before and after asm mnemonics.
21648 2014-05-29  Eric Wong  <normalperson@yhbt.net>
21650         [BZ #15132]
21651         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21652         Call fstat64 or stat64 internally, depending on arguments passed.
21653         Replace stat buffer argument with file descriptor argument.
21654         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
21655         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
21656         Pass fd to __internal_statvfs instead of calling fstat64.
21657         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
21658         Pass fd to __internal_statvfs64 instead of calling fstat64.
21659         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
21660         Pass -1 to __internal_statvfs instead of calling stat64.
21661         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
21662         Pass -1 to __internal_statvfs64 instead of calling stat64.
21664 2014-05-28  Roland McGrath  <roland@hack.frob.com>
21666         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
21667         that was previously under [RESET_PID].
21668         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
21670         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
21671         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
21673 2014-05-27  Roland McGrath  <roland@hack.frob.com>
21675         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
21677         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
21678         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
21680 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
21682         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
21684 2014-05-27  Andreas Schwab  <schwab@suse.de>
21686         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
21687         TLS_INIT_TP macro.
21688         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
21689         * elf/rtld.c (init_tls, dl_main): Likewise.
21690         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
21691         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
21692         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
21693         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
21694         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
21695         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
21696         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
21697         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
21698         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
21699         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
21700         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
21701         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
21702         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
21703         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
21704         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
21705         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
21706         * sysdeps/generic/tls.h: Update description.
21708 2014-05-27  Will Newton  <will.newton@linaro.org>
21710         [BZ #16990]
21711         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
21712         and restore r2 rather than just restoring.
21714 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
21716         [BZ #16724]
21717         * libio/tst-ftell-append.c: New test case.
21718         * libio/Makefile (tests): Add test case.
21719         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
21720         append mode.
21721         * libio/wfileops.c (do_ftell_wide): Likewise.
21723 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21725         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21727         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
21728         ...
21729         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
21730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
21731         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
21732         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
21733         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
21734         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
21735         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
21736         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
21737         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
21738         Moved ...
21739         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
21740         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
21741         Moved ...
21742         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
21743         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
21744         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
21745         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
21746         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
21747         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
21748         ...
21749         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
21750         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
21751         Moved ...
21752         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
21753         here.
21754         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
21755         ...
21756         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
21757         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
21758         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
21760         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
21761         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
21762         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
21763         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
21765         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
21766         merge into ...
21767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
21768         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
21769         ...
21770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
21771         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
21772         ...
21773         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
21774         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
21775         Moved ...
21776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
21777         here.
21778         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
21779         Moved ...
21780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
21781         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
21782         Moved ...
21783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
21785         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
21786         conditional [RESET_PID].
21787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
21788         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
21789         removed.
21790         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
21791         removed.
21793         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
21794         <tcb-offsets.h>.
21795         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
21796         (__libc_vfork): New strong alias.
21797         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
21798         removed.
21799         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
21800         Removed.
21802         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
21803         <tcb-offsets.h>.
21804         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
21805         (__libc_vfork): New strong alias.
21806         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
21807         removed.
21808         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
21809         removed.
21811 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
21813         * malloc/malloc.c (mi_arena): New function.
21814         (malloc_info): Remove nested function mi_arena. Call non-nosted
21815         function mi_arena.
21817 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21819         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
21820         by insrwi.
21821         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
21822         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
21823         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
21824         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
21825         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
21826         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
21827         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
21829 2014-05-26  Andreas Schwab  <schwab@suse.de>
21831         [BZ #16984]
21832         * locale/programs/repertoire.c (repertoire_read): Add slash
21833         between I18NPATH element and file name.
21834         * locale/programs/locfile.c (locfile_read): Likewise.
21836 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
21838         * nptl/pthread_mutexattr_settype.c
21839         (__pthread_mutexattr_settype):
21840         Disable lock elision for PTHREAD_MUTEX_NORMAL.
21842 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
21844         * nptl/tst-mutex5 (do_test):
21845         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
21847 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
21849         * benchtests/README: Document 'init' directive.
21850         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
21851         BENCH_INIT.
21852         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
21853         (parse_file): Recognize 'init' directive.
21855 2014-05-26  Kyle McMartin  <kyle@redhat.com>
21857         [BZ #16796]
21858         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
21859         alignment of struct pthread.
21861 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
21863         [BZ #16878]
21864         * nscd/netgroupcache.c (addgetnetgrentX): Look for
21865         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
21866         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
21867         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
21869 2014-05-25  Richard Henderson  <rth@twiddle.net>
21871         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
21872         (SINGLE_THREAD_P_PIC): Remove.
21873         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
21874         (SINGLE_THREAD_P_PIC): Remove.
21876         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
21877         branch to syscall error ...
21878         (PSEUDO): ... here.
21879         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
21880         from __local_syscall_error to .Lsyscall_error.
21881         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
21882         (SYSCALL_ERROR): Update label name.
21884         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
21885         Do not use DOARGS/UNDOARGS.
21886         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
21887         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
21888         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
21889         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
21890         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
21892         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
21893         block comment.
21895         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
21896         define if !NOT_IN_libc.
21897         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
21898         define with non-default symbol versions.
21900 2014-05-23  Richard Henderson  <rth@twiddle.net>
21902         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
21903         (vfork, __vfork): Define via compat_symbol.
21905         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
21906         [!HAVE_IFUNC] (vfork_compat): Remove.
21907         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
21909 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
21911         [BZ #16978]
21912         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
21913         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
21914         variable.
21916 2014-05-23  Richard Henderson  <rth@twiddle.net>
21918         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
21919         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
21920         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
21921         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
21923         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
21924         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
21925         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
21926         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
21927         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
21928         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
21929         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
21930         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
21931         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
21932         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
21933         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
21934         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
21935         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
21936         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
21937         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
21938         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
21939         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
21940         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
21941         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
21942         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
21943         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
21944         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
21945         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
21946         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
21947         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
21948         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
21949         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
21950         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
21951         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
21952         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
21953         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
21954         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
21955         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
21956         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
21957         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
21958         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
21959         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
21960         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
21961         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
21962         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
21963         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
21964         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
21965         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
21966         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
21967         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
21968         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
21969         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
21970         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
21971         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
21972         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
21973         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
21974         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
21975         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
21976         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
21977         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
21978         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
21980         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
21981         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
21982         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
21983         before exiting on error.
21984         (__libc_vfork): New strong alias.
21985         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
21986         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
21988         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
21989         that was previously under [RESET_PID].
21990         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
21992         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
21994 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
21996         [BZ #16977]
21997         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
21998         value when x - 1 is zero.
21999         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
22000         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
22001         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
22002         0.0L for an argument of 1.0L.
22003         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
22004         Likewise.
22005         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
22006         value when x - 1 is zero.
22007         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
22008         * sysdeps/i386/fpu/libm-test-ulps: Update.
22009         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22011 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
22013         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
22014         alphasort and versionsort.
22016 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22018         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
22019         macro.
22020         [copysignf]: Likewise.
22022 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
22024         * crypt/md5-crypt.c: Fix formatting.
22026 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
22028         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
22029         (b64_from_24bit): New function.
22031 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22033         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
22034         libc_hidden_builtin_def to ifunc.
22035         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
22036         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
22038 2014-05-21  Roland McGrath  <roland@hack.frob.com>
22040         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
22041         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
22043 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
22045         * nscd/Depend (linuxthreads): Remove.
22046         (nptl): Add.
22047         * resolv/Depend (linuxthreads): Remove.
22048         * rt/Depend (linuxthreads): Remove.
22050         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
22051         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
22052         $(common-objpfx)elf/.
22053         (link-libc-before-gnulib): Likewise.
22054         (elfobjdir): Remove variable.
22055         * Makefile (install): Use $(elf-objpfx) instead of
22056         $(common-objpfx)elf/.
22057         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
22058         $(elfobjdir)/.
22059         (link-libc-deps): Likewise.
22060         ($(common-objpfx)libc.so): Likewise.
22061         ($(common-objpfx)linkobj/libc.so): Likewise.
22062         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
22063         instead of $(common-objpfx)elf/.
22064         (symbolic-link-list): Likewise.
22065         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
22066         [$(cross-compiling) = no]: Likewise.
22067         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
22068         $(elfobjdir)/.
22069         (static-gnulib-arch): Likewise.
22070         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
22071         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
22072         $(common-objpfx)elf/.
22074 2014-05-21  Richard Henderson  <rth@redhat.com>
22076         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
22077         (SINGLE_THREAD_P): Use the correct width load.  Fold
22078         into the ldr offset.
22080         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
22081         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
22083 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
22085         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
22086         (libgcc_s_resume): Use __attribute_used__.
22087         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
22088         Likewise.
22090 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22092         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
22093         optimization when used with float constants.
22095         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22097 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
22099         [BZ #16915]
22100         * locale/nl_langinfo_l.c: Make direct reference to every
22101         _nl_current_CATEGORY symbol.
22102         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
22103         (tests-static): Add tst-langinfo-static.
22104         (tests-special): Add tst-langinfo-static.out.
22105         ($(objpfx)tst-langinfo.out): Redirect output.
22106         ($(objpfx)tst-langinfo-static.out): New.
22107         * localedata/tst-langinfo.sh: Send output to stdout.
22108         * localedata/tst-langinfo-static.c: New file.
22110         [BZ #16965]
22111         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
22112         when the shift amount is modulo the limb size.
22114 2014-05-20  Richard Henderson  <rth@redhat.com>
22116         [BZ #16967]
22117         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
22118         Change type of sa_flags from unsigned int to int.
22120         [BZ #16966]
22121         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
22123         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
22125 2014-05-20  Will Newton  <will.newton@linaro.org>
22127         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
22128         Test the return value of the system call in the nocancel case.
22130 2014-05-20  Will Newton  <will.newton@linaro.org>
22131             Yvan Roux  <yvan.roux@linaro.org>
22133         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
22134         #include of asm/ptrace.h.
22135         (PTRACE_GET_THREAD_AREA): Remove #undef.
22136         (PTRACE_GETHBPREGS): Likewise.
22137         (PTRACE_SETHBPREGS): Likewise.
22138         (struct user_regs_struct): New structure.
22139         (struct user_fpsimd_struct): New structure.
22140         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
22141         #include of asm/ptrace.h and second #include of sys/user.h.
22142         (PTRACE_GET_THREAD_AREA): Remove #undef.
22143         (PTRACE_GETHBPREGS): Likewise.
22144         (PTRACE_SETHBPREGS): Likewise.
22145         (ELF_NGREG): Use new struct user_regs_struct.
22146         (elf_fpregset_t): Use new struct user_fpsimd_struct.
22148 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22150         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
22151         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
22153 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
22155         [BZ #16958]
22156         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
22157         membar to avoid block loads/stores to overlap previous stores.
22159 2014-05-17  Richard Henderson  <rth@redhat.com>
22161         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
22162         Create the __##syscall_name##_nocancel entry point.
22163         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
22164         Remove; let the sysdep-cancel.h code create it.
22166 2014-05-17  David S. Miller  <davem@davemloft.net>
22168         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
22169         Protect with __USE_GNU.
22170         (TIOCSET_TEMPT): Likewise.
22171         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
22172         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
22173         these are already provided in bits/ioctl-types.h
22175 2014-05-16  Roland McGrath  <roland@hack.frob.com>
22177         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
22178         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
22180         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
22181         Use wait4 regardless of [__NR_waitpid].
22183 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
22185         PR libgcc/60166
22186         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
22187         (_FP_NANSIGN_Q): Set the quiet bit.
22189 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
22191         * benchtests/Makefile
22192         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
22193         not $(common-objpfx)math/libm.so.
22194         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
22195         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
22196         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
22197         $(common-objpfx)dlfcn/libdl.so.
22198         ($(objpfx)tst-audit8): Depend on $(libm), not
22199         $(common-objpfx)math/libm.so.
22200         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
22201         not $(common-objpfx)dlfcn/libdl.so.
22202         * math/Makefile
22203         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
22204         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
22205         [$(build-shared) = yes].
22206         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
22207         $(common-objpfx)nptl/libpthread.so.
22208         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
22209         $(common-objpfx)math/libm.so$(libm.so-version) or
22210         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
22211         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
22212         $(common-objpfx)dlfcn/libdl.so.
22213         * setjmp/Makefile (link-libm): Remove variable.
22214         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
22215         * stdio-common/Makefile (link-libm): Remove variable.
22216         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
22217         * stdlib/Makefile (link-libm): Remove variable.
22218         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
22219         ($(objpfx)tst-strtod-round): Likewise.
22220         ($(objpfx)tst-tininess): Likewise.
22221         ($(objpfx)tst-strtod-underflow): Likewise.
22222         ($(objpfx)tst-strtod6): Likewise.
22223         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
22224         $(libdl), not $(common-objpfx)nptl/libpthread.so and
22225         $(common-objpfx)dlfcn/libdl.so.
22227 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22229         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
22230         BSD terminal modes definitions.
22232 2014-05-16  Roland McGrath  <roland@hack.frob.com>
22234         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
22235         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
22237         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
22238         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
22239         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
22240         Don't do #include_next.
22241         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
22242         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
22243         Don't do #include_next.
22244         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
22245         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
22246         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
22247         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
22249 2014-05-16  Allan McRae  <allan@archlinux.org>
22251         * po/sv.po: Update Swedish translation from translation project.
22253         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
22254         in sed expression.
22256 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
22258         [BZ #16917]
22259         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
22260         errno if the TIOCGPTN ioctl fails with an error different than
22261         EINVAL.
22262         * login/tst-ptsname.c: New file.
22263         * login/Makefile (tests): Add tst-ptsname.
22265         [BZ #16943]
22266         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
22267         and prlimit64.
22269 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22271         [BZ #16849]
22272         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
22273         herrno to return EAI_AGAIN.
22275 2014-05-14  Roland McGrath  <roland@hack.frob.com>
22277         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
22278         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
22279         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
22280         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
22281         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
22282         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
22283         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
22284         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
22285         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
22286         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
22287         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
22288         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
22289         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
22290         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
22291         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
22292         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
22293         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
22294         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
22295         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
22296         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
22297         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
22298         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
22299         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
22300         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
22301         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
22302         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
22303         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
22304         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
22305         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
22306         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
22307         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
22308         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
22309         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
22310         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
22311         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
22312         Moved ...
22313         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
22314         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
22315         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
22316         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
22317         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
22318         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
22319         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
22320         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
22321         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
22322         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
22323         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
22324         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
22325         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
22326         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
22327         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
22328         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
22329         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
22330         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
22331         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
22332         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
22333         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
22334         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
22335         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
22336         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
22337         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
22338         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
22339         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
22340         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
22341         Moved ...
22342         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
22343         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
22344         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
22345         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
22346         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
22347         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
22348         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
22349         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
22350         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
22351         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
22352         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
22353         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
22354         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
22355         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
22356         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
22357         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
22358         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
22359         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
22360         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
22361         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
22362         Moved ...
22363         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
22364         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
22365         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
22367         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
22368         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
22369         (libpthread-sysdep_routines): Add elision-related stuff here instead.
22370         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
22371         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
22372         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
22373         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
22374         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
22375         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
22376         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
22377         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
22378         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
22379         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
22380         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
22381         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
22382         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
22383         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
22384         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
22385         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
22386         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
22387         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
22388         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
22389         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
22390         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
22391         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
22392         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
22393         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
22394         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
22395         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
22396         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
22397         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
22399         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
22400         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
22402         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
22403         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
22404         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
22405         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
22406         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
22407         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
22408         Moved ...
22409         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
22410         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
22411         Moved ...
22412         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
22413         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
22414         Moved ...
22415         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
22416         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
22417         Moved ...
22418         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
22419         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
22420         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
22421         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
22422         Moved ...
22423         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
22424         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
22425         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
22426         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
22427         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
22428         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
22429         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
22430         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
22431         Moved ...
22432         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
22433         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
22434         Moved ...
22435         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
22436         ... here.
22437         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
22438         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
22439         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
22440         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
22441         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
22442         Moved ...
22443         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
22444         ... here.
22445         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
22446         Moved ...
22447         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
22448         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
22449         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
22450         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
22451         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
22452         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
22453         Moved ...
22454         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
22455         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
22456         Moved ...
22457         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
22458         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
22459         Moved ...
22460         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
22461         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
22462         Moved ...
22463         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
22464         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
22465         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
22466         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
22467         Moved ...
22468         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
22469         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
22470         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
22471         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
22472         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
22473         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
22474         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
22475         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
22476         Moved ...
22477         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
22478         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
22479         Moved ...
22480         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
22481         ... here.
22482         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
22483         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
22484         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
22485         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
22486         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
22487         Moved ...
22488         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
22489         ... here.
22490         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
22491         Moved ...
22492         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
22493         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
22494         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
22495         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
22496         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
22497         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
22498         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
22499         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
22500         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
22501         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
22502         Moved ...
22503         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
22504         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
22505         Moved ...
22506         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
22507         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
22508         Moved ...
22509         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
22510         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
22511         Moved ...
22512         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
22513         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
22514         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
22515         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
22516         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
22517         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
22518         Moved ...
22519         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
22520         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
22521         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
22522         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
22523         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
22524         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
22525         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
22526         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
22527         Moved ...
22528         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
22529         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
22530         Moved ...
22531         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
22532         ... here.
22533         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
22534         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
22535         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
22536         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
22537         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
22538         Moved ...
22539         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
22540         ... here.
22541         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
22542         Moved ...
22543         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
22544         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
22545         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
22546         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
22547         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
22548         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
22549         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
22550         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
22551         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
22552         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
22553         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
22555         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
22556         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
22558         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
22559         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
22561         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
22562         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
22563         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
22564         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
22565         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
22566         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
22567         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
22568         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
22569         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
22570         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
22571         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
22572         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
22573         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
22574         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
22575         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
22576         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
22577         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
22578         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
22579         Moved ...
22580         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
22581         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
22582         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
22583         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
22584         Moved ...
22585         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
22586         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
22587         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
22588         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
22589         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
22590         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
22591         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
22592         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
22593         Moved ...
22594         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
22595         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
22596         Moved ...
22597         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
22598         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
22599         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
22600         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
22601         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
22602         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
22603         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
22604         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
22605         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
22606         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
22607         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
22608         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
22609         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
22610         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
22611         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
22612         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
22613         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
22615         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
22616         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
22617         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
22618         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
22619         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
22621         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
22622         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
22623         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
22624         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
22625         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
22626         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
22627         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
22628         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
22629         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
22630         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
22632         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
22633         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
22635         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
22636         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
22637         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
22638         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
22639         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
22640         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
22641         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
22642         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
22643         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
22644         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
22645         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
22646         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
22647         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
22648         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
22649         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
22650         Update #include.
22651         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
22652         Likewise.
22653         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
22654         Likewise.
22655         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
22656         Likewise.
22657         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
22658         Likewise.
22659         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
22660         Likewise.
22661         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
22662         Likewise.
22663         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
22664         Likewise.
22665         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
22666         Likewise.
22667         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
22668         Likewise.
22669         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
22670         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
22671         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
22672         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
22673         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
22674         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
22675         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
22676         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
22677         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
22678         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
22679         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
22680         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
22681         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
22682         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
22683         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
22685         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
22686         that was previously under [RESET_PID].
22687         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
22688         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
22689         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
22691         * sysdeps/i386/nptl/Implies: New file.
22692         * sysdeps/x86_64/nptl/Implies: New file.
22693         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
22694         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
22695         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
22696         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
22698         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
22699         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
22700         (__libc_vfork): New strong alias.
22701         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
22702         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
22704         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
22705         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
22706         (__libc_vfork): New strong alias.
22707         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
22708         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
22710         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
22711         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
22712         (__libc_vfork): New strong alias.
22713         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
22714         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
22715         * nptl/pt-vfork.c: New file.
22716         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
22717         (libpthread: GLIBC_2.20): New version set (empty).
22719 2014-05-14  Will Newton  <will.newton@linaro.org>
22721         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
22722         rather than #if.
22724 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
22726         [BZ #16564]
22727         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
22728         arguments with exponent 65 or above.
22729         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
22730         arguments 0x1p113L or above.
22731         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
22732         to arguments 0x1p107L or above.
22733         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
22734         positive arguments with exponent 65 or above.
22735         * math/auto-libm-test-in: Add more tests of log1p.
22736         * math/auto-libm-test-out: Regenerated.
22738         [BZ #16928]
22739         * math/s_cacos.c (__cacos): Ensure zero real part of result from
22740         non-finite arguments is +0.
22741         * math/s_cacosf.c (__cacosf): Likewise.
22742         * math/s_cacosl.c (__cacosl): Likewise.
22743         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
22744         * sysdeps/i386/fpu/libm-test-ulps: Update.
22745         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22747         [BZ #16927]
22748         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
22749         value.
22750         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
22751         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
22752         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
22753         for explicit high bit of mantissa when testing for argument equal
22754         to 1.
22755         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
22756         * sysdeps/i386/fpu/libm-test-ulps: Update.
22757         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22759         [BZ #16516]
22760         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
22761         (__erf): Scale by 16 instead of 8 in potentially underflowing
22762         case.  Ensure exception if result actually underflows.
22763         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
22764         (__erff): Scale by 16 instead of 8 in potentially underflowing
22765         case.  Ensure exception if result actually underflows.
22766         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
22767         (efx8): Remove variable.
22768         (__erfl): Scale by 16 instead of 8 in potentially underflowing
22769         case.  Ensure exception if result actually underflows.
22770         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
22771         (efx8): Remove variable.
22772         (__erfl): Scale by 16 instead of 8 in potentially underflowing
22773         case.  Ensure exception if result actually underflows.
22774         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
22775         (efx8): Remove variable.
22776         (__erfl): Scale by 16 instead of 8 in potentially underflowing
22777         case.  Ensure exception if result actually underflows.
22778         * math/auto-libm-test-in: Add more tests of erf.
22779         * math/auto-libm-test-out: Regenerated.
22781 2014-05-14  Andreas Schwab  <schwab@suse.de>
22783         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
22784         Remove code conditionalized on USE___THREAD.
22786         * config.h.in (HAVE_PT_CHOWN): Define as 0.
22787         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
22788         not definedness.
22790 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
22792         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
22793         Define unconditionally.
22794         (__ASSUME_O_CLOEXEC): Likewise.
22795         (__ASSUME_SOCK_CLOEXEC): Likewise.
22796         (__ASSUME_IN_NONBLOCK): Likewise.
22797         (__ASSUME_PIPE2): Likewise.
22798         (__ASSUME_EVENTFD2): Likewise.
22799         (__ASSUME_SIGNALFD4): Likewise.
22800         (__ASSUME_DUP3): Likewise.
22801         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22802         (__ASSUME_DUP3): Do not define.
22803         (__ASSUME_EVENTFD2): Likewise.
22804         (__ASSUME_IN_NONBLOCK): Likewise.
22805         (__ASSUME_O_CLOEXEC): Likewise.
22806         (__ASSUME_PIPE2): Likewise.
22807         (__ASSUME_SIGNALFD4): Likewise.
22808         (__ASSUME_SOCK_CLOEXEC): Likewise.
22809         (__ASSUME_UTIMES): Undefine.
22810         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22811         (__ASSUME_UTIMES): Do not define.
22812         (__ASSUME_O_CLOEXEC): Likewise.
22813         (__ASSUME_SOCK_CLOEXEC): Likewise.
22814         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
22815         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
22816         0x020621].
22817         (__ASSUME_PIPE2): Likewise.
22818         (__ASSUME_EVENTFD2): Likewise.
22819         (__ASSUME_SIGNALFD4): Likewise.
22820         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
22821         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
22822         Do not define.
22823         (__ASSUME_EVENTFD2): Likewise.
22824         (__ASSUME_SIGNALFD4): Likewise.
22825         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
22826         (__ASSUME_32BITUIDS): Likewise.
22827         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
22828         (__ASSUME_IPC64): Likewise.
22829         (__ASSUME_ST_INO_64_BIT): Likewise.
22830         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
22831         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
22832         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22833         (__ASSUME_UTIMES): Do not define.
22834         (__ASSUME_PSELECT): Likewise.
22835         (__ASSUME_PPOLL): Likewise.
22836         (__ASSUME_O_CLOEXEC): Likewise.
22837         (__ASSUME_SOCK_CLOEXEC): Likewise.
22838         (__ASSUME_IN_NONBLOCK): Likewise.
22839         (__ASSUME_PIPE2): Likewise.
22840         (__ASSUME_EVENTFD2): Likewise.
22841         (__ASSUME_SIGNALFD4): Likewise.
22842         (__ASSUME_DUP3): Likewise.
22843         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
22844         (__ASSUME_UTIMES): Likewise.
22845         (__ASSUME_O_CLOEXEC): Likewise.
22846         (__ASSUME_SOCK_CLOEXEC): Likewise.
22847         (__ASSUME_IN_NONBLOCK): Likewise.
22848         (__ASSUME_PIPE2): Likewise.
22849         (__ASSUME_EVENTFD2): Likewise.
22850         (__ASSUME_SIGNALFD4): Likewise.
22851         (__ASSUME_DUP3): Likewise.
22852         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22853         (__ASSUME_UTIMES): Likewise.
22854         (__ASSUME_O_CLOEXEC): Likewise.
22855         (__ASSUME_SOCK_CLOEXEC): Likewise.
22856         (__ASSUME_IN_NONBLOCK): Likewise.
22857         (__ASSUME_PIPE2): Likewise.
22858         (__ASSUME_EVENTFD2): Likewise.
22859         (__ASSUME_SIGNALFD4): Likewise.
22860         (__ASSUME_DUP3): Likewise.
22861         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
22862         Likewise.
22863         (__ASSUME_UTIMES): Likewise.
22864         (__ASSUME_EVENTFD2): Likewise.
22865         (__ASSUME_SIGNALFD4): Likewise.
22866         * sysdeps/unix/sysv/linux/tile/kernel-features.h
22867         (__ASSUME_O_CLOEXEC): Likewise.
22868         (__ASSUME_SOCK_CLOEXEC): Likewise.
22869         (__ASSUME_IN_NONBLOCK): Likewise.
22870         (__ASSUME_PIPE2): Likewise.
22871         (__ASSUME_EVENTFD2): Likewise.
22872         (__ASSUME_SIGNALFD4): Likewise.
22873         (__ASSUME_DUP3): Likewise.
22874         (__ASSUME_UTIMES): Undefine.
22876         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
22877         feclearexcept.  Remove symbol versioning code.
22878         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
22879         symbol versioning code.
22880         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
22881         symbol versioning code.
22882         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
22883         feupdateenv.  Remove symbol versioning code.
22884         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
22885         fegetexceptflag.  Remove symbol versioning code.
22886         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
22887         fesetexceptflag.  Remove symbol versioning code.
22888         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
22889         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
22890         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
22891         (__posix_fadvise64_l32): Remove prototype.
22892         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
22893         code.
22895 2014-05-13  Roland McGrath  <roland@hack.frob.com>
22897         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
22898         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
22899         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
22900         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
22902 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
22904         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
22905         current working directory
22907 2014-05-13  Roland McGrath  <roland@hack.frob.com>
22909         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
22910         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
22911         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
22912         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
22913         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
22914         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
22915         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
22916         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
22917         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
22918         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
22919         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
22920         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
22921         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
22922         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
22923         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
22924         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
22925         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
22926         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
22927         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
22928         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
22929         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
22930         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
22931         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
22932         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
22933         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
22934         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
22935         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
22936         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
22937         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
22938         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
22939         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
22940         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
22941         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
22942         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
22943         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
22944         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
22945         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
22946         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
22947         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
22948         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
22949         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
22950         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
22952         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
22953         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
22955         * sysdeps/unix/sysv/linux/arm/Makefile
22956         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
22957         Add rt-aeabi_unwind_cpp_pr1.
22958         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
22959         Add nptl-aeabi_unwind_cpp_pr1.
22960         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
22961         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
22962         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
22963         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
22964         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
22965         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
22967         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
22968         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
22969         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
22970         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
22972         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
22973         Deconditionalize the code that was previously under [RESET_PID].
22974         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
22976         * sysdeps/generic/exit-thread.h: New file.
22977         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
22978         * include/unistd.h (__exit_thread): Remove declaration.
22979         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
22980         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
22981         * csu/libc-start.c: Include <exit-thread.h>.
22982         (LIBC_START_MAIN): Pass no argument to __exit_thread.
22983         * nptl/pthread_create.c: Include <exit-thread.h>.
22984         (start_thread): Call __exit_thread in place of __exit_thread_inline.
22985         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
22986         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
22987         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
22988         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
22989         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
22990         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
22991         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
22992         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
22993         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
22994         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
22995         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
22996         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
22997         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
22998         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
22999         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
23000         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
23002 2014-05-13  Andreas Schwab  <schwab@suse.de>
23004         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
23006 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
23008         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
23009         (__ASSUME_UTIMES): Do not condition on kernel version.
23010         (__ASSUME_PSELECT): Define unconditionally.
23011         (__ASSUME_PPOLL): Likewise.
23012         (__ASSUME_ATFCTS): Likewise.
23013         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
23014         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
23015         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
23016         (__ASSUME_UTIMENSAT): Define unconditionally.
23017         (__ASSUME_PRIVATE_FUTEX): Likewise.
23018         (__ASSUME_FALLOCATE): Likewise.
23019         (__ASSUME_O_CLOEXEC): Likewise.
23020         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
23021         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
23022         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
23023         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
23024         (__ASSUME_IN_NONBLOCK): Likewise.
23025         (__ASSUME_PIPE2): Likewise.
23026         (__ASSUME_EVENTFD2): Likewise.
23027         (__ASSUME_SIGNALFD4): Likewise.
23028         (__ASSUME_DUP3): Likewise.
23029         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23030         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
23031         (__ASSUME_AT_RANDOM): Likewise.
23032         (__ASSUME_PREADV): Likewise.
23033         (__ASSUME_PWRITEV): Likewise.
23034         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
23035         (__ASSUME_F_GETOWN_EX): Define unconditionally.
23036         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
23037         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
23038         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
23039         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23040         (__ASSUME_O_CLOEXEC): Define unconditionally.
23041         (__ASSUME_PSELECT): Do not undefine conditionally.
23042         (__ASSUME_PPOLL): Likewise.
23043         (__ASSUME_ATFCTS): Likewise.
23044         (__ASSUME_SET_ROBUST_LIST): Likewise.
23045         (__ASSUME_UTIMENSAT): Likewise.
23046         (__ASSUME_FDATASYNC): Define unconditionally.
23047         * sysdeps/unix/sysv/linux/arm/kernel-features.h
23048         (__ASSUME_SIGFRAME_V2): Likewise.
23049         )__ASSUME_EVENTFD2): Likewise.
23050         (__ASSUME_SIGNALFD4): Likewise.
23051         (__ASSUME_PSELECT): Do not undefine conditionally.
23052         (__ASSUME_PPOLL): Likewise.
23053         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
23054         (__ASSUME_PSELECT): Define unconditionally.
23055         (__ASSUME_PPOLL): Likewise.
23056         (__ASSUME_O_CLOEXEC): Likewise.
23057         (__ASSUME_SOCK_CLOEXEC): Likewise.
23058         (__ASSUME_IN_NONBLOCK): Likewise.
23059         (__ASSUME_PIPE2): Likewise.
23060         (__ASSUME_EVENTFD2): Likewise.
23061         (__ASSUME_SIGNALFD4): Likewise.
23062         (__ASSUME_DUP3): Likewise.
23063         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
23064         (__ASSUME_O_CLOEXEC): Likewise.
23065         (__ASSUME_SOCK_CLOEXEC): Likewise.
23066         (__ASSUME_IN_NONBLOCK): Likewise.
23067         (__ASSUME_PIPE2): Likewise.
23068         (__ASSUME_EVENTFD2): Likewise.
23069         (__ASSUME_SIGNALFD4): Likewise.
23070         (__ASSUME_DUP3): Likewise.
23071         * sysdeps/unix/sysv/linux/mips/kernel-features.h
23072         (__ASSUME_EVENTFD2): Likewise.
23073         (__ASSUME_SIGNALFD4): Likewise.
23074         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23076 2014-05-12  Andreas Schwab  <schwab@suse.de>
23078         [BZ #16932]
23079         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
23080         (_nss_nis_gethostbyname4_r): Return error if item length is larger
23081         than maximum RPC packet size.
23082         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
23083         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
23084         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
23085         (_nss_nis_getservbyport_r): Likewise.
23087 2014-05-12  Will Newton  <will.newton@linaro.org>
23089         * malloc/Makefile (tests): Add tst-mallopt.
23090         * malloc/tst-mallopt.c: New file.
23092 2014-05-09  Roland McGrath  <roland@hack.frob.com>
23094         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
23095         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
23097 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23099         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
23100         (tst-tlsmod6.so): Likewise.
23102 2014-05-09  Roland McGrath  <roland@hack.frob.com>
23104         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
23106 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
23108         [BZ #16064]
23109         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
23110         and <dl-procinfo.h>.
23111         (__fegetenv): Save SSE state in envp->__eip if supported.
23112         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
23113         envp->__eip if supported.
23114         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
23115         and <dl-procinfo.h>.
23116         (__fesetenv): Always set __eip, __cs_selector, __opcode,
23117         __data_offset and __data_selector in environment to 0.  Set SSE
23118         state if supported.
23119         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
23120         test-fenv-sse.
23121         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
23122         -mfpmath=sse.
23123         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
23125 2014-05-09  Will Newton  <will.newton@linaro.org>
23127         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
23128         and libc_relro_required for ARM.
23129         * sysdeps/arm/preconfigure: Regenerate.
23131 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
23132             Stefan Liebler  <stli@linux.vnet.ibm.com>
23134         * config.make.in (enable-lock-elision): New Makefile variable.
23135         * configure.ac: Likewise.
23136         * configure: Regenerate.
23137         * sysdeps/s390/configure.ac:
23138         Add check for gcc transactions support.
23139         * sysdeps/s390/configure: Regenerate.
23140         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
23141         Build elision files if enabled.
23142         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
23143         Add lock elision support for s390.
23144         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
23145         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
23146         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
23147         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
23148         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
23149         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
23150         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
23151         Likewise.
23152         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
23153         Likewise.
23154         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
23155         Likewise.
23156         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
23157         Likewise.
23158         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
23159         (__lll_timedlock_elision, __lll_lock_elision)
23160         (__lll_unlock_elision, __lll_trylock_elision)
23161         (lll_timedlock_elision, lll_lock_elision)
23162         (lll_unlock_elision, lll_trylock_elision): Add.
23163         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
23164         (pthread_mutex_t): Add lock elision support for s390.
23166 2014-05-14  Wilco  <wdijkstr@arm.com>
23168         * sysdeps/arm/fclrexcpt.c: Cleanup.
23169         * sysdeps/arm/fedisblxcpt.c: Cleanup.
23170         * sysdeps/arm/feenablxcpt.c: Cleanup.
23171         * sysdeps/arm/fegetenv.c: Cleanup.
23172         * sysdeps/arm/fegetexcept.c: Cleanup.
23173         * sysdeps/arm/fegetround.c: Cleanup.
23174         * sysdeps/arm/feholdexcpt.c: Cleanup.
23175         * sysdeps/arm/fesetenv.c: Cleanup.
23176         * sysdeps/arm/fesetround.c: Cleanup.
23177         * sysdeps/arm/feupdateenv.c: Cleanup.
23178         * sysdeps/arm/fgetexcptflg.c: Cleanup.
23179         * sysdeps/arm/fraiseexcpt.c: Cleanup.
23180         * sysdeps/arm/fsetexcptflg.c: Cleanup.
23181         * sysdeps/arm/ftestexcept.c: Cleanup.
23182         * sysdeps/arm/get-rounding-mode.h: Cleanup.
23183         * sysdeps/arm/setfpucw.c: Cleanup.
23185 2014-05-09  Will Newton  <will.newton@linaro.org>
23187         * sysdeps/arm/armv7/strcmp.S: New file.
23188         * NEWS: Mention addition of ARMv7 optimized strcmp.
23190 2014-05-08  Roland McGrath  <roland@hack.frob.com>
23192         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
23193         look for %.ac rather than %.in.
23195         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
23196         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
23197         * sysdeps/mach/hurd/configure: Regenerated.
23198         * sysdeps/unix/sysv/linux/configure: Regenerated.
23200         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
23202 2014-05-07  Steve Ellcey  <sellcey@mips.com>
23204         [BZ# 16922]
23205         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
23206         (LONG_SUB): Ditto.
23207         (PTR_SUB): Ditto.
23209 2014-05-07  Andreas Schwab  <schwab@suse.de>
23211         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
23212         when skipping over non-matching result from nscd.
23214 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
23216         [BZ #16876]
23217         * nptl/sockperf.c (client): Check socket return value.
23219         [BZ #16877]
23220         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
23221         nscd security class.
23223 2014-05-06  Roland McGrath  <roland@hack.frob.com>
23225         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
23226         * sysdeps/arm/unwind.h: ... here.
23228 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
23230         [BZ# 16916]
23231         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
23232         Define.
23234 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
23236         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
23237         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
23238         multiarch strncpy for PPC64.
23239         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
23240         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
23241         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
23242         multiarch optimizations.
23243         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
23244         (__libc_ifunc_impl_list): Likewise.
23245         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
23246         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
23247         multiarch stpncpy for PPC64.
23248         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
23249         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
23251 2014-05-06  Andreas Schwab  <schwab@suse.de>
23253         [BZ #16912]
23254         * gmon/mcount.c (_MCOUNT_DECL): Use
23255         atomic_compare_and_exchange_bool_acq instead of
23256         catomic_compare_and_exchange_bool_acq.
23258 2014-05-05  Roland McGrath  <roland@hack.frob.com>
23260         * elf/Makefile (others, install-bin): Remove pldd.
23261         (pldd-modules): Variable removed.
23262         ($(objpfx)pldd): Target removed.
23263         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
23264         (others, install-bin): Append pldd here.
23265         ($(objpfx)pldd): New target.
23267         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
23268         to 0, so the first #if test emitted later doesn't see it undefined.
23269         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
23270         * sysdeps/gnu/errlist.c: Regenerated.
23272 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23274         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
23275         [libc_hidden_builtin_def]: Define to empty value.
23276         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
23277         [libc_hidden_builtin_def]: Likewise.
23278         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
23279         [libc_hidden_builtin_def]: Likewise.
23280         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
23281         [libc_hidden_builtin_def]: Likewise.
23282         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
23283         __redirect_memcpy and define ifunc as default hidden symbol.
23284         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
23285         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
23287 2014-05-04  Adam Conrad  <adconrad@0c3.net>
23289         * locale/iso-4217.def: Reintroduce XDR currency.
23291 2014-05-04  Allan McRae  <allan@archlinux.org>
23293         * po/eo.po: Update Esperanto translation from translation project.
23295 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
23297         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
23298         and FEATURE_INDEX_MAX to 1.
23299         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
23301 2014-05-01  Steve Ellcey  <sellcey@mips.com>
23303         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
23304         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
23305         * iconvdata/big5.c (ONE_DIRECTION): Define.
23306         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
23307         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
23308         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
23309         * iconvdata/cp932.c (ONE_DIRECTION): Define.
23310         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
23311         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
23312         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
23313         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
23314         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
23315         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
23316         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
23317         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
23318         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
23319         * iconvdata/gbk.c (ONE_DIRECTION): Define.
23320         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
23321         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
23322         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
23323         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
23324         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
23325         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
23326         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
23327         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
23328         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
23329         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
23330         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
23331         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
23332         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
23333         * iconvdata/iso646.c (ONE_DIRECTION): Define.
23334         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
23335         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
23336         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
23337         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
23338         * iconvdata/johab.c (ONE_DIRECTION): Define.
23339         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
23340         * iconvdata/sjis.c (ONE_DIRECTION): Define.
23341         * iconvdata/t.61.c (ONE_DIRECTION): Define.
23342         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
23343         * iconvdata/tscii.c (ONE_DIRECTION): Define.
23344         * iconvdata/uhc.c (ONE_DIRECTION): Define.
23345         * iconvdata/unicode.c (ONE_DIRECTION): Define.
23346         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
23347         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
23348         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
23350 2014-05-01  Roland McGrath  <roland@hack.frob.com>
23352         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
23353         (_IO_JUMPS_OFFSET): Define to 0.
23355         * nptl/sysdeps/pthread/bits/libc-lock.h
23356         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
23357         (__libc_lock_define_initialized_recursive): Always define using
23358         initializer.  Modern compilers treat uninitialized (implicit zero) and
23359         explicit zero initializers the same (i.e. put the datum in bss).
23361 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
23363         * nscd/nscd-client.h: Include <string.h>.
23365 2014-05-01  David S. Miller  <davem@davemloft.net>
23367         [BZ #16885]
23368         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
23369         multiple zero bytes exist at the end of a string.
23370         Reported by Aurelien Jarno <aurelien@aurel32.net>
23372         * string/test-strcmp.c (check): Add explicit test for situations where
23373         there are multiple zero bytes after the first.
23375 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
23377         [BZ #16890]
23378         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
23379         when compiling wprintf.
23380         * stdio-common/tstdiomisc.c (t3): New function.
23381         (main): Call it.
23383 2014-05-01  Steve Ellcey  <sellcey@mips.com>
23385         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
23386         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
23387         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
23388         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
23390 2014-05-01  Steve Ellcey  <sellcey@mips.com>
23392         * stdlib/longlong.h: Updated from GCC.
23394 2014-05-01  Will Newton  <will.newton@linaro.org>
23395             Bernard Ogden  <bernie.ogden@linaro.org>
23397         * NEWS: Update fixed bug list.
23399         [BZ #15119]
23400         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
23402 2014-04-30  David S. Miller  <davem@davemloft.net>
23404         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
23405         (libc_feholdexcept_setround_sparc_ctx): New function.
23406         (libc_fesetenv_sparc_ctx): Likewise.
23407         (libc_feupdateenv_sparc_ctx): Likewise.
23408         (libc_feholdsetround_sparc_ctx): Likewise.
23409         (libc_feholdexcept_setround_ctx): Define.
23410         (libc_feholdexcept_setroundf_ctx): Likewise.
23411         (libc_feholdexcept_setroundl_ctx): Likewise.
23412         (libc_fesetenv_ctx): Likewise.
23413         (libc_fesetenvf_ctx): Likewise.
23414         (libc_fesetenvl_ctx): Likewise.
23415         (libc_feupdateenv_ctx): Likewise.
23416         (libc_feupdateenvf_ctx): Likewise.
23417         (libc_feupdateenvl_ctx): Likewise.
23418         (libc_feresetround_ctx): Likewise.
23419         (libc_feresetroundf_ctx): Likewise.
23420         (libc_feresetroundl_ctx): Likewise.
23421         (libc_feholdsetround_ctx): Likewise.
23422         (libc_feholdsetroundf_ctx): Likewise.
23423         (libc_feholdsetroundl_ctx): Likewise.
23425         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
23426         with __USE_GNU instead of XOPEN cpp guards.
23428         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
23429         0.
23431         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
23432         with XOPEN cpp guards.
23434 2014-04-30  Julian Brown  <julian@codesourcery.com>
23436         [BZ #16888]
23437         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
23438         handling.
23440 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
23442         [BZ #9894]
23443         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
23444         Change to 2.6.32.
23445         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
23446         * sysdeps/unix/sysv/linux/configure: Regenerated.
23447         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
23448         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
23449         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
23450         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
23451         * README: Update reference to required Linux kernel version.
23452         * manual/install.texi (Linux): Update reference to required Linux
23453         kernel headers version.
23454         * INSTALL: Regenerated.
23456         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
23457         header inclusion.
23458         [POSIX] (limits.h): Likewise.
23459         [POSIX] (math.h): Likewise.
23460         [POSIX] (sys/wait.h): Likewise.
23461         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
23462         function.
23463         [POSIX] (stddef.h): Do not allow header inclusion.
23465 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23467         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
23469 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
23471         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
23472         Return immediately after lll_futex_wake.
23474 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
23476         [BZ #16791]
23477         * nscd/nscd-client.h (datahead_init_common): Initialize entire
23478         structure.
23479         (datahead_init_pos): Call datahead_init_common early.
23480         (datahead_init_neg): Likewise.
23482         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
23483         datahead_init_neg): New functions.
23484         * nscd/aicache.c (addhstaiX): Use them.
23485         * nscd/grpcache.c (cache_addgr): Likewise.
23486         * nscd/hstcache.c (cache_addhst): Likewise.
23487         * nscd/initgrcache.c (addinitgroupsX): Likewise.
23488         * nscd/netgroupcache.c (do_notfound): Likewise.
23489         (addgetnetgrentX): Likewise.
23490         (addinnetgrX): Likewise.
23491         * nscd/pwdcache.c (cache_addpw): Likewise.
23492         * nscd/servicescache.c (cache_addserv): Likewise.
23494 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
23495             Atsushi Onoe  <atsushi@onoe.org>
23497         [BZ #14308]
23498         [BZ #12994]
23499         [BZ #13651]
23500         * resolv/res_query.c (__libc_res_nsearch): Return if at least
23501         one response is valid.
23502         * resolv/res_send.c (send_dg): Check for validity of other
23503         response if the current response is a referral.
23505 2014-04-29  Steve Ellcey  <sellcey@mips.com>
23507         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
23509 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
23511         [BZ #16823]
23512         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
23513         Always divide by positive zero when computing -Inf result.
23514         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
23515         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
23517 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23519         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
23520         FPSCR if value do not change.
23521         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
23522         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
23523         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
23524         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
23525         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
23526         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
23527         function.
23529 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
23531         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
23532         * sysdeps/unix/sysv/linux/hppa: Move directory from
23533         ports/systeps/unix/sysv/linux/hppa.
23534         * README: Update listing for hppa-*-linux-gnu.
23536 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
23538         [BZ #16754]
23539         * manual/stdio.texi (Hook functions): Fix types of stream hook
23540         functions.
23541         [BZ #16854]
23542         * socket/sys/socket.h: Fix typo in comment.
23544 2014-04-28  Wilco  <wdijkstr@arm.com>
23546         * sysdeps/arm/fenv_private.h: New file.
23547         * sysdeps/arm/math_private.h: New file.
23548         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
23550 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
23552         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
23553         with __int128_t.
23554         (La_x86_64_retval): Likewise.
23556 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
23558         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
23559         fpsr if value didn't change.
23560         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
23561         to fpcr if value didn't change.
23562         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
23563         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
23564         fpsr or fpcr if value didn't change.
23565         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
23566         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
23567         fpcr if value didn't change.
23568         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
23569         to fpsr if value didn't change.
23571 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
23573         * nptl/tst-sem3.c: Use test-skeleton.c
23574         (main): Rename to do_test.  Use return instead of
23575         exit.
23576         * nptl/tst-sem4.c: Use test-skeleton.c
23577         (main): Rename to do_test.
23579 2014-04-22  David S. Miller  <davem@davemloft.net>
23581         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
23582         (struct sigaction): New struct member __glibc_reserved0, change
23583         type of sa_flags to int.
23585 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
23587         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
23588         (COUNT_LEADING_ZEROS_0): Define for AArch64.
23590 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
23592         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
23593         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
23595 2014-04-22  Will Newton  <will.newton@linaro.org>
23596             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
23598         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
23599         (__longjmp): Add longjmp and longjmp_target SystemTap
23600         probes.
23601         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
23602         (__sigsetjmp): Add setjmp SystemTap probe.
23604 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
23606         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
23607         match manual order.
23609 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23611         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
23613         * sysdeps/powerpc/fpu/fenv_private.h
23614         (libc_feholdexcept_setroundl_ctx): Define to
23615         libc_feholdexcept_setround_ppc_ctx.
23616         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
23617         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
23618         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
23619         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
23621 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
23623         * sysdeps/aarch64/math-tests.h: New file.
23625 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
23627         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
23628         New.
23629         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23630         Check and set bit_AVX2_Usable.
23631         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
23632         macro.
23633         (bit_AVX2): Likewise.
23634         (index_AVX2_Usable): Likewise.
23635         (CPUID_AVX2): Likewise.
23636         (HAS_AVX2): Likewise.
23638 2014-04-17  Will Newton  <will.newton@linaro.org>
23640         * manual/setjmp.texi (System V contexts): Add note that
23641         calling setcontext on a context created by a call to a
23642         signal handler is undefined.  Update text to note that
23643         setcontext from a signal handler is possible but not
23644         recommended.
23646         [BZ #16629]
23647         * stdlib/tst-setcontext.c: Include signal.h.
23648         (main): Check that the signal stack before and
23649         after swapcontext is the same.
23651         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
23652         Re-implement to restore registers in user code and avoid
23653         rt_sigreturn system call.
23655 2014-04-17  Wilco  <wdijkstr@arm.com>
23657         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
23658         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
23659         * math/test-fenv.c: Skip exception trap tests on targets which only
23660         support non-stop mode.
23662 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
23663             Wilco Dijkstra  <wilco.dijkstra@arm.com>
23665         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
23666         (libc_feholdsetround_aarch64_ctx)
23667         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
23668         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
23669         (libc_feresetround_ctx, libc_feresetroundf_ctx)
23670         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
23671         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
23672         (libc_feresetround_noexl_ctx): Define.
23674 2014-04-16  Richard Henderson  <rth@redhat.com>
23676         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
23678         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
23679         unwind tables.
23681         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
23682         const from the non-libc, non-ldso copy.
23684         * sysdeps/alpha/libm-test-ulps: Regenerate.
23686 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
23687             Wilco Dijkstra  <wilco.dijkstra@arm.com>
23689         * sysdeps/aarch64/fpu/math_private.h: New file.
23691 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
23693         * sysdeps/aarch64/libm-test-ulps: Regenerate.
23695 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
23697         [BZ #16275]
23698         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
23699         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
23700         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
23701         Intel MPX bound registers before _dl_profile_fixup.
23702         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
23703         registers after _dl_profile_fixup.  Save and restore bound
23704         registers bnd0/bnd1 when calling _dl_call_pltexit.
23705         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
23706         (LR_BND_OFFSET): Likewise.
23707         (LRV_BND0_OFFSET): Likewise.
23708         (LRV_BND1_OFFSET): Likewise.
23710 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23712         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
23713         to...
23714         * sysdeps/mach/hurd/i386/tls.h: ... here.
23715         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
23716         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
23717         fields.
23719 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23721         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
23723 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
23725         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
23727 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
23729         [BZ #14770]
23730         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
23731         * sysdeps/s390/configure: Regenerate.
23733         [BZ #16824]
23734         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
23735         Set round-to-nearest internally to reduce error accumulation.
23737 2014-04-16  Alan Modra  <amodra@gmail.com>
23739         [BZ #16740]
23740         [BZ #16619]
23741         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
23742         * math/libm-test.inc (frexp_test_data): Add tests.
23743         * NEWS: Update fixed bug list.
23745 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
23747         * benchtests/Makefile: Depend on libraries in build directory.
23748         (bench-math): Separate out math tests.
23749         (bench-pthread): Separate out pthread tests.
23750         (bench): Include math and pthread tests.
23752 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
23754         [BZ #16831]
23755         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
23756         _dl_debug_initialize.
23758         * configure.ac: Remove SELinux header check.
23759         * configure: Regenerate.
23760         * nscd/selinux.c (perms): Array of const char* to permission names.
23761         (nscd_request_avc_has_perm): Call security_deny_unknown to find
23762         default policy. Call string_to_security_class and string_to_av_perm to
23763         translate strings. Enforce default policy and call avs_has_perm with
23764         results of translated strings.
23766 2014-04-13  David S. Miller  <davem@davemloft.net>
23768         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23770 2014-04-12  Allan McRae  <allan@archlinux.org>
23772         [BZ #16838]
23773         * manual/string.texi (Collation Functions): Fix qsort argument
23774         order in example.
23775         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
23777 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
23779         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
23780         Make the test a no-op if there are no exceptions defined.
23782 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
23784         * elf/Makefile (tests): make tst-dlopen-aout conditional on
23785         enable-hardcoded-path-in-tests
23787 2014-04-11  Will Newton  <will.newton@linaro.org>
23789         * benchtests/Makefile (extra-objs): Add json-lib.o.
23790         (bench-func): Tidy up JSON output.
23791         * benchtests/bench-skeleton.c: Include json-lib.h.
23792         (main): Use JSON library functions to do output of
23793         benchmark results.
23794         * benchtests/bench-timing-type.c (main): Output the
23795         timing type simply, leaving formatting to the user.
23796         * benchtests/json-lib.c: New file.
23797         * benchtests/json-lib.h: Likewise.
23799 2014-04-11  Torvald Riegel  <triegel@redhat.com>
23801         [BZ #15215]
23802         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
23803         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
23804         memory barriers.  Add comments.
23805         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
23806         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
23807         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
23808         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
23809         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
23810         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
23812 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
23814         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
23815         * sysdeps/s390/s390-64/configure.ac: ... this ...
23816         * sysdeps/s390/configure.ac: ... to here.
23817         * sysdeps/s390/s390-32/configure: Delete file.
23818         * sysdeps/s390/s390-64/configure: Delete file.
23819         * sysdeps/s390/configure: Regenerate.
23821 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
23823         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
23825 2014-04-11  Will Newton  <will.newton@linaro.org>
23827         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
23828         to zero if it is not defined elsewhere.  (mtrim): Test
23829         the value of MALLOC_DEBUG with #if rather than #ifdef.
23831 2014-04-10 Torvald Riegel  <triegel@redhat.com>
23833         * benchtests/pthread_once-inputs: New file.
23834         * benchtests/pthread_once-source.c: New file.
23835         * benchtests/README: Update documentation.
23837 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
23838             H.J. Lu  <hongjiu.lu@intel.com>
23840         [BZ #16275]
23841         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
23842         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
23843         * sysdeps/x86_64/configure: Regenerated.
23844         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
23845         macro.
23846         (REGISTER_SAVE_RAX): Likewise.
23847         (REGISTER_SAVE_RCX): Likewise.
23848         (REGISTER_SAVE_RDX): Likewise.
23849         (REGISTER_SAVE_RSI): Likewise.
23850         (REGISTER_SAVE_RDI): Likewise.
23851         (REGISTER_SAVE_R8): Likewise.
23852         (REGISTER_SAVE_R9): Likewise.
23853         (REGISTER_SAVE_BND0): Likewise.
23854         (REGISTER_SAVE_BND1): Likewise.
23855         (REGISTER_SAVE_BND2): Likewise.
23856         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
23857         bound registers when calling _dl_fixup.
23859 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23861         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
23862         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
23863         of its definition.
23864         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
23865         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
23866         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
23867         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
23868         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
23869         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
23870         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
23872 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
23874         [BZ #15514]
23875         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
23876         pathconf(_PC_NAME_MAX).
23878 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23880         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
23881         Remove macro usage.
23882         (__PTHREAD_SPINS): Move definition to ...
23883         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
23884         (__PTHREAD_SPINS): ... here.
23885         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
23886         (__PTHREAD_SPIN): Likewise.
23887         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
23888         (__PTHREAD_SPIN): Likewise.
23889         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
23890         (__PTHREAD_SPIN): Likewise.
23891         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
23892         (__PTHREAD_SPIN): Likewise.
23893         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
23894         (__PTHREAD_SPIN): Likewise.
23895         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
23896         (__PTHREAD_SPIN): Likewise.
23897         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
23898         (__PTHREAD_SPIN): Likewise.
23899         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
23900         (__PTHREAD_SPIN): Likewise.
23901         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
23902         (__PTHREAD_SPIN): Likewise.
23903         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
23904         (__PTHREAD_SPIN): Likewise.
23905         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
23906         (__PTHREAD_SPIN): Likewise.
23907         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
23908         (__PTHREAD_SPIN): Likewise.
23910         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
23911         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
23912         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
23913         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
23914         imply folder.
23915         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
23916         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
23917         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
23918         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
23919         correct imply path.
23920         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
23921         strlen symbol for non multi-arch builds.
23922         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
23923         missing hidden_def and weak_alias.
23925 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
23927         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
23929 2014-04-07  Will Newton  <will.newton@linaro.org>
23931         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
23932         and contents.  [!_LIBC] Remove #ifndef and contents.
23933         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
23934         * string/memccpy.c (__memccpy): Use ANSI prototype.
23935         * string/memfrob.c (memfrob): Likewise.
23936         * string/strcoll.c (STRCOLL): Likewise.
23937         * string/strlen.c (strlen): Likewise.
23938         * string/strtok.c (STRTOK): Likewise.
23939         * string/strcat.c: Remove unused #include of memcopy.h.
23940         (strcat): Use ANSI prototype.
23941         * string/strchr.c: Remove unused #include of memcopy.h.
23942         (strchr): Use ANSI prototype.
23943         * string/strcmp.c: Remove unused #include of memcopy.h.
23944         (strcmp): Use ANSI prototype.
23945         * string/strcpy.c: Remove unused #include of memcopy.h.
23946         (strcpy): Use ANSI prototype.
23948 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23950         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
23951         * config.make.in (config-extra-cppflags): Set it from
23952         libc_extra_cppflags.
23953         * configure.ac (libc_extra_cflags): Make it accumulate over
23954         configure fragments.
23955         (libc_extra_cppflags): New flag.
23956         * configure. Regenerate.
23957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
23958         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
23959         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
23960         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
23962         [BZ #16815]
23963         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
23964         result for FE_DOWNWARD rounding mode.
23965         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
23966         Likewise.
23967         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23969 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
23971         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
23972         in function argument name.
23974 2014-04-03  David Svoboda  <svoboda@cert.org>
23976         [BZ #5666]
23977         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
23978         explicitly.
23980 2014-04-03  Roland McGrath  <roland@hack.frob.com>
23982         * elf/dl-unmap-segments.h: New file.
23983         * sysdeps/generic/ldsodefs.h
23984         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
23985         * elf/dl-close.c: Include <dl-unmap-segments.h>.
23986         * elf/dl-fptr.c: Likewise.
23987         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
23988         * sysdeps/aarch64/tlsdesc.c: Likewise.
23989         * sysdeps/arm/tlsdesc.c: Likewise.
23990         * sysdeps/i386/tlsdesc.c: Likewise.
23991         * sysdeps/tile/dl-runtime.c: Likewise.
23992         * sysdeps/x86_64/tlsdesc.c: Likewise.
23993         * elf/dl-load.h: New file.
23994         * elf/dl-load.c: Include it.
23995         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
23996         Macros moved to dl-load.h.
23997         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
23998         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
23999         Use _dl_unmap_segments in place of __munmap.
24000         Break out segment-mapping loop into ...
24001         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
24003 2014-04-03  Will Newton  <will.newton@linaro.org>
24005         * elf/dl-lookup.c (do_lookup_x): Remove comment
24006         referring to nested function and move variable
24007         declarations down to before first use.
24009 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
24011         [BZ #16799]
24012         [BZ #16800]
24013         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
24014         with 0 numerator.
24015         * math/s_catanf.c (__catanf): Likewise.
24016         * math/s_catanh.c (__catanh): Likewise.
24017         * math/s_catanhf.c (__catanhf): Likewise.
24018         * math/s_catanhl.c (__catanhl): Likewise.
24019         * math/s_catanl.c (__catanl): Likewise.
24020         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
24021         by positive zero when computing -Inf result.
24022         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
24023         (catanh_test): Likewise.
24024         * sysdeps/i386/fpu/libm-test-ulps: Update.
24025         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24027         [BZ #16789]
24028         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
24029         instead of using underflowing value in computing result.
24030         * math/s_clog10.c (__clog10): Likewise.
24031         * math/s_clog10f.c (__clog10f): Likewise.
24032         * math/s_clog10l.c (__clog10l): Likewise.
24033         * math/s_clogf.c (__clogf): Likewise.
24034         * math/s_clogl.c (__clogl): Likewise.
24035         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
24036         (clog10_test): Likewise.
24037         * sysdeps/i386/fpu/libm-test-ulps: Update.
24038         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24040 2014-04-02  Alan Modra  <amodra@gmail.com>
24042         [BZ #16739]
24043         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
24044         output when value is near a power of two.  Use int64_t for lx and
24045         remove casts.  Use decimal rather than hex exponent constants.
24046         Don't use long double multiplication when double will suffice.
24047         * math/libm-test.inc (nextafter_test_data): Add tests.
24048         * NEWS: Add 16739 and 16786 to bug list.
24050         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
24052         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
24054 2014-04-01  Will Newton  <will.newton@linaro.org>
24056         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
24057         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
24059 2014-04-01  Florian Weimer  <fweimer@redhat.com>
24061         [BZ #13347]
24062         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
24063         * nptl/tst-setuid2.c: New file.
24064         * nptl/Makefile (xtests): Add tst-setuid2.
24066 2014-04-01  Alan Modra  <amodra@gmail.com>
24068         [BZ #16786]
24069         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
24071 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
24073         [BZ #6803]
24074         [BZ #6804]
24075         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
24076         set errno as appropriate.
24077         * math/w_scalbf.c (__scalbf): Likewise.
24078         * math/w_scalbl.c (__scalbl): Likewise.
24079         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
24080         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
24081         * math/libm-test.inc (scalb_test_data): Add errno expectations.
24082         Add more NaN tests.
24084         [BZ #16349]
24085         * math/w_atan2.c: Include <errno.h>.
24086         (__atan2): Set errno for result underflowing to zero.
24087         * math/w_atan2f.c: Include <errno.h>.
24088         (__atan2f): Set errno for result underflowing to zero.
24089         * math/w_atan2l.c: Include <errno.h>.
24090         (__atan2l): Set errno for result underflowing to zero.
24091         * math/auto-libm-test-in: Don't allow missing errno for some atan2
24092         tests.
24093         * math/auto-libm-test-out: Regenerated.
24095 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24097         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
24098         Encode instruction correctly in little endian.
24099         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
24100         Likewise.
24101         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
24102         Likewise.
24103         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
24104         Likewise.
24105         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
24106         Likewise.
24108 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
24110         [BZ #9894]
24111         * sysdeps/unix/sysv/linux/kernel-features.h
24112         [__sparc__ && !__arch64__ && !__sparc_v9__]
24113         (__ASSUME_SET_ROBUST_LIST): Do not define.
24114         [__sparc__ && !__arch64__ && !__sparc_v9__]
24115         (__ASSUME_FUTEX_LOCK_PI): Likewise.
24116         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
24117         Likewise.
24118         * sysdeps/unix/sysv/linux/arm/kernel-features.h
24119         (__ASSUME_FUTEX_LOCK_PI): Undefine.
24120         (__ASSUME_REQUEUE_PI): Likewise.
24121         (__ASSUME_SET_ROBUST_LIST): Likewise.
24122         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
24123         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
24124         Undefine.
24125         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24126         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
24127         Likewise.
24128         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
24129         Likewise.
24130         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
24131         Likewise.
24132         * sysdeps/unix/sysv/linux/mips/kernel-features.h
24133         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
24134         Undefine.
24135         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
24136         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
24137         Likewise.
24139         [BZ #16648]
24140         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24141         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
24142         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
24144 2014-03-31  Will Newton  <will.newton@linaro.org>
24146         * benchtests/Makefile (bench): Add ffs and ffsll to list
24147         of tests.
24148         * benchtests/ffs-inputs: New file.
24149         * benchtests/ffsll-inputs: Likewise.
24151 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
24153         [BZ #16770]
24154         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
24155         too large before casting to int.
24156         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
24157         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
24158         * math/libm-test.inc (scalb_test_data): Add more tests.
24160 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
24162         * benchtests/Makefile (DETAILED_OPT): New make option.
24163         (bench-func): Run benchmark program with -d if DETAILED_OPT is
24164         set.
24165         * benchtests/bench-skeleton.c: Include stdbool.h.
24166         (main): Store and print timings per input.
24167         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
24168         member to each argument value.
24169         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
24170         (_print_arg_data): Initialize per-input timing to 0.
24172         * benchtests/Makefile (timing-type): New binary.
24173         (bench-clean): Also remove bench-timing-type.
24174         (bench): New target for timing-type.
24175         (bench-func): Print output in JSON format.
24176         * benchtests/bench-skeleton.c (main): Print output in JSON
24177         format.
24178         * benchtests/bench-timing-type.c: New file.
24179         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
24180         (TIMING_PRINT_STATS): Remove.
24181         * benchtests/scripts/bench.py (_print_arg_data): Store variant
24182         name separately.
24184         * benchtests/bench-modf.c: Remove.
24185         * benchtests/modf-inputs: New inputs file.
24187 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
24189         [BZ #16362]
24190         * math/s_clog10.c (M_PI_LOG10E): New macro.
24191         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
24192         imaginary parts are 0.
24193         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
24194         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
24195         imaginary parts are 0.
24196         * math/s_clog10l.c (M_PI_LOG10El): New macro.
24197         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
24198         imaginary parts are 0.
24199         * math/libm-test.inc (clog10_test_data): Update expected results
24200         for when real and imaginary parts are 0.
24202 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
24204         * elf/dl-load.c: Finish conversion of __builtin_expect into
24205         __glibc_{un}likely.
24207 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
24209         [BZ #16348]
24210         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
24211         1+x for argument with exponent below -67.
24212         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
24213         Likewise.
24214         * math/auto-libm-test-in: Add more tests of exp.
24215         * math/auto-libm-test-out: Regenerated.
24217 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
24219         [BZ #16759]
24220         * inet/getnetgrent_r.c (get_nonempty_val): New function.
24221         (nscd_getnetgrent): Use it.
24223         [BZ #16760]
24224         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
24225         of stpcpy.
24227 2014-03-27  Andi Kleen  <ak@linux.intel.com>
24229         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
24230         (lll_robust_lock, lll_cond_lock, lll_timedlock)
24231         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
24232         (lll_robust_unlock): Remove out of line section. Use cfi
24233         intrinsics.
24234         (LLL_STUB_UNWIND_INFO*): Remove.
24235         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
24236         (lll_robust_lock, lll_cond_lock, lll_timedlock)
24237         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
24238         (lll_robust_unlock): Remove out of line section. Use cfi
24239         intrinsics.
24240         (LLL_STUB_UNWIND_INFO*): Remove.
24242 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
24244         [BZ #16758]
24245         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
24246         blank values.
24248 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
24250         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
24252 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
24254         [BZ #16198]
24255         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
24256         fnstenv.
24257         * math/test-fenv-preserve.c: New file.
24258         * math/Makefile (tests): Add test-fenv-preserve.
24260 2014-03-26  Will Newton <will.newton@linaro.org>
24262         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
24264 2014-03-25  Roland McGrath  <roland@hack.frob.com>
24266         * scripts/versionlist.awk: Partition the version sets and emit all
24267         GLIBC_* (sorted) before all others (sorted).
24269 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
24271         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
24272         GLIBC_2.2.5 version.
24274 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24276         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
24277         calls.
24279         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
24280         previous change.
24282         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24284 2014-03-25  Andreas Schwab  <schwab@suse.de>
24286         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
24287         label to be used after in6ailist is initialized.
24289 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24291         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
24292         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
24294 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
24296         [BZ #16357]
24297         [BZ #16599]
24298         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
24299         min_plus_half.
24300         (fp_formats): Update initializers.
24301         (init_fp_formats): Initialize new field.
24302         (output_for_one_input_case): Allow underflow for results up to
24303         min_plus_half.
24304         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
24305         * math/auto-libm-test-in: Don't mark some underflows from asin and
24306         atanh as spurious.
24307         * math/auto-libm-test-out: Regenerated.
24308         * sysdeps/i386/fpu/libm-test-ulps: Update.
24309         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24311 2014-03-25  Andreas Schwab  <schwab@suse.de>
24313         * libio/Makefile (tst-ftell-partial-wide-ENV)
24314         (tst-ftell-active-handler-ENV): Define.
24316 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
24318         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
24320 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
24322         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
24324 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
24326         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
24327         * sysdeps/x86_64/fpu/multiarch/e_exp.c
24328         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
24330 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
24332         [BZ #16634]
24333         * elf/dl-load.c (open_verify): Add mode parameter.
24334         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
24335         (open_path): Change from boolean 'secure' to complete flag 'mode'
24336         (_dl_map_object): Adjust.
24337         * elf/Makefile (tests): Add tst-dlopen-aout.
24338         * elf/tst-dlopen-aout.c: New test.
24340 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
24342         [BZ #16714]
24343         * sysdeps/unix/sysv/linux/s390/bits/stat.h
24344         (struct stat): Rename member pad0 to __glibc_reserved0.
24346         [BZ #16712]
24347         * sysdeps/s390/s390-32/bits/wordsize.h
24348         (__WORDSIZE32_SIZE_ULONG): New define.
24349         * sysdeps/s390/s390-64/bits/wordsize.h
24350         (__WORDSIZE32_SIZE_ULONG): Likewise.
24351         * sysdeps/generic/stdint.h (SIZE_MAX):
24352         Define as UL if __WORDSIZE32_SIZE_ULONG.
24354         [BZ #16713]
24355         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
24356         (__glibc_reserved0): New variable.
24357         (sa_flags): Change type to int.
24359         * posix/Makefile (before-compile): Use += before-compile instead
24360         of a :=.
24362         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
24363         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
24365 2014-03-20  Andreas Schwab  <schwab@suse.de>
24367         [BZ #16743]
24368         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
24369         non-matching result from nscd.
24371 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
24373         * scripts/bench.py: Moved to ...
24374         * benchtests/scripts/bench.py: ... here.
24375         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
24377 2014-03-24  Andreas Schwab  <schwab@suse.de>
24379         [BZ #16002]
24380         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
24381         alloca_account and account alloca use for struct in6ailist.
24383 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
24385         [BZ #16284]
24386         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
24387         rounding mode to recompute results that overflow to infinity or
24388         underflow to zero.
24389         * math/auto-libm-test-in: Don't mark tests as expected to fail for
24390         bug 16284.
24391         * math/auto-libm-test-out: Regenerated.
24392         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
24393         (ccosh_test): Likewise.
24394         (csin_test_data): Use plus_oflow.
24395         (csin_test): Use ALL_RM_TEST.
24396         (csinh_test_data): Use plus_oflow.
24397         (csinh_test): Use ALL_RM_TEST.
24398         * sysdeps/i386/fpu/libm-test-ulps: Update.
24399         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24401 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
24403         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
24404         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
24405         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
24407         [BZ #16731]
24408         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
24409         when x - 1 is zero.
24410         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
24411         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
24412         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
24413         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
24414         argument is 1.
24415         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
24416         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
24417         zero.
24418         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
24419         * sysdeps/i386/fpu/libm-test-ulps: Update.
24420         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24422 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24424         * scripts/bench.pl: Remove file.
24425         * scripts/bench.py: New benchmark script.
24426         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
24427         * benchtests/README: Mention python dependency.
24428         * scripts/pylintrc: New file.
24429         * scripts/pylint: New file.
24431         * bits/mathdef.h: Use #ifdef instead of #if.
24432         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
24433         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
24434         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
24435         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
24436         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
24437         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
24439 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24440             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
24442         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
24443         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
24444         and strpbrk-ppc64 objects.
24445         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24446         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
24447         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
24448         multiarch strpbrk for POWER7.
24449         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
24450         multiarch strpbrk for PPC64.
24451         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
24452         ifunc selector.
24453         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
24454         strpbrk for POWER7.
24456 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
24458         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
24459         (atan_test): Likewise.
24460         (atanh_test_data): Use NO_TEST_INLINE for two tests.
24461         (atanh_test): Use ALL_RM_TEST.
24462         (atan2_test_data): Likewise.
24463         (cabs_test): Likewise.
24464         (cacosh_test): Likewise.
24465         (carg_test): Likewise.
24466         (casin_test): Likewise.
24467         (casinh_test): Likewise.
24468         (cbrt_test): Likewise.
24469         (csqrt_test): Likewise.
24470         (erf_test): Likewise.
24471         (erfc_test): Likewise.
24472         (pow10_test): Likewise.
24473         (exp2_test): Likewise.
24474         (hypot_test): Likewise.
24475         (j0_test): Likewise.
24476         (j1_test): Likewise.
24477         (lgamma_test): Likewise.
24478         (gamma_test): Likewise.
24479         (sincos_test): Likewise.
24480         (tanh_test): Likewise.
24481         (y0_test): Likewise.
24482         (y1_test): Likewise.
24483         * sysdeps/i386/fpu/libm-test-ulps: Update.
24484         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24486 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24488         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
24489         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
24490         and strcspn-ppc64 objects.
24491         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24492         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
24493         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
24494         multiarch strcspn for POWER7.
24495         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
24496         multiarch strcspn for PPC64.
24497         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
24498         ifunc selector.
24499         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
24500         strcspn for POWER7.
24502 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
24504         * math/gen-libm-test.pl (generate_testfile): Expect only function
24505         name as argument to AUTO_TESTS_* and pass results for all rounding
24506         modes to parse_args.
24507         (parse_auto_input): Separate inputs of automatic tests from
24508         outputs before storing in %auto_tests.
24509         * math/libm-test.inc (acos_test_data): Update call to
24510         AUTO_TESTS_f_f.
24511         (acos_test): Use ALL_RM_TEST.
24512         (acos_tonearest_test_data): Remove.
24513         (acos_test_tonearest): Likewise.
24514         (acos_towardzero_test_data): Likewise.
24515         (acos_test_towardzero): Likewise.
24516         (acos_downward_test_data): Likewise.
24517         (acos_test_downward): Likewise.
24518         (acos_upward_test_data): Likewise.
24519         (acos_test_upward): Likewise.
24520         (acosh_test_data): Update call to AUTO_TESTS_f_f.
24521         (asin_test_data): Likewise.
24522         (asin_test): Use ALL_RM_TEST.
24523         (asin_tonearest_test_data): Remove.
24524         (asin_test_tonearest): Likewise.
24525         (asin_towardzero_test_data): Likewise.
24526         (asin_test_towardzero): Likewise.
24527         (asin_downward_test_data): Likewise.
24528         (asin_test_downward): Likewise.
24529         (asin_upward_test_data): Likewise.
24530         (asin_test_upward): Likewise.
24531         (asinh_test_data): Update call to AUTO_TESTS_f_f.
24532         (atan_test_data): Likewise.
24533         (atanh_test_data): Likewise.
24534         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
24535         (cabs_test_data): Update call to AUTO_TESTS_c_f.
24536         (carg_test_data): Likewise.
24537         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
24538         (ccos_test_data): Update call to AUTO_TESTS_c_c.
24539         (ccosh_test_data): Likewise.
24540         (cexp_test_data): Likewise.
24541         (clog_test_data): Likewise.
24542         (clog10_test_data): Likewise.
24543         (cos_test_data): Update call to AUTO_TESTS_f_f.
24544         (cos_test): Use ALL_RM_TEST.
24545         (cos_tonearest_test_data): Remove.
24546         (cos_test_tonearest): Likewise.
24547         (cos_towardzero_test_data): Likewise.
24548         (cos_test_towardzero): Likewise.
24549         (cos_downward_test_data): Likewise.
24550         (cos_test_downward): Likewise.
24551         (cos_upward_test_data): Likewise.
24552         (cos_test_upward): Likewise.
24553         (cosh_test_data): Update call to AUTO_TESTS_f_f.
24554         (cosh_test): Use ALL_RM_TEST.
24555         (cosh_tonearest_test_data): Remove.
24556         (cosh_test_tonearest): Likewise.
24557         (cosh_towardzero_test_data): Likewise.
24558         (cosh_test_towardzero): Likewise.
24559         (cosh_downward_test_data): Likewise.
24560         (cosh_test_downward): Likewise.
24561         (cosh_upward_test_data): Likewise.
24562         (cosh_test_upward): Likewise.
24563         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
24564         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
24565         (ctan_test_data): Likewise.
24566         (ctan_test): Use ALL_RM_TEST.
24567         (ctan_tonearest_test_data): Remove.
24568         (ctan_test_tonearest): Likewise.
24569         (ctan_towardzero_test_data): Likewise.
24570         (ctan_test_towardzero): Likewise.
24571         (ctan_downward_test_data): Likewise.
24572         (ctan_test_downward): Likewise.
24573         (ctan_upward_test_data): Likewise.
24574         (ctan_test_upward): Likewise.
24575         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
24576         (ctanh_test): Use ALL_RM_TEST.
24577         (ctanh_tonearest_test_data): Remove.
24578         (ctanh_test_tonearest): Likewise.
24579         (ctanh_towardzero_test_data): Likewise.
24580         (ctanh_test_towardzero): Likewise.
24581         (ctanh_downward_test_data): Likewise.
24582         (ctanh_test_downward): Likewise.
24583         (ctanh_upward_test_data): Likewise.
24584         (ctanh_test_upward): Likewise.
24585         (erf_test_data): Update call to AUTO_TESTS_f_f.
24586         (erfc_test_data): Likewise.
24587         (exp_test_data): Likewise.
24588         (exp_test): Use ALL_RM_TEST.
24589         (exp_tonearest_test_data): Remove.
24590         (exp_test_tonearest): Likewise.
24591         (exp_towardzero_test_data): Likewise.
24592         (exp_test_towardzero): Likewise.
24593         (exp_downward_test_data): Likewise.
24594         (exp_test_downward): Likewise.
24595         (exp_upward_test_data): Likewise.
24596         (exp_test_upward): Likewise.
24597         (exp10_test_data): Update call to AUTO_TESTS_f_f.
24598         (exp10_test): Use ALL_RM_TEST.
24599         (exp10_tonearest_test_data): Remove.
24600         (exp10_test_tonearest): Likewise.
24601         (exp10_towardzero_test_data): Likewise.
24602         (exp10_test_towardzero): Likewise.
24603         (exp10_downward_test_data): Likewise.
24604         (exp10_test_downward): Likewise.
24605         (exp10_upward_test_data): Likewise.
24606         (exp10_test_upward): Likewise.
24607         (exp2_test_data): Update call to AUTO_TESTS_f_f.
24608         (expm1_test_data): Likewise.
24609         (expm1_test): Use ALL_RM_TEST.
24610         (expm1_tonearest_test_data): Remove.
24611         (expm1_test_tonearest): Likewise.
24612         (expm1_towardzero_test_data): Likewise.
24613         (expm1_test_towardzero): Likewise.
24614         (expm1_downward_test_data): Likewise.
24615         (expm1_test_downward): Likewise.
24616         (expm1_upward_test_data): Likewise.
24617         (expm1_test_upward): Likewise.
24618         (fma_test_data): Update call to AUTO_TESTS_fff_f.
24619         (fma_test): Use ALL_RM_TEST.
24620         (fma_towardzero_test_data): Remove.
24621         (fma_test_towardzero): Likewise.
24622         (fma_downward_test_data): Likewise.
24623         (fma_test_downward): Likewise.
24624         (fma_upward_test_data): Likewise.
24625         (fma_test_upward): Likewise.
24626         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
24627         (j0_test_data): Update call to AUTO_TESTS_f_f.
24628         (j1_test_data): Likewise.
24629         (jn_test_data): Update call to AUTO_TESTS_if_f.
24630         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
24631         (log_test_data): Update call to AUTO_TESTS_f_f.
24632         (log10_test_data): Likewise.
24633         (log1p_test_data): Likewise.
24634         (log2_test_data): Likewise.
24635         (pow_test_data): Update call to AUTO_TESTS_ff_f.
24636         (pow_tonearest_test_data): Likewise.
24637         (sin_test_data): Update call to AUTO_TESTS_f_f.
24638         (sin_test): Use ALL_RM_TEST.
24639         (sin_tonearest_test_data): Remove.
24640         (sin_test_tonearest): Likewise.
24641         (sin_towardzero_test_data): Likewise.
24642         (sin_test_towardzero): Likewise.
24643         (sin_downward_test_data): Likewise.
24644         (sin_test_downward): Likewise.
24645         (sin_upward_test_data): Likewise.
24646         (sin_test_upward): Likewise.
24647         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
24648         (sinh_test_data): Update call to AUTO_TESTS_f_f.
24649         (sinh_test): Use ALL_RM_TEST.
24650         (sinh_tonearest_test_data): Remove.
24651         (sinh_test_tonearest): Likewise.
24652         (sinh_towardzero_test_data): Likewise.
24653         (sinh_test_towardzero): Likewise.
24654         (sinh_downward_test_data): Likewise.
24655         (sinh_test_downward): Likewise.
24656         (sinh_upward_test_data): Likewise.
24657         (sinh_test_upward): Likewise.
24658         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
24659         (sqrt_test): Use ALL_RM_TEST.
24660         (sqrt_tonearest_test_data): Remove.
24661         (sqrt_test_tonearest): Likewise.
24662         (sqrt_towardzero_test_data): Likewise.
24663         (sqrt_test_towardzero): Likewise.
24664         (sqrt_downward_test_data): Likewise.
24665         (sqrt_test_downward): Likewise.
24666         (sqrt_upward_test_data): Likewise.
24667         (sqrt_test_upward): Likewise.
24668         (tan_test_data): Update call to AUTO_TESTS_f_f.
24669         (tan_test): Use ALL_RM_TEST.
24670         (tan_tonearest_test_data): Remove.
24671         (tan_test_tonearest): Likewise.
24672         (tan_towardzero_test_data): Likewise.
24673         (tan_test_towardzero): Likewise.
24674         (tan_downward_test_data): Likewise.
24675         (tan_test_downward): Likewise.
24676         (tan_upward_test_data): Likewise.
24677         (tan_test_upward): Likewise.
24678         (tanh_test_data): Update call to AUTO_TESTS_f_f.
24679         (tgamma_test_data): Likewise.
24680         (y0_test_data): Likewise.
24681         (y1_test_data): Likewise.
24682         (yn_test_data): Update call to AUTO_TESTS_if_f.
24683         (main): Do not call removed functions.
24685 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
24687         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
24688         (ldexp_test_data): Remove.
24689         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
24690         scalbn_test_data.
24691         (scalb_test): Use ALL_RM_TEST.
24693 2014-03-19  Andreas Schwab  <schwab@suse.de>
24695         * nscd/nscd.service: Also invalidate netgroup cache on reload.
24697 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
24699         [BZ #16649]
24700         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
24701         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
24702         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
24703         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24704         (__ASSUME_PREADV): Undefine.
24705         (__ASSUME_PWRITEV): Likewise.
24707 2014-03-18  Roland McGrath  <roland@hack.frob.com>
24709         * bits/mman-linux.h: Add comment about non-Linux use.
24710         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
24711         bits/mman-linux.h resting place.
24713         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
24714         * bits/mman-linux.h: ... here.
24716 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24718         * conform/conformtest.pl: Add standard definition when calling C
24719         preprocessor on data files.
24720         (checknamespace): Remove unused variable.
24722 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
24724         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
24725         minus_oflow, plus_uflow and minus_uflow in expected results.
24726         * math/libm-test.inc (scalbn_test_data): Add more tests of
24727         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
24728         minus_uflow.
24729         (scalbn_test): Use ALL_RM_TEST.
24730         (scalbln_test_data): Add more tests of negative arguments.  Use
24731         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
24732         (scalbln_test): Use ALL_RM_TEST.
24734 2014-03-18  Roland McGrath  <roland@hack.frob.com>
24736         * scripts/abilist.awk: Ignore symbols marked with .hidden.
24738 2014-03-18  Will Newton  <will.newton@linaro.org>
24740         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
24741         inaccurate comment.
24743 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
24745         * Makerules [!subdir] (check-abi): Exit with error status if a
24746         test failed.
24748 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
24750         * math/libm-test.inc (nearbyint_test_data): Include all tests used
24751         for rint.  Include results for all rounding modes.
24752         (nearbyint_test): Use ALL_RM_TEST.
24753         (rint_test_data): Include all tests used for nearbyint.
24755 2014-03-17  Will Newton  <will.newton@linaro.org>
24757         * nptl/sysdeps/pthread/pthread.h: Revert previous
24758         change.
24760         * sysdeps/generic/ldsodefs.h: Revert previous
24761         change.
24763         * libio/genops.c: Revert previous change.
24764         * libio/libioP.h: Likewise.
24765         * stdio-common/vfprintf.c: Likewise.
24767         * sysdeps/generic/math_private.h: Revert previous
24768         change.
24770         * sysdeps/generic/math_private.h: Check whether
24771         HAVE_RM_CTX is defined with #ifdef rather
24772         than #if.
24774         * argp/argp-fmtstream.h: Check whether
24775         __STRICT_ANSI__ is defined with #ifdef rather
24776         than #if.
24777         * argp/argp.h: Likewise.
24779         * libio/genops.c: Check whether
24780         _IO_JUMPS_OFFSET is defined with #ifdef rather
24781         than #if.
24782         * libio/libioP.h: Likewise.
24783         * stdio-common/vfprintf.c: Likewise.
24785         * sysdeps/generic/ldsodefs.h: Check whether
24786         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
24787         than #if.
24789         * nptl/sysdeps/pthread/pthread.h: Check
24790         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
24791         its value.
24793 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
24795         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
24796         setting O_APPEND.
24797         * libio/tst-ftell-active-handler.c (do_append_test): Add a
24798         test case.
24800         [BZ #16680]
24801         * libio/fileops.c (_IO_file_open): Seek to end of file but
24802         don't cache the offset.
24803         (get_file_offset): Remove function.
24804         (do_ftell): Use cached offset when available.
24805         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
24806         don't cache the offset.
24807         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
24808         case.
24809         (do_one_test): Call it.
24810         (do_ftell_test): Fix up expected old offset for a+ mode.
24811         * libio/wfileops.c (do_ftell_wide): Used cached offset when
24812         available.
24814         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
24815         up test status with function return status.
24816         (do_write_test): Likewise.
24817         (do_append_test): Likewise.
24819         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
24820         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
24821         Remove.
24823 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
24825         * math/gen-libm-test.pl (parse_args): Handle results specified for
24826         each rounding mode separately.
24827         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
24828         tests and results from lrint_tonearest_test_data,
24829         lrint_towardzero_test_data, lrint_downward_test_data and
24830         lrint_upward_test_data.
24831         (lrint_test): Use ALL_RM_TEST.
24832         (lrint_tonearest_test_data): Remove.
24833         (lrint_test_tonearest): Likewise.
24834         (lrint_towardzero_test_data): Likewise.
24835         (lrint_test_towardzero): Likewise.
24836         (lrint_downward_test_data): Likewise.
24837         (lrint_test_downward): Likewise.
24838         (lrint_upward_test_data): Likewise.
24839         (lrint_test_upward): Likewise.
24840         (llrint_test_data): Merge in per-rounding-mode tests and results
24841         from llrint_tonearest_test_data, llrint_towardzero_test_data,
24842         llrint_downward_test_data and llrint_upward_test_data.
24843         (llrint_test): Use ALL_RM_TEST.
24844         (llrint_tonearest_test_data): Remove.
24845         (llrint_test_tonearest): Likewise.
24846         (llrint_towardzero_test_data): Likewise.
24847         (llrint_test_towardzero): Likewise.
24848         (llrint_downward_test_data): Likewise.
24849         (llrint_test_downward): Likewise.
24850         (llrint_upward_test_data): Likewise.
24851         (llrint_test_upward): Likewise.
24852         (rint_test_data): Merge in per-rounding-mode tests and results
24853         from rint_tonearest_test_data, rint_towardzero_test_data,
24854         rint_downward_test_data and rint_upward_test_data.  Add
24855         per-rounding-mode results for tests not in those arrays.
24856         (rint_test): Use ALL_RM_TEST.
24857         (rint_tonearest_test_data): Remove.
24858         (rint_test_tonearest): Likewise.
24859         (rint_towardzero_test_data): Likewise.
24860         (rint_test_towardzero): Likewise.
24861         (rint_downward_test_data): Likewise.
24862         (rint_test_downward): Likewise.
24863         (rint_upward_test_data): Likewise.
24864         (rint_test_upward): Likewise.
24865         (main): Don't call removed functions.
24867 2014-03-14  Roland McGrath  <roland@hack.frob.com>
24869         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
24870         "Compiled on ..." crapola.  It is anti-useful.
24872 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
24874         * scripts/evaluate-test.sh: Handle fourth argument to determine
24875         whether test run should stop on failure.
24876         * Makeconfig (stop-on-test-failure): New variable.
24877         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
24878         $(stop-on-test-failure).
24879         * Makefile (tests): Give a summary of results from testing and
24880         exit with failure status if they include an ERROR or FAIL.
24881         (xtests): Likewise.
24882         * manual/install.texi (Configuring and compiling): Mention
24883         stop-on-test-failure=y.
24884         * INSTALL: Regenerated.
24886 2014-03-14  Roland McGrath  <roland@hack.frob.com>
24888         * scripts/versionlist.awk: New file.
24889         * Makerules [$(build-shared) = yes]
24890         (postclean-generated): Add Versions.def, not Versions.def.v and
24891         Versions.def.v.i.
24892         ($(common-objpfx)Versions.def.v.i): Target removed.
24893         ($(common-objpfx)Versions.def): New target.
24894         ($(common-objpfx)Versions.all): Depend on that rather that
24895         $(common-objpfx)Versions.def.v.
24896         * Versions.def: File removed.
24898         * Makeconfig (+gccwarn): Add -Wundef.
24899         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
24900         a dl-sysdep.h breaking its contract.
24901         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
24902         * include/stackinfo.h: New file.
24903         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
24904         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
24905         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
24906         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
24907         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
24908         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
24909         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
24910         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
24911         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
24912         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
24913         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
24914         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
24915         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
24916         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
24917         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
24919 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24921         [BZ #16707]
24922         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
24923         implementation.
24924         * math/libm-test.inc (round_test_data): Add more tests.
24926         [BZ #16706]
24927         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
24928         implementation.
24929         * math/libm-test.inc (nearbyint_test_data): Add more tests.
24931         [BZ #16701]
24932         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
24933         implementation.
24934         * math/libm-test.inc (ceil_test_data): Add more tests.
24936         * math/libm-test.inc (trunc_test_data): Add more tests related to
24937         BZ#16414.
24939 2014-03-14  Roland McGrath  <roland@hack.frob.com>
24941         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
24942         with #if rather than #ifdef.
24943         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
24945 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
24947         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
24948         first.  Disable AVX-512 GCC support if assembler doesn't support
24949         it.
24950         * sysdeps/x86_64/configure: Regenerated.
24952 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
24954         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
24955         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
24956         (__old_pthread_attr_setstack): Likewise.
24957         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
24958         [!_STACK_GROWS_DOWN]: Likewise.
24960 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
24962         * config.make.in (have-bash2): Delete.
24963         * configure.ac (libc_cv_have_bash2): Delete.
24964         * configure: Regenerate.
24965         * elf/Makefile (common-ldd-rewrite): Rename to ...
24966         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
24967         (sh-ldd-rewrite): Delete.
24968         (bash-ldd-rewrite): Delete.
24969         (have-bash2): Delete checks.
24970         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
24971         ldd-rewrite.
24973         * config.make.in (have-ksh): Delete.
24974         (KSH): Delete.
24975         * configure.ac (libc_cv_have_ksh): Delete.
24976         * configure: Regenerate.
24978         * elf/Makefile: Delete $(have-ksh) check.
24979         ($(objpfx)sotruss): Change KSH to BASH.
24980         * elf/sotruss.ksh: Rename to ...
24981         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
24982         function style to match POSIX.  Drop ksh vim mode setting.
24984         * manual/time.texi (Specifying the Time Zone with TZ): Change
24985         Tuesday to Thursday.
24987         * debug/tst-longjmp_chk2.c: Update header comment.
24988         (stackoverflow_handler): Add comment.  Call assert on pass value.
24990 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
24992         [BZ #16194]
24993         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
24994         (HAVE_AVX512_ASM_SUPPORT): Likewise.
24995         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
24996         (La_x86_64_vector): Add zmm.
24997         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
24998         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
24999         ($(objpfx)tst-audit10): New target.
25000         ($(objpfx)tst-audit10.out): Likewise.
25001         (tst-audit10-ENV): New.
25002         (AVX512-CFLAGS): Likewise.
25003         (CFLAGS-tst-audit10.c): Likewise.
25004         (CFLAGS-tst-auditmod10a.c): Likewise.
25005         (CFLAGS-tst-auditmod10b.c): Likewise.
25006         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
25007         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
25008         * sysdeps/x86_64/configure: Regenerated.
25009         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
25010         AVX-512 zmm register support.
25011         (_dl_x86_64_save_sse): Likewise.
25012         (_dl_x86_64_restore_sse): Likewise.
25013         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
25014         size vector registers.
25015         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
25016         (ZMM_SIZE): Likewise.
25017         * sysdeps/x86_64/tst-audit10.c: New file.
25018         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
25019         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
25021 2014-03-13  Roland McGrath  <roland@hack.frob.com>
25023         * configure.ac (HAVE_EHDR_START): New check.
25024         * configure: Regenerated.
25025         * config.h.in (HAVE_EHDR_START): New #undef.
25026         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
25027         assuming the lowest-addressed segment maps the start of the file.
25029 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
25031         * INSTALL: Regenerated.
25033 2014-03-13  Will Newton  <will.newton@linaro.org>
25035         * manual/setjmp.texi (System V contexts): Improve
25036         clarity and grammar of documentation.
25038 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
25040         [BZ #16381]
25041         * elf/Makefile (tests): Add tst-pie2.
25042         (tests-pie): Add tst-pie2.
25043         * elf/tst-pie2.c: New file.
25044         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
25045         for ET_EXEC.
25046         * elf/rtld.c (map_doit): Load executable as lt_executable.
25047         (dl_main): Likewise.
25049 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
25051         [BZ #16642]
25052         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
25053         (__ASSUME_PSELECT): Undefine.
25055 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25057         [BZ #16689]
25058         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
25059         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
25060         static build.
25061         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
25062         selector for static builds.
25064 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
25066         [BZ #16695]
25067         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
25068         key in the buffer.
25070 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25072         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
25073         IFUNC selector for static builds.
25075 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
25077         * sysdeps/mips/math_private.h [__mips_hard_float]
25078         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
25079         libc_feresetround_mips_ctx.
25080         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
25081         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
25082         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
25084         [BZ #16677]
25085         * math/s_nextafter.c (__nextafter): Do not return value from
25086         overflowing computation.
25087         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
25088         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
25089         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
25090         Likewise.
25091         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
25092         Likewise.
25093         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
25094         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
25096 2014-03-11  Roland McGrath  <roland@hack.frob.com>
25098         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
25099         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
25100         Move sfi_sp use from the load-multiple (that no longer sets sp) to
25101         the new mov targetting sp.
25103 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25105         [BZ #16683]
25106         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
25107         Define it for static builds as well.
25108         (NO_BZERO_IMPL): Likewise.
25110 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
25112         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
25113         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
25114         multiarch strspn for PPC64.
25115         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
25116         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
25117         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
25118         (__libc_ifunc_impl_list): Likewise.
25119         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
25120         multiarch optimizations
25121         * string/strspn.c (strspn): Using macro to redefine symbol name.
25123 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
25124             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25126         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
25127         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
25128         multiarch strncat for PPC64.
25129         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
25130         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
25131         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
25132         (__libc_ifunc_impl_list): Likewise.
25133         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
25134         multiarch optimizations
25136 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
25138         [BZ #16639]
25139         * nscd/nscd.service: Make service type forking.
25141 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25143         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
25144         sign in non default rounding modes.
25145         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
25147 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
25149         * math/libm-test.inc (ALL_RM_TEST): New macro.
25150         (ceil_test): Use ALL_RM_TEST.
25151         (cimag_test): Likewise.
25152         (conj_test): Likewise.
25153         (copysign_test): Likewise.
25154         (cproj_test): Likewise.
25155         (creal_test): Likewise.
25156         (fabs_test): Likewise.
25157         (floor_test): Likewise.
25158         (fmax_test): Likewise.
25159         (fmin_test): Likewise.
25160         (fmod_test): Likewise.
25161         (fpclassify_test): Likewise.
25162         (frexp_test): Likewise.
25163         (ilogb_test): Likewise.
25164         (isfinite_test): Likewise.
25165         (finite_test): Likewise.
25166         (isgreater_test): Likewise.
25167         (isgreaterequal_test): Likewise.
25168         (isinf_test): Likewise.
25169         (isless_test): Likewise.
25170         (islessequal_test): Likewise.
25171         (islessgreater_test): Likewise.
25172         (isnan_test): Likewise.
25173         (isnormal_test): Likewise.
25174         (issignaling_test): Likewise.
25175         (isunordered_test): Likewise.
25176         (logb_test): Likewise.
25177         (logb_downward_test_data): Remove.
25178         (logb_test_downward): Likewise.
25179         (lround_test): Use ALL_RM_TEST.
25180         (llround_test): Likewise.
25181         (modf_test): Likewise.
25182         (nexttoward_test): Likewise.
25183         (remainder_test): Likewise.
25184         (drem_test): Likewise.
25185         (remainder_tonearest_test_data): Likewise.
25186         (remainder_test_tonearest): Likewise.
25187         (drem_test_tonearest): Likewise.
25188         (remainder_towardzero_test_data): Likewise.
25189         (remainder_test_towardzero): Likewise.
25190         (drem_test_towardzero): Likewise.
25191         (remainder_downward_test_data): Likewise.
25192         (remainder_test_downward): Likewise.
25193         (drem_test_downward): Likewise.
25194         (remainder_upward_test_data): Likewise.
25195         (remainder_test_upward): Likewise.
25196         (drem_test_upward): Likewise.
25197         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
25198         (round_test): Use ALL_RM_TEST.
25199         (signbit_test): Likewise.
25200         (trunc_test): Likewise.
25201         (significand_test): Likewise.
25202         (main): Don't call removed functions.
25204 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
25206         [BZ #16674]
25207         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
25208         || __USE_XOPEN2K8].
25209         (ILL_ILLOPN): Likewise.
25210         (ILL_ILLADR): Likewise.
25211         (ILL_ILLTRP): Likewise.
25212         (ILL_PRVOPC): Likewise.
25213         (ILL_PRVREG): Likewise.
25214         (ILL_COPROC): Likewise.
25215         (ILL_BADSTK): Likewise.
25216         (FPE_INTDIV): Likewise.
25217         (FPE_INTOVF): Likewise.
25218         (FPE_FLTDIV): Likewise.
25219         (FPE_FLTOVF): Likewise.
25220         (FPE_FLTUND): Likewise.
25221         (FPE_FLTRES): Likewise.
25222         (FPE_FLTINV): Likewise.
25223         (FPE_FLTSUB): Likewise.
25224         (SEGV_MAPERR): Likewise.
25225         (SEGV_ACCERR): Likewise.
25226         (BUS_ADRALN): Likewise.
25227         (BUS_ADRERR): Likewise.
25228         (BUS_OBJERR): Likewise.
25229         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
25230         (TRAP_TRACE): Likewise.
25231         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
25232         __USE_XOPEN2K8].
25233         (CLD_KILLED): Likewise.
25234         (CLD_DUMPED): Likewise.
25235         (CLD_TRAPPED): Likewise.
25236         (CLD_STOPPED): Likewise.
25237         (CLD_CONTINUED): Likewise.
25238         (POLL_IN): Likewise.
25239         (POLL_OUT): Likewise.
25240         (POLL_MSG): Likewise.
25241         (POLL_ERR): Likewise.
25242         (POLL_PRI): Likewise.
25243         (POLL_HUP): Likewise.
25244         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
25245         Likewise.
25246         (ILL_ILLOPN): Likewise.
25247         (ILL_ILLADR): Likewise.
25248         (ILL_ILLTRP): Likewise.
25249         (ILL_PRVOPC): Likewise.
25250         (ILL_PRVREG): Likewise.
25251         (ILL_COPROC): Likewise.
25252         (ILL_BADSTK): Likewise.
25253         (FPE_INTDIV): Likewise.
25254         (FPE_INTOVF): Likewise.
25255         (FPE_FLTDIV): Likewise.
25256         (FPE_FLTOVF): Likewise.
25257         (FPE_FLTUND): Likewise.
25258         (FPE_FLTRES): Likewise.
25259         (FPE_FLTINV): Likewise.
25260         (FPE_FLTSUB): Likewise.
25261         (SEGV_MAPERR): Likewise.
25262         (SEGV_ACCERR): Likewise.
25263         (BUS_ADRALN): Likewise.
25264         (BUS_ADRERR): Likewise.
25265         (BUS_OBJERR): Likewise.
25266         (BUS_MCEERR_AR): Likewise.
25267         (BUS_MCEERR_AO): Likewise.
25268         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
25269         (TRAP_TRACE): Likewise.
25270         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
25271         __USE_XOPEN2K8].
25272         (CLD_KILLED): Likewise.
25273         (CLD_DUMPED): Likewise.
25274         (CLD_TRAPPED): Likewise.
25275         (CLD_STOPPED): Likewise.
25276         (CLD_CONTINUED): Likewise.
25277         (POLL_IN): Likewise.
25278         (POLL_OUT): Likewise.
25279         (POLL_MSG): Likewise.
25280         (POLL_ERR): Likewise.
25281         (POLL_PRI): Likewise.
25282         (POLL_HUP): Likewise.
25283         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
25284         (ILL_ILLOPN): Likewise.
25285         (ILL_ILLADR): Likewise.
25286         (ILL_ILLTRP): Likewise.
25287         (ILL_PRVOPC): Likewise.
25288         (ILL_PRVREG): Likewise.
25289         (ILL_COPROC): Likewise.
25290         (ILL_BADSTK): Likewise.
25291         (FPE_INTDIV): Likewise.
25292         (FPE_INTOVF): Likewise.
25293         (FPE_FLTDIV): Likewise.
25294         (FPE_FLTOVF): Likewise.
25295         (FPE_FLTUND): Likewise.
25296         (FPE_FLTRES): Likewise.
25297         (FPE_FLTINV): Likewise.
25298         (FPE_FLTSUB): Likewise.
25299         (SEGV_MAPERR): Likewise.
25300         (SEGV_ACCERR): Likewise.
25301         (BUS_ADRALN): Likewise.
25302         (BUS_ADRERR): Likewise.
25303         (BUS_OBJERR): Likewise.
25304         (BUS_MCEERR_AR): Likewise.
25305         (BUS_MCEERR_AO): Likewise.
25306         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
25307         (TRAP_TRACE): Likewise.
25308         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
25309         __USE_XOPEN2K8].
25310         (CLD_KILLED): Likewise.
25311         (CLD_DUMPED): Likewise.
25312         (CLD_TRAPPED): Likewise.
25313         (CLD_STOPPED): Likewise.
25314         (CLD_CONTINUED): Likewise.
25315         (POLL_IN): Likewise.
25316         (POLL_OUT): Likewise.
25317         (POLL_MSG): Likewise.
25318         (POLL_ERR): Likewise.
25319         (POLL_PRI): Likewise.
25320         (POLL_HUP): Likewise.
25321         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
25322         Likewise.
25323         (ILL_ILLOPN): Likewise.
25324         (ILL_ILLADR): Likewise.
25325         (ILL_ILLTRP): Likewise.
25326         (ILL_PRVOPC): Likewise.
25327         (ILL_PRVREG): Likewise.
25328         (ILL_COPROC): Likewise.
25329         (ILL_BADSTK): Likewise.
25330         (ILL_BADIADDR): Likewise.
25331         (ILL_BREAK): Likewise.
25332         (FPE_INTDIV): Likewise.
25333         (FPE_INTOVF): Likewise.
25334         (FPE_FLTDIV): Likewise.
25335         (FPE_FLTOVF): Likewise.
25336         (FPE_FLTUND): Likewise.
25337         (FPE_FLTRES): Likewise.
25338         (FPE_FLTINV): Likewise.
25339         (FPE_FLTSUB): Likewise.
25340         (FPE_DECOVF): Likewise.
25341         (FPE_DECDIV): Likewise.
25342         (FPE_DECERR): Likewise.
25343         (FPE_INVASC): Likewise.
25344         (FPE_INVDEC): Likewise.
25345         (SEGV_MAPERR): Likewise.
25346         (SEGV_ACCERR): Likewise.
25347         (SEGV_PSTKOVF): Likewise.
25348         (BUS_ADRALN): Likewise.
25349         (BUS_ADRERR): Likewise.
25350         (BUS_OBJERR): Likewise.
25351         (BUS_MCEERR_AR): Likewise.
25352         (BUS_MCEERR_AO): Likewise.
25353         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
25354         (TRAP_TRACE): Likewise.
25355         (TRAP_BRANCH): Likewise.
25356         (TRAP_HWBKPT): Likewise.
25357         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
25358         __USE_XOPEN2K8].
25359         (CLD_KILLED): Likewise.
25360         (CLD_DUMPED): Likewise.
25361         (CLD_TRAPPED): Likewise.
25362         (CLD_STOPPED): Likewise.
25363         (CLD_CONTINUED): Likewise.
25364         (POLL_IN): Likewise.
25365         (POLL_OUT): Likewise.
25366         (POLL_MSG): Likewise.
25367         (POLL_ERR): Likewise.
25368         (POLL_PRI): Likewise.
25369         (POLL_HUP): Likewise.
25370         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
25371         (ILL_ILLOPN): Likewise.
25372         (ILL_ILLADR): Likewise.
25373         (ILL_ILLTRP): Likewise.
25374         (ILL_PRVOPC): Likewise.
25375         (ILL_PRVREG): Likewise.
25376         (ILL_COPROC): Likewise.
25377         (ILL_BADSTK): Likewise.
25378         (FPE_INTDIV): Likewise.
25379         (FPE_INTOVF): Likewise.
25380         (FPE_FLTDIV): Likewise.
25381         (FPE_FLTOVF): Likewise.
25382         (FPE_FLTUND): Likewise.
25383         (FPE_FLTRES): Likewise.
25384         (FPE_FLTINV): Likewise.
25385         (FPE_FLTSUB): Likewise.
25386         (SEGV_MAPERR): Likewise.
25387         (SEGV_ACCERR): Likewise.
25388         (BUS_ADRALN): Likewise.
25389         (BUS_ADRERR): Likewise.
25390         (BUS_OBJERR): Likewise.
25391         (BUS_MCEERR_AR): Likewise.
25392         (BUS_MCEERR_AO): Likewise.
25393         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
25394         (TRAP_TRACE): Likewise.
25395         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
25396         __USE_XOPEN2K8].
25397         (CLD_KILLED): Likewise.
25398         (CLD_DUMPED): Likewise.
25399         (CLD_TRAPPED): Likewise.
25400         (CLD_STOPPED): Likewise.
25401         (CLD_CONTINUED): Likewise.
25402         (POLL_IN): Likewise.
25403         (POLL_OUT): Likewise.
25404         (POLL_MSG): Likewise.
25405         (POLL_ERR): Likewise.
25406         (POLL_PRI): Likewise.
25407         (POLL_HUP): Likewise.
25408         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
25409         (ILL_ILLOPN): Likewise.
25410         (ILL_ILLADR): Likewise.
25411         (ILL_ILLTRP): Likewise.
25412         (ILL_PRVOPC): Likewise.
25413         (ILL_PRVREG): Likewise.
25414         (ILL_COPROC): Likewise.
25415         (ILL_BADSTK): Likewise.
25416         (FPE_INTDIV): Likewise.
25417         (FPE_INTOVF): Likewise.
25418         (FPE_FLTDIV): Likewise.
25419         (FPE_FLTOVF): Likewise.
25420         (FPE_FLTUND): Likewise.
25421         (FPE_FLTRES): Likewise.
25422         (FPE_FLTINV): Likewise.
25423         (FPE_FLTSUB): Likewise.
25424         (SEGV_MAPERR): Likewise.
25425         (SEGV_ACCERR): Likewise.
25426         (BUS_ADRALN): Likewise.
25427         (BUS_ADRERR): Likewise.
25428         (BUS_OBJERR): Likewise.
25429         (BUS_MCEERR_AR): Likewise.
25430         (BUS_MCEERR_AO): Likewise.
25431         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
25432         (TRAP_TRACE): Likewise.
25433         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
25434         __USE_XOPEN2K8].
25435         (CLD_KILLED): Likewise.
25436         (CLD_DUMPED): Likewise.
25437         (CLD_TRAPPED): Likewise.
25438         (CLD_STOPPED): Likewise.
25439         (CLD_CONTINUED): Likewise.
25440         (POLL_IN): Likewise.
25441         (POLL_OUT): Likewise.
25442         (POLL_MSG): Likewise.
25443         (POLL_ERR): Likewise.
25444         (POLL_PRI): Likewise.
25445         (POLL_HUP): Likewise.
25446         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
25447         (ILL_ILLOPN): Likewise.
25448         (ILL_ILLADR): Likewise.
25449         (ILL_ILLTRP): Likewise.
25450         (ILL_PRVOPC): Likewise.
25451         (ILL_PRVREG): Likewise.
25452         (ILL_COPROC): Likewise.
25453         (ILL_BADSTK): Likewise.
25454         (FPE_INTDIV): Likewise.
25455         (FPE_INTOVF): Likewise.
25456         (FPE_FLTDIV): Likewise.
25457         (FPE_FLTOVF): Likewise.
25458         (FPE_FLTUND): Likewise.
25459         (FPE_FLTRES): Likewise.
25460         (FPE_FLTINV): Likewise.
25461         (FPE_FLTSUB): Likewise.
25462         (SEGV_MAPERR): Likewise.
25463         (SEGV_ACCERR): Likewise.
25464         (BUS_ADRALN): Likewise.
25465         (BUS_ADRERR): Likewise.
25466         (BUS_OBJERR): Likewise.
25467         (BUS_MCEERR_AR): Likewise.
25468         (BUS_MCEERR_AO): Likewise.
25469         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
25470         (TRAP_TRACE): Likewise.
25471         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
25472         __USE_XOPEN2K8].
25473         (CLD_KILLED): Likewise.
25474         (CLD_DUMPED): Likewise.
25475         (CLD_TRAPPED): Likewise.
25476         (CLD_STOPPED): Likewise.
25477         (CLD_CONTINUED): Likewise.
25478         (POLL_IN): Likewise.
25479         (POLL_OUT): Likewise.
25480         (POLL_MSG): Likewise.
25481         (POLL_ERR): Likewise.
25482         (POLL_PRI): Likewise.
25483         (POLL_HUP): Likewise.
25484         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
25485         (ILL_ILLOPN): Likewise.
25486         (ILL_ILLADR): Likewise.
25487         (ILL_ILLTRP): Likewise.
25488         (ILL_PRVOPC): Likewise.
25489         (ILL_PRVREG): Likewise.
25490         (ILL_COPROC): Likewise.
25491         (ILL_BADSTK): Likewise.
25492         (ILL_DBLFLT): Likewise.
25493         (ILL_HARDWALL): Likewise.
25494         (FPE_INTDIV): Likewise.
25495         (FPE_INTOVF): Likewise.
25496         (FPE_FLTDIV): Likewise.
25497         (FPE_FLTOVF): Likewise.
25498         (FPE_FLTUND): Likewise.
25499         (FPE_FLTRES): Likewise.
25500         (FPE_FLTINV): Likewise.
25501         (FPE_FLTSUB): Likewise.
25502         (SEGV_MAPERR): Likewise.
25503         (SEGV_ACCERR): Likewise.
25504         (BUS_ADRALN): Likewise.
25505         (BUS_ADRERR): Likewise.
25506         (BUS_OBJERR): Likewise.
25507         (BUS_MCEERR_AR): Likewise.
25508         (BUS_MCEERR_AO): Likewise.
25509         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
25510         (TRAP_TRACE): Likewise.
25511         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
25512         __USE_XOPEN2K8].
25513         (CLD_KILLED): Likewise.
25514         (CLD_DUMPED): Likewise.
25515         (CLD_TRAPPED): Likewise.
25516         (CLD_STOPPED): Likewise.
25517         (CLD_CONTINUED): Likewise.
25518         (POLL_IN): Likewise.
25519         (POLL_OUT): Likewise.
25520         (POLL_MSG): Likewise.
25521         (POLL_ERR): Likewise.
25522         (POLL_PRI): Likewise.
25523         (POLL_HUP): Likewise.
25524         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
25525         (ILL_ILLOPN): Likewise.
25526         (ILL_ILLADR): Likewise.
25527         (ILL_ILLTRP): Likewise.
25528         (ILL_PRVOPC): Likewise.
25529         (ILL_PRVREG): Likewise.
25530         (ILL_COPROC): Likewise.
25531         (ILL_BADSTK): Likewise.
25532         (FPE_INTDIV): Likewise.
25533         (FPE_INTOVF): Likewise.
25534         (FPE_FLTDIV): Likewise.
25535         (FPE_FLTOVF): Likewise.
25536         (FPE_FLTUND): Likewise.
25537         (FPE_FLTRES): Likewise.
25538         (FPE_FLTINV): Likewise.
25539         (FPE_FLTSUB): Likewise.
25540         (SEGV_MAPERR): Likewise.
25541         (SEGV_ACCERR): Likewise.
25542         (BUS_ADRALN): Likewise.
25543         (BUS_ADRERR): Likewise.
25544         (BUS_OBJERR): Likewise.
25545         (BUS_MCEERR_AR): Likewise.
25546         (BUS_MCEERR_AO): Likewise.
25547         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
25548         (TRAP_TRACE): Likewise.
25549         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
25550         __USE_XOPEN2K8].
25551         (CLD_KILLED): Likewise.
25552         (CLD_DUMPED): Likewise.
25553         (CLD_TRAPPED): Likewise.
25554         (CLD_STOPPED): Likewise.
25555         (CLD_CONTINUED): Likewise.
25556         (POLL_IN): Likewise.
25557         (POLL_OUT): Likewise.
25558         (POLL_MSG): Likewise.
25559         (POLL_ERR): Likewise.
25560         (POLL_PRI): Likewise.
25561         (POLL_HUP): Likewise.
25562         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
25563         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
25565         [BZ #16670]
25566         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
25567         before #include of <time.h>.
25568         [!__USE_XOPEN2K] (__need_timespec): Likewise.
25569         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
25570         (test-xfail-UNIX98/sched.h/conform): Likewise.
25572 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
25574         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
25575         error absence of trapping exception support.
25576         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
25578 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
25580         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
25581         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
25582         * timezone/Makefile (testdata): Move definition above include of
25583         Rules.
25584         (test-zones): New variable.
25585         (tests-special): Add zone files.
25586         (build-testdata): Use $(evaluate-test).
25588         * elf/Makefile (tests-special): Rename tests to end with .out.
25589         ($(objpfx)noload-mem): Likewise.
25590         ($(objpfx)tst-leaks1-mem): Likewise.
25591         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
25592         * iconv/Makefile (xtests-special): Change test-iconvconfig to
25593         $(objpfx)test-iconvconfig.out.
25594         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
25595         set -e inside subshell and redirect output to file.
25596         * iconvdata/Makefile (generated): Rename tests to end with .out.
25597         Correct type.
25598         (tests-special): Rename tests to end with .out.
25599         ($(objpfx)mtrace-tst-loading): Likewise.
25600         * intl/Makefile (generated): Likewise.
25601         (tests-special): Likewise.
25602         ($(objpfx)mtrace-tst-gettext): Likewise.
25603         * misc/Makefile (generated): Likewise.
25604         (tests-special): Likewise.
25605         ($(objpfx)tst-error1-mem): Likewise.
25606         * nptl/Makefile (tests-special): Likewise.
25607         ($(objpfx)tst-stack3-mem): Likewise.
25608         (generated): Likewise.
25609         * posix/Makefile (generated): Likewise.
25610         (tests-special): Likewise.
25611         (xtests-special): Likewise.
25612         ($(objpfx)tst-fnmatch-mem): Likewise.
25613         ($(objpfx)bug-regex2-mem): Likewise.
25614         ($(objpfx)bug-regex14-mem): Likewise.
25615         ($(objpfx)bug-regex21-mem): Likewise.
25616         ($(objpfx)bug-regex31-mem): Likewise.
25617         ($(objpfx)tst-vfork3-mem): Likewise.
25618         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
25619         ($(objpfx)tst-pcre-mem): Likewise.
25620         ($(objpfx)tst-boost-mem): Likewise.
25621         ($(objpfx)bug-ga2-mem): Likewise.
25622         ($(objpfx)bug-glob2-mem): Likewise.
25623         * resolv/Makefile (generate): Likewise.
25624         (tests-special): Likewise.
25625         (xtests-special): Likewise.
25626         (generated): Likewise.
25627         ($(objpfx)mtrace-tst-leaks): Likewise.
25628         ($(objpfx)mtrace-tst-leaks2): Likewise.
25630         * scripts/merge-test-results.sh: New file.
25631         * Makefile (tests-special-notdir): New variable.
25632         (tests): Run merge-test-results.sh.
25633         (xtests): Likewise.
25634         * Rules (tests-special-notdir): New variable.
25635         (xtests-special-notdir): Likewise.
25636         (tests): Run merge-test-results.sh
25637         (xtests): Likewise.
25639         * Makeconfig (test-xfail-name): New variable.
25640         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
25641         compute variable name for expected failures.
25642         * conform/Makefile (conformtest-headers-data): New variable.
25643         (conformtest-standards): Likewise.
25644         (conformtest-headers-ISO): Likewise.
25645         (conformtest-headers-ISO99): Likewise.
25646         (conformtest-headers-ISO11): Likewise.
25647         (conformtest-headers-POSIX): Likewise.
25648         (conformtest-headers-XPG3): Likewise.
25649         (conformtest-headers-XPG4): Likewise.
25650         (conformtest-headers-UNIX98): Likewise.
25651         (conformtest-headers-XOPEN2K): Likewise.
25652         (conformtest-headers-POSIX2008): Likewise.
25653         (conformtest-headers-XOPEN2K8): Likewise.
25654         (conformtest-header-list-base): Likewise.
25655         (conformtest-header-list-tests): Likewise.
25656         (conformtest-header-base): Likewise.
25657         (conformtest-header-tests): Likewise.
25658         (tests-special): Add $(conformtest-header-list-tests).  If
25659         [$(fast-check) && !$(cross-compiling)], add
25660         $(conformtest-header-tests) instead of
25661         $(objpfx)run-conformtest.out.
25662         (generated): Add $(conformtest-header-list-base).  If
25663         [$(fast-check) && !$(cross-compiling)], add
25664         $(conformtest-header-base).  Remove previous setting.
25665         ($(conformtest-header-list-tests)): New target.
25666         (test-xfail-run-conformtest): Remove variable.
25667         ($(objpfx)run-conformtest.out): Remove target.
25668         (test-xfail-ISO11/complex.h/conform): New variable.
25669         (test-xfail-ISO11/stdalign.h/conform): Likewise.
25670         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
25671         (test-xfail-XPG3/varargs.h/conform): Likewise.
25672         (test-xfail-XPG4/varargs.h/conform): Likewise.
25673         (test-xfail-UNIX98/varargs.h/conform): Likewise.
25674         (test-xfail-XPG4/ndbm.h/conform): Likewise.
25675         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
25676         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
25677         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
25678         (test-xfail-XPG3/fcntl.h/conform): Likewise.
25679         (test-xfail-XPG3/ftw.h/conform): Likewise.
25680         (test-xfail-XPG3/grp.h/conform): Likewise.
25681         (test-xfail-XPG3/langinfo.h/conform): Likewise.
25682         (test-xfail-XPG3/limits.h/conform): Likewise.
25683         (test-xfail-XPG3/pwd.h/conform): Likewise.
25684         (test-xfail-XPG3/search.h/conform): Likewise.
25685         (test-xfail-XPG3/signal.h/conform): Likewise.
25686         (test-xfail-XPG3/stdio.h/conform): Likewise.
25687         (test-xfail-XPG3/stdlib.h/conform): Likewise.
25688         (test-xfail-XPG3/string.h/conform): Likewise.
25689         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
25690         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
25691         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
25692         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
25693         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
25694         (test-xfail-XPG3/sys/types.h/conform): Likewise.
25695         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
25696         (test-xfail-XPG3/termios.h/conform): Likewise.
25697         (test-xfail-XPG3/time.h/conform): Likewise.
25698         (test-xfail-XPG3/unistd.h/conform): Likewise.
25699         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
25700         (test-xfail-XPG4/fcntl.h/conform): Likewise.
25701         (test-xfail-XPG4/langinfo.h/conform): Likewise.
25702         (test-xfail-XPG4/netdb.h/conform): Likewise.
25703         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
25704         (test-xfail-XPG4/signal.h/conform): Likewise.
25705         (test-xfail-XPG4/stdio.h/conform): Likewise.
25706         (test-xfail-XPG4/stdlib.h/conform): Likewise.
25707         (test-xfail-XPG4/stropts.h/conform): Likewise.
25708         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
25709         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
25710         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
25711         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
25712         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
25713         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
25714         (test-xfail-XPG4/sys/time.h/conform): Likewise.
25715         (test-xfail-XPG4/sys/types.h/conform): Likewise.
25716         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
25717         (test-xfail-XPG4/termios.h/conform): Likewise.
25718         (test-xfail-XPG4/ucontext.h/conform): Likewise.
25719         (test-xfail-XPG4/unistd.h/conform): Likewise.
25720         (test-xfail-XPG4/utmpx.h/conform): Likewise.
25721         (test-xfail-POSIX/sched.h/conform): Likewise.
25722         (test-xfail-POSIX/signal.h/conform): Likewise.
25723         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
25724         (test-xfail-POSIX/tar.h/conform): Likewise.
25725         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
25726         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
25727         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
25728         (test-xfail-UNIX98/netdb.h/conform): Likewise.
25729         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
25730         (test-xfail-UNIX98/sched.h/conform): Likewise.
25731         (test-xfail-UNIX98/signal.h/conform): Likewise.
25732         (test-xfail-UNIX98/stdio.h/conform): Likewise.
25733         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
25734         (test-xfail-UNIX98/stropts.h/conform): Likewise.
25735         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
25736         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
25737         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
25738         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
25739         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
25740         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
25741         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
25742         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
25743         (test-xfail-UNIX98/unistd.h/conform): Likewise.
25744         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
25745         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
25746         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
25747         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
25748         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
25749         (test-xfail-XOPEN2K/math.h/conform): Likewise.
25750         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
25751         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
25752         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
25753         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
25754         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
25755         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
25756         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
25757         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
25758         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
25759         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
25760         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
25761         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
25762         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
25763         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
25764         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
25765         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
25766         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
25767         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
25768         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
25769         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
25770         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
25771         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
25772         (test-xfail-POSIX2008/signal.h/conform): Likewise.
25773         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
25774         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
25775         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
25776         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
25777         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
25778         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
25779         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
25780         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
25781         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
25782         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
25783         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
25784         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
25785         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
25786         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
25787         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
25788         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
25789         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
25790         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
25791         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
25792         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
25793         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
25794         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
25795         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
25796         (conformtest-cc-flags): Likewise.
25797         ($(conformtest-header-tests): New target.
25798         * conform/check-header-lists.sh: New file.
25799         * conform/run-conformtest.sh: Remove.
25801         * conform/conformtest.pl: Allow ' and \ in values given for
25802         constants.
25803         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
25804         inclusion.
25805         [POSIX] (sys/types.h): Likewise.
25806         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
25807         inclusion.
25808         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
25809         inclusion.
25810         * conform/data/signal.h-data (SIGIO): Remove expectation.
25811         [XPG3] (SIGBUS): Do not expect.
25812         [POSIX || XPG3] (SIGPOLL): Likewise.
25813         [POSIX || XPG3] (SIGPROF): Likewise.
25814         [POSIX || XPG3] (SIGSYS): Likewise.
25815         [XPG3] (SIGTRAP): Likewise.
25816         [POSIX || XPG3] (SIGURG): Likewise.
25817         [POSIX || XPG3] (SIGVTALRM): Likewise.
25818         [POSIX || XPG3] (SIGXCPU): Likewise.
25819         [POSIX || XPG3] (SIGXFSZ): Likewise.
25820         [POSIX] (SA_SIGINFO): Expect.
25821         [XPG3] (siginfo_t): Do not expect type or contents.
25822         [POSIX] (si_pid): Do not expect element.
25823         [POSIX] (si_uid): Likewise.
25824         [POSIX] (si_addr): Likewise.
25825         [POSIX] (si_status): Likewise.
25826         [POSIX] (si_band): Likewise.
25827         [XPG4] (si_value): Likewise.
25828         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
25829         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
25830         [POSIX || XPG3] (ILL_ILLADR): Likewise.
25831         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
25832         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
25833         [POSIX || XPG3] (ILL_PRVREG): Likewise.
25834         [POSIX || XPG3] (ILL_COPROC): Likewise.
25835         [POSIX || XPG3] (ILL_BADSTK): Likewise.
25836         [POSIX || XPG3] (FPE_INTDIV): Likewise.
25837         [POSIX || XPG3] (FPE_INTOVF): Likewise.
25838         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
25839         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
25840         [POSIX || XPG3] (FPE_FLTUND): Likewise.
25841         [POSIX || XPG3] (FPE_FLTRES): Likewise.
25842         [POSIX || XPG3] (FPE_FLTINV): Likewise.
25843         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
25844         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
25845         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
25846         [POSIX || XPG3] (BUS_ADRALN): Likewise.
25847         [POSIX || XPG3] (BUS_ADRERR): Likewise.
25848         [POSIX || XPG3] (BUS_OBJERR): Likewise.
25849         [POSIX || XPG3] (CLD_EXITED): Likewise.
25850         [POSIX || XPG3] (CLD_KILLED): Likewise.
25851         [POSIX || XPG3] (CLD_DUMPED): Likewise.
25852         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
25853         [POSIX || XPG3] (CLD_STOPPED): Likewise.
25854         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
25855         [POSIX || XPG3] (POLL_IN): Likewise.
25856         [POSIX || XPG3] (POLL_OUT): Likewise.
25857         [POSIX || XPG3] (POLL_MSG): Likewise.
25858         [POSIX || XPG3] (POLL_ERR): Likewise.
25859         [POSIX || XPG3] (POLL_PRI): Likewise.
25860         [POSIX || XPG3] (POLL_HUP): Likewise.
25861         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
25862         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
25863         (SIG*): Do not allow.
25864         [XPG3] (si_*): Likewise.
25865         [XPG3] (SI_*): Likewise.
25866         [XPG3 || XPG4] (sigev_*): Likewise.
25867         [XPG3 || XPG4] (SIGEV_*): Likewise.
25868         [XPG3 || XPG4] (sival_*): Likewise.
25869         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
25870         [POSIX || XPG3] (BUS_*): Likewise.
25871         [POSIX || XPG3] (CLD_*): Likewise.
25872         [POSIX || XPG3] (FPE_*): Likewise.
25873         [POSIX || XPG3] (ILL_*): Likewise.
25874         [POSIX || XPG3] (POLL_*): Likewise.
25875         [POSIX || XPG3] (SEGV_*): Likewise.
25876         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
25877         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
25878         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
25879         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
25880         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
25881         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
25882         Specify type and value.
25883         (TVERSLEN): Likewise.
25884         (REGTYPE): Likewise.
25885         (AREGTYPE): Likewise.
25886         (LNKTYPE): Likewise.
25887         (SYMTYPE): Likewise.
25888         (CHRTYPE): Likewise.
25889         (BLKTYPE): Likewise.
25890         (DIRTYPE): Likewise.
25891         (FIFOTYPE): Likewise.
25892         (CONTTYPE): Likewise.
25893         (TSUID): Likewise.
25894         (TSGID): Likewise.
25895         (TSVTX): Likewise.
25896         (TUREAD): Likewise.
25897         (TUWRITE): Likewise.
25898         (TUEXEC): Likewise.
25899         (TGREAD): Likewise.
25900         (TGWRITE): Likewise.
25901         (TGEXEC): Likewise.
25902         (TOREAD): Likewise.
25903         (TOWRITE): Likewise.
25904         (TOEXEC): Likewise.
25905         [POSIX] (TSVTX): Expect constant.
25907 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
25909         * Makefile (tests): Change dependencies to ....
25910         (tests-special): ... additions to this variable.
25911         (tests): Depend on $(tests-special).
25912         * Makerules (check-abi-list): New variable.
25913         (check-abi): Depend on $(check-abi-list).
25914         [$(subdir) = elf] (tests-special): Add
25915         $(objpfx)check-abi-libc.out.
25916         [$(build-shared) = yes && subdir] (tests-special): Add
25917         $(check-abi-list).
25918         [$(build-shared) = yes && subdir] (tests): Do not depend on
25919         check-abi.
25920         * Rules (tests): Depend on $(tests-special).
25921         (xtests): Depend on $(xtests-special).
25922         * catgets/Makefile (tests): Change dependencies to ....
25923         (tests-special): ... additions to this variable.
25924         * conform/Makefile (tests): Change dependencies to ....
25925         (tests-special): ... additions to this variable.
25926         * elf/Makefile (tests): Change dependencies to ....
25927         (tests-special): ... additions to this variable.
25928         * grp/Makefile (tests): Change dependencies to ....
25929         (tests-special): ... additions to this variable.
25930         * iconv/Makefile (xtests): Change dependencies to ....
25931         (xtests-special): ... additions to this variable.
25932         * iconvdata/Makefile (tests): Change dependencies to ....
25933         (tests-special): ... additions to this variable.
25934         * intl/Makefile (tests): Change dependencies to ....
25935         (tests-special): ... additions to this variable.  Also add
25936         $(objpfx)tst-gettext.out.
25937         * io/Makefile (tests): Change dependencies to ....
25938         (tests-special): ... additions to this variable.
25939         * libio/Makefile (tests): Change dependencies to ....
25940         (tests-special): ... additions to this variable.
25941         * malloc/Makefile (tests): Change dependencies to ....
25942         (tests-special): ... additions to this variable.
25943         * misc/Makefile (tests): Change dependencies to ....
25944         (tests-special): ... additions to this variable.
25945         * nptl/Makefile (tests): Change dependencies to ....
25946         (tests-special): ... additions to this variable.
25947         * nptl_db/Makefile (tests): Change dependencies to ....
25948         (tests-special): ... additions to this variable.
25949         * posix/Makefile (tests): Change dependencies to ....
25950         (tests-special): ... additions to this variable.
25951         (xtests): Change dependencies to ....
25952         (xtests-special): ... additions to this variable.
25953         * resolv/Makefile (tests): Change dependencies to ....
25954         (tests-special): ... additions to this variable.
25955         (xtests): Change dependencies to ....
25956         (xtests-special): ... additions to this variable.
25957         * stdio-common/Makefile (tests): Change dependencies to ....
25958         (tests-special): ... additions to this variable.
25959         (do-tst-unbputc): Remove target.
25960         (do-tst-printf): Likewise.
25961         * stdlib/Makefile (tests): Change dependencies to ....
25962         (tests-special): ... additions to this variable.
25963         * string/Makefile (tests): Change dependencies to ....
25964         (tests-special): ... additions to this variable.
25965         * sysdeps/x86/Makefile (tests): Change dependencies to ....
25966         (tests-special): ... additions to this variable.
25968         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
25969         whole file.
25970         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
25971         whole file.
25972         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
25973         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
25975         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
25976         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
25977         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
25978         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
25979         * conform/data/libgen.h-data [XPG3]: Likewise.
25980         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
25981         * conform/data/ndbm.h-data [XPG3]: Likewise.
25982         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
25983         * conform/data/netdb.h-data [XPG3]: Likewise.
25984         * conform/data/netinet/in.h-data [XPG3]: Likewise.
25985         * conform/data/poll.h-data [XPG3]: Likewise.
25986         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
25987         * conform/data/strings.h-data [XPG3]: Likewise.
25988         * conform/data/stropts.h-data [XPG3]: Likewise.
25989         * conform/data/sys/mman.h-data [XPG3]: Likewise.
25990         * conform/data/sys/resource.h-data [XPG3]: Likewise.
25991         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
25992         Likewise.
25993         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
25994         * conform/data/sys/time.h-data [XPG3]: Likewise.
25995         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
25996         * conform/data/sys/uio.h-data [XPG3]: Likewise.
25997         * conform/data/sys/un.h-data [XPG3]: Likewise.
25998         * conform/data/syslog.h-data [XPG3]: Likewise.
25999         * conform/data/ucontext.h-data [XPG3]: Likewise.
26000         * conform/data/utmpx.h-data [XPG3]: Likewise.
26001         * conform/data/varargs.h-data [UNIX98]: Enable file.
26003         * manual/Makefile (INSTALL_INFO): Remove variable setting.
26005         * math/libm-test.inc (struct test_f_f_data): Move expected results
26006         into structure for each rounding mode.
26007         (struct test_ff_f_data): Likewise.
26008         (struct test_ff_f_data_nexttoward): Likewise.
26009         (struct test_fi_f_data): Likewise.
26010         (struct test_fl_f_data): Likewise.
26011         (struct test_if_f_data): Likewise.
26012         (struct test_fff_f_data): Likewise.
26013         (struct test_c_f_data): Likewise.
26014         (struct test_f_f1_data): Likewise.
26015         (struct test_fF_f1_data): Likewise.
26016         (struct test_ffI_f1_data): Likewise.
26017         (struct test_c_c_data): Likewise.
26018         (struct test_cc_c_data): Likewise.
26019         (struct test_f_i_data): Likewise.
26020         (struct test_ff_i_data): Likewise.
26021         (struct test_f_l_data): Likewise.
26022         (struct test_f_L_data): Likewise.
26023         (struct test_fFF_11_data): Likewise.
26024         (RM_): New macro.
26025         (RM_FE_DOWNWARD): Likewise.
26026         (RM_FE_TONEAREST): Likewise.
26027         (RM_FE_TOWARDZERO): Likewise.
26028         (RM_FE_UPWARD): Likewise.
26029         (RUN_TEST_LOOP_f_f): Update references to expected results.
26030         (RUN_TEST_LOOP_2_f): Likewise.
26031         (RUN_TEST_LOOP_fff_f): Likewise.
26032         (RUN_TEST_LOOP_c_f): Likewise.
26033         (RUN_TEST_LOOP_f_f1): Likewise.
26034         (RUN_TEST_LOOP_fF_f1): Likewise.
26035         (RUN_TEST_LOOP_fI_f1): Likewise.
26036         (RUN_TEST_LOOP_ffI_f1): Likewise.
26037         (RUN_TEST_LOOP_c_c): Likewise.
26038         (RUN_TEST_LOOP_cc_c): Likewise.
26039         (RUN_TEST_LOOP_f_i): Likewise.
26040         (RUN_TEST_LOOP_f_i_tg): Likewise.
26041         (RUN_TEST_LOOP_ff_i_tg): Likewise.
26042         (RUN_TEST_LOOP_f_b): Likewise.
26043         (RUN_TEST_LOOP_f_b_tg): Likewise.
26044         (RUN_TEST_LOOP_f_l): Likewise.
26045         (RUN_TEST_LOOP_f_L): Likewise.
26046         (RUN_TEST_LOOP_fFF_11): Likewise.
26047         * math/gen-libm-test.pl (parse_args): Output four copies of
26048         expected results for each test.
26050         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
26051         (__ASSUME_UTIMES): Remove.
26052         * sysdeps/unix/sysv/linux/tile/kernel-features.h
26053         (__ASSUME_UTIMES): Likewise.
26055         * math/gen-auto-libm-tests.c: Update comment on output format.
26056         (output_for_one_input_case): Generate before-rounding and
26057         after-rounding information as conditions on output flags not
26058         floating-point format.
26059         * math/auto-libm-test-out: Regenerated.
26060         * math/gen-libm-test.pl (cond_value): New function.
26061         (or_cond_value): Use cond_value.
26062         (generate_testfile): Handle conditional exceptions.
26064 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
26066         * math/libm-test.inc (max_valid_error): New variable.
26067         (init_max_error): Take new argument specifying whether function
26068         results are exactly determined.  Set max_valid_error and bound
26069         other variables for errors based on this argument.
26070         (set_max_error): Do not record results above max_valid_error.
26071         (check_float_internal): Only accept errors of up to 0.5ulps if
26072         also at most max_valid_error.
26073         (START): Take new argument EXACT and pass it to init_max_error.
26074         (acos_test): Update call to START.
26075         (acos_test_tonearest): Likewise.
26076         (acos_test_towardzero): Likewise.
26077         (acos_test_downward): Likewise.
26078         (acos_test_upward): Likewise.
26079         (acosh_test): Likewise.
26080         (asin_test): Likewise.
26081         (asin_test_tonearest): Likewise.
26082         (asin_test_towardzero): Likewise.
26083         (asin_test_downward): Likewise.
26084         (asin_test_upward): Likewise.
26085         (asinh_test): Likewise.
26086         (atan_test): Likewise.
26087         (atanh_test): Likewise.
26088         (atan2_test): Likewise.
26089         (cabs_test): Likewise.
26090         (cacos_test): Likewise.
26091         (cacosh_test): Likewise.
26092         (carg_test): Likewise.
26093         (casin_test): Likewise.
26094         (casinh_test): Likewise.
26095         (catan_test): Likewise.
26096         (catanh_test): Likewise.
26097         (cbrt_test): Likewise.
26098         (ccos_test): Likewise.
26099         (ccosh_test): Likewise.
26100         (ceil_test): Likewise.
26101         (cexp_test): Likewise.
26102         (cimag_test): Likewise.
26103         (clog_test): Likewise.
26104         (clog10_test): Likewise.
26105         (conj_test): Likewise.
26106         (copysign_test): Likewise.
26107         (cos_test): Likewise.
26108         (cos_test_tonearest): Likewise.
26109         (cos_test_towardzero): Likewise.
26110         (cos_test_downward): Likewise.
26111         (cos_test_upward): Likewise.
26112         (cosh_test): Likewise.
26113         (cosh_test_tonearest): Likewise.
26114         (cosh_test_towardzero): Likewise.
26115         (cosh_test_downward): Likewise.
26116         (cosh_test_upward): Likewise.
26117         (cpow_test): Likewise.
26118         (cproj_test): Likewise.
26119         (creal_test): Likewise.
26120         (csin_test): Likewise.
26121         (csinh_test): Likewise.
26122         (csqrt_test): Likewise.
26123         (ctan_test): Likewise.
26124         (ctan_test_tonearest): Likewise.
26125         (ctan_test_towardzero): Likewise.
26126         (ctan_test_downward): Likewise.
26127         (ctan_test_upward): Likewise.
26128         (ctanh_test): Likewise.
26129         (ctanh_test_tonearest): Likewise.
26130         (ctanh_test_towardzero): Likewise.
26131         (ctanh_test_downward): Likewise.
26132         (ctanh_test_upward): Likewise.
26133         (erf_test): Likewise.
26134         (erfc_test): Likewise.
26135         (exp_test): Likewise.
26136         (exp_test_tonearest): Likewise.
26137         (exp_test_towardzero): Likewise.
26138         (exp_test_downward): Likewise.
26139         (exp_test_upward): Likewise.
26140         (exp10_test): Likewise.
26141         (exp10_test_tonearest): Likewise.
26142         (exp10_test_towardzero): Likewise.
26143         (exp10_test_downward): Likewise.
26144         (exp10_test_upward): Likewise.
26145         (pow10_test): Likewise.
26146         (exp2_test): Likewise.
26147         (expm1_test): Likewise.
26148         (expm1_test_tonearest): Likewise.
26149         (expm1_test_towardzero): Likewise.
26150         (expm1_test_downward): Likewise.
26151         (expm1_test_upward): Likewise.
26152         (fabs_test): Likewise.
26153         (fdim_test): Likewise.
26154         (floor_test): Likewise.
26155         (fma_test): Likewise.
26156         (fma_test_towardzero): Likewise.
26157         (fma_test_downward): Likewise.
26158         (fma_test_upward): Likewise.
26159         (fmax_test): Likewise.
26160         (fmin_test): Likewise.
26161         (fmod_test): Likewise.
26162         (fpclassify_test): Likewise.
26163         (frexp_test): Likewise.
26164         (hypot_test): Likewise.
26165         (ilogb_test): Likewise.
26166         (isfinite_test): Likewise.
26167         (finite_test): Likewise.
26168         (isgreater_test): Likewise.
26169         (isgreaterequal_test): Likewise.
26170         (isinf_test): Likewise.
26171         (isless_test): Likewise.
26172         (islessequal_test): Likewise.
26173         (islessgreater_test): Likewise.
26174         (isnan_test): Likewise.
26175         (isnormal_test): Likewise.
26176         (issignaling_test): Likewise.
26177         (isunordered_test): Likewise.
26178         (j0_test): Likewise.
26179         (j1_test): Likewise.
26180         (jn_test): Likewise.
26181         (ldexp_test): Likewise.
26182         (lgamma_test): Likewise.
26183         (gamma_test): Likewise.
26184         (lrint_test): Likewise.
26185         (lrint_test_tonearest): Likewise.
26186         (lrint_test_towardzero): Likewise.
26187         (lrint_test_downward): Likewise.
26188         (lrint_test_upward): Likewise.
26189         (llrint_test): Likewise.
26190         (llrint_test_tonearest): Likewise.
26191         (llrint_test_towardzero): Likewise.
26192         (llrint_test_downward): Likewise.
26193         (llrint_test_upward): Likewise.
26194         (log_test): Likewise.
26195         (log10_test): Likewise.
26196         (log1p_test): Likewise.
26197         (log2_test): Likewise.
26198         (logb_test): Likewise.
26199         (logb_test_downward): Likewise.
26200         (lround_test): Likewise.
26201         (llround_test): Likewise.
26202         (modf_test): Likewise.
26203         (nearbyint_test): Likewise.
26204         (nextafter_test): Likewise.
26205         (nexttoward_test): Likewise.
26206         (pow_test): Likewise.
26207         (pow_test_tonearest): Likewise.
26208         (pow_test_towardzero): Likewise.
26209         (pow_test_downward): Likewise.
26210         (pow_test_upward): Likewise.
26211         (remainder_test): Likewise.
26212         (drem_test): Likewise.
26213         (remainder_test_tonearest): Likewise.
26214         (drem_test_tonearest): Likewise.
26215         (remainder_test_towardzero): Likewise.
26216         (drem_test_towardzero): Likewise.
26217         (remainder_test_downward): Likewise.
26218         (drem_test_downward): Likewise.
26219         (remainder_test_upward): Likewise.
26220         (drem_test_upward): Likewise.
26221         (remquo_test): Likewise.
26222         (rint_test): Likewise.
26223         (rint_test_tonearest): Likewise.
26224         (rint_test_towardzero): Likewise.
26225         (rint_test_downward): Likewise.
26226         (rint_test_upward): Likewise.
26227         (round_test): Likewise.
26228         (scalb_test): Likewise.
26229         (scalbn_test): Likewise.
26230         (scalbln_test): Likewise.
26231         (signbit_test): Likewise.
26232         (sin_test): Likewise.
26233         (sin_test_tonearest): Likewise.
26234         (sin_test_towardzero): Likewise.
26235         (sin_test_downward): Likewise.
26236         (sin_test_upward): Likewise.
26237         (sincos_test): Likewise.
26238         (sinh_test): Likewise.
26239         (sinh_test_tonearest): Likewise.
26240         (sinh_test_towardzero): Likewise.
26241         (sinh_test_downward): Likewise.
26242         (sinh_test_upward): Likewise.
26243         (sqrt_test): Likewise.
26244         (sqrt_test_tonearest): Likewise.
26245         (sqrt_test_towardzero): Likewise.
26246         (sqrt_test_downward): Likewise.
26247         (sqrt_test_upward): Likewise.
26248         (tan_test): Likewise.
26249         (tan_test_tonearest): Likewise.
26250         (tan_test_towardzero): Likewise.
26251         (tan_test_downward): Likewise.
26252         (tan_test_upward): Likewise.
26253         (tanh_test): Likewise.
26254         (tgamma_test): Likewise.
26255         (trunc_test): Likewise.
26256         (y0_test): Likewise.
26257         (y1_test): Likewise.
26258         (yn_test): Likewise.
26259         (significand_test): Likewise.
26261         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
26262         individual tests in comment.
26263         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
26264         (prev_max_error): New variable.
26265         (prev_real_max_error): Likewise.
26266         (prev_imag_max_error): Likewise.
26267         (compare_ulp_data): Don't refer to test names in comment.
26268         (find_test_ulps): Remove function.
26269         (find_function_ulps): Likewise.
26270         (find_complex_function_ulps): Likewise.
26271         (init_max_error): Take function name as argument.  Look up ulps
26272         for that function.
26273         (print_ulps): Remove function.
26274         (print_max_error): Use prev_max_error instead of calling
26275         find_function_ulps.
26276         (print_complex_max_error): Use prev_real_max_error and
26277         prev_imag_max_error instead of calling find_complex_function_ulps.
26278         (check_float_internal): Take max_ulp parameter instead of calling
26279         find_test_ulps.  Don't call print_ulps.
26280         (check_float): Update call to check_float_internal.
26281         (check_complex): Update calls to check_float_internal.
26282         (START): Pass argument to init_max_error.
26283         * math/gen-libm-test.pl (%results): Don't include "kind"
26284         information.
26285         (parse_ulps): Don't handle ulps of individual tests.
26286         (print_ulps_file): Likewise.
26287         (output_ulps): Likewise.
26288         * math/README.libm-test: Update.
26289         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
26290         individual tests.
26291         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
26292         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
26293         * sysdeps/arm/libm-test-ulps: Likewise.
26294         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
26295         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
26296         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
26297         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
26298         * sysdeps/microblaze/libm-test-ulps: Likewise.
26299         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
26300         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
26301         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26302         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
26303         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
26304         * sysdeps/sh/libm-test-ulps: Likewise.
26305         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
26306         * sysdeps/tile/libm-test-ulps: Likewise.
26307         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26309 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
26311         * math/libm-test.inc (print_complex_max_error): Check separately
26312         whether real and imaginary errors are within allowed range and
26313         pass 0 to print_complex_function_ulps instead of value within
26314         allowed range.
26316 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
26318         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
26319         formatting.
26320         (get_handles_fopen): Likewise.
26321         (do_write_test): Likewise.
26323         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
26325         * libio/fileops.c (do_ftell): Use cached offset when
26326         available.
26327         * libio/iofwide.c (do_ftell_wide): Likewise.
26328         * libio/iofdopen.c (_IO_new_fdopen): Don't use
26329         _IO_file_attach.
26330         * libio/wfileops.c (_IO_fwide): Don't cache offset.
26332         [BZ #16532]
26333         * libio/libioP.h (get_file_offset): New function.
26334         * libio/fileops.c (get_file_offset): Likewise.
26335         (do_ftell): Likewise.
26336         (_IO_new_file_seekoff): Split out ftell logic.
26337         * libio/wfileops.c (do_ftell_wide): Likewise.
26338         (_IO_wfile_seekoff): Split out ftell logic.
26339         * libio/tst-ftell-active-handler.c: New test case.
26340         * libio/Makefile (tests): Add it.
26342 2014-03-03  Roland McGrath  <roland@hack.frob.com>
26344         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
26345         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
26347 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
26349         [BZ #16639]
26350         * nscd/connections.c (nscd_init): Call do_exit.
26351         (start_threads): Call do_exit and notify_parent.
26352         (begin_drop_privileges): Call do_exit.
26353         (finish_drop_privileges): Likewise.
26354         * nscd/selinux.c (preserve_capabilities): Likewise.
26355         (install_real_capabilities): Likewise.
26356         (nscd_selinux_enabled): Likewise.
26357         (avc_create_thread): Likewise.
26358         (avc_alloc_lock): Likewise.
26359         (nscd_avc_init): Likewise.
26360         * nscd/nscd.c (parent_fd): New static variable.
26361         (main): Create a pipe between parent and child processes.
26362         Skip closing parent_fd.
26363         (monitor_child): New function.
26364         (do_exit): Likewise.
26365         (notify_parent): Likewise.
26366         * nscd/nscd.h (notify_parent): Likewise.
26367         (do_exit): Likewise.
26369 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
26371         * malloc/malloc.c (__libc_calloc): Revert last change.
26373 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26375         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26377 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26379         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
26380         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
26381         implementation.
26382         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
26383         (__libc_ifunc_impl_list): Likewise.
26384         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
26385         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
26386         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
26387         * string/strrchr.c: Define STRRCHR.
26389 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
26391         * benchtest/bench-strtok.c (simple_strtok): Delete.
26392         (strtok_string): Use as benchmark.
26393         * string/strtok (STRTOK): New macro.
26395 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
26397         * manual/threads.texi: Add header and standard comments to all
26398         functions.
26400         * elf/dl-lookup.c (check_match): New function.
26401         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
26402         (do_lookup_x): Remove nested function check_match. Use non-nested
26403         function check_match.
26405 2014-02-28  Roland McGrath  <roland@hack.frob.com>
26407         * csu/Makefile (generated, before-compile): Use += rather than =.
26408         * catgets/Makefile (generated, generated-dirs): Likewise.
26409         * debug/Makefile (generated): Likewise.
26410         * dlfcn/Makefile (generated): Likewise.
26411         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
26412         * iconvdata/Makefile (before-compile, generated): Likewise.
26413         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
26414         * libio/Makefile (generated): Likewise.
26415         * malloc/Makefile (generated): Likewise.
26416         * manual/Makefile (generated, generated-dirs): Likewise.
26417         * misc/Makefile (generated): Likewise.
26418         * posix/Makefile (generated): Likewise.
26419         * resolv/Makefile (generated): Likewise.
26420         * sunrpc/Makefile (generated, generated-dirs): Likewise.
26421         * timezone/Makefile (generated, generated-dirs): Likewise.
26423         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
26425 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26427         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
26428         power8 implementation.
26429         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
26430         file: POWER8 llround ifunc implementation.
26431         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
26432         (__lllround): Add POWER8 implementation.
26433         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
26434         POWER8 llround implementation.
26436         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
26437         power8 implementation.
26438         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
26439         file: POWER8 llrint ifunc implementation.
26440         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
26441         Add POWER8 implementation.
26442         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
26443         POWER8 llrint implementation.
26445         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
26446         power8 implementation.
26447         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
26448         file: POWER8 finite ifunc implementation.
26449         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
26450         Add POWER8 implementation.
26451         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
26452         Likewise.
26453         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
26454         POWER8 finite implementation.
26455         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
26457         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
26458         power8 implementation.
26459         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
26460         file: POWER8 isinf ifunc implementation.
26461         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
26462         POWER8 implementation.
26463         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
26464         Likewise.
26465         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
26466         isinf implementation.
26467         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
26469         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
26470         (INIT_ARCH): Add hwcap2 initialization.
26471         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
26472         power8 implementation.
26473         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
26474         file: POWER8 isnan ifunc implementation.
26475         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
26476         POWER8 implementation.
26477         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
26478         Likewise.
26479         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
26480         isnan implementation.
26481         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
26483 2014-02-27  Joey Ye  <joey.ye@arm.com>
26485         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
26486         (_FP_NANFRAC_Q): Set to zero.
26488 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
26490         [BZ #16623]
26491         * math/auto-libm-test-in: New test inputs.
26492         * math/auto-libm-test-out: Regenerate.
26493         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
26494         and DA.
26495         (__cos): Likewise.
26496         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
26498 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
26500         * scripts/evaluate-test.sh: Take new argument indicating whether
26501         failure is expected.
26502         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
26503         indicating whether failure is expected.
26504         * conform/Makefile (test-xfail-run-conformtest): New variable.
26505         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
26506         level.
26507         * posix/Makefile (test-xfail-annexc): New variable.
26508         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
26510 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
26512         * argp/Makefile: Include Makeconfig immediately after defining
26513         subdir.
26514         * assert/Makefile: Likewise.
26515         * benchtests/Makefile: Likewise.
26516         * catgets/Makefile: Likewise.
26517         * conform/Makefile: Likewise.
26518         * crypt/Makefile: Likewise.
26519         * csu/Makefile: Likewise.
26520         (all): Remove target.
26521         * ctype/Makefile: Include Makeconfig immediately after defining
26522         subdir.
26523         * debug/Makefile: Likewise.
26524         * dirent/Makefile: Likewise.
26525         * dlfcn/Makefile: Likewise.
26526         * gmon/Makefile: Likewise.
26527         * gnulib/Makefile: Likewise.
26528         * grp/Makefile: Likewise.
26529         * gshadow/Makefile: Likewise.
26530         * hesiod/Makefile: Likewise.
26531         * hurd/Makefile: Likewise.
26532         (all): Remove target.
26533         * iconvdata/Makefile: Include Makeconfig immediately after
26534         defining subdir.
26535         * inet/Makefile: Likewise.
26536         * intl/Makefile: Likewise.
26537         * io/Makefile: Likewise.
26538         * libio/Makefile: Likewise.
26539         (all): Remove target.
26540         * locale/Makefile: Include Makeconfig immediately after defining
26541         subdir.
26542         * login/Makefile: Likewise.
26543         * mach/Makefile: Likewise.
26544         (all): Remove target.
26545         * malloc/Makefile: Include Makeconfig immediately after defining
26546         subdir.
26547         (all): Remove target.
26548         * manual/Makefile: Include Makeconfig immediately after defining
26549         subdir.
26550         * math/Makefile: Likewise.
26551         * misc/Makefile: Likewise.
26552         * nis/Makefile: Likewise.
26553         * nss/Makefile: Likewise.
26554         * po/Makefile: Likewise.
26555         (all): Remove target.
26556         * posix/Makefile: Include Makeconfig immediately after defining
26557         subdir.
26558         * pwd/Makefile: Likewise.
26559         * resolv/Makefile: Likewise.
26560         * resource/Makefile: Likewise.
26561         * rt/Makefile: Likewise.
26562         * setjmp/Makefile: Likewise.
26563         * shadow/Makefile: Likewise.
26564         * signal/Makefile: Likewise.
26565         * socket/Makefile: Likewise.
26566         * soft-fp/Makefile: Likewise.
26567         * stdio-common/Makefile: Likewise.
26568         * stdlib/Makefile: Likewise.
26569         * streams/Makefile: Likewise.
26570         * string/Makefile: Likewise.
26571         * sunrpc/Makefile: Likewise.
26572         (all): Remove target.
26573         * sysvipc/Makefile: Include Makeconfig immediately after defining
26574         subdir.
26575         * termios/Makefile: Likewise.
26576         * time/Makefile: Likewise.
26577         * timezone/Makefile: Likewise.
26578         (all): Remove target.
26579         * wcsmbs/Makefile: Include Makeconfig immediately after defining
26580         subdir.
26581         * wctype/Makefile: Likewise.
26583 2014-02-26  Steve Ellcey  <sellcey@mips.com>
26585         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
26586         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
26587         (libc_feholdexcept_setround_mips): Ditto.
26588         (libc_feholdsetround): New.
26589         (libc_feholdsetroundf): New.
26590         (libc_feholdsetroundl): New.
26591         (libc_feupdateenv_test_mips): New.
26592         (libc_feupdateenv_test): New.
26593         (libc_feupdateenv_testf): New.
26594         (libc_feupdateenv_testl): New.
26595         (libc_feresetround): New.
26596         (libc_feresetroundf): New.
26597         (libc_feresetroundl): New.
26598         (libc_fetestexcept_mips): New.
26599         (libc_fetestexcept): New.
26600         (libc_fetestexceptf): New.
26601         (libc_fetestexceptl): New.
26602         (HAVE_RM_CTX): New.
26603         (libc_feholdexcept_setround_mips_ctx): New.
26604         (libc_feholdexcept_setround_ctx): New.
26605         (libc_feholdexcept_setroundf_ctx): New.
26606         (libc_feholdexcept_setroundl_ctx): New.
26607         (libc_fesetenv_mips_ctx): New.
26608         (libc_fesetenv_ctx): New.
26609         (libc_fesetenv_ctxf): New.
26610         (libc_fesetenv_ctxl): New.
26611         (libc_feupdateenv_mips_ctx): New.
26612         (libc_feupdateenv_ctx): New.
26613         (libc_feupdateenvf_ctx): New.
26614         (libc_feupdateenvl_ctx): New.
26615         (libc_feholdsetround_mips_ctx): New.
26616         (libc_feholdsetround_ctx): New.
26617         (libc_feholdsetroundf_ctx): New.
26618         (libc_feholdsetroundl_ctx): New.
26619         (libc_feresetround_mips_ctx): New.
26620         (libc_feresetround_ctx): New.
26621         (libc_feresetroundf_ctx): New.
26622         (libc_feresetroundl_ctx): New.
26624 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
26626         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
26628         * manual/ipc.texi: New file.
26629         * manual/Makefile (chapters): Add ipc.
26630         * manual/job.texi: Add "Inter-Process Communication" to next.
26631         * manual/process.texi: Add "Inter-Process Communication" to prev.
26633 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26635         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26637 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
26639         * malloc/malloc.c (__libc_calloc): Simplify implementation.
26641         * manual/arith.texi: Fix spaces after sentences.
26642         * manual/charset.texi: Likewise.
26643         * manual/errno.texi: Likewise.
26644         * manual/install.texi: Likewise.
26645         * manual/llio.texi: Likewise.
26646         * manual/locale.texi: Likewise.
26647         * manual/maint.texi: Likewise.
26648         * manual/math.texi: Likewise.
26649         * manual/memory.texi: Likewise.
26650         * manual/message.texi: Likewise.
26651         * manual/probes.texi: Likewise.
26652         * manual/resource.texi: Likewise.
26653         * manual/signal.texi: Likewise.
26654         * manual/socket.texi: Likewise.
26655         * manual/stdio.texi: Likewise.
26656         * manual/string.texi: Likewise.
26657         * manual/time.texi: Likewise.
26658         * manual/users.texi: Likewise.
26660 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
26662         [BZ #16632]
26663         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
26664         _DEFAULT_SOURCE is defined.
26666 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
26667             Carlos O'Donell  <carlos@redhat.com>
26669         [BZ #16613]
26670         * elf/dl-tls.c (_dl_count_modids): New function.
26671         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
26672         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
26673         audit library and increment generation counter.
26674         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
26675         * elf/tst-audit9.c: New file.
26676         * elf/tst-auditmod9a.c: New file.
26677         * elf/tst-auditmod9b.c: New file.
26678         * elf/Makefile: Add rules to build and run tst-audit9.
26680 2014-02-25  Florian Weimer  <fweimer@redhat.com>
26682         [BZ #15347]
26683         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
26685 2014-02-25  Will Newton  <will.newton@linaro.org>
26687         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
26688         (__longjmp): Restore sp and lr before restoring callee
26689         saved registers.  Add longjmp and longjmp_target
26690         SystemTap probe point.
26691         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
26692         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
26693         Define to zero to match jmpbuf layout.
26694         * sysdeps/arm/setjmp.S: Include stap-probe.h.
26695         (__sigsetjmp): Save sp and lr before saving callee
26696         saved registers.  Add setjmp SystemTap probe point.
26698 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
26700         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
26702 2014-02-24  Andreas Schwab  <schwab@suse.de>
26704         [BZ #15804]
26705         * elf/pldd.c (wait_for_ptrace_stop): New function.
26706         (main): Call it after attaching.
26708 2014-02-22  Roland McGrath  <roland@hack.frob.com>
26710         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
26711         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
26712         Versions files is now verboten.
26713         * hurd/Versions (libc: GLIBC_2.0):
26714         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
26715         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
26716         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
26717         * mach/Versions: Likewise.
26719         * csu/Versions: Remove unused %include.
26720         * resolv/Versions: Likewise.
26722 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
26724         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
26725         ($(objpfx)check-local-headers.out): Likewise.
26726         ($(objpfx)begin-end-check.out): Likewise.
26727         * Makerules (check-abi-%.out): Likewise.
26728         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
26729         ($(objpfx)test2.cat): Likewise.
26730         ($(objpfx)de/libc.cat): Likewise.
26731         ($(objpfx)test-gencat.out): Likewise.
26732         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
26733         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
26734         ($(objpfx)noload-mem): Likewise.
26735         ($(objpfx)tst-pathopt.out): Likewise.
26736         ($(objpfx)tst-rtld-load-self.out): Likewise.
26737         ($(objpfx)tst-array1-cmp.out): Likewise.
26738         ($(objpfx)tst-array1-static-cmp.out): Likewise.
26739         ($(objpfx)tst-array2-cmp.out): Likewise.
26740         ($(objpfx)tst-array3-cmp.out): Likewise.
26741         ($(objpfx)tst-array4-cmp.out): Likewise.
26742         ($(objpfx)tst-array5-cmp.out): Likewise.
26743         ($(objpfx)tst-array5-static-cmp.out): Likewise.
26744         ($(objpfx)check-textrel.out): Likewise.
26745         ($(objpfx)check-execstack.out): Likewise.
26746         ($(objpfx)check-localplt.out): Likewise.
26747         ($(objpfx)order2-cmp.out): Likewise.
26748         ($(objpfx)tst-leaks1-mem): Likewise.
26749         ($(objpfx)tst-leaks1-static-mem): Likewise.
26750         ($(objpfx)tst-initorder-cmp.out): Likewise.
26751         ($(objpfx)tst-initorder2-cmp.out): Likewise.
26752         ($(objpfx)tst-unused-dep.out): Likewise.
26753         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
26754         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
26755         * iconv/Makefile (test-iconvconfig): Likewise.
26756         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
26757         ($(objpfx)iconv-test.out): Likewise.
26758         ($(objpfx)tst-tables.out): Likewise.
26759         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
26760         ($(objpfx)tst-gettext.out): Likewise.
26761         ($(objpfx)tst-translit.out): Likewise.
26762         ($(objpfx)tst-gettext2.out): Likewise.
26763         ($(objpfx)tst-gettext4.out): Likewise.
26764         ($(objpfx)tst-gettext6.out): Likewise.
26765         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
26766         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
26767         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
26768         ($(objpfx)tst-fopenloc-mem.out): Likewise.
26769         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
26770         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
26771         * posix/Makefile ($(objpfx)globtest.out): Likewise.
26772         ($(objpfx)wordexp-tst.out): Likewise.
26773         ($(objpfx)annexc.out): Likewise.
26774         ($(objpfx)tst-fnmatch-mem): Likewise.
26775         ($(objpfx)bug-regex2-mem): Likewise.
26776         ($(objpfx)bug-regex14-mem): Likewise.
26777         ($(objpfx)bug-regex21-mem): Likewise.
26778         ($(objpfx)bug-regex31-mem): Likewise.
26779         ($(objpfx)tst-vfork3-mem): Likewise.
26780         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
26781         ($(objpfx)tst-pcre-mem): Likewise.
26782         ($(objpfx)tst-boost-mem): Likewise.
26783         ($(objpfx)tst-getconf.out): Likewise.
26784         ($(objpfx)bug-ga2-mem): Likewise.
26785         ($(objpfx)bug-glob2-mem): Likewise.
26786         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
26787         ($(objpfx)mtrace-tst-leaks2): Likewise.
26788         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
26789         ($(objpfx)tst-printf.out): Likewise.
26790         ($(objpfx)tst-setvbuf1.out): Likewise.
26791         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
26792         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
26793         ($(objpfx)tst-fmtmsg.out): Likewise.
26794         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
26795         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
26797         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
26798         * bits/sigaction.h [__USE_MISC]: Likewise.
26799         * bits/waitstatus.h: Update #endif comments.
26800         * ctype/ctype.h: Likewise.
26801         * dirent/dirent.h: Likewise.
26802         [__USE_MISC]: Remove redundant conditionals.
26803         * grp/grp.h: Update #endif comments.
26804         [__USE_GNU]: Remove redundant conditionals.
26805         [__USE_MISC]: Likewise.
26806         * inet/netinet/in.h [__USE_GNU]: Likewise.
26807         * io/sys/stat.h [__USE_MISC]: Likewise.
26808         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
26809         * libio/bits/stdio.h: Update #endif comments.
26810         [__USE_MISC]: Remove redundant conditionals.
26811         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
26812         * libio/stdio.h: Update #endif comments.
26813         [__USE_MISC]: Remove redundant conditionals.
26814         * math/bits/math-finite.h [__USE_MISC]: Likewise.
26815         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
26816         * math/math.h: Update #else and #endif comments.
26817         [__USE_MISC]: Remove redundant conditionals.
26818         * misc/sys/uio.h: Update #endif comments.
26819         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
26820         * posix/glob.h [__USE_MISC]: Likewise.
26821         * posix/sys/types.h: Update #endif comments.
26822         [__USE_MISC]: Remove redundant conditionals.
26823         * posix/sys/wait.h: Update #endif comments.
26824         [__USE_MISC]: Remove redundant conditionals.
26825         * posix/unistd.h: Update #endif comments.
26826         [__USE_MISC]: Remove redundant conditionals.
26827         * pwd/pwd.h [__USE_GNU]: Likewise.
26828         [__USE_MISC]: Likewise.
26829         * resolv/netdb.h [__USE_GNU]: Likewise.
26830         * signal/signal.h: Update #endif comments.
26831         [__USE_MISC]: Remove redundant conditionals.
26832         * stdlib/stdlib.h: Update #else and #endif comments.
26833         [__USE_MISC]: Remove redundant conditionals.
26834         [__USE_GNU]: Likewise.
26835         * string/bits/string2.h [__USE_MISC]: Likewise.
26836         * string/string.h: Update #endif comments.
26837         [__USE_MISC]: Remove redundant conditionals.
26838         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
26839         Likewise.
26840         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
26841         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
26842         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
26843         Likewise.
26844         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
26845         Likewise.
26846         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
26847         comments.
26848         [__USE_MISC]: Remove redundant conditionals.
26849         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
26850         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
26851         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
26852         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
26853         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
26854         Likewise.
26855         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
26856         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
26857         Likewise.
26858         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
26859         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
26860         Likewise.
26861         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
26862         Likewise.
26863         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
26864         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
26865         Likewise.
26866         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
26867         Likewise.
26868         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
26869         * sysdeps/x86/bits/string.h: Update #endif comments.
26870         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
26871         conditionals.
26872         * time/sys/time.h: Update #endif comments.
26873         * time/time.h: Likewise.
26874         [__USE_MISC]: Remove redundant conditionals.
26876 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
26878         [BZ #16600]
26879         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
26881 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
26883         * Versions.def (librt): Add GLIBC_2.17.
26885 2014-02-21  Adam Conrad  <adconrad@0c3.net>
26887         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
26888         synonym for _SYS_AUXV_H to allow direct inclusion.
26889         * sysdeps/sparc/bits/hwcap.h: Likewise.
26890         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
26891         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
26892         * sysdeps/sparc/sysdep.h: Likewise.
26894 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
26896         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
26898 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
26900         * benchtests/bench-strrchr.c: Print length instead of position.
26902 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
26904         [BZ #16611]
26905         * sysdeps/unix/sysv/linux/kernel-features.h
26906         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
26907         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
26908         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
26909         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
26910         Likewise.
26911         [__i386__ || __powerpc__ || __sh__ || __sparc__]
26912         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
26913         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
26914         (__ASSUME_SENDMMSG): Define instead of using previous
26915         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
26916         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
26917         (__ASSUME_SENDMMSG_SYSCALL): Define.
26918         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
26919         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
26920         Likewise.
26921         * sysdeps/unix/sysv/linux/arm/kernel-features.h
26922         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
26923         Likewise.
26924         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
26925         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
26926         Likewise.
26927         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
26928         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
26929         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
26930         [__ASSUME_SENDMMSG]: Change conditionals to
26931         [__ASSUME_SENDMMSG_SOCKETCALL].
26932         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
26933         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
26934         Define.
26935         * sysdeps/unix/sysv/linux/mips/kernel-features.h
26936         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
26937         Likewise.
26938         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
26939         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
26940         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
26941         [!__ASSUME_SENDMMSG]: Change conditional to
26942         [!__ASSUME_SENDMMSG_SOCKETCALL].
26943         * sysdeps/unix/sysv/linux/tile/kernel-features.h
26944         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
26945         Define.
26947         [BZ #16610]
26948         * sysdeps/unix/sysv/linux/kernel-features.h
26949         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
26950         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
26951         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
26952         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
26953         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
26954         [__i386__ || __sparc__]
26955         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
26956         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
26957         (__ASSUME_RECVMMSG): Define instead of using previous
26958         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
26959         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
26960         (__ASSUME_RECVMMSG_SYSCALL): Define.
26961         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
26962         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
26963         Likewise.
26964         * sysdeps/unix/sysv/linux/arm/kernel-features.h
26965         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
26966         Likewise.
26967         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
26968         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
26969         Likewise.
26970         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
26971         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
26972         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
26973         [__ASSUME_RECVMMSG]: Change condition to
26974         [__ASSUME_RECVMMSG_SOCKETCALL].
26975         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
26976         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
26977         Define.
26978         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
26979         * sysdeps/unix/sysv/linux/mips/kernel-features.h
26980         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
26981         Likewise.
26982         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
26983         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
26984         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
26985         [!__ASSUME_RECVMMSG]: Change condition to
26986         [!__ASSUME_RECVMMSG_SOCKETCALL].
26987         * sysdeps/unix/sysv/linux/tile/kernel-features.h
26988         (__ASSUME_RECVMMSG_SYSCALL): Define.
26990         [BZ #16609]
26991         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
26992         __powerpc__ || __s390__ || __sh__ || __sparc__]
26993         (__ASSUME_SOCKETCALL): Define.
26994         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
26995         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
26996         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
26997         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
26998         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
26999         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
27000         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
27001         (__ASSUME_ACCEPT4): Define instead of using previous
27002         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
27003         __powerpc__ || __sparc__ || __s390__)] condition.
27004         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
27005         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
27006         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
27007         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
27008         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
27009         [!__ASSUME_ACCEPT4]: Change condition to
27010         [!__ASSUME_ACCEPT4_SOCKETCALL].
27011         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
27012         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
27013         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
27014         * sysdeps/unix/sysv/linux/arm/kernel-features.h
27015         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
27016         __ASSUME_ACCEPT4_SYSCALL.
27017         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
27018         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
27019         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
27020         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
27021         __ASSUME_ACCEPT4_SYSCALL.
27022         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
27023         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
27024         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
27025         [__ASSUME_ACCEPT4]: Change condition to
27026         [__ASSUME_ACCEPT4_SOCKETCALL].
27027         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
27028         (__ASSUME_SOCKETCALL): Define.
27029         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
27030         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
27031         (__ASSUME_SOCKETCALL): Define.
27032         (__ASSUME_ACCEPT4): Remove.
27033         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
27034         Define.
27035         * sysdeps/unix/sysv/linux/mips/kernel-features.h
27036         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
27037         Likewise.
27038         * sysdeps/unix/sysv/linux/tile/kernel-features.h
27039         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
27041         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
27042         macro.
27043         (HWCAP_ARM_LPAE): Likewise.
27044         (HWCAP_ARM_EVTSTRM): Likewise.
27045         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
27046         Add vpfd32, lpae and evtstrm.
27047         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
27048         Increase to 22.
27050 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
27052         * math/auto-libm-test-in: Add tests of clog10.
27053         * math/auto-libm-test-out: Regenerated.
27054         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
27055         * sysdeps/i386/fpu/libm-test-ulps: Update.
27056         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27058 2014-02-18  Andreas Schwab  <schwab@suse.de>
27060         [BZ #16574]
27061         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
27062         Store non-zero if the second buffer was newly allocated.
27063         (send_dg): Likewise.
27064         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
27065         to send_vc and send_dg.
27066         (res_nsend): Pass NULL for ansp2_malloced.
27067         * resolv/res_query.c (__libc_res_nquery): Add parameter
27068         answerp2_malloced and pass it down to __libc_res_nsend.
27069         (res_nquery): Pass additional NULL to __libc_res_nquery.
27070         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
27071         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
27072         second answer buffer if answerp2_malloced was set.
27073         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
27074         (__libc_res_nquerydomain): Add parameter
27075         answerp2_malloced and pass it down to __libc_res_nquery.
27076         (res_nquerydomain): Pass additional NULL to
27077         __libc_res_nquerydomain.
27078         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
27079         additional NULL to __libc_res_nsend and __libc_res_nquery.
27080         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
27081         additional NULL to __libc_res_nsearch.
27082         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
27083         parameter of __libc_res_nsearch to check for separately allocated
27084         second buffer.
27085         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
27086         __libc_res_nquery.
27087         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
27088         additional NULL to __libc_res_nquery.
27089         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
27090         __libc_res_nsearch.
27091         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
27092         * include/resolv.h: Update prototypes of __libc_res_nquery,
27093         __libc_res_nsearch, __libc_res_nsend.
27095 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
27097         * math/auto-libm-test-in: Add tests of fma.
27098         * math/auto-libm-test-out: Regenerated.
27099         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
27100         (fma_towardzero_test_data): Likewise.
27101         (fma_downward_test_data): Likewise.
27102         (fma_upward_test_data): Likewise.
27103         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
27104         mpc_mode.
27105         (rounding_modes): Add values for new field.
27106         (func_calc_method): Add value mpfr_fff_f.
27107         (func_calc_desc): Add mpfr_fff_f union field.
27108         (test_function): Add field exact_args.
27109         (FUNC): Add macro argument EXACT_ARGS.
27110         (FUNC_mpfr_f_f): Update call to FUNC.
27111         (FUNC_mpfr_f_f): Likewise.
27112         (FUNC_mpfr_ff_f): Likewise.
27113         (FUNC_mpfr_if_f): Likewise.
27114         (FUNC_mpc_c_f): Likewise.
27115         (FUNC_mpc_c_c): Likewise.
27116         (test_functions): Add fma.  Update calls to FUNC.
27117         (handle_input_arg): Add argument exact_args.
27118         (add_test): Update call to handle_input_arg.
27119         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
27120         (output_for_one_input_case): Update call to calc_generic_results.
27121         Recalculate exact zero results in each rounding mode.
27123         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
27124         non-negative before setting low bit.
27125         * math/auto-libm-test-in: Mark one asin test possibly having
27126         spurious underflow.
27127         * math/auto-libm-test-out: Regenerated.
27128         * sysdeps/i386/fpu/libm-test-ulps: Update.
27129         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27131 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
27133         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
27134         * sysdeps/unix/sysv/linux/microblaze: Move directory from
27135         ports/sysdeps/unix/sysv/linux/microblaze.
27136         * README: Add missing listing for microblaze*-*-linux-gnu.
27138 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
27140         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
27141         duplicate code
27143 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
27145         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
27146         * sysdeps/unix/sysv/linux/ia64: Move directory from
27147         ports/sysdeps/unix/sysv/linux/ia64.
27148         * README: Update listing for ia64-*-linux-gnu.
27150 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
27151             Joseph Myers  <joseph@codesourcery.com>
27153         * Makeconfig (test-name): New variable.
27154         (evaluate-test): Likewise.
27155         * Makerules (do-test-clean): Remove .test-result files.
27156         (common-mostlyclean): Likewise.
27157         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
27158         * scripts/evaluate-test.sh: New file.
27160 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
27162         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
27163         separate $(objpfx)tst-fopenloc-cmp.out and
27164         $(objpfx)tst-fopenloc-mem.out targets.
27165         (tests): Update dependencies.
27166         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
27167         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
27168         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
27169         (tst-rxspencer-no-utf8-ARGS): New variable.
27170         (tst-rxspencer-no-utf8-ENV): Likewise.
27171         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
27172         instead of $(objpfx)tst-rxspencer-mem.
27173         ($(objpfx)tst-rxspencer-mem): Change target to
27174         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
27175         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
27176         * posix/tst-rxspencer-no-utf8.c: New file.
27178         * elf/Makefile ($(objpfx)order.out): Remove rule.
27179         [$(run-built-tests) = yes] (tests): Depend on
27180         $(objpfx)order-cmp.out.
27181         ($(objpfx)order-cmp.out): New rule.
27182         [$(run-built-tests) = yes] (tests): Depend on
27183         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
27184         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
27185         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
27186         $(objpfx)tst-array5-static-cmp.out.
27187         ($(objpfx)tst-array1.out): Remove rule.
27188         ($(objpfx)tst-array1-cmp.out): New rule.
27189         ($(objpfx)tst-array1-static.out): Remove rule.
27190         ($(objpfx)tst-array1-static-cmp.out): New rule.
27191         ($(objpfx)tst-array2.out): Remove rule.
27192         ($(objpfx)tst-array2-cmp.out): New rule.
27193         ($(objpfx)tst-array3.out): Remove rule.
27194         ($(objpfx)tst-array3-cmp.out): New rule.
27195         ($(objpfx)tst-array4.out): Remove rule.
27196         ($(objpfx)tst-array4-cmp.out): New rule.
27197         ($(objpfx)tst-array5.out): Remove rule.
27198         ($(objpfx)tst-array5-cmp.out): New rule.
27199         ($(objpfx)tst-array5-static.out): Remove rule.
27200         ($(objpfx)tst-array5-static-cmp.out): New rule.
27201         [$(run-built-tests) = yes] (tests): Depend on
27202         $(objpfx)order2-cmp.out.
27203         ($(objpfx)order2.out): Remove rule.
27204         ($(objpfx)order2-cmp.out): New rule.
27205         ($(objpfx)tst-initorder.out): Remove rule.
27206         [$(run-built-tests) = yes] (tests): Depend on
27207         $(objpfx)tst-initorder-cmp.out.
27208         ($(objpfx)tst-initorder-cmp.out): New rule.
27209         ($(objpfx)tst-initorder2.out): Remove rule.
27210         [$(run-built-tests) = yes] (tests): Depend on
27211         $(objpfx)tst-initorder2-cmp.out.
27212         ($(objpfx)tst-initorder2-cmp.out): New rule.
27213         [$(run-built-tests) = yes] (tests): Depend on
27214         $(objpfx)tst-unused-dep-cmp.out.
27215         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
27216         ($(objpfx)tst-unused-dep-cmp.out): New rule.
27217         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
27218         on $(objpfx)tst-setvbuf1-cmp.out.
27219         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
27220         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
27221         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
27222         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
27223         ($(objpfx)tst-svc.out): Remove rule.
27224         ($(objpfx)tst-svc-cmp.out): New rule.
27226 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
27228         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
27229         * ctype/ctype.h [__USE_MISC]: Likewise.
27230         * dirent/dirent.h [__USE_MISC]: Likewise.
27231         * grp/grp.h [__USE_MISC]: Likewise.
27232         * io/fcntl.h [__USE_MISC]: Likewise.
27233         * io/sys/stat.h [__USE_MISC]: Likewise.
27234         * libio/stdio.h [__USE_MISC]: Likewise.
27235         * posix/unistd.h [__USE_MISC]: Likewise.
27236         * pwd/pwd.h [__USE_MISC]: Likewise.
27237         * stdlib.h [__USE_MISC]: Likewise.
27238         * string/bits/string2.h [__USE_MISC]: Likewise.
27239         * string/string.h [__USE_MISC]: Likewise.
27240         * time/time.h [__USE_MISC]: Likewise.
27242 2014-02-13  Andreas Schwab  <schwab@suse.de>
27244         [BZ #16574]
27245         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
27246         second answer buffer if it was separately allocated.
27248 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
27250         * sysdeps/mips/math-tests.h: Include <features.h>.
27251         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
27252         (ROUNDING_TESTS_long_double): Do not define.
27253         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
27254         (EXCEPTION_TESTS_long_double): Likewise.
27255         * sysdeps/mips/mips64/libm-test-ulps: Update.
27257         * include/features.h (__USE_BSD): Remove macro definitions.
27258         (__USE_SVID): Likewise.
27259         (_BSD_SOURCE): Likewise.
27260         (_SVID_SOURCE): Likewise.
27261         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
27262         from definition of _DEFAULT_SOURCE.
27263         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
27264         [_DEFAULT_SOURCE].
27265         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
27266         * bits/mman.h [__USE_BSD]: Likewise.
27267         * bits/termios.h [__USE_BSD]: Likewise.
27268         * bits/waitstatus.h [__USE_BSD]: Likewise.
27269         * ctype/ctype.h [__USE_SVID]: Likewise.
27270         * dirent/dirent.h [__USE_BSD]: Likewise.
27271         * grp/grp.h [__USE_SVID]: Likewise.
27272         [__USE_BSD]: Likewise.
27273         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
27274         * io/fcntl.h [__USE_BSD]: Likewise.
27275         * io/ftw.h [__USE_BSD]: Likewise.
27276         * io/sys/stat.h [__USE_BSD]: Likewise.
27277         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
27278         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
27279         * libio/stdio.h [__USE_SVID]: Likewise.
27280         [__USE_BSD]: Likewise.
27281         * math/math.h [__USE_SVID]: Likewise.
27282         [__USE_BSD]: Likewise.
27283         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
27284         * misc/bits/syslog.h [__USE_BSD]: Likewise.
27285         * misc/search.h [__USE_SVID]: Likewise.
27286         * misc/sys/mman.h [__USE_BSD]: Likewise.
27287         * misc/sys/syslog.h [__USE_BSD]: Likewise.
27288         * misc/sys/uio.h [__USE_BSD]: Likewise.
27289         * posix/bits/unistd.h [__USE_BSD]: Likewise.
27290         * posix/glob.h [__USE_BSD]: Likewise.
27291         * posix/regex.h [__USE_BSD]: Likewise.
27292         * posix/sys/types.h [__USE_BSD]: Likewise.
27293         [__USE_SVID]: Likewise.
27294         * posix/sys/utsname.h [__USE_SVID]: Likewise.
27295         * posix/sys/wait.h [__USE_BSD]: Likewise.
27296         [__USE_SVID]: Likewise.
27297         * posix/unistd.h [__USE_BSD]: Likewise.
27298         [__USE_SVID]: Likewise.
27299         * pwd/pwd.h [__USE_SVID]: Likewise.
27300         * resolv/netdb.h [__USE_BSD]: Likewise.
27301         * setjmp/setjmp.h [__USE_BSD]: Likewise.
27302         * signal/signal.h [__USE_BSD]: Likewise.
27303         [__USE_SVID]: Likewise.
27304         * socket/sys/socket.h [__USE_BSD]: Likewise.
27305         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
27306         * stdlib/stdlib.h [__USE_BSD]: Likewise.
27307         [__USE_SVID]: Likewise.
27308         * string/bits/string2.h [__USE_BSD]: Likewise.
27309         [__USE_SVID]: Likewise.
27310         * string/bits/string3.h [__USE_BSD]: Likewise.
27311         * string/endian.h [__USE_BSD]: Likewise.
27312         * string/string.h [__USE_SVID]: Likewise.
27313         [__USE_BSD]: Likewise.
27314         * string/strings.h [__USE_BSD]: Likewise.
27315         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
27316         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
27317         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
27318         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
27319         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
27320         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
27321         Likewise.
27322         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
27323         Likewise.
27324         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
27325         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
27326         Likewise.
27327         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
27328         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
27329         Likewise.
27330         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
27331         Likewise.
27332         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
27333         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
27334         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
27335         Likewise.
27336         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
27337         Likewise.
27338         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
27339         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
27340         * termios/termios.h [__USE_BSD]: Likewise.
27341         * time/sys/time.h [__USE_BSD]: Likewise.
27342         * time/time.h [__USE_BSD]: Likewise.
27343         [__USE_SVID]: Likewise.
27345         * Makefile (subdir_targets): Remove subdir_lint.out.
27347         * stdio-common/Makefile (do-tst-unbputc): Remove target.
27348         (do-tst-printf): Likewise.
27349         (tests): Depend directly on $(objpfx)tst-unbputc.out and
27350         $(objpfx)tst-printf.out.
27352         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
27354         * Makerules (check-abi-%): Change target to
27355         $(objpfx)check-abi-%.out.
27356         (check-abi target): Update dependencies.
27357         (check-abi-pattern variable): Redirect output of diff to $@.
27358         (check-abi variable): Likewise.
27359         * elf/Makefile (check-abi): Update dependencies.
27361         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
27362         unused.
27363         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
27364         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
27365         subnormal range.
27366         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
27367         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
27368         value has largest subnormal exponent.
27369         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
27370         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
27371         * sysdeps/aarch64/soft-fp/sfp-machine.h
27372         (_FP_TININESS_AFTER_ROUNDING): New macro.
27373         * sysdeps/alpha/soft-fp/sfp-machine.h
27374         (_FP_TININESS_AFTER_ROUNDING): Likewise.
27375         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
27376         Likewise.
27377         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
27378         (_FP_TININESS_AFTER_ROUNDING): Likewise.
27379         * sysdeps/mips/soft-fp/sfp-machine.h
27380         (_FP_TININESS_AFTER_ROUNDING): Likewise.
27381         * sysdeps/powerpc/soft-fp/sfp-machine.h
27382         (_FP_TININESS_AFTER_ROUNDING): Likewise.
27383         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
27384         Likewise.
27385         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
27386         (_FP_TININESS_AFTER_ROUNDING): Likewise.
27387         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
27388         (_FP_TININESS_AFTER_ROUNDING): Likewise.
27389         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
27390         Likewise.
27392 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
27394         [BZ #16545]
27395         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
27396         model 1.
27398 2014-02-12  Richard Henderson  <rth@redhat.com>
27400         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
27401         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
27402         * sysdeps/unix/sysv/linux/alpha: Move directory from
27403         ports/sysdeps/unix/sysv/linux/alpha.
27404         * README: Update listing for alpha-*-linux-gnu.
27406 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
27408         * include/features.h: Update comment documenting feature test
27409         macros.
27410         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
27411         _DEFAULT_SOURCE.
27412         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
27413         (_SVID_SOURCE): Likewise.
27414         (_DEFAULT_SOURCE): Update description of default features.
27415         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
27416         with _GNU_SOURCE.
27417         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
27418         (S_ISVTX): Likewise.
27419         * manual/math.texi (Mathematical Constants): Likewise.
27420         * manual/signal.texi (Interrupted Primitives): Likewise.
27421         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
27422         * math/test-matherr.c (_SVID_SOURCE): Do not define.
27423         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
27424         Don't refer to _SVID_SOURCE in warning text.
27426         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27428         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
27429         already defined.
27430         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
27431         * sysdeps/mips/dl-lookup.c: Remove.
27432         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
27434 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
27436         [BZ #16447]
27437         * math/auto-libm-test-in: Add testcase for expl.
27438         * math/auto-libm-test-out: Regenerate.
27439         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
27440         calculation of unsafe.
27441         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
27443 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
27445         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
27446         * sysdeps/unix/sysv/linux/aarch64: Move directory from
27447         ports/sysdeps/unix/sysv/linux/aarch64.
27448         * README: Update listing for aarch64*-*-linux-gnu.
27450 2014-02-11  Will Newton  <will.newton@linaro.org>
27452         * manual/probes.texi (Mathematical Function Probes): Use
27453         "triggered" instead of "hit".
27455         * manual/probes.texi (Internal Probes): Add documentation
27456         of setjmp, longjmp and longjmp_target probes.
27458         * include/stap-probe.h: Add comment about probe argument
27459         format.
27461         * malloc/mtrace.c (attribute_hidden): Remove unused macro
27462         definition.  (tr_where, tr_freehook, tr_mallochook,
27463         tr_reallochook, tr_memalignhook): Use ANSI protoype.
27465 2014-02-11  David S. Miller  <davem@davemloft.net>
27467         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
27468         processing int_tests.
27470 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
27472         * sysdeps/mips: Move directory from ports/sysdeps/mips.
27473         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
27474         * sysdeps/unix/sysv/linux/mips: Move directory from
27475         ports/sysdeps/unix/sysv/linux/mips.
27476         * README: Update listing for mips-*-linux-gnu and
27477         mips64-*-linux-gnu.
27479 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
27481         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
27482         * sysdeps/unix/sysv/linux/m68k: Move directory from
27483         ports/sysdeps/unix/sysv/linux/m68k.
27484         * README: Update listing for m68k-*-linux-gnu.
27486 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
27488         * sysdeps/tile: Move directory from ports/sysdeps/tile.
27489         * sysdeps/unix/sysv/linux/generic: Move directory from
27490         ports/sysdeps/unix/sysv/linux/generic.
27491         * sysdeps/unix/sysv/linux/tile: Move directory from
27492         ports/sysdeps/unix/sysv/linux/tile.
27493         * README: Update listing for tile*-*-linux-gnu.
27495 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
27497         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
27498         __builtin_expect.
27499         * benchtests/bench-memmem.c (simple_memmem): Likewise.
27500         * catgets/open_catalog.c (__open_catalog): Likewise.
27501         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
27502         * debug/confstr_chk.c: Likewise.
27503         * debug/fread_chk.c (__fread_chk): Likewise.
27504         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
27505         * debug/getgroups_chk.c: Likewise.
27506         * debug/mbsnrtowcs_chk.c: Likewise.
27507         * debug/mbsrtowcs_chk.c: Likewise.
27508         * debug/mbstowcs_chk.c: Likewise.
27509         * debug/memcpy_chk.c: Likewise.
27510         * debug/memmove_chk.c: Likewise.
27511         * debug/mempcpy_chk.c: Likewise.
27512         * debug/memset_chk.c: Likewise.
27513         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
27514         * debug/strcat_chk.c (__strcat_chk): Likewise.
27515         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
27516         * debug/strncat_chk.c (__strncat_chk): Likewise.
27517         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
27518         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
27519         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
27520         * debug/wcpncpy_chk.c: Likewise.
27521         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
27522         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
27523         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
27524         * debug/wcsncpy_chk.c: Likewise.
27525         * debug/wcsnrtombs_chk.c: Likewise.
27526         * debug/wcsrtombs_chk.c: Likewise.
27527         * debug/wcstombs_chk.c: Likewise.
27528         * debug/wmemcpy_chk.c: Likewise.
27529         * debug/wmemmove_chk.c: Likewise.
27530         * debug/wmempcpy_chk.c: Likewise.
27531         * debug/wmemset_chk.c: Likewise.
27532         * dirent/scandirat.c (SCANDIRAT): Likewise.
27533         * dlfcn/dladdr1.c (dladdr1): Likewise.
27534         * dlfcn/dladdr.c (dladdr): Likewise.
27535         * dlfcn/dlclose.c (dlclose_doit): Likewise.
27536         * dlfcn/dlerror.c (__dlerror): Likewise.
27537         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
27538         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
27539         * dlfcn/dlopen.c (dlopen_doit): Likewise.
27540         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
27541         * dlfcn/dlsym.c (dlsym_doit): Likewise.
27542         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
27543         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
27544         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
27545         Likewise.
27546         * elf/dl-conflict.c: Likewise.
27547         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
27548         * elf/dl-dst.h: Likewise.
27549         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
27550         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
27551         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
27552         * elf/dl-init.c (call_init, _dl_init): Likewise.
27553         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
27554         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
27555         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
27556         Likewise.
27557         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
27558         Likewise.
27559         * elf/dl-minimal.c (__libc_memalign): Likewise.
27560         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
27561         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
27562         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
27563         * elf/dl-sym.c (do_sym): Likewise.
27564         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
27565         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
27566         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
27567         * elf/dl-writev.h (_dl_writev): Likewise.
27568         * elf/ldconfig.c (search_dir): Likewise.
27569         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
27570         (dl_main): Likewise.
27571         * elf/setup-vdso.h (setup_vdso): Likewise.
27572         * grp/compat-initgroups.c (compat_call): Likewise.
27573         * grp/fgetgrent.c (fgetgrent): Likewise.
27574         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
27575         * grp/putgrent.c (putgrent): Likewise.
27576         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
27577         Likewise.
27578         * hurd/hurdinit.c: Likewise.
27579         * iconvdata/8bit-gap.c (struct): Likewise.
27580         * iconvdata/ansi_x3.110.c : Likewise.
27581         * iconvdata/big5.c : Likewise.
27582         * iconvdata/big5hkscs.c : Likewise.
27583         * iconvdata/cp1255.c: Likewise.
27584         * iconvdata/cp1258.c : Likewise.
27585         * iconvdata/cp932.c : Likewise.
27586         * iconvdata/euc-cn.c: Likewise.
27587         * iconvdata/euc-jisx0213.c : Likewise.
27588         * iconvdata/euc-jp.c: Likewise.
27589         * iconvdata/euc-jp-ms.c : Likewise.
27590         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
27591         * iconvdata/gb18030.c : Likewise.
27592         * iconvdata/gbbig5.c (const): Likewise.
27593         * iconvdata/gbgbk.c: Likewise.
27594         * iconvdata/gbk.c : Likewise.
27595         * iconvdata/ibm1364.c : Likewise.
27596         * iconvdata/ibm930.c : Likewise.
27597         * iconvdata/ibm932.c: Likewise.
27598         * iconvdata/ibm933.c : Likewise.
27599         * iconvdata/ibm935.c : Likewise.
27600         * iconvdata/ibm937.c : Likewise.
27601         * iconvdata/ibm939.c : Likewise.
27602         * iconvdata/ibm943.c: Likewise.
27603         * iconvdata/iso_11548-1.c: Likewise.
27604         * iconvdata/iso-2022-cn.c : Likewise.
27605         * iconvdata/iso-2022-cn-ext.c : Likewise.
27606         * iconvdata/iso-2022-jp-3.c: Likewise.
27607         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
27608         * iconvdata/iso-2022-kr.c : Likewise.
27609         * iconvdata/iso646.c (gconv_end): Likewise.
27610         * iconvdata/iso_6937-2.c : Likewise.
27611         * iconvdata/iso_6937.c : Likewise.
27612         * iconvdata/iso8859-1.c: Likewise.
27613         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
27614         * iconvdata/shift_jisx0213.c : Likewise.
27615         * iconvdata/sjis.c : Likewise.
27616         * iconvdata/t.61.c : Likewise.
27617         * iconvdata/tcvn5712-1.c : Likewise.
27618         * iconvdata/tscii.c: Likewise.
27619         * iconvdata/uhc.c : Likewise.
27620         * iconvdata/unicode.c (gconv_end): Likewise.
27621         * iconvdata/utf-16.c (gconv_end): Likewise.
27622         * iconvdata/utf-32.c (gconv_end): Likewise.
27623         * iconvdata/utf-7.c (base64): Likewise.
27624         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
27625         * iconv/gconv_close.c (__gconv_close): Likewise.
27626         * iconv/gconv_open.c (__gconv_open): Likewise.
27627         * iconv/gconv_simple.c (internal_ucs4_loop_single)
27628         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
27629         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
27630         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
27631         (ucs4le_internal_loop_single): Likewise.
27632         * iconv/iconv.c (iconv): Likewise.
27633         * iconv/iconv_close.c: Likewise.
27634         * iconv/loop.c (SINGLE): Likewise.
27635         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
27636         * include/atomic.h: Likewise.
27637         * inet/inet6_option.c (option_alloc): Likewise.
27638         * intl/bindtextdom.c (set_binding_values): Likewise.
27639         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
27640         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
27641         * intl/localealias.c (read_alias_file): Likewise.
27642         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
27643         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
27644         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
27645         * libio/fmemopen.c (fmemopen): Likewise.
27646         * libio/iofgets.c (_IO_fgets): Likewise.
27647         * libio/iofgets_u.c (fgets_unlocked): Likewise.
27648         * libio/iofgetws.c (fgetws): Likewise.
27649         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
27650         * libio/iogetdelim.c (_IO_getdelim): Likewise.
27651         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
27652         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
27653         * locale/findlocale.c (_nl_find_locale): Likewise.
27654         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
27655         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
27656         Likewise.
27657         * locale/setlocale.c (setlocale): Likewise.
27658         * login/programs/pt_chown.c (main): Likewise.
27659         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
27660         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
27661         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
27662         (mmap, mmap64, mremap, munmap): Likewise.
27663         * math/e_exp2l.c: Likewise.
27664         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
27665         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
27666         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
27667         * math/s_catan.c (__catan): Likewise.
27668         * math/s_catanf.c (__catanf): Likewise.
27669         * math/s_catanh.c (__catanh): Likewise.
27670         * math/s_catanhf.c (__catanhf): Likewise.
27671         * math/s_catanhl.c (__catanhl): Likewise.
27672         * math/s_catanl.c (__catanl): Likewise.
27673         * math/s_ccosh.c (__ccosh): Likewise.
27674         * math/s_ccoshf.c (__ccoshf): Likewise.
27675         * math/s_ccoshl.c (__ccoshl): Likewise.
27676         * math/s_cexp.c (__cexp): Likewise.
27677         * math/s_cexpf.c (__cexpf): Likewise.
27678         * math/s_cexpl.c (__cexpl): Likewise.
27679         * math/s_clog10.c (__clog10): Likewise.
27680         * math/s_clog10f.c (__clog10f): Likewise.
27681         * math/s_clog10l.c (__clog10l): Likewise.
27682         * math/s_clog.c (__clog): Likewise.
27683         * math/s_clogf.c (__clogf): Likewise.
27684         * math/s_clogl.c (__clogl): Likewise.
27685         * math/s_csin.c (__csin): Likewise.
27686         * math/s_csinf.c (__csinf): Likewise.
27687         * math/s_csinh.c (__csinh): Likewise.
27688         * math/s_csinhf.c (__csinhf): Likewise.
27689         * math/s_csinhl.c (__csinhl): Likewise.
27690         * math/s_csinl.c (__csinl): Likewise.
27691         * math/s_csqrt.c (__csqrt): Likewise.
27692         * math/s_csqrtf.c (__csqrtf): Likewise.
27693         * math/s_csqrtl.c (__csqrtl): Likewise.
27694         * math/s_ctan.c (__ctan): Likewise.
27695         * math/s_ctanf.c (__ctanf): Likewise.
27696         * math/s_ctanh.c (__ctanh): Likewise.
27697         * math/s_ctanhf.c (__ctanhf): Likewise.
27698         * math/s_ctanhl.c (__ctanhl): Likewise.
27699         * math/s_ctanl.c (__ctanl): Likewise.
27700         * math/w_pow.c: Likewise.
27701         * math/w_powf.c: Likewise.
27702         * math/w_powl.c: Likewise.
27703         * math/w_scalb.c (sysv_scalb): Likewise.
27704         * math/w_scalbf.c (sysv_scalbf): Likewise.
27705         * math/w_scalbl.c (sysv_scalbl): Likewise.
27706         * misc/error.c (error_tail): Likewise.
27707         * misc/pselect.c (__pselect): Likewise.
27708         * nis/nis_callback.c (__nis_create_callback): Likewise.
27709         * nis/nis_call.c (__nisfind_server): Likewise.
27710         * nis/nis_creategroup.c (nis_creategroup): Likewise.
27711         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
27712         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
27713         * nis/nis_getservlist.c (nis_getservlist): Likewise.
27714         * nis/nis_lookup.c (nis_lookup): Likewise.
27715         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
27716         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
27717         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
27718         * nis/nis_xdr.c (xdr_endpoint): Likewise.
27719         * nis/nss_compat/compat-grp.c (getgrent_next_file)
27720         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
27721         * nis/nss_compat/compat-initgroups.c (add_group)
27722         (internal_getgrent_r): Likewise.
27723         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
27724         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
27725         * nis/nss_compat/compat-spwd.c (getspent_next_file)
27726         (internal_getspnam_r): Likewise.
27727         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
27728         (_nss_nis_getaliasbyname_r): Likewise.
27729         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
27730         (_nss_nis_getntohost_r): Likewise.
27731         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
27732         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
27733         (_nss_nis_getgrgid_r): Likewise.
27734         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
27735         (internal_nis_gethostent_r, internal_gethostbyname2_r)
27736         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
27737         (_nss_nis_gethostbyname4_r): Likewise.
27738         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
27739         (initgroups_netid): Likewise.
27740         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
27741         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
27742         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
27743         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
27744         (_nss_nis_getprotobynumber_r): Likewise.
27745         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
27746         (_nss_nis_getsecretkey): Likewise.
27747         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
27748         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
27749         (_nss_nis_getpwuid_r): Likewise.
27750         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
27751         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
27752         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
27753         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
27754         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
27755         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
27756         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
27757         Likewise.
27758         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
27759         (_nss_nisplus_getntohost_r): Likewise.
27760         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
27761         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
27762         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
27763         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
27764         Likewise.
27765         * nis/nss_nisplus/nisplus-initgroups.c
27766         (_nss_nisplus_initgroups_dyn): Likewise.
27767         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
27768         (_nss_nisplus_getnetbyaddr_r): Likewise.
27769         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
27770         (_nss_nisplus_getprotobynumber_r): Likewise.
27771         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
27772         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
27773         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
27774         Likewise.
27775         * nis/nss_nisplus/nisplus-service.c
27776         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
27777         (_nss_nisplus_getservbyport_r): Likewise.
27778         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
27779         (_nss_nisplus_getspnam_r): Likewise.
27780         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
27781         Likewise.
27782         * nscd/aicache.c (addhstaiX): Likewise.
27783         * nscd/cache.c (cache_search, prune_cache): Likewise.
27784         * nscd/connections.c (register_traced_file, send_ro_fd)
27785         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
27786         (main_loop_epoll): Likewise.
27787         * nscd/grpcache.c (addgrbyX): Likewise.
27788         * nscd/hstcache.c (addhstbyX): Likewise.
27789         * nscd/initgrcache.c (addinitgroupsX): Likewise.
27790         * nscd/mem.c (gc, mempool_alloc): Likewise.
27791         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
27792         (addinnetgrX): Likewise.
27793         * nscd/nscd-client.h (__nscd_acquire_maplock)
27794         (__nscd_drop_map_ref): Likewise.
27795         * nscd/nscd_getai.c (__nscd_getai): Likewise.
27796         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
27797         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
27798         Likewise.
27799         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
27800         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
27801         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
27802         (__nscd_get_map_ref): Likewise.
27803         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
27804         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
27805         Likewise.
27806         * nscd/pwdcache.c (addpwbyX): Likewise.
27807         * nscd/selinux.c (preserve_capabilities): Likewise.
27808         * nscd/servicescache.c (addservbyX): Likewise.
27809         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
27810         * posix/fnmatch.c (fnmatch): Likewise.
27811         * posix/getopt.c (_getopt_internal_r): Likewise.
27812         * posix/glob.c (glob, glob_in_dir): Likewise.
27813         * posix/wordexp.c (exec_comm_child): Likewise.
27814         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
27815         (getanswer_r, gaih_getanswer_slice): Likewise.
27816         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
27817         * resolv/res_init.c: Likewise.
27818         * resolv/res_mkquery.c (res_nmkquery): Likewise.
27819         * resolv/res_query.c (__libc_res_nquery): Likewise.
27820         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
27821         Likewise.
27822         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
27823         * stdio-common/perror.c (perror): Likewise.
27824         * stdio-common/printf_fp.c (___printf_fp): Likewise.
27825         * stdio-common/tmpnam.c (tmpnam): Likewise.
27826         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
27827         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
27828         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
27829         Likewise.
27830         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
27831         * stdlib/putenv.c (putenv): Likewise.
27832         * stdlib/setenv.c (__add_to_environ): Likewise.
27833         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
27834         * stdlib/strtol_l.c (INTERNAL): Likewise.
27835         * string/memmem.c (memmem): Likewise.
27836         * string/strerror.c (strerror): Likewise.
27837         * string/strnlen.c (__strnlen): Likewise.
27838         * string/test-memmem.c (simple_memmem): Likewise.
27839         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
27840         * sunrpc/pm_getport.c (__get_socket): Likewise.
27841         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
27842         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
27843         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
27844         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
27845         Likewise.
27846         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
27847         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
27848         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
27849         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
27850         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
27851         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
27852         Likewise.
27853         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
27854         Likewise.
27855         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
27856         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
27857         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
27858         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
27859         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
27860         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
27861         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
27862         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
27863         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
27864         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
27865         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
27866         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
27867         Likewise.
27868         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
27869         Likewise.
27870         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
27871         Likewise.
27872         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
27873         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
27874         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
27875         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
27876         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
27877         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
27878         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
27879         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
27880         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
27881         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
27882         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
27883         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27884         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
27885         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
27886         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27887         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
27888         Likewise.
27889         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
27890         Likewise.
27891         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
27892         Likewise.
27893         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
27894         Likewise.
27895         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27896         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27897         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
27898         Likewise.
27899         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
27900         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
27901         * sysdeps/posix/opendir.c (__opendirat): Likewise.
27902         * sysdeps/posix/sleep.c: Likewise.
27903         * sysdeps/posix/tempname.c: Likewise.
27904         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
27905         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
27906         Likewise.
27907         * sysdeps/powerpc/powerpc32/dl-machine.h
27908         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
27909         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
27910         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
27911         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
27912         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
27913         Likewise.
27914         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
27915         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
27916         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
27917         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
27918         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
27919         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
27920         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
27921         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
27922         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
27923         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
27924         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
27925         (elf_machine_lazy_rel): Likewise.
27926         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
27927         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
27928         (elf_machine_lazy_rel): Likewise.
27929         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
27930         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
27931         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
27932         * sysdeps/unix/grantpt.c (grantpt): Likewise.
27933         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
27934         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
27935         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
27936         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
27937         Likewise.
27938         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
27939         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
27940         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
27941         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
27942         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
27943         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
27944         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
27945         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
27946         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
27947         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
27948         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
27949         Likewise.
27950         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
27951         (__posix_fallocate64_l64): Likewise.
27952         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
27953         (posix_fallocate): Likewise.
27954         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
27955         Likewise.
27956         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27957         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
27958         (getifaddrs_internal): Likewise.
27959         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
27960         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
27961         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
27962         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
27963         * sysdeps/unix/sysv/linux/posix_fallocate64.c
27964         (__posix_fallocate64_l64): Likewise.
27965         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
27966         Likewise.
27967         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
27968         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
27969         (__get_clockfreq): Likewise.
27970         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
27971         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
27972         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
27973         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27974         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27975         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
27976         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
27977         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
27978         Likewise.
27979         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
27980         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
27981         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
27982         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
27983         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
27984         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
27985         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
27986         Likewise.
27987         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
27988         (posix_fallocate): Likewise.
27989         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27990         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
27991         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
27992         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
27993         (elf_machine_rela, elf_machine_rela_relative)
27994         (elf_machine_lazy_rel): Likewise.
27995         * time/asctime.c (asctime_internal): Likewise.
27996         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
27997         * time/tzset.c (__tzset_parse_tz): Likewise.
27998         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
27999         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
28000         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
28001         * wcsmbs/wcsmbsload.h: Likewise.
28003         [BZ #15894]
28004         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
28006         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
28007         (arena_get2): Remove THREAD_STATS conditionals.
28008         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
28009         (__malloc_stats, int): Likewise.
28011 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
28013         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
28014         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
28016         * manual/setjmp.texi: Fix typos/grammar errors.
28018         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
28019         Only return early when n is <= 0.  Delete unused return statement.
28021         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
28022         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
28023         * debug/tst-longjmp_chk3.c: New file.
28025         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
28026         (test_main): Replace code with set_fortify_handler call.
28027         * debug/test-strcpy_chk.c: Likewise.
28028         * debug/tst-chk1.c: Likewise.
28029         * debug/tst-longjmp_chk.c: Likewise.
28030         * test-skeleton.c: Include fcntl.h & paths.h
28031         (set_fortify_handler): Define.
28033         * debug/tst-longjmp_chk.c: Add header comment and include
28034         ../test-skeleton.c.
28035         (do_test): Mark static.
28036         (TEST_FUNCTION): Define.
28038         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
28039         (IP_PMTUDISC_INTERFACE): Likewise.
28040         (IP_MULTICAST_IF): Likewise.
28041         (IP_MULTICAST_TTL): Likewise.
28042         (IP_MULTICAST_LOOP): Likewise.
28043         (IP_ADD_MEMBERSHIP): Likewise.
28044         (IP_DROP_MEMBERSHIP): Likewise.
28045         (IP_UNBLOCK_SOURCE): Likewise.
28046         (IP_BLOCK_SOURCE): Likewise.
28047         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
28048         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
28049         (IP_MSFILTER): Likewise.
28050         (MCAST_JOIN_GROUP): Likewise.
28051         (MCAST_BLOCK_SOURCE): Likewise.
28052         (MCAST_UNBLOCK_SOURCE): Likewise.
28053         (MCAST_LEAVE_GROUP): Likewise.
28054         (MCAST_JOIN_SOURCE_GROUP): Likewise.
28055         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
28056         (MCAST_MSFILTER): Likewise.
28057         (IP_MULTICAST_ALL): Likewise.
28058         (IP_UNICAST_IF): Likewise.
28060         * timezone/Makefile: Delete $(have-ksh) check.
28061         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
28062         * timezone/tzselect.ksh: Add +x mode bits.
28064         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
28065         (ANON_INODE_FS_MAGIC): Likewise.
28066         (BDEVFS_MAGIC): Likewise.
28067         (BINFMTFS_MAGIC): Likewise.
28068         (BTRFS_TEST_MAGIC): Likewise.
28069         (CRAMFS_MAGIC_WEND): Likewise.
28070         (DEBUGFS_MAGIC): Likewise.
28071         (ECRYPTFS_SUPER_MAGIC): Likewise.
28072         (EXT3_SUPER_MAGIC): Likewise.
28073         (EXT4_SUPER_MAGIC): Likewise.
28074         (FUTEXFS_SUPER_MAGIC): Likewise.
28075         (HOSTFS_SUPER_MAGIC): Likewise.
28076         (HUGETLBFS_MAGIC): Likewise.
28077         (MINIX3_SUPER_MAGIC): Likewise.
28078         (MTD_INODE_FS_MAGIC): Likewise.
28079         (NILFS_SUPER_MAGIC): Likewise.
28080         (OPENPROM_SUPER_MAGIC): Likewise.
28081         (PIPEFS_MAGIC): Likewise.
28082         (PSTOREFS_MAGIC): Likewise.
28083         (QNX6_SUPER_MAGIC): Likewise.
28084         (RAMFS_MAGIC): Likewise.
28085         (REISERFS_SUPER_MAGIC_STRING): Likewise.
28086         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
28087         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
28088         (SECURITYFS_MAGIC): Likewise.
28089         (SELINUX_MAGIC): Likewise.
28090         (SMACK_MAGIC): Likewise.
28091         (SOCKFS_MAGIC): Likewise.
28092         (SQUASHFS_MAGIC): Likewise.
28093         (STACK_END_MAGIC): Likewise.
28094         (TMPFS_MAGIC): Likewise.
28095         (USBDEVICE_SUPER_MAGIC): Likewise.
28096         (V9FS_MAGIC): Likewise.
28097         (XENFS_SUPER_MAGIC): Likewise.
28098         (CRAMFS_MAGIC): Fix typo in comment.
28099         (EXT2_SUPER_MAGIC): Update comment.
28100         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
28102 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
28104         * sysdeps/arm: Move directory from ports/sysdeps/arm.
28105         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
28106         * sysdeps/unix/sysv/linux/arm: Move directory from
28107         ports/sysdeps/unix/sysv/linux/arm.
28108         * README: Update listing for arm-*-linux-gnueabi.
28110         * README: Remove mention of am33.
28112 2014-02-07  Roland McGrath  <roland@hack.frob.com>
28114         * bits/sigset.h (__sigemptyset): Use a statement expression rather
28115         than the comma operator, to avoid "rhs of comma has no effect"
28116         compiler warnings.
28117         (__sigfillset, __sigandset, __sigorset): Likewise.
28118         * include/signal.h (__sigemptyset): Likewise.
28119         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
28121 2014-02-07  Allan McRae  <allan@archlinux.org>
28123         * version.h (RELEASE): Set to "development".
28124         (VERSION): Set to "2.19.90"
28125         * NEWS: Add 2.20 section.
28127 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
28129         [BZ #16529]
28130         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
28132 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
28134         * manual/contrib.texi: Update entry for Carlos O'Donell,
28135         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
28137 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
28139         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
28141         * sysdeps/unix/sysv/linux/kernel-features.h
28142         [__LINUX_KERNEL_VERSION >= 0x020621]
28143         (__ASSUME_PROC_PID_TASK_COMM): Define.
28145 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
28147         [BZ #16398]
28148         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
28149         conversion when destination buffer does not have enough space.
28150         * libio/tst-ftell-partial-wide.c: New test case.
28151         * libio/Makefile (tests): Add tst-ftell-partial-wide.
28153         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
28154         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
28155         Leonard and Allan McRae.
28157 2014-02-04  David S. Miller  <davem@davemloft.net>
28159         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
28160         32-bit.
28162 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
28165         New file
28166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
28167         New file
28168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
28169         New file.
28170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
28171         New file.
28172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
28173         New file.
28174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
28175         New file.
28176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
28177         New file.
28178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
28179         New file.
28180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
28181         New file.
28182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
28183         New file.
28184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
28185         New file.
28186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
28187         New file.
28188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
28189         New file.
28191 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28193         * nptl/shlib-versions: Change powerpc*le start to 2.17.
28194         * shlib-versions: Likewise.
28196 2014-02-04  Roland McGrath  <roland@hack.frob.com>
28197             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28199         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
28200         (abilist-pattern): New variable, set to %-le.abilist.
28202         * Makerules (abilist-pattern): New variable.
28203         (vpath): Use $(abilist-pattern) in place of %.abilist.
28204         (check-abi-% pattern rule): Likewise.
28205         (check-abi, update-abi): Likewise.
28207 2014-02-04  Eric Wong  <normalperson@yhbt.net>
28209         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28211 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
28213         * manual/startup.texi: Add next, previous, and top entries for
28214         the `Program Arguments' and `Environment Variables' nodes.
28216 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
28218         * manual/macros.texi: Add comments before MTASC-safety macros.
28220         * manual/users.texi: Document MTASC-safety properties.
28222         * manual/threads.texi (pthread_key_create, pthread_key_delete)
28223         (pthread_getspecific, pthread_setspecific): Format with
28224         @deftypefun, and add @safety note.
28225         * manual/signal.texi: Move comments that analyze the above
28226         functions to their home place.
28228 2014-02-03  Allan McRae  <allan@archlinux.org>
28230         * po/sl.po: Update Slovenian translation from translation project.
28232 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
28234         * manual/time.texi (timegm): Add missing blank after @c.
28235         Reported by Joseph Myers <joseph@codesourcery.com>.
28237 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
28239         * manual/check-safety.sh: New.
28240         * manual/Makefile ($(objpfx)stamp-summary): Run it.
28242         * manual/terminal.texi: Document MTASC-safety properties.
28244         * manual/filesys.texi: Document MTASC-safety properties.
28246         * manual/errno.texi: Document MTASC-safety properties.
28248         * manual/intro.texi: Document safety identifiers and
28249         conditionals.
28251         * manual/string.texi (wcstok): Fix prototype.
28252         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
28254         * manual/time.texi: Document MTASC-safety properties.
28256         * manual/string.texi: Document MTASC-safety properties.
28258         * manual/threads.texi: Document MTASC-safety properties.
28260         * manual/stdio.texi: Document MTASC-safety properties.
28262         * manual/syslog.texi: Document MTASC-safety properties.
28264         * manual/sysinfo.texi: Document MTASC-safety properties.
28266         * manual/startup.texi: Document MTASC-safety properties.
28268         * manual/socket.texi: Document MTASC-safety properties.
28270         * manual/signal.texi: Document MTASC-safety properties.
28272 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
28274         * manual/setjmp.texi: Document MTASC-safety properties.
28276         * manual/search.texi: Document MTASC-safety properties.
28278         * manual/resource.texi: Document MTASC-safety properties.
28280         * manual/process.texi: Document MTASC-safety properties.
28282         * manual/platform.texi: Document MTASC-safety properties.
28284         * manual/pipe.texi: Document MTASC-safety properties.
28286         * manual/pattern.texi: Document MTASC-safety properties.
28288         * manual/message.texi: Document MTASC-safety properties.
28290         [BZ #12751]
28291         * manual/memory.texi: Document MTASC-safety properties.
28293         * manual/math.texi: Document MTASC-safety properties.
28295         * manual/locale.texi: Document MTASC-safety properties.
28297         * manual/llio.texi: Document MTASC-safety properties.
28299         * manual/libdl.texi: New.
28301         * manual/lang.texi: Document MTASC-safety properties.
28303         * manual/job.texi: Document MTASC-safety properties.
28305         * manual/getopt.texi: Document MTASC-safety properties.
28307         * manual/ctype.texi: Document MTASC-safety properties.
28309 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
28311         [BZ #16046]
28312         * csu/libc-tls.c (static_map): Remove variable.
28313         (__libc_setup_tls): Use main executable's link map for TLS data.
28314         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
28315         casing for LM_ID_BASE and GL(dl_nns).
28316         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
28317         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
28318         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
28319         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
28320         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
28321         member.
28322         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
28323         l_phnum members.
28325 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
28327         * manual/debug.texi: Document MTASC-safety properties.
28329 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
28331         [BZ #16510]
28332         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
28333         of __x86_64__ when disabling x87 inline functions.
28335 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
28337         * manual/charset.texi: Document MTASC-safety properties.
28339         * manual/crypt.texi: Document MTASC-safety properties.
28341         * manual/conf.texi: Document MTASC-safety properties.
28343         * manual/arith.texi: Document MTASC-safety properties.
28345         * manual/argp.texi: Document MTASC-safety properties.
28347         * manual/macros.texi: Introduce macros to document multi
28348         thread, asynchronous signal and asynchronous cancellation
28349         safety properties.
28350         * manual/intro.texi: Introduce the properties themselves.
28352 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
28354         * sysdeps/sh/sh4/Makefile: New file.
28356 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
28358         * math/gen-libm-test.pl ($srcdir): New variable.
28359         ($auto_input): Use it.
28361 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
28363         [BZ #16506]
28364         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
28365         access beyond array bounds when parsing netgroups file.
28367         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
28368         the old buffer before realloc.
28370 2014-01-27  Allan McRae  <allan@archlinux.org>
28372         * po/fr.po: Update French translation from translation project.
28374 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
28376         * sysdeps/sh/libm-test-ulps: Regenerate.
28378 2014-01-24  David S. Miller  <davem@davemloft.net>
28380         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
28382 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
28384         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
28385         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
28387 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
28389         [BZ #16474]
28390         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
28391         string pointers after reallocation.
28393 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
28395         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
28396         __SH4A__ instead of __SH_FPU_ANY__.
28398 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
28400         * sysdeps/sh/fpu_control.h: New file.
28401         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
28402         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
28403         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
28404         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
28405         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
28406         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
28407         * sysdeps/sh/sys/ucontext.h: Remove.
28408         * sysdeps/sh/sys: Remove directory.
28410 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28412         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
28413         s390/sys/ucontext.h.
28414         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
28415         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
28417 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
28419         [BZ #15605]
28420         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
28422 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28424         [BZ#16431]
28425         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
28426         Adjust the vDSO correctly for internal calls.
28427         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
28429 2014-01-20  Allan McRae  <allan@archlinux.org>
28431         * po/ca.po: Update Catalan translation from translation project.
28433 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
28435         * sysdeps/s390/sotruss-lib.c: New file.
28437 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28439         [BZ#16430]
28440         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
28441         (__GI___gettimeofday): Alias for a different internal symbol to avoid
28442         local calls issues by not having a PLT stub required for IFUNC calls.
28443         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
28445 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
28447         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
28448         * math/test-fpucw-static.c: Likewise.
28450 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
28452         [BZ #16453]
28453         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
28455 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28457         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
28458         implementation for powerpc.
28460 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
28462         [BZ #14782]
28463         * sysdeps/posix/system.c (__libc_system): Do not enable
28464         asynchronous cancellation.
28466 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28468         [BZ #16427]
28469         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
28470         handling only for numbers special also in the IEEE case.
28472 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28474         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
28476 2014-01-11  Allan McRae  <allan@archlinux.org>
28478         * po/bg.po: Update Bulgarian translation from translation project.
28480         * po/de.po: Update German translation from translation project.
28482 2014-01-10  Roland McGrath  <roland@hack.frob.com>
28484         * sysdeps/generic/gcc-compat.h: New file.
28486 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
28488         * benchtests/asin-inputs: Correct slow inputs.
28489         * benchtests/acos-inputs: Likewise.
28491 2014-01-10  Allan McRae  <allan@archlinux.org>
28493         * po:sv.po: Update Swedish translation from translation project.
28495         * po/vi.po: Update Vietnamese translation from translation project.
28497         * po/eo.po: Update Esperanto translation from translation project.
28499         * po/cs.po: Update Czech translation from translation project.
28501         * po/nl.po: Update Dutch translation from translation project.
28503         * po/pl.po: Update Polish translation from translation project.
28505         * po/ru.po: Update Russian translation from translation project.
28507         * po/uk.po: Update Ukrainian translation from translation project.
28509 2014-01-08  Brooks Moses  <bmoses@google.com>
28511         * elf/dl-load.c: Fix comment typo.
28513 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
28515         * po/header.pot: Rename to...
28516         * po/pot.header: ... this.
28517         * po/Makefile: Use pot.header.
28519 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
28520             Maxim Kuvyrkov  <maxim@kugelworks.com>
28522         [BZ #16394]
28523         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
28524         SRC and DEST against LEN.
28526 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28528         [BZ #16414]
28529         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
28530         implementation.
28531         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
28533 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28535         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28537 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
28539         [BZ #16408]
28540         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
28541         for large positive arguments.
28543 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
28545         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
28547         * math/auto-libm-test-in: Mark various tests with
28548         xfail-rounding:ldbl-128ibm.
28549         * math/auto-libm-test-out: Regenerated.
28551         [BZ #16407]
28552         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
28553         Increase overflow threshold.
28555 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
28557         [BZ #14286]
28558         * stdio-common/vfprintf.c: Check for integer overflow.
28560 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28562         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
28563         the first argument and return value of __tls_get_addr_internal.
28565 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28567         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
28568         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
28570 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28572         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
28573         * sysdeps/s390/rtld-global-offsets.sym: New file.
28574         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
28575         GLIBC_2.19 symbol.
28576         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
28577         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
28578         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
28579         ... this.
28580         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
28581         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
28582         ... this.
28583         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
28584         Regenerate.
28585         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
28586         Regenerate.
28587         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
28588         halfs of GPRs for high_gprs contexts.
28589         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
28590         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
28591         field.
28592         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
28593         uc_flags field.
28594         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
28595         64 bit versions:
28596         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
28597         for high GPRs (uc_high_gprs) and for future extensions
28598         (__reserved).
28599         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
28600         for future extensions (__reserved).
28601         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
28602         64 bit versions:
28603         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
28604         SC_HIGHGPRS offset definition.
28605         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
28606         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
28608         * Versions.def: Add GLIBC_2.19 for libpthread.
28609         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
28610         siglongjmp for libpthread with GLIBC_2.19 symver.
28611         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
28612         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
28613         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
28614         * sysdeps/s390/__longjmp.c: New file.
28615         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
28616         * sysdeps/s390/longjmp.c: New file.
28617         * sysdeps/s390/setjmp.S: New file.
28618         * sysdeps/s390/sigjmp.S: New file.
28619         * sysdeps/s390/v1-longjmp.c: New file.
28620         * sysdeps/s390/v1-setjmp.h: New file.
28621         * sysdeps/s390/v1-sigjmp.c: New file.
28622         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
28623         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
28624         GLIBC_2.19 version.
28625         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
28626         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
28627         versioned symbols for ____longjmp_chk.
28628         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
28629         Likewise.
28630         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
28631         Regenerate.
28632         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
28633         Regenerate.
28634         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
28635         Regenerate.
28636         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
28637         Regenerate.
28638         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
28639         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
28640         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
28641         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
28642         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
28643         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
28644         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
28645         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
28646         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
28647         * sysdeps/s390/rtld-__longjmp.c: New file.
28648         * sysdeps/s390/rtld-setjmp.S: New file.
28650 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
28652         [BZ #16400]
28653         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
28654         Return -__logl (x) for small positive arguments without evaluating
28655         a polynomial.
28657 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
28659         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
28660         Rename to ...
28661         (__ptrace_peeksiginfo_args): ... this.
28662         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28663         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28664         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28666 2014-01-06  Allan McRae  <allan@archlinux.org>
28668         * inet/netinet/in.h: Fix typo in comment.
28670 2014-01-05  Andreas Jaeger  <aj@suse.de>
28672         * sysdeps/i386/fpu/libm-test-ulps: Update.
28674 2014-01-05  Allan McRae  <allan@archlinux.org>
28676         * po/libc.pot: Regenerated.
28678         * malloc/memusagestat.c: Fix gettext call formatting.
28680 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
28682         * nscd/nscd.c: Improve usage() output.
28684 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
28686         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
28687         * sysdeps/unix/sysv/linux/configure: Regenerated.
28688         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
28689         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
28691 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
28693         [BZ #16390]
28694         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
28695         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
28697 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28699         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
28700         extra tokens at end of #undef directive.
28701         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
28702         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
28703         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
28705 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
28707         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
28709         * math/auto-libm-test-in: Mark various tests with
28710         xfail-rounding:ldbl-128ibm.
28711         * math/auto-libm-test-out: Regenerated.
28713 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
28715         [BZ #16386]
28716         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
28717         numbers with subnormal high part when calculating exponent.
28719         [BZ #16385]
28720         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
28721         fabs.
28723         [BZ #16384]
28724         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
28725         M_LN2l.
28726         (__ieee754_acoshl): Use __log1pl not __log1p.
28728 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
28730         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
28731         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
28732         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
28733         (grow_heap, heap_trim, _int_new_arena, get_free_list)
28734         (reused_arena, arena_get2): Convert to GNU style.
28735         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
28736         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
28737         (memalign_check, __malloc_set_state): Likewise.
28738         * malloc/mallocbug.c (main): Likewise.
28739         * malloc/malloc.c (__malloc_assert, malloc_init_state)
28740         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
28741         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
28742         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
28743         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
28744         (__posix_memalign, malloc_info): Likewise.
28745         * malloc/malloc.h: Likewise.
28746         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
28747         (mallochook, memalignhook, reallochook, mabort): Likewise.
28748         * malloc/mcheck.h: Likewise.
28749         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
28750         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
28751         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
28752         * malloc/morecore.c (__default_morecore): Likewise.
28753         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
28754         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
28755         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
28756         (print_and_abort): Likewise.
28757         * malloc/obstack.h: Likewise.
28758         * malloc/set-freeres.c (__libc_freeres): Likewise.
28759         * malloc/tst-mallocstate.c (main): Likewise.
28760         * malloc/tst-mtrace.c (main): Likewise.
28761         * malloc/tst-realloc.c (do_test): Likewise.
28763 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
28765         [BZ #16366]
28766         * nscd/netgroupcache.c (do_notfound): New function.
28767         (addgetnetgrentX): Use it.
28769         [BZ # 16365]
28770         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
28771         NSS_STATUS_NOTFOUND.
28773 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
28775         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
28776         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28778 2014-01-01  Allan McRae  <allan@archlinux.org>
28780         * scripts/update-copyrights: Update configure input file suffix.
28782         * NEWS: Update copyright year.
28783         * catgets/gencat.c: Likewise.
28784         * csu/version.c: Likewise.
28785         * debug/catchsegv.sh: Likewise.
28786         * debug/pcprofiledump.c: Likewise.
28787         * debug/xtrace.sh: Likewise.
28788         * elf/ldconfig.c: Likewise.
28789         * elf/ldd.bash.in: Likewise.
28790         * elf/pldd.c: Likewise.
28791         * elf/sotruss.ksh: Likewise.
28792         * elf/sprof.c: Likewise.
28793         * iconv/iconv_prog.c: Likewise.
28794         * iconv/iconvconfig.c: Likewise.
28795         * locale/programs/locale.c: Likewise.
28796         * locale/programs/localedef.c: Likewise.
28797         * login/programs/pt_chown.c: Likewise.
28798         * malloc/memusage.sh: Likewise.
28799         * malloc/memusagestat.c: Likewise.
28800         * malloc/mtrace.pl: Likewise.
28801         * manual/libc.texinfo: Likewise.
28802         * nscd/nscd.c: Likewise.
28803         * nss/getent.c: Likewise.
28804         * nss/makedb.c: Likewise.
28805         * posix/getconf.c: Likewise.
28806         * scripts/test-installation.pl: Likewise.
28808         * All files with FSF copyright notices: Update copyright dates
28809         using scripts/update-copyrights.
28810         * intl/plural.c: Regenerated.
28811         * locale/programs/charmap-kw.h: Likewise.
28812         * locale/programs/locfile-kw.h: Likewise.
28814 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
28816         * sysdeps/unix/sysv/linux/configure: Regenerated.
28817         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
28818         the linux/fanotify.h header.
28819         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
28820         HAVE_LINUX_FANOTIFY_H is defined.
28822 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
28824         * benchtests/cos-inputs: New inputs.
28825         * benchtests/sin-inputs: Likewise.
28827         * benchtests/atan-inputs: New inputs. Fix name of multiple
28828         precision fallback inputs.
28830         * benchtests/atanh-inputs: New inputs.
28831         * benchtests/tanh-inputs: Likewise.
28833         * benchtests/acosh-inputs: New inputs.
28834         * benchtests/asinh-inputs: Likewise.
28836         * benchtests/cosh-inputs: New inputs.
28837         * benchtests/sinh-inputs: Likewise.
28839         * benchtests/acos-inputs: Add more inputs.
28840         * benchtests/asin-inputs: Likewise.
28842 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
28844         [BZ #16375]
28845         * manual/arith.texi: Fix spelling.
28846         * manual/charset.texi: Likewise.
28847         * manual/errno.texi: Likewise.
28848         * manual/filesys.texi: Likewise.
28849         * manual/lang.texi: Likewise.
28850         * manual/llio.texi: Likewise.
28851         * manual/locale.texi: Likewise.
28852         * manual/message.texi: Likewise.
28853         * manual/resource.texi: Likewise.
28854         * manual/search.texi: Likewise.
28855         * manual/setjmp.texi: Likewise.
28856         * manual/stdio.texi: Likewise.
28857         * manual/string.texi: Likewise.
28858         * manual/sysinfo.texi: Likewise.
28859         * manual/time.texi: Likewise.
28861 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
28863         * po/sl.po: New file.
28865 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
28867         * .gitignore: Add core/.gdbinit/.gdb_history.
28869 2013-12-27  Allan McRae  <allan@archlinux.org>
28871         [BZ #16369]
28872         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
28873         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
28875 2013-12-24  Brooks Moses  <bmoses@google.com>
28877         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
28878         all compilers that claim C++98 compliance, not just GCC.
28879         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
28880         Likewise.
28882 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
28884         * NEWS: Restore accidentally deleted bug-fix entries.
28886 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
28887             Ondřej Bílka  <neleai@seznam.cz>
28889         [BZ #15073]
28890         * malloc/malloc.c (_int_free): Perform sanity check only if we
28891         have_lock.
28893 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
28895         [BZ #12986]
28896         * manual/stdio.texi (String Input Conversions): Clarify that character
28897         classes are not supported.
28899 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28901         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28903 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
28905         [BZ #16337]
28906         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
28907         Calculate results for small negative arguments directly rather
28908         than using reflection formula with special underflow handling.
28910         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
28911         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
28912         sysdeps/unix/bsd/bsd4.4/syscalls.list.
28913         (fchflags): Likewise.
28914         (revoke): Likewise.
28915         (setlogin): Likewise.
28916         (sigaltstack): Likewise.
28917         (wait4): Likewise.
28918         (sigblock): Remove.
28919         (sigsetmask): Likewise.
28920         (wait3): Likewise.
28921         (waitpid): Likewise.
28922         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
28923         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
28924         file.
28925         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
28926         * sysdeps/unix/bsd/Makefile: ... here.
28927         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
28928         * sysdeps/unix/bsd/Versions: ... here.
28929         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
28930         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
28931         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
28932         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
28933         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
28934         * sysdeps/unix/bsd/sigblock.c: ... here.
28935         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
28936         * sysdeps/unix/bsd/sigsetmask.c: ... here.
28937         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
28938         * sysdeps/unix/bsd/sigvec.c: ... here.
28939         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
28940         * sysdeps/unix/bsd/tcdrain.c: ... here.
28941         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
28942         * sysdeps/unix/bsd/tcgetattr.c: ... here.
28943         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
28944         * sysdeps/unix/bsd/tcsetattr.c: ... here.
28945         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
28946         * sysdeps/unix/bsd/wait.c: ... here.
28947         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
28948         * sysdeps/unix/bsd/wait3.c: ... here.
28949         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
28950         * sysdeps/unix/bsd/waitpid.c: ... here.
28952 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
28954         [BZ #16356]
28955         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
28956         round-to-nearest for [!USE_AS_EXPM1L].
28957         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
28958         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
28959         more tests of exp and exp10.  Expect some exp10 tests to miss
28960         exceptions or fail in directed rounding modes.
28961         * math/auto-libm-test-out: Regenerated.
28962         * math/libm-test.inc (exp10_tonearest_test_data): New array.
28963         (exp10_test_tonearest): New function.
28964         (exp10_towardzero_test_data): New array.
28965         (exp10_test_towardzero): New function.
28966         (exp10_downward_test_data): New array.
28967         (exp10_test_downward): New function.
28968         (exp10_upward_test_data): New array.
28969         (exp10_test_upward): New function.
28970         (main): Call the new functions.
28971         * sysdeps/i386/fpu/libm-test-ulps: Update.
28972         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28974 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
28976         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
28977         asinh, atan, atan2, atanh, cbrt, cos and cosh.
28978         * math/auto-libm-test-out: Regenerated.
28979         * math/libm-test.inc (acosh_test_data): Add more tests.
28980         (atanh_test_data): Likewise.
28981         (ceil_test_data): Likewise.
28982         (copysign_test_data): Likewise.
28983         * sysdeps/i386/fpu/libm-test-ulps: Update.
28984         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28986         * timezone/checktab.awk: Update from tzcode 2013i.
28987         * timezone/private.h: Likewise.
28988         * timezone/scheck.c: Likewise.
28989         * timezone/tzfile.h: Likewise.
28990         * timezone/tzselect.ksh: Likewise.
28991         * timezone/zdump.c: Likewise.
28992         * timezone/zic.c: Likewise.
28994         * math/auto-libm-test-in: Add tests of cpow.
28995         * math/auto-libm-test-out: Regenerated.
28996         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
28997         * math/gen-auto-libm-tests.c (func_calc_method): Add value
28998         mpc_cc_c.
28999         (func_calc_desc): Add mpc_cc_c union field.
29000         (test_functions): Add cpow.
29001         (special_fill_2pi): New function.
29002         (special_real_inputs): Add 2pi.
29003         (calc_generic_results): Handle mpc_cc_c.
29004         * sysdeps/i386/fpu/libm-test-ulps: Update.
29005         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29007         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
29008         csqrt, ctan and ctanh.
29009         * math/auto-libm-test-out: Regenerated.
29010         * math/libm-test.inc (TEST_COND_x86_64): New macro.
29011         (TEST_COND_x86): Likewise.
29012         (ccos_test_data): Use AUTO_TESTS_c_c.
29013         (ccosh_test_data): Likewise.
29014         (cexp_test_data): Likewise.
29015         (clog_test_data): Likewise.
29016         (csqrt_test_data): Likewise.
29017         (ctan_test_data): Likewise.
29018         (ctan_tonearest_test_data): Likewise.
29019         (ctan_towardzero_test_data): Likewise.
29020         (ctan_downward_test_data): Likewise.
29021         (ctan_upward_test_data): Likewise.
29022         (ctanh_test_data): Likewise.
29023         (ctanh_tonearest_test_data): Likewise.
29024         (ctanh_towardzero_test_data): Likewise.
29025         (ctanh_downward_test_data): Likewise.
29026         (ctanh_upward_test_data): Likewise.
29027         * math/gen-auto-libm-tests.c (func_calc_method): Add value
29028         mpc_c_c.
29029         (func_calc_desc): Add mpc_c_c union field.
29030         (FUNC_mpc_c_c): New macro.
29031         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
29032         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
29033         ctanh.
29034         (special_fill_min_subnorm_p120): New function.
29035         (special_real_inputs): Add min_subnorm_p120.
29036         (calc_generic_results): Handle mpc_c_c.
29037         * sysdeps/i386/fpu/libm-test-ulps: Update.
29038         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29040 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
29042         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
29043         (do_sin_slow): New functions.
29044         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
29045         (cslow2, csloww1, csloww2): Use the new functions.
29047         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
29048         Use M to change sign of result instead of X.  Assume X is
29049         positive.
29050         (csloww1): Likewise.
29051         (__sin): Adjust.
29052         (__cos): Adjust.
29054         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
29055         arguments A and DA.
29056         (__sin): Adjust.
29057         (__cos): Likewise.
29059         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
29060         (__cos): Likewise.
29061         (sloww1): Don't adjust sign of DX.
29062         (csloww1): Likewise.
29063         (sloww2): Use X directly and don't adjust sign of DX.
29064         (csloww2): Likewise.
29066 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
29068         * math/auto-libm-test-in: Add tests of cabs and carg.
29069         * math/auto-libm-test-out: Regenerated.
29070         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
29071         (carg_test_data): Likewise.
29072         * math/gen-auto-libm-tests.c (func_calc_method): Add value
29073         mpc_c_f.
29074         (func_calc_desc): Add mpc_c_f union field.
29075         (test_functions): Add cabs and carg.
29076         (calc_generic_results): Handle mpc_c_f.
29078         * sysdeps/powerpc/powerpc32/libgcc-compat.S
29079         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
29080         as a macro and a compat symbol.
29081         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
29082         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
29083         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
29084         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
29085         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
29086         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
29087         not use .hidden.
29088         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
29089         Likewise.
29090         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
29091         Likewise.
29092         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
29093         Likewise.
29094         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
29095         Likewise.
29096         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
29097         Likewise.
29098         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
29099         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
29100         from GLIBC_2.3.2.
29102 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29104         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29106 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
29108         * manual/texinfo.tex: Update to version 2013-11-26.10 with
29109         trailing whitespace removed.
29110         * scripts/config.guess: Update to version 2013-11-29.
29111         * scripts/config.sub: Update to version 2013-10-01.
29113         * math/auto-libm-test-in: Add tests of sincos.
29114         * math/auto-libm-test-out: Regenerated.
29115         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
29116         * math/gen-auto-libm-tests.c (func_calc_method): Add value
29117         mpfr_f_11.
29118         (func_calc_desc): Add mpfr_f_11 union field.
29119         (test_functions): Add sincos.
29120         (calc_generic_results): Handle mpfr_f_11.
29121         * sysdeps/i386/fpu/libm-test-ulps: Update.
29122         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29124 2013-12-19  Andreas Schwab  <schwab@suse.de>
29126         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
29127         CALL_MCOUNT.
29128         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
29129         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
29130         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
29132 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
29134         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
29135         * sysdeps/i386/fpu/libm-test-ulps: Update.
29136         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29138         [BZ #16293]
29139         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
29140         round-to-nearest mode when using frndint.
29141         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
29142         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
29143         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
29144         Likewise.
29145         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
29146         sinh test to fail.
29147         * math/auto-libm-test-out: Regenerated.
29148         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
29149         (TEST_COND_x86): Likewise.
29150         (expm1_tonearest_test_data): New array.
29151         (expm1_test_tonearest): New function.
29152         (expm1_towardzero_test_data): New array.
29153         (expm1_test_towardzero): New function.
29154         (expm1_downward_test_data): New array.
29155         (expm1_test_downward): New function.
29156         (expm1_upward_test_data): New array.
29157         (expm1_test_upward): New function.
29158         (main): Run the new test functions.
29159         * sysdeps/i386/fpu/libm-test-ulps: Update.
29160         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29162         * include/features.h: Update comment documenting feature test
29163         macros.  Mention _DEFAULT_SOURCE in comment.
29164         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
29165         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
29166         _BSD_SOURCE and _SVID_SOURCE.
29167         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
29168         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
29169         !_SVID_SOURCE]: Likewise.
29170         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
29171         (__USE_POSIX_IMPLICITLY): Define.
29172         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
29173         (_POSIX_SOURCE): Undefine and redefine.
29174         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
29175         (_POSIX_C_SOURCE): Likewise.
29176         * manual/creature.texi (_DEFAULT_SOURCE): Document.
29177         (Feature Test Macros): Update documentation of default features.
29179 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
29181         * benchtests/Makefile: Add bench-strtok.
29182         * benchtests/bench-strtok.c: New file: strtok benchtest.
29184 2013-12-19  Allan McRae  <allan@archlinux.org>
29186         * manual/install.texi: Suppress menu for plain text output.
29187         * INSTALL: Regenerated.
29189 2013-12-18  Brooks Moses  <bmoses@google.com>
29191         [BZ #15846]
29192         * misc/getauxval.c: Include errno.h.
29193         (__getauxval): Set errno to ENOENT if the requested type is not
29194         found.
29195         * misc/sys/auxv.h (getauxval): Document that it may set errno;
29196         don't declare with __attribute_const__.
29197         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
29198         * manual/startup.texi: Document that getauxval sets errno.
29200 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
29202         * math/auto-libm-test-in: Add tests of jn and yn.
29203         * math/auto-libm-test-out: Regenerated.
29204         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
29205         (yn_test_data): Likewise.
29206         * math/gen-auto-libm-tests.c (func_calc_method): Add value
29207         mpfr_if_f.
29208         (func_calc_desc): Add mpfr_if_f union field.
29209         (FUNC_mpfr_if_f): New macro.
29210         (test_functions): Add jn and yn.
29211         (calc_generic_results): Assert type of second input for
29212         mpfr_ff_f.  Handle mpfr_if_f.
29213         (output_for_one_input_case): Disable all checking for arguments
29214         fitting floating-point types in case of an integer argument.
29215         * sysdeps/i386/fpu/libm-test-ulps: Update.
29216         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29218         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
29219         Don't expect fegetround reference in libm.so.
29221 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
29223         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
29224         $(config-cflags-nofma).
29226 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
29228         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
29229         * math/auto-libm-test-out: Regenerated.
29231         [BZ #16338]
29232         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
29233         to determine exponent and adjust argument to have exponent of -1.
29234         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
29235         log2.
29236         * math/auto-libm-test-out: Regenerated.
29237         * sysdeps/i386/fpu/libm-test-ulps: Update.
29238         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29240 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
29242         * manual/probes.texi: Remove cases when per-thread arenas are
29243         disabled.
29245 2013-12-18  Andreas Schwab  <schwab@suse.de>
29247         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
29248         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
29249         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
29250         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
29251         * sysdeps/i386/i686/multiarch/Makefile: Update.
29252         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
29254 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
29256         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
29257         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
29259 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
29261         [BZ #15968]
29262         Support TZ transition times < 00:00:00.
29263         This is needed for version-3 tz-format files; it supports time
29264         stamps past 2037 for America/Godthab (the only entry in the tz
29265         database for which this change is relevant).
29266         * manual/time.texi (TZ Variable): Document transition times
29267         from -167:59:59 through -00:00:01.
29268         * time/tzset.c (tz_rule): Time of day is now signed.
29269         (__tzset_parse_tz): Parse negative time of day.
29271         Document TZ transition times >= 25:00:00.
29272         * manual/time.texi (TZ Variable): Document transition times from
29273         25:00:00 through 167:59:59.  These are already supported, and this
29274         support will help with version-3 tz-format files.
29276         * manual/time.texi (TZ Variable): Modernize North America example
29277         to reflect current (i.e., 2007-and-later) daylight saving rules.
29279         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
29281 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
29283         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
29284         * sysdeps/unix/bsd/bits/stat.h: Likewise.
29285         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
29286         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
29287         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
29288         * sysdeps/unix/bsd/bsdstat.h: Likewise.
29289         * sysdeps/unix/bsd/clock.c: Likewise.
29290         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
29291         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
29292         * sysdeps/unix/bsd/init-posix.c: Likewise.
29293         * sysdeps/unix/bsd/poll.c: Likewise.
29294         * sysdeps/unix/bsd/ptsname.c: Likewise.
29295         * sysdeps/unix/bsd/seekdir.c: Likewise.
29296         * sysdeps/unix/bsd/setegid.c: Likewise.
29297         * sysdeps/unix/bsd/seteuid.c: Likewise.
29298         * sysdeps/unix/bsd/setgid.c: Likewise.
29299         * sysdeps/unix/bsd/setrgid.c: Likewise.
29300         * sysdeps/unix/bsd/setruid.c: Likewise.
29301         * sysdeps/unix/bsd/setsid.c: Likewise.
29302         * sysdeps/unix/bsd/setuid.c: Likewise.
29303         * sysdeps/unix/bsd/sigaction.c: Likewise.
29304         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
29305         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
29306         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
29307         * sysdeps/unix/bsd/telldir.c: Likewise.
29308         * sysdeps/unix/bsd/times.c: Likewise.
29309         * sysdeps/unix/bsd/usleep.c: Likewise.
29311         * misc/Makefile (install-lib): Remove libbsd-compat.a.
29312         ($(objpfx)libbsd-compat.a): Remove rule.
29314         * include/features.h (__FAVOR_BSD): Do not define.
29315         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
29316         features conflicting with POSIX.
29317         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
29318         (_BSD_SOURCE): Remove description of not being a subset of other
29319         feature test macros.
29320         * manual/job.texi (getpgrp): Do not document BSD version.
29321         (getpgid): Do not document by reference to BSD getpgrp.
29322         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
29323         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
29324         * signal/signal.h [__FAVOR_BSD]: Likewise.
29325         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
29326         instead of making contents conditional on [__FAVOR_BSD].
29327         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
29329 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29331         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29333 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
29335         [BZ #16314]
29336         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
29337         values below 2**-450, not 2**-500.
29338         * math/auto-libm-test-in: Don't allow spurious underflow from
29339         hypot.
29340         * math/auto-libm-test-out: Regenerated.
29342         [BZ #16316]
29343         [BZ #16330]
29344         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
29345         values of ha and hb and sort them after adjusting subnormal
29346         arguments.
29347         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
29348         Likewise.
29349         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
29350         values of ea and eb and sort them after adjusting subnormal
29351         arguments.
29352         * math/auto-libm-test-in: Do not expect some hypot tests of
29353         subnormals to fail.  Add more hypot tests.
29354         * math/auto-libm-test-out: Regenerated.
29356 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
29358         [BZ #13304]
29359         * sysdeps/sh/s_fma.c: New file.
29360         * sysdeps/sh/s_fmaf.c: New file.
29361         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
29362         version.
29363         * sysdeps/sh/Implies: Add sh/soft-fp.
29365 2013-12-16  Roland McGrath  <roland@hack.frob.com>
29367         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
29368         level of indirection to members `objname', `errstring', `malloced'.
29369         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
29370         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
29371         it as the __longjmp argument (just pass 1 instead).
29372         (_dl_catch_error): Initialize C with argument pointers and address of
29373         volatile local ERRCODE rather than copying values out of C at return.
29375 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
29377         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
29378         * math/auto-libm-test-out: Regenerated.
29379         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
29380         (hypot_test_data): Likewise.
29381         (pow_test_data): Likewise.
29382         (pow_tonearest_test_data): Likewise.
29383         * math/gen-auto-libm-tests.c (func_calc_method): Add value
29384         mpfr_ff_f.
29385         (func_calc_desc): Add mpfr_ff_f union field.
29386         (FUNC_mpfr_ff_f): New macro.
29387         (test_functions): Add atan2, hypot and pow.
29388         (special_fill_min): New function.
29389         (special_fill_minus_min): Likewise.
29390         (special_fill_min_subnorm): Likewise.
29391         (special_fill_minus_min_subnorm): Likewise.
29392         (special_real_inputs): Add min, -min, min_subnorm and
29393         -min_subnorm.
29394         (calc_generic_results): Handle mpfr_ff_f.
29395         * sysdeps/i386/fpu/libm-test-ulps: Update.
29396         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29398 2013-12-16  Will Newton  <will.newton@linaro.org>
29400         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
29401         (Aligned Memory Blocks): Add documentation for aligned_alloc
29402         and suggest it as an alternative to posix_memalign.
29403         (Hooks for Malloc): Document __memalign_hook is also called
29404         for aligned_alloc.  (Summary of Malloc): Add summary for
29405         aligned alloc.  Document __memalign_hook is also called
29406         for aligned_alloc.
29408 2013-12-16  Will Newton  <will.newton@linaro.org>
29410         * manual/memory.texi (Malloc Examples): Clarify default
29411         alignment documentation.  Suggest posix_memalign rather
29412         than memalign or valloc.
29413         (Aligned Memory Blocks): Remove suggestion to use memalign
29414         or valloc.  Remove obsolete comment about BSD.
29415         Document memalign errno values and mark the function obsolete.
29416         Document posix_memalign returned error codes.  Mark valloc
29417         as obsolete.  (Hooks for Malloc): __memalign_hook is also
29418         called for posix_memalign and valloc.
29419         (Summary of Malloc): Add posix_memalign to function summary.
29420         __memalign_hook is also called for posix_memalign and valloc.
29422 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
29424         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
29425         TAYLOR_SIN.
29426         (__sin): Adjust.
29427         (__cos): Likewise.
29428         (sloww): Use mynumber union.  Expand ternary operator into
29429         if-else statements.
29430         (cslow): use mynumber union.
29432 2013-12-16  Allan McRae  <allan@archlinux.org>
29434         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
29435         * configure: Regenerated.
29437         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
29439         [BZ #14120]
29440         * configure.ac: Added --enable-maintainer-mode. Check for
29441         autoconf when enabled.
29442         * configure: Regenerated.
29444         * nscd/nscd.service: New file.
29445         * nscd/nscd.tmpfiles: New file.
29447 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
29449         [BZ #12100]
29450         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
29451         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
29452         * sysdeps/x86_64/multiarch/strstr.c: ... here.
29453         (strstr): Add __strstr_sse2_unaligned ifunc.
29454         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
29455         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
29456         (strcasestr): Remove __strcasestr_sse42 ifunc.
29457         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
29458         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
29459         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
29461 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
29463         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
29464         * sysdeps/sh/bits/fenv.h: ... here.
29465         * sysdeps/sh/sh4/fpu/bits: Remove directory.
29467 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29469         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
29471         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
29472         hypotf multiarch implementations.
29473         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
29474         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
29475         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
29476         multiarch hypot for PPC64.
29477         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
29478         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
29479         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
29480         multiarch hypotf for PPC64.
29482         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
29483         modff multiarch implementations.
29484         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
29485         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
29486         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
29487         multiarch modf for PPC64.
29488         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
29489         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
29490         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
29491         multiarch modff for PPC64.
29493         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
29494         and logl multiarch implementations.
29495         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
29496         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
29497         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
29498         multiarch logb for PPC64.
29499         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
29500         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
29501         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
29502         multiarch logb for PPC64.
29503         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
29504         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
29505         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
29506         multiarch logb for PPC64.
29508         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
29509         isinff multiarch implementation.
29510         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
29511         file.
29512         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
29513         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
29514         multiarch isinf for PPC64.
29515         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
29516         file.
29517         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
29518         multiarch isinff for PPC64.
29520         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
29521         finitef multiarch implementation.
29522         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
29523         file.
29524         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
29525         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
29526         multiarch finite for PPC64.
29527         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
29528         file.
29529         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
29530         multiarch finitef for PPC64.
29532         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
29533         lrint multiarch implementation.
29534         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
29535         file.
29536         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
29537         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
29538         multiarch llrint for PPC64.
29539         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
29540         multiarch lrint for PPC64.
29542         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
29543         copysignf multiarch implementation.
29544         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
29545         file.
29546         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
29547         file.
29548         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
29549         multiarch copysign for PPC64.
29550         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
29551         multiarch copysignf for PPC64.
29553         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
29554         multiarch implementation.
29555         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
29556         file.
29557         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
29558         file.
29559         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
29560         file.
29561         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
29562         file.
29563         multiarch llround for PPC64.
29564         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
29565         multiarch trunc for PPC64.
29566         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
29567         multiarch truncf for PPC64.
29569         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
29570         multiarch implementation.
29571         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
29572         file.
29573         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
29574         file.
29575         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
29576         file.
29577         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
29578         file.
29579         multiarch llround for PPC64.
29580         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
29581         multiarch round for PPC64.
29582         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
29583         multiarch roundf for PPC64.
29585         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
29586         multiarch implementation.
29587         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
29588         file.
29589         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
29590         file.
29591         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
29592         file.
29593         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
29594         file.
29595         multiarch llround for PPC64.
29596         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
29597         multiarch floor for PPC64.
29598         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
29599         multiarch floorf for PPC64.
29601         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
29602         multiarch implementation.
29603         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
29604         file.
29605         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
29606         file.
29607         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
29608         file.
29609         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
29610         file.
29611         multiarch llround for PPC64.
29612         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
29613         multiarch ceil for PPC64.
29614         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
29615         multiarch ceilf for PPC64.
29617         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
29618         multiarch implementation.
29619         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
29620         file.
29621         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
29622         file.
29623         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
29624         file.
29625         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
29626         multiarch llround for PPC64.
29627         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
29628         multiarch lround for PPC64.
29630         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
29631         multiarch implementation.
29632         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
29633         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
29634         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
29635         file.
29636         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
29637         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
29638         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
29639         multiarch isnan for PPC64.
29640         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
29641         multiarch isnanf for PPC64.
29643         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
29644         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
29645         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
29646         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
29647         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
29648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
29650         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
29651         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
29652         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
29653         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
29655         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
29656         multiarch implementations.
29657         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29658         (__libc_ifunc_impl_list): Likewise.
29659         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
29660         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
29661         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
29662         multiarch stpcpy for PPC64.
29664         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
29665         multiarch implementations.
29666         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29667         (__libc_ifunc_impl_list): Likewise.
29668         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
29669         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
29670         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
29671         multiarch strcpy for PPC64.
29673         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
29674         redefine function name.
29675         (_wordcopy_fwd_dest_aligned): Likewise.
29676         (_wordcopy_bwd_aligned): Likewise.
29677         (_wordcopy_bwd_dest_aligned): Likewise.
29678         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
29679         multiarch implementations.
29680         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29681         (__libc_ifunc_impl_list): Likewise.
29682         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
29683         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
29684         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
29685         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
29686         multiarch wcscpy for PPC64.
29688         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
29689         multiarch implementations.
29690         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29691         (__libc_ifunc_impl_list): Likewise.
29692         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
29693         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
29694         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
29695         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
29696         multiarch wcscpy for PPC64.
29698         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
29699         multiarch implementations.
29700         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29701         (__libc_ifunc_impl_list): Likewise.
29702         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
29703         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
29704         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
29705         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
29706         multiarch wcsrchr for PPC64.
29708         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
29709         multiarch implementations.
29710         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29711         (__libc_ifunc_impl_list): Likewise.
29712         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
29713         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
29714         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
29715         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
29716         multiarch wcschr for PPC64.
29718         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
29719         multiarch implementations.
29720         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29721         (__libc_ifunc_impl_list): Likewise.
29722         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
29723         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
29724         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
29725         multiarch strchrnul for PPC64.
29727         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
29728         implementations.
29729         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29730         (__libc_ifunc_impl_list): Likewise.
29731         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
29732         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
29733         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
29734         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
29735         strchr for PPC64.
29737         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
29738         implementations.
29739         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29740         (__libc_ifunc_impl_list): Likewise.
29741         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
29742         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
29743         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
29744         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
29745         strncmp for PPC64.
29747         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
29748         multiarch implementations.
29749         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29750         (__libc_ifunc_impl_list): Likewise.
29751         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
29752         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
29753         strncasecmp for PPC64.
29754         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
29755         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
29756         multiarch strncasecmp_l for PPC64.
29758         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
29759         multiarch implementations.
29760         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
29761         (__libc_ifunc_impl_list): Likewise.
29762         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
29763         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
29764         multiarch strcasecmp for PPC64.
29765         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
29766         file.
29767         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
29768         multiarch strcasecmp_l for PPC64.
29770         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
29771         implementations.
29772         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29773         (__libc_ifunc_impl_list): Likewise.
29774         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
29775         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
29776         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
29777         strnlen for PPC64.
29779         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
29780         implementations.
29781         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29782         (__libc_ifunc_impl_list): Likewise.
29783         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
29784         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
29785         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
29786         strlen for PPC64.
29788         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
29789         implementations.
29790         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29791         (__libc_ifunc_impl_list): Likewise.
29792         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
29793         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
29794         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
29795         rawmemrchr for PPC64.
29797         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
29798         implementation.
29799         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29800         (__libc_ifunc_impl_list): Likewise.
29801         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
29802         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
29803         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
29804         memrchr for PPC64.
29806         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
29807         implementation.
29808         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29809         (__libc_ifunc_impl_list): Likewise.
29810         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
29811         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
29812         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
29813         memchr for PPC64.
29815         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
29816         implementation.
29817         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29818         (__libc_ifunc_impl_list): Likewise.
29819         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
29820         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
29821         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
29822         mempcpy for PPC64.
29824         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
29825         avoid cretion of __bzero symbol.
29826         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
29827         Likewise.
29828         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
29829         Likewise.
29830         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
29831         Likewise.
29832         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
29833         multiarch implementations.
29834         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29835         (__libc_ifunc_impl_list): Likewise.
29836         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
29837         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
29838         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
29839         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
29840         bzero for PPC32.
29841         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
29842         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
29843         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
29844         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
29845         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
29846         memset for PPC64.
29847         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
29849         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
29850         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
29851         implementations.
29852         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29853         (__libc_ifunc_impl_list): Likewise.
29854         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
29855         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
29856         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
29857         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
29858         memcmp for PPC64.
29860         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
29861         multiarch for POWER/PPC64.
29862         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
29863         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
29864         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
29865         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
29866         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
29867         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
29868         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
29869         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
29870         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
29871         memcpy for PPC64.
29873         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
29874         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
29875         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
29876         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
29877         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
29878         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
29879         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
29880         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
29881         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
29882         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
29883         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
29884         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
29885         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
29886         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
29887         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
29888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
29889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
29890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
29891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
29892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
29893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
29894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
29896 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
29898         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
29900 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
29902         * benchtests/Makefile (bench): Add exp2 and log2.
29903         (LDLIBS-bench-exp2): Add -lm.
29904         (LDLIBS-bench-log2): Likewise.
29905         * benchtests/exp2-inputs: New inputs file.
29906         * benchtests/log2-inputs: New inputs file.
29907         * benchtests/log-inputs: Add new inputs.
29908         * benchtests/tan-inputs: Likewise.
29910 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
29912         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
29913         definition...
29914         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
29915         (csloww2): ... from here.
29917         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
29918         instead of structures.
29919         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
29920         (POLYNOMIAL): Likewise.
29921         (TAYLOR_SLOW): Likewise.
29922         (__sin): Likewise.
29923         (__cos): Likewise.
29924         (slow1): Likewise.
29925         (slow2): Likewise.
29926         (sloww): Likewise.
29927         (sloww1); Likewise.
29928         (sloww2): Likewise.
29929         (bsloww1): Likewise.
29930         (bsloww2): Likewise.
29931         (cslow2): Likewise.
29932         (csloww): Likewise.
29933         (csloww1): Likewise.
29934         (csloww2): Likewise.
29936 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
29938         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
29939         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
29940         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
29941         * malloc/hooks.c (realloc_check): Likewise.
29943         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
29944         * malloc/arena.c: Remove PER_THREAD conditional.
29945         [!PER_THREAD]: Remove code.
29946         (ptmalloc_unlock_all2): Likewise.
29947         (ptmalloc_init): Likewise.
29948         (_int_new_arena): Likewise.
29949         (arena_get2): Likewise.
29950         * malloc/hooks.c (__malloc_get_state): Likewise.
29951         (__malloc_set_state): Likewise.
29952         * malloc/malloc.c: Likewise.
29953         (struct malloc_state): Likewise.
29954         (struct malloc_par): Likewise.
29955         (__libc_realloc): Likewise.
29956         (__libc_mallopt): Likewise.
29958 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29960         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
29962 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
29964         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
29965         macro to a function.  Check for zero perturb_byte.
29966         (_int_malloc, _int_free): Remove zero perturb_byte checks.
29968         * malloc/malloc.c: (force_reg): Remove.
29969         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
29970         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
29971         force_reg by atomic_forced_read.
29972         * malloc/arena.c (ptmalloc_init): Likewise.
29973         * malloc/hooks.c (top_check): Likewise.
29975 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29977         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29979 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
29981         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29983 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
29985         * math/auto-libm-test-in: Add tests of lgamma.
29986         * math/auto-libm-test-out: Regenerated.
29987         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
29988         (M_LOG_2_SQRT_PIl): Likewise.
29989         (lgamma_test_data): Use AUTO_TESTS_f_f1.
29990         * math/gen-auto-libm-tests.c (func_calc_method): Add value
29991         mpfr_f_f1.
29992         (func_calc_desc): Add mpfr_f_f1 union field.
29993         (ARGS1): New macro.
29994         (ARGS2): Likewise.
29995         (ARGS3): Likewise.
29996         (ARGS4): Likewise.
29997         (RET1): Likewise.
29998         (RET2): Likewise.
29999         (CALC): Likewise.
30000         (FUNC): Likewise.
30001         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
30002         (test_functions): Add lgamma.
30003         (calc_generic_results): Handle mpfr_f_f1.
30004         * sysdeps/i386/fpu/libm-test-ulps: Update.
30005         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30007 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30009         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
30010         __mpn_add_n for PowerPC64/POWER7.
30011         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
30012         __mpn_sub_n for PowerPC64/POWER7.
30014         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
30015         __mpn_addmul_1 for PowerPC64.
30016         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
30017         __mpn_submul_1 for PowerPC64.
30018         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
30019         for PowerPC64.
30020         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
30021         for PowerPC64.
30023 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
30025         [BZ #15089]
30026         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
30028 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30030         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
30032         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
30033         add multiarch folders.
30034         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
30035         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
30036         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
30037         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
30038         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
30039         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
30040         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
30041         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
30042         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
30043         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
30044         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
30045         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
30046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
30047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
30048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
30049         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
30050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
30052         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
30053         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
30054         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
30055         New file.
30056         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
30057         New file.
30058         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
30059         multiarch __ieee754_hypot for PowerPC32.
30060         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
30061         New file.
30062         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
30063         New file.
30064         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
30065         multiarch __ieee754_hypotf for PowerPC32.
30067         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
30068         long_double_symbol only if __logbl is defined.
30069         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
30070         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
30071         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
30072         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
30073         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
30074         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
30075         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
30076         path for implementation.
30077         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
30078         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
30079         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
30080         logb, and logbl multiarch implementations for PowerPC32.
30081         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
30082         file.
30083         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
30084         file.
30085         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
30086         multiarch logb for PowerPC32.
30087         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
30088         file.
30089         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
30090         file.
30091         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
30092         multiarch logbf for PowerPC32.
30093         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
30094         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
30095         file.
30096         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
30097         multiarch logbl implementation for PowerPC32.
30099         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
30100         and modff multiarch implementations.
30101         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
30102         New file.
30103         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
30104         New file.
30105         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
30106         multiarch modf for PowerPC32.
30107         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
30108         New file.
30109         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
30110         New file.
30111         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
30112         multiarch modff for PowerPC32.
30114         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
30115         and lrintf multiarch implementations.
30116         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
30117         New file.
30118         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
30119         New file.
30120         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
30121         multiarch lrint for PowerPC32.
30122         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
30123         file: multiarch lrintf for PowerPC32.
30125         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
30126         and lroundf multiarch implementations.
30127         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
30128         New file.
30129         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
30130         New file.
30131         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
30132         New file.
30133         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
30134         multiarch lround for PowerPC32.
30135         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
30136         file: multiarch lroundf for PowerPC32.
30138         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
30139         copysign and copysignf multiarch implementations.
30140         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
30141         New file.
30142         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
30143         New file.
30144         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
30145         file: multiarch copysign for PowerPC32.
30146         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
30147         file: multiarch copysignf for PowerPC32.
30149         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
30150         and truncf multiarch implementations.
30151         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
30152         New file.
30153         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
30154         file.
30155         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
30156         multiarch trunc for PowerPC32.
30157         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
30158         New file.
30159         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
30160         New file.
30161         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
30162         multiarch truncf for PowerPC32.
30164         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
30165         and roundf multiarch implementations.
30166         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
30167         New file.
30168         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
30169         file.
30170         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
30171         multiarch round for PowerPC32.
30172         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
30173         New file.
30174         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
30175         New file.
30176         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
30177         multiarch roundf for PowerPC32.
30179         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
30180         and floorf multiarch implementations.
30181         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
30182         New file.
30183         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
30184         file.
30185         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
30186         multiarch floor for PowerPC32.
30187         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
30188         New file.
30189         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
30190         New file.
30191         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
30192         multiarch floorf for PowerPC32.
30194         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
30195         and ceilf multiarch implementations.
30196         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
30197         New file.
30198         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
30199         file.
30200         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
30201         multiarch ceil for PowerPC32.
30202         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
30203         New file.
30204         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
30205         file.
30206         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
30207         multiarch ceilf for PowerPC32.
30209         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
30210         is defined.
30211         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
30212         FINITEF is defined.
30213         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
30214         and finitef multiarch implementations.
30215         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
30216         New file.
30217         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
30218         file.
30219         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
30220         multiarch finite for PowerPC32.
30221         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
30222         New file.
30223         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
30224         file: multiarch finitef for PowerPC32.
30226         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
30227         and isinff multiarch implementations.
30228         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
30229         file.
30230         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
30231         file.
30232         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
30233         multiarch isinf for PowerPC32.
30234         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
30235         New file.
30236         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
30237         multiarch isinff for PowerPC32.
30239         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
30240         alias when __isnan is defined.
30241         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
30242         and isnanf multiarch implementations.
30243         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
30244         file.
30245         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
30246         file.
30247         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
30248         file.
30249         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
30250         file.
30251         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
30252         multiarch isnan for PowerPC32.
30253         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
30254         New file.
30255         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
30256         New file.
30257         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
30258         multiarch isnanf for PowerPC32.
30260         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
30261         and sqrtf multiarch implementations.
30262         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
30263         file.
30264         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
30265         file.
30266         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
30267         multiarch sqrt for PowerPC32.
30268         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
30269         file.
30270         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
30271         file.
30272         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
30273         multiarch sqrtf for PowerPC32.
30275         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
30276         and llroundf multiarch implementations.
30277         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
30278         New file.
30279         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
30280         New file.
30281         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
30282         New file.
30283         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
30284         file: multiarch llround for PowerPC32.
30285         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
30286         file: multiarch llroundf for PowerPC32.
30288         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
30289         multiarch PowerPC32 fpu implementations.
30290         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
30291         New file.
30292         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
30293         New file.
30294         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
30295         multiarch llrint for PowerPC32.
30296         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
30297         New file.
30298         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
30299         New file.
30300         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
30301         file.
30303         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
30305         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
30306         file.
30307         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
30308         file.
30309         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
30310         file.
30311         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
30312         multiarch wordcopy for PPC32.
30313         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
30314         wordcopy objects.
30315         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30316         (__libc_ifunc_impl_list): Likewise.
30317         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
30318         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
30319         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
30320         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
30321         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
30322         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
30324         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
30325         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
30326         file.
30327         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
30328         file.
30329         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
30330         file.
30331         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
30332         multiarch wcscpy for PPC32.
30333         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
30334         multiarch objects.
30335         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30336         (__libc_ifunc_impl_list): Likewise.
30337         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
30338         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
30339         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
30340         sysdeps/powerpc/power6/wcscpy.c.
30342         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
30343         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
30344         file.
30345         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
30346         file.
30347         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
30348         file.
30349         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
30350         multiarch wcsrchr for PPC32.
30351         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
30352         multiarch objects.
30353         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30354         (__libc_ifunc_impl_list): Likewise.
30355         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
30356         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
30357         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
30358         sysdeps/powerpc/power6/wcsrchr.c.
30360         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
30361         file.
30362         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
30363         file.
30364         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
30365         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
30366         multiarch wcschr for PPc32.
30367         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
30368         multiarch objects.
30369         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30370         (__libc_ifunc_impl_list): Likewise.
30371         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
30372         * sysdeps/powerpc/power6/wcschr.c: ... to here.
30373         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
30374         sysdeps/powerpc/power6/wcschr.c.
30376         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
30377         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
30378         file.
30379         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
30380         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
30381         file: multiarch strchr for PPC32.
30382         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
30383         multiarch objects.
30384         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30385         (__libc_ifunc_impl_list): Likewise.
30387         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
30388         name.
30389         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
30390         file.
30391         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
30392         file.
30393         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
30394         multiarch strchrnul for PPC32.
30395         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
30396         multiarch objects.
30397         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30398         (__libc_ifunc_impl_list): Likewise.
30400         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
30401         file.
30402         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
30403         multiarch strncasecmp for PPC32.
30404         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
30405         file.
30406         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
30407         multiarch strncasecmp_l for PPC32.
30408         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
30409         strncasecmp multiarch objects.
30410         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30411         (__libc_ifunc_impl_list): Likewise.
30413         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
30414         file.
30415         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
30416         multiarch strncasecmp for PPC32.
30417         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
30418         New file.
30419         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
30420         multiarch strcasecmp_l for PPC32.
30421         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
30422         multiarch objects.
30423         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30424         (__libc_ifunc_impl_list): Likewise.
30426         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
30427         file.
30428         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
30429         file.
30430         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
30431         multiarch strncmp for PPC32.
30432         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
30433         multiarch objects.
30434         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30435         (__libc_ifunc_impl_list): Likewise.
30437         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
30438         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
30439         file.
30440         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
30441         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
30442         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
30443         multiarch objects.
30444         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30445         (__libc_ifunc_impl_list): Likewise.
30447         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
30448         file.
30449         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
30450         file.
30451         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
30452         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
30453         multiarch objects.
30454         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30455         (__libc_ifunc_impl_list): Likewise.
30457         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
30458         file.
30459         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
30460         file.
30461         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
30462         multiarch rawmemchr for PPC32.
30463         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
30464         multiarch objects.
30465         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30466         (__libc_ifunc_impl_list): Likewise.
30468         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
30469         file.
30470         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
30471         file.
30472         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
30473         file: memrchr multiarch for PPC32.
30474         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
30475         multiarch objects.
30476         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30477         (__libc_ifunc_impl_list): Likewise.
30479         * string/memchr.c (__memchr): Using macro to redefine symbol name.
30480         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
30481         file.
30482         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
30483         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
30484         multiarch memchr for PPC32.
30485         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
30486         multiarch objects.
30487         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
30488         (__libc_ifunc_impl_list): Likewise.
30490         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
30491         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
30492         file.
30493         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
30494         file.
30495         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
30496         file: multiarch mempcpy for PPC32.
30497         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
30498         multiarch objects.
30499         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
30500         (__libc_ifunc_impl_list): Likewise.
30502         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
30503         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
30504         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
30505         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
30506         multiarch bzero for PPC32.
30507         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
30508         file.
30509         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
30510         file.
30511         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
30512         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
30513         file: multiarch memset for PPC32.
30514         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
30515         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
30516         memset multiarch objects.
30517         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
30518         (__libc_ifunc_impl_list): Likewise.
30520         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
30521         file.
30522         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
30523         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
30524         memcmp for PPC32.
30525         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
30526         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
30527         multiarch objects.
30528         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
30529         (__libc_ifunc_impl_list): Likewise.
30531         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
30532         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
30533         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
30534         file.
30535         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
30536         file.
30537         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
30538         file.
30539         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
30540         multiarch memcpy for PPC32.
30541         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
30542         multiarch objects.
30543         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
30544         (__libc_ifunc_impl_list): Likewise.
30546         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
30547         support multiarch for POWER/PPC32.
30548         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
30549         Likewise.
30550         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
30551         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
30552         Implies file to make multiarch folder appers before the fpu and
30553         default folder for power4 configuration.
30555 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
30557         * scripts/bench.pl: Append volatile keyword to type.
30559 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30561         * sysdeps/sh/sotruss-lib.c: New file.
30562         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
30564 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30566         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30568 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
30570         [BZ #6810]
30571         * math/w_tgamma.c: Include <errno.h>.
30572         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
30573         * math/w_tgammaf.c: Include <errno.h>.
30574         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
30575         * math/w_tgammal.c: Include <errno.h>.
30576         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
30577         * math/auto-libm-test-in: Do not allow missing errno on tgamma
30578         underflow.  Add more tgamma tests.
30579         * math/auto-libm-test-out: Regenerated.
30580         * sysdeps/i386/fpu/libm-test-ulps: Update.
30581         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30583         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
30584         sin, sinh, tan, tanh, tgamma, y0 and y1.
30585         * math/auto-libm-test-out: Regenerated.
30586         * math/libm-test.inc (TEST_COND_x86_64): New macro.
30587         (TEST_COND_x86): Likewise.
30588         (M_E2l): Remove macro.
30589         (M_E3l): Likewise.
30590         (M_2_SQRT_PIl): Likewise.
30591         (M_SQRT_PIl): Likewise.
30592         (M_1_DIV_El): Likewise.
30593         (log_test_data): Use AUTO_TESTS_f_f.
30594         (log10_test_data): Likewise.
30595         (log1p_test_data): Likewise.
30596         (log2_test_data): Likewise.
30597         (sin_test_data): Likewise.
30598         (sin_tonearest_test_data): Likewise.
30599         (sin_towardzero_test_data): Likewise.
30600         (sin_downward_test_data): Likewise.
30601         (sin_upward_test_data): Likewise.
30602         (sinh_test_data): Likewise.
30603         (sinh_tonearest_test_data): Likewise.
30604         (sinh_towardzero_test_data): Likewise.
30605         (sinh_downward_test_data): Likewise.
30606         (sinh_upward_test_data): Likewise.
30607         (tan_test_data): Likewise.
30608         (tan_tonearest_test_data): Likewise.
30609         (tan_towardzero_test_data): Likewise.
30610         (tan_downward_test_data): Likewise.
30611         (tan_upward_test_data): Likewise.
30612         (tanh_test_data): Likewise.
30613         (tgamma_test_data): Likewise.
30614         (y0_test_data): Likewise.
30615         (y1_test_data): Likewise.
30616         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
30617         (special_real_inputs): Add pi/4.
30618         * sysdeps/i386/fpu/libm-test-ulps: Update.
30619         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30621 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30623         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
30624         "longjmp_target" static probes.
30625         (__longjmp): Rename to __longjmp_symbol.
30626         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
30627         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
30628         on which longjmp to generate.
30629         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
30630         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
30631         probe.
30632         (__sigsetjmp): Rename to __sigsetjmp_symbol.
30633         (__sigjmp_save): Rename to __sigjmp_save_symbol.
30634         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
30635         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
30636         and __sigjmp_save_symbol based on which sigsetjmp to generated.
30637         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
30638         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
30639         __longjmp_symbol based on which __longjmp to generate.
30640         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
30641         probe.
30642         (setjmp): Rename to setjmp_symbol.
30643         (__sigsetjmp): Rename to __sigsetjmp_symbol.
30644         (_setjmp): Rename to _setjmp_symbol.
30645         (__sigsetjmp): Rename to __sigsetjmp_symbol.
30646         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
30647         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
30648         which setjmp to generate.
30649         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
30650         "longjmp_target" static probes.
30652 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
30654         * benchtests/README: Add note about output arguments.
30655         * benchtests/bench-sincos.c: Remove file.
30656         * benchtests/sincos-inputs: New file.
30657         * scripts/bench.pl: Identify output arguments and define
30658         static variables for them.
30660         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
30662         [BZ #15941]
30663         * Makefile (INSTALL): Add install-plain.texi as the primary
30664         dependency.
30665         * manual/install-plain.texi: New file.
30666         * manual/install.texi: Include node directive only for
30667         non-plaintext output.
30669 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
30671         * stdlib/longlong.h: Update from GCC.
30673         [BZ #6807]
30674         [BZ #15901]
30675         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
30676         * math/w_j0f.c (y0f): Likewise.
30677         * math/w_j0l.c (__y0l): Likewise.
30678         * math/w_j1.c (y1): Likewise.
30679         * math/w_j1f.c (y1f): Likewise.
30680         * math/w_j1l.c (__y1l): Likewise
30681         * math/w_jn.c (yn): Likewise.
30682         * math/w_jnf.c (ynf): Likewise.
30683         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
30684         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
30685         value for Bessel function domain errors outside _SVID_ mode.
30686         Adjust sign of return value for yn (negative integer, 0).
30687         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
30688         by zero in return for negative x and set sign appropriately for
30689         negative n.
30690         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
30691         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
30692         * math/libm-test.inc (y0_test_data): Add more tests and adjust
30693         expectations in error cases.
30694         (y1_test_data): Likewise.
30695         (yn_test_data): Likewise.
30696         * sysdeps/i386/fpu/libm-test-ulps: Update.
30697         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30699 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
30701         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
30702         "64" to "64-v1".  Add "64-v2".
30703         (abi-64-options): Rename to ...
30704         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
30705         (abi-64-condition): Rename to ...
30706         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
30707         (abi-64-ld-soname): Rename to ...
30708         (abi-64-v1-ld-soname): ... this.
30709         (abi-64-v2-options): Define.
30710         (abi-64-v2-condition): Likewise.
30711         (abi-64-v2-ld-soname): Likewise.
30712         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
30713         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
30714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
30715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
30716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
30718 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
30719             Alan Modra  <amodra@gmail.com>
30721         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
30722         New versions for use with the ELFv2 ABI.
30723         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
30724         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
30725         declaration.
30726         (struct La_ppc64v2_retval): Likewise.
30727         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
30728         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
30729         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
30730         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
30731         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
30732         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
30733         Do not save or restore CR.
30734         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
30735         (_dl_profile_resolve): Do no save or restore CR.  Support extended
30736         return values for ELFv2 ABI.  Fix location of FPR return registers.
30737         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
30738         updated values for _CALL_ELF == 2.
30739         (La_regs, La_retval, int_retval): Likewise.
30741 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
30743         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
30744         (FRAME_MIN_SIZE_PARM): Likewise.
30745         (FRAME_BACKCHAIN): Likewise.
30746         (FRAME_CR_SAVE): Likewise.
30747         (FRAME_LR_SAVE): Likewise.
30748         (FRAME_TOC_SAVE): Likewise.
30749         (FRAME_PARM_SAVE): Likewise.
30750         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
30751         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
30752         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
30753         (call_mcount_parm_offset): New macro.
30754         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
30755         (PROF): Use symbolic stack frame offsets.
30756         (TAIL_CALL_SYSCALL_ERROR): Likewise.
30757         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
30758         Redefine in terms of FRAME_MIN_SIZE.
30759         (_dl_runtime_resolve): Use symbolic stack frame offsets.
30760         (_dl_profile_resolve): Likewise.  Update comment.
30761         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
30762         symbols stack frame offsets.
30763         (__sigsetjmp): Likewise.
30764         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
30765         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
30766         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
30767         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
30769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
30770         (FRAME_BACKCHAIN): Remove.
30771         (FRAME_CR_SAVE): Likewise.
30772         (FRAME_LR_SAVE): Likewise.
30773         (FRAME_COMPILER_DW): Likewise.
30774         (FRAME_LINKER_DW): Likewise.
30775         (FRAME_TOC_SAVE): Likewise.
30776         (FRAME_PARM_SAVE): Likewise.
30777         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
30778         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
30779         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
30780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
30781         (CHECK_SP): Use symbolic stack frame offsets.
30782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
30783         zone" instead of caller's parameter save area for temp storage.
30784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
30785         Likewise.  Also, use symbolic stack frame offsets.
30786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
30787         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
30788         our own stack frame instead of the caller's.
30789         (__socket): Use symbolic stack frame offsets.
30791 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
30792             Alan Modra  <amodra@gmail.com>
30794         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
30795         Define.
30796         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
30797         (PPC64_LOCAL_ENTRY_OFFSET): Define.
30798         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
30799         New function.
30800         (elf_machine_fixup_plt): Call it.
30801         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
30802         reloc arguments.
30803         (elf_machine_rela): Update call to elf_machine_plt_conflict.
30804         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
30805         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
30806         r2 before calling target.
30808 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
30809             Alan Modra  <amodra@gmail.com>
30811         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
30812         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
30813         versions of macros to support ELFv2 ABI.
30814         (LOCALENTRY): New macro.
30815         (ENTRY, EALIGN): Use it.
30816         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
30817         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
30818         fall through into ENTRY entry point.
30819         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
30820         Only define if _CALL_ELF != 2.
30822         (elf_machine_matches_host): Verify ABI version matches.
30823         (RTLD_START): Use LOCALENTRY.
30824         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
30825         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
30826         (PLT_ENTRY_WORDS): New macro.
30827         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
30828         (elf_machine_runtime_setup): Support ELFv2 ABI.
30829         (elf_machine_fixup_plt): Likewise.
30830         (elf_machine_plt_conflict): Likewise.
30831         (resolve_ifunc): Likewise.
30832         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
30833         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
30834         Likewise.
30835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
30836         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
30837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
30838         (makecontext): Support ELFv2 ABI.
30839         * elf/elf.h (EF_PPC64_ABI): Define.
30841 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
30843         * sysdeps/powerpc/powerpc64/sysdep.h
30844         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
30845         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
30846         (ENTRY) [ASSEMBLER]: ... but instead here ...
30847         (EALIGN) [ASSEMBLER]: ... and here.
30848         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
30849         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
30850         (ENTRY_2) [!ASSEMBLER]: Use it.
30851         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
30852         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
30853         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
30854         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
30855         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
30856         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
30857         Use PPC64_LOAD_FUNCPTR.
30859         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
30861 2013-12-04  Alan Modra  <amodra@gmail.com>
30863         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
30864         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
30865         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
30866         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
30868         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
30869         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
30870         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
30871         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
30872         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
30873         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
30875 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
30877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
30878         (__makecontext): Fix incorrect CFI when backtracing out of
30879         context created via makecontext.
30880         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
30881         (__setcontext): Fix incorrect CFI during switch to new context.
30882         (__novec_setcontext): Likewise.
30884 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
30886         [BZ #4772]
30887         * time/strptime_l.c (__strptime_internal): Allow modifiers
30888         in strptime.
30889         * time/tst-strptime.c (day_tests): Add testcase.
30891 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
30893         * scripts/bench.pl: Skip over blank lines.
30895 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
30897         [BZ #926]
30898         * manual/time.texi (Calendar Time): Clarify what timezone functions
30899         use.
30901 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30903         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30905 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
30907         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
30908         implementation.
30909         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
30910         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
30911         * debug/memset_chk.c (__memset_chk): Likewise.
30912         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
30913         * debug/strncpy_chk.c: Likewise.
30915 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
30917         [BZ #15268]
30918         [BZ #15425]
30919         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
30920         (__ieee754_exp): For possibly underflowing results, check size of
30921         result and force underflow exception if required.
30922         * math/auto-libm-test-in: Add more tests of exp.
30923         * math/auto-libm-test-out: Regenerated.
30924         * sysdeps/i386/fpu/libm-test-ulps: Update.
30925         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30927         [BZ #16283]
30928         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
30929         * math/w_exp2f.c (__exp2f): Likewise.
30930         * math/w_exp2l.c (__exp2l): Likewise.
30931         * math/auto-libm-test-in: Do not allow missing errno on exp2
30932         underflow.
30933         * math/auto-libm-test-out: Regenerated.
30935 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
30937         [BZ #16274]
30938         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
30939         handle filename validation.
30940         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
30941         (do_open): Delete.
30943 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
30945         [BZ #6786]
30946         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
30947         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
30948         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
30949         <float.h>.
30950         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
30951         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
30952         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
30953         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
30954         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
30955         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
30956         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
30957         * math/auto-libm-test-in: Don't allow missing errno from erfc.
30958         Add more erfc tests.
30959         * math/auto-libm-test-out: Regenerated.
30960         * sysdeps/i386/fpu/libm-test-ulps: Update.
30961         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30963         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
30964         exp2, expm1, j0 and j1.
30965         * math/auto-libm-test-out: Regenerated.
30966         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
30967         (erfc_test_data): Likewise.
30968         (exp_test_data): Likewise.
30969         (exp_tonearest_test_data): Likewise.
30970         (exp_towardzero_test_data): Likewise.
30971         (exp_downward_test_data): Likewise.
30972         (exp_upward_test_data): Likewise.
30973         (exp10_test_data): Likewise.
30974         (exp2_test_data): Likewise.
30975         (expm1_test_data): Likewise.
30976         (j0_test_data): Likewise.
30977         (j1_test_data): Likewise.
30978         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
30979         (input_flag_type): Add flag_xfail_rounding.
30980         (input_flags): Add xfail-rounding.
30981         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
30982         (output_for_one_input_case): Handle flag_xfail_rounding.
30983         * sysdeps/i386/fpu/libm-test-ulps: Update.
30984         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30986 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
30988         [BZ #16289]
30989         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
30990         division by 0.
30992 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
30994         [BZ #16195]
30995         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
30996         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
30997         (STAP_PROBE0): New macro.
30998         (STAP_PROBE1): Likewise.
30999         (STAP_PROBE2): Likewise.
31000         (STAP_PROBE3): Likewise.
31001         (STAP_PROBE4): Likewise.
31003 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
31005         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
31007 2013-12-02  Steve Ellcey  <sellcey@mips.com>
31009         * benchtests/Makefile (bench): Add sqrt.
31010         (LDLIBS-bench-sqrt): New.
31011         * benchtests/sqrt-input: New.
31013 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
31015         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
31016         (GAIH_EAI): Likewise.
31017         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
31018         (gaih_inet): Likewise.
31019         (getaddrinfo): Don't use GAIH_EAI.
31021         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
31022         (struct gaih): Remove definition.
31024 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
31026         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
31027         Use HERRNOP directly.
31029 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31031         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31033 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
31035         * math/gen-auto-libm-tests.c (test_functions): Add more
31036         single-argument functions.
31037         (special_fill_pi_2): New function.
31038         (special_fill_minus_pi_2): Likewise.
31039         (special_fill_pi_6): Likewise.
31040         (special_fill_minus_pi_6): Likewise.
31041         (special_fill_pi_3): Likewise.
31042         (special_fill_2pi_3): Likewise.
31043         (special_fill_e): Likewise.
31044         (special_fill_1_e): Likewise.
31045         (special_fill_e_minus_1): Likewise.
31046         (special_real_inputs): Add more special inputs.
31047         (output_for_one_input_case): Do not require ERANGE on underflow to
31048         zero if round-to-nearest result does not underflow to zero, unless
31049         exact results required.
31050         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
31051         atan, atanh, cbrt, cos and cosh.
31052         * math/auto-libm-test-out: Regenerated.
31053         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
31054         (acos_tonearest_test_data): Likewise.
31055         (acos_towardzero_test_data): Likewise.
31056         (acos_downward_test_data): Likewise.
31057         (acos_upward_test_data): Likewise.
31058         (acosh_test_data): Likewise.
31059         (asin_test_data): Likewise.
31060         (asin_tonearest_test_data): Likewise.
31061         (asin_towardzero_test_data): Likewise.
31062         (asin_upward_test_data): Likewise.
31063         (asinh_test_data): Likewise.
31064         (atan_test_data): Likewise.
31065         (atanh_test_data): Likewise.
31066         (cbrt_test_data): Likewise.
31067         (cos_test_data): Likewise.
31068         (cos_tonearest_test_data): Likewise.
31069         (cos_towardzero_test_data): Likewise.
31070         (cos_downward_test_data): Likewise.
31071         (cos_upward_test_data): Likewise.
31072         (cosh_test_data): Likewise.
31073         (cosh_tonearest_test_data): Likewise.
31074         (cosh_towardzero_test_data): Likewise.
31075         (cosh_downward_test_data): Likewise.
31076         (cosh_upward_test_data): Likewise.
31077         * sysdeps/i386/fpu/libm-test-ulps: Update.
31078         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31080 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
31082         [BZ #6787]
31083         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
31084         * math/w_exp10f.c (__exp10f): Likewise.
31085         * math/w_exp10l.c (__exp10l): Likewise.
31086         * math/libm-test.inc (exp10_test_data): Add more tests and expect
31087         errno settings in existing tests.
31089         [BZ #14032]
31090         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
31091         precision control set to double precision.
31092         * sysdeps/i386/fpu/w_sqrt.c: New file.
31093         * math/auto-libm-test-in: Add more tests.
31094         * math/auto-libm-test-out: Update.
31096         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
31097         (sqrt_test_tonearest): New function.
31098         (sqrt_towardzero_test_data): New variable.
31099         (sqrt_test_towardzero): New function.
31100         (sqrt_downward_test_data): New variable.
31101         (sqrt_test_downward): New function.
31102         (sqrt_upward_test_data): New variable.
31103         (sqrt_test_upward): New function.
31104         (main): Call the new functions.
31106         * math/gen-auto-libm-tests.c: New file.
31107         * math/auto-libm-test-in: Likewise.
31108         * math/auto-libm-test-out: New generated file.
31109         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
31110         variables.
31111         (%beautify): Add generated representations of zero.
31112         (top level): Set $auto_input and call parse_auto_input.
31113         (beautify): Remove trailing "f" from hex float constants.
31114         (parse_args): Handle XFAIL_TEST.
31115         (convert_condition): New function.
31116         (or_value): Likewise.
31117         (or_cond_value): Likewise.
31118         (generate_testfile): Handle AUTO_TESTS_* lines.
31119         (parse_auto_input): New function.
31120         * math/libm-test.inc (XFAIL_TEST): New macro.
31121         (ERRNO_UNCHANGED): Update value.
31122         (ERRNO_EDOM): Likewise.
31123         (ERRNO_ERANGE): Likewise.
31124         (IGNORE_RESULT): Likewise.
31125         (TEST_COND_flt_32): New macro.
31126         (TEST_COND_dbl_64): Likewise.
31127         (TEST_COND_ldbl_96_intel): Likewise.
31128         (TEST_COND_ldbl_96_m68k): Likewise.
31129         (TEST_COND_ldbl_128): Likewise.
31130         (TEST_COND_ldbl_128ibm): Likewise.
31131         (TEST_COND_long32): Likewise.
31132         (TEST_COND_long64): Likewise.
31133         (TEST_COND_before_rounding): Likewise.
31134         (TEST_COND_after_rounding): Likewise.
31135         (enable_test): Handle XFAIL_TEST flag.
31136         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
31137         with finite results.
31138         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
31139         auto-libm-test-out.
31141 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
31142             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31144         [BZ #16214]
31145         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
31146         __tls_get_addr_internal instead of __tls_get_offset in order to
31147         avoid GOT pointer dependency.  Make rtld export
31148         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
31149         __tls_get_addr since we are a __tls_get_offset platform.
31150         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
31151         GOT pointer being set up before.
31152         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
31154 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
31156         * manual/math.texi (Errors in Math Functions): Document accuracy
31157         goals.
31159         [BZ #15004]
31160         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
31161         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
31162         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
31163         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
31164         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
31165         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
31166         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
31167         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
31168         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
31169         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
31170         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
31171         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
31172         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
31173         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
31174         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
31175         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
31177         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
31178         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
31179         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
31180         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
31181         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
31182         Likewise.
31183         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
31184         Likewise.
31185         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
31186         Likewise.
31187         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
31188         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
31189         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
31190         atomic-feupdateenv and flt-rounds.
31191         * sysdeps/powerpc/nofpu/Versions (libc): Add
31192         __atomic_feholdexcept, __atomic_feclearexcept,
31193         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
31194         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
31195         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
31196         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
31197         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
31198         here.
31199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
31200         Update.
31202         * manual/arith.texi (FP Exceptions): Document that exceptions may
31203         not be raised when matherr is used.
31204         (Math Error Reporting): Document overflow in directed rounding
31205         modes.  Document that errno may not be set when finite values are
31206         returned on overflow.  Document intent to set errno on underflow
31207         only for underflow to zero.
31209         [BZ #16271]
31210         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
31211         round-to-nearest then adjust result for other rounding modes.
31212         * include/fenv.h (fegetround): Use libm_hidden_proto.
31213         * math/fegetround.c (fegetround): Use libm_hidden_def.
31214         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
31215         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
31216         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
31217         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
31218         Likewise.
31219         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
31220         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
31221         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
31222         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
31224 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31226         [BZ #16077]
31227         * nss/Versions (libnss_files): Add
31228         _nss_files_gethostbyname3_r.
31229         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
31230         New function.
31231         (HOST_DB_LOOKUP): Remove macro.
31232         (_nss_files_gethostbyname_r): Implement function without the
31233         HOST_DB_LOOKUP macro.
31234         (_nss_files_gethostbyname2_r): Likewise.
31236 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
31238         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
31240 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
31242         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
31243         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
31244         warning.
31246 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31248         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
31249         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
31250         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
31251         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
31252         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
31253         __fe_nomask_env_priv and attribute_hidden.
31254         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
31255         (libc_feupdateenv_test_ppc): Likewise.
31256         (libc_feresetround_ppc): Likewise.
31257         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
31258         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
31259         compat_symbol macro.
31260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
31261         (__fe_nomask_env): Likewise.
31262         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
31264 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
31266         * string/Makefile: Remove ifunc tests.
31267         * string/test-string.h: Define TEST_IFUNC.
31268         * string/test-bcopy-ifunc.c: Remove.
31269         * string/test-bzero-ifunc.c: Likewise.
31270         * string/test-memccpy-ifunc.c: Likewise.
31271         * string/test-memchr-ifunc.c: Likewise.
31272         * string/test-memcmp-ifunc.c: Likewise.
31273         * string/test-memcpy-ifunc.c: Likewise.
31274         * string/test-memmem-ifunc.c: Likewise.
31275         * string/test-memmove-ifunc.c: Likewise.
31276         * string/test-mempcpy-ifunc.c: Likewise.
31277         * string/test-memrchr-ifunc.c: Likewise.
31278         * string/test-memset-ifunc.c: Likewise.
31279         * string/test-rawmemchr-ifunc.c: Likewise.
31280         * string/test-stpcpy-ifunc.c: Likewise.
31281         * string/test-stpncpy-ifunc.c: Likewise.
31282         * string/test-strcasecmp-ifunc.c: Likewise.
31283         * string/test-strcasestr-ifunc.c: Likewise.
31284         * string/test-strcat-ifunc.c: Likewise.
31285         * string/test-strchr-ifunc.c: Likewise.
31286         * string/test-strchrnul-ifunc.c: Likewise.
31287         * string/test-strcmp-ifunc.c: Likewise.
31288         * string/test-strcpy-ifunc.c: Likewise.
31289         * string/test-strcspn-ifunc.c: Likewise.
31290         * string/test-strlen-ifunc.c: Likewise.
31291         * string/test-strncasecmp-ifunc.c: Likewise.
31292         * string/test-strncat-ifunc.c: Likewise.
31293         * string/test-strncmp-ifunc.c: Likewise.
31294         * string/test-strncpy-ifunc.c: Likewise.
31295         * string/test-strnlen-ifunc.c: Likewise.
31296         * string/test-strpbrk-ifunc.c: Likewise.
31297         * string/test-strrchr-ifunc.c: Likewise.
31298         * string/test-strspn-ifunc.c: Likewise.
31299         * string/test-strstr-ifunc.c: Likewise.
31301 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
31303         * benchtests/Makefile: Remove ifunc tests.
31304         * benchtests/bench-string.h: Define TEST_IFUNC.
31305         * benchtests/bench-bcopy-ifunc.c: Remove.
31306         * benchtests/bench-bzero-ifunc.c: Likewise.
31307         * benchtests/bench-memccpy-ifunc.c: Likewise.
31308         * benchtests/bench-memchr-ifunc.c: Likewise.
31309         * benchtests/bench-memcmp-ifunc.c: Likewise.
31310         * benchtests/bench-memcpy-ifunc.c: Likewise.
31311         * benchtests/bench-memmem-ifunc.c: Likewise.
31312         * benchtests/bench-memmove-ifunc.c: Likewise.
31313         * benchtests/bench-mempcpy-ifunc.c: Likewise.
31314         * benchtests/bench-memrchr-ifunc.c: Likewise.
31315         * benchtests/bench-memset-ifunc.c: Likewise.
31316         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
31317         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
31318         * benchtests/bench-stpcpy-ifunc.c: Likewise.
31319         * benchtests/bench-stpncpy-ifunc.c: Likewise.
31320         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
31321         * benchtests/bench-strcasestr-ifunc.c: Likewise.
31322         * benchtests/bench-strcat-ifunc.c: Likewise.
31323         * benchtests/bench-strchr-ifunc.c: Likewise.
31324         * benchtests/bench-strchrnul-ifunc.c: Likewise.
31325         * benchtests/bench-strcmp-ifunc.c: Likewise.
31326         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
31327         * benchtests/bench-strcpy-ifunc.c: Likewise.
31328         * benchtests/bench-strcspn-ifunc.c: Likewise.
31329         * benchtests/bench-strlen-ifunc.c: Likewise.
31330         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
31331         * benchtests/bench-strncat-ifunc.c: Likewise.
31332         * benchtests/bench-strncmp-ifunc.c: Likewise.
31333         * benchtests/bench-strncpy-ifunc.c: Likewise.
31334         * benchtests/bench-strnlen-ifunc.c: Likewise.
31335         * benchtests/bench-strpbrk-ifunc.c: Likewise.
31336         * benchtests/bench-strrchr-ifunc.c: Likewise.
31337         * benchtests/bench-strsep-ifunc.c: Likewise.
31338         * benchtests/bench-strspn-ifunc.c: Likewise.
31339         * benchtests/bench-strstr-ifunc.c: Likewise.
31341 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
31343         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
31345 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
31347         * resolv/netdb.h: Use __glibc_reserved instead __unused.
31348         * rt/aio.h: Likewise.
31349         * sysdeps/gnu/bits/utmp.h: Likewise.
31350         * sysdeps/gnu/bits/utmpx.h: Likewise.
31351         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
31352         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
31353         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
31354         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
31355         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
31356         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
31357         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
31358         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
31359         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
31360         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
31361         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
31362         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
31363         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
31364         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
31365         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
31366         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
31367         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
31368         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
31369         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
31370         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
31371         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
31372         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
31373         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
31374         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
31375         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
31376         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31377         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
31378         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
31379         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
31380         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
31381         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
31382         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
31383         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
31384         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
31385         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
31386         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
31387         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
31388         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
31389         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
31390         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
31391         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
31392         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
31394 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
31396         [BZ #16245]
31397         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
31398         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
31400 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
31402         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
31403         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
31404         Likewise.
31406 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31408         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
31409         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
31410         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
31411         (__fesetround): Remove define.
31412         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
31413         rounding and exceptions handling.
31414         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
31415         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
31416         (__fe_nomask_env): Likewise.
31417         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
31418         __fegetround instead of fegetround.
31419         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
31420         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
31422 2013-11-21  Roland McGrath  <roland@hack.frob.com>
31424         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
31425         it's there.
31427         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
31429 2013-11-21  Meador Inge  <meadori@codesourcery.com>
31431         [BZ #11157]
31432         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
31433         (encrypt_r): Likewise.
31434         * malloc/obstack.h (obstack_free): Likewise.
31435         * posix/unistd.h (encrypt): Likewise.
31437 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
31439         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
31440         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
31441         DL_CALL_DT_FINI() that call the functions directly.
31442         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
31443         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
31444         * elf/dl-fini.c: Likewise.
31446 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
31448         * malloc/hooks.c (memalign_check): Add alignment rounding.
31449         * malloc/malloc.c (_mid_memalign): New function.
31450         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
31451         Implement by calling _mid_memalign.
31452         * manual/probes.texi (Memory Allocation Probes): Remove
31453         memory_valloc_retry and memory_pvalloc_retry.
31455 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
31457         * locale/programs/locarchive.c (open_archive): Add const
31458         qualifier to ARCHIVEFNAME and copy default fname to
31459         DEFAULT_FNAME.
31461         [BZ #15601]
31462         * libio/tst-widetext.input: Rename Oriya to Odia.
31463         * locale/iso-639.def: Likewise.
31465         * manual/probes.texi (Mathematical Function Probes): Add
31466         documentation for sin, cos, asin and acos probes.
31467         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
31468         (__sin32): Add slowasin probe.
31469         (__cos32): Add slowacos probe.
31470         (__mpsin): Add slowsin probe.
31471         (__mpcos): Add slowcos probe.
31473 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
31475         [BZ #15483]
31476         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
31477         thread-local __sim_exceptions_thread and global
31478         __sim_exceptions_global.
31479         (__sim_disabled_exceptions): Change to thread-local
31480         __sim_disabled_exceptions_thread and global
31481         __sim_disabled_exceptions_global.
31482         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
31483         and global __sim_round_mode_global.
31484         (__simulate_exceptions): Use thread-local floating-point state and
31485         set global state from it as needed.
31486         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
31487         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
31488         __sim_round_mode_thread.
31489         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
31490         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
31491         and global __sim_exceptions_global.
31492         (__sim_disabled_exceptions): Change to thread-local
31493         __sim_disabled_exceptions_thread and global
31494         __sim_disabled_exceptions_global.
31495         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
31496         and global __sim_round_mode_global.
31497         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
31498         (SIM_SET_GLOBAL): Likewise.
31499         * sysdeps/powerpc/soft-fp/sfp-machine.h
31500         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
31501         __sim_round_mode_thread.
31502         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
31503         __sim_disabled_exceptions_thread.
31504         (__sim_exceptions): Change to __sim_exceptions_thread.
31505         (__sim_disabled_exceptions): Change to
31506         __sim_disabled_exceptions_thread.
31507         (__sim_round_mode): Change to __sim_round_mode_thread.
31508         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
31509         thread-local floating-point state and set global state from it as
31510         needed.
31511         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
31512         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
31513         (__sim_disabled_exceptions): Remove extern declaration.
31514         (feenableexcept): Use thread-local floating-point state and set
31515         global state from it as needed.
31516         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
31517         extern declaration.
31518         (__sim_disabled_exceptions): Likewise.
31519         (__sim_round_mode): Likewise.
31520         (__fegetenv): Use thread-local floating-point state.
31521         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
31522         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
31523         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
31524         floating-point state and set global state from it as needed.
31525         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
31526         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
31527         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
31528         Likewise.
31529         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
31530         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
31531         Likewise.
31532         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
31533         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
31534         Use __sim_round_mode_thread.
31535         * math/test-fenv-tls.c: New file.
31536         * math/Makefile (tests): Add test-fenv-tls.
31537         ($(objpfx)test-fenv-tls): Depend on
31538         $(common-objpfx)nptl/libpthread.so.
31540 2013-11-19  Andreas Schwab  <schwab@suse.de>
31542         * locale/programs/locale.c (show_info): Decode wordarray elements.
31543         * locale/categories.def (LC_MONETARY): Add element for
31544         _NL_MONETARY_CRNCYSTR.
31545         * locale/C-monetary.c (conversion_rate): New variable.
31546         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
31547         element.
31549 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
31551         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
31552         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
31554 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
31556         * elf/Makefile (tst-auxv): New test.
31557         * elf/tst-auxv.c: New
31558         * elf/rtld.c (dl_main): Adjust AT_EXECFN
31560 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
31562         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
31563         (hidden_proto): Caller changed.
31564         (hidden_tls_proto): New macro.
31565         (libc_hidden_tls_proto): Likewise.
31566         (rtld_hidden_tls_proto): Likewise.
31567         (libm_hidden_tls_proto): Likewise.
31568         (libresolv_hidden_tls_proto): Likewise.
31569         (librt_hidden_tls_proto): Likewise.
31570         (libdl_hidden_tls_proto): Likewise.
31571         (libnss_files_hidden_tls_proto): Likewise.
31572         (libnsl_hidden_tls_proto): Likewise.
31573         (libnss_nisplus_hidden_tls_proto): Likewise.
31574         (libutil_hidden_tls_proto): Likewise.
31576 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
31578         [BZ #10253]
31579         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
31580         (decompose_rpath): Defer expansion to fillin_rpath.
31581         (_dl_init_paths): Pass linkmap to fillin_rpath.
31583 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
31585         * benchtests/Makefile: Add strsep.
31586         * benchtests/bench-strsep.c: New file: strsep benchtest.
31587         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
31589 2013-11-18  Andreas Schwab  <schwab@suse.de>
31591         * locale/programs/locale.c (show_info) [case byte]: Check for
31592         '\377' instead of '\177'.
31593         * locale/C-monetary.c (not_available): Always use "\377".
31594         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
31595         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
31596         detect unavailable sign_posn locale elements.
31597         * locale/localeconv.c (__localeconv): For grouping and
31598         mon_grouping handle "\177" and "\377" like no grouping.
31599         (INT_ELEM): New macro.  Use it to set all numeric members.
31600         * locale/programs/ld-monetary.c (monetary_read)
31601         <tok_mon_grouping>: Normalize single -1 to the empty string.
31602         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
31603         Likewise.
31605 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
31607         [BZ #16055]
31608         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
31609         when we match (nil).
31610         * stdio-common/tst-sscanf.c (struct test): Add testcase.
31612 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
31614         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
31615         (NO_TEST_INLINE): Update value.
31616         (ERRNO_UNCHANGED): Likewise.
31617         (ERRNO_EDOM): Likewise.
31618         (ERRNO_ERANGE): Likewise.
31619         (IGNORE_RESULT): Likewise.
31620         (check_float_internal): Check signs of NaN results if
31621         TEST_NAN_SIGN used.
31622         (check_complex): Pass TEST_NAN_SIGN flag through to second
31623         check_float_internal call.
31624         (copysign_test_data): Add tests with quiet NaNs as second
31625         argument.  Use TEST_NAN_SIGN.
31626         (fabs_test_data): Add test of negative quiet NaN argument.  Use
31627         TEST_NAN_SIGN.
31628         (signbit_test_data): Add tests of quiet NaN argument.
31629         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
31631         * math/gen-libm-test.pl (show_exceptions): Take extra argument
31632         $ignore_result.
31633         (parse_args): Handle function results specified as IGNORE.
31634         * math/libm-test.inc (IGNORE_RESULT): New macro.
31635         (check_float_internal): Do not check numerical result if flag
31636         IGNORE_RESULT set.
31637         (check_complex): Pass through IGNORE_RESULT to second
31638         check_float_internal call.
31639         (check_int): Do not check numerical result if flag IGNORE_RESULT
31640         set.
31641         (check_long): Likewise.
31642         (check_bool): Likewise.
31643         (check_longlong): Likewise.
31644         (lrint_test_data): Add tests of infinite and NaN arguments.
31645         (lrint_tonearest_test_data): Likewise.
31646         (lrint_towardzero_test_data): Likewise.
31647         (lrint_downward_test_data): Likewise.
31648         (lrint_upward_test_data): Likewise.
31649         (llrint_test_data): Likewise.
31650         (llrint_tonearest_test_data): Likewise.
31651         (llrint_towardzero_test_data): Likewise.
31652         (llrint_downward_test_data): Likewise.
31653         (llrint_upward_test_data): Likewise.
31654         (lround_test_data): Likewise.
31655         (llround_test_data): Likewise.
31657         * math/libm-test.inc (NO_TEST_INLINE): New macro.
31658         (ERRNO_UNCHANGED): Update value.
31659         (ERRNO_EDOM): Likewise.
31660         (ERRNO_ERANGE): Likewise.
31661         (NO_TEST_INLINE_FLOAT): New macro.
31662         (NO_TEST_INLINE_DOUBLE): Likewise.
31663         (enable_test): New function.
31664         (RUN_TEST_f_f): Check enable_test before running test.
31665         (RUN_TEST_2_f): Likewise.
31666         (RUN_TEST_fff_f): Likewise.
31667         (RUN_TEST_c_f): Likewise.
31668         (RUN_TEST_f_f1): Likewise.
31669         (RUN_TEST_fF_f1): Likewise.
31670         (RUN_TEST_fI_f1): Likewise.
31671         (RUN_TEST_ffI_f1): Likewise.
31672         (RUN_TEST_c_c): Likewise.
31673         (RUN_TEST_cc_c): Likewise.
31674         (RUN_TEST_f_i): Likewise.
31675         (RUN_TEST_f_i_tg): Likewise.
31676         (RUN_TEST_ff_i_tg): Likewise.
31677         (RUN_TEST_f_b): Likewise.
31678         (RUN_TEST_f_b_tg): Likewise.
31679         (RUN_TEST_f_l): Likewise.
31680         (RUN_TEST_f_L): Likewise.
31681         (RUN_TEST_fFF_11): Likewise.
31682         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
31683         conditionals.
31684         (cosh_test_data): Likewise.
31685         (exp_test_data): Likewise.
31686         (expm1_test_data): Likewise.
31687         (hypot_test_data): Likewise.
31688         (pow_test_data): Likewise.
31689         (sinh_test_data): Likewise.
31690         (tanh_test_data): Likewise.
31691         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
31692         flags argument.
31694         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
31695         tests with quiet NaN input and output.
31696         (acosh_test_data): Likewise.
31697         (asin_test_data): Likewise.
31698         (asinh_test_data): Likewise.
31699         (atan_test_data): Likewise.
31700         (atanh_test_data): Likewise.
31701         (atan2_test_data): Likewise.
31702         (cbrt_test_data): Likewise.
31703         (cos_test_data): Likewise.
31704         (cosh_test_data): Likewise.
31705         (erf_test_data): Likewise.
31706         (erfc_test_data): Likewise.
31707         (exp_test_data): Likewise.
31708         (exp10_test_data): Likewise.
31709         (exp2_test_data): Likewise.
31710         (expm1_test_data): Likewise.
31711         (hypot_test_data): Likewise.
31712         (j0_test_data): Likewise.
31713         (j1_test_data): Likewise.
31714         (jn_test_data): Likewise.
31715         (lgamma_test_data): Likewise.
31716         (log_test_data): Likewise.
31717         (log10_test_data): Likewise.
31718         (log1p_test_data): Likewise.
31719         (log2_test_data): Likewise.
31720         (pow_test_data): Likewise.
31721         (scalb_test_data): Likewise.
31722         (sin_test_data): Likewise.
31723         (sincos_test_data): Likewise.
31724         (sinh_test_data): Likewise.
31725         (tan_test_data): Likewise.
31726         (tanh_test_data): Likewise.
31727         (tgamma_test_data): Likewise.
31728         (y0_test_data): Likewise.
31729         (y1_test_data): Likewise.
31730         (yn_test_data): Likewise.
31732         [BZ #16167]
31733         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
31734         argument being NaN and avoid computations with second argument in
31735         that case.
31736         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
31737         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
31738         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
31740 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
31742         * locale/iso-639.def: Add Chitwani Tharu (the).
31744 2013-11-14  Andreas Schwab  <schwab@suse.de>
31746         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
31747         word instead of empty string.
31749 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31751         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
31752         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
31753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
31754         (__fe_nomask_env): Likewise.
31756 2013-11-13  Steve Ellcey  <sellcey@mips.com>
31758         * benchtests/bench-timing.h: Include time.h.
31760 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
31762         [BZ #15997]
31763         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
31764         to 3.4.0 for x32.
31765         * sysdeps/unix/sysv/linux/configure: Regenerated.
31767 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
31769         [BZ #16151]
31770         * stdlib/strtod_l.c (round_and_return): Do not consider
31771         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
31772         exponent one less than half the least subnormal exponent.
31773         * stdlib/test-strtod-round-data: Add more tests.
31774         * stdlib/tst-strtod-round.c (tests): Regenerated.
31776 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31778         [BZ #14143]
31779         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
31780         (__fe_mask_env): Likewise.
31781         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
31782         libm_hidden_proto and add function prototype.
31783         (__fe_mask_env): Add function prototype.
31784         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
31785         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
31786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
31787         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
31788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
31789         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
31791 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
31793         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
31794         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
31796 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
31798         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
31799         of htab_find_slot().
31801 2013-11-11  David S. Miller  <davem@davemloft.net>
31803         [BZ #16150]
31804         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
31805         symbol in the non-vis3 case in static builds.
31806         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
31807         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
31808         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
31809         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
31811 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
31813         [BZ #387]
31814         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
31815         it is empty.
31817 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31819         * benchtests/Makefile: Add bench-strtod.
31820         * benchtests/bench-strtod.c: New file: strtod benchtest
31822 2013-11-11  Andreas Schwab  <schwab@suse.de>
31824         [BZ #16153]
31825         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
31826         terminating NUL in key length.
31828 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31830         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
31831         Add artificial ODP entry for vDSO symbol for PPC64.
31832         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
31833         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
31835 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
31837         [BZ #15374]
31838         * nss/getent.c (services_keys): Recognize services starting with digit.
31840 2013-11-06  David S. Miller  <davem@davemloft.net>
31842         [BZ #15985]
31843         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
31844         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
31846 2013-11-06  Will Newton  <will.newton@linaro.org>
31848         * manual/memory.texi (Malloc Examples): Remove register
31849         keyword from examples.
31851 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
31853         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
31855 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
31857         [BZ #6981]
31858         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
31859         depending on [__GCC_IEC_559 > 0].
31860         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
31861         depending on [__GCC_IEC_559_COMPLEX > 0].
31863 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
31865         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
31866         to iso-639.def.
31868 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
31870         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
31872 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
31874         [BZ #16112]
31875         * malloc/malloc (malloc_info): Do not handle first bin as
31876         special case.
31878 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
31880         * locale/iso-639.def: Add Central Nahuatl (nhn).
31882 2013-11-01  Bruno Haible  <bruno@clisp.org>
31884         [BZ #7003]
31885         * manual/math.texi (BSD Random): Specify range upper bound as
31886         in POSIX.
31888 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
31890         * locale/iso-639.def: Add Meadow Mari (mhr).
31892 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
31894         [BZ #14752], [BZ #15763]
31895         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
31896         Validate name.
31897         * rt/tst_shm.c: Add test for escaping directory.
31899 2013-10-31  Andreas Schwab  <schwab@suse.de>
31901         [BZ #15917]
31902         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
31903         followed by 'x' as part of digit sequence.
31904         * stdio-common/tst-sscanf.c (double_tests2): New tests.
31906 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
31908         [BZ #16037]
31909         * configure.ac: allow GNU Make 4.0 and greater.
31910         * configure: Regenerated.
31912 2013-10-30  Will Newton  <will.newton@linaro.org>
31914         [BZ #16038]
31915         * malloc/hooks.c (memalign_check): Limit alignment to the
31916         maximum representable power of two.
31917         * malloc/malloc.c (__libc_memalign): Likewise.
31918         * malloc/tst-memalign.c (do_test): Add test for very
31919         large alignment values.
31920         * malloc/tst-posix_memalign.c (do_test): Likewise.
31922 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
31924         [BZ #11087]
31925         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
31926         (munmap_chunk): Likewise.
31927         (mremap_chunk): Likewise.
31929 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
31931         [BZ #15799]
31932         * stdlib/div.c (div): Remove obsolete code.
31933         * stdlib/ldiv.c (ldiv): Likewise.
31934         * stdlib/lldiv.c (lldiv): Likewise.
31936 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
31938         [BZ #16071]
31939         * nss/nss_files/files-XXX.c (get_contents_ret): New
31940         enumerator.
31941         (get_contents): New function.
31942         (internal_getent): Use it.  Expand size of LINEBUFLEN.
31944 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
31946         * configure.in: Moved to ...
31947         * configure.ac: ... here. Change reference to configure.in
31948         to configure.ac.
31949         * sysdeps/arm/preconfigure.ac: ... here.
31950         configure.in to configure.ac.
31951         * sysdeps/gnu/configure.in: Moved to ...
31952         * sysdeps/gnu/configure.ac: ... here.
31953         * sysdeps/i386/configure.in: Moved to ...
31954         * sysdeps/i386/configure.ac: ... here.
31955         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
31956         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
31957         * sysdeps/mach/configure.in: Moved to ...
31958         * sysdeps/mach/configure.ac: ... here.
31959         * sysdeps/mach/hurd/configure.in: Moved to ...
31960         * sysdeps/mach/hurd/configure.ac: ... here.
31961         * sysdeps/powerpc/configure.in: Moved to ...
31962         * sysdeps/powerpc/configure.ac: ... here.
31963         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
31964         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
31965         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
31966         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
31967         * sysdeps/s390/s390-32/configure.in: Moved to ...
31968         * sysdeps/s390/s390-32/configure.ac: ... here.
31969         * sysdeps/s390/s390-64/configure.in: Moved to ...
31970         * sysdeps/s390/s390-64/configure.ac: ... here.
31971         * sysdeps/sh/configure.in: Moved to ...
31972         * sysdeps/sh/configure.ac: ... here.
31973         * sysdeps/sparc/configure.in: Moved to ...
31974         * sysdeps/sparc/configure.ac: ... here.
31975         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
31976         * sysdeps/unix/sysv/linux/configure.ac: ... here.
31977         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
31978         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
31979         * sysdeps/x86_64/configure.in: Moved to ...
31980         * sysdeps/x86_64/configure.ac: ... here.
31981         * sysdeps/x86_64/preconfigure.in: Moved to ...
31982         * sysdeps/x86_64/preconfigure.ac: ... here.
31983         * aclocal.m4: Change reference to configure.in to configure.ac.
31984         * config.h.in: Likewise.
31985         * manual/install.texi: Likewise.
31986         * manual/maint.texi: Likewise.
31987         * Makefile: Likewise.
31988         * malloc/Makefile: Likewise.
31989         * nscd/Makefile: Likewise.
31990         * Makeconfig: Change reference to configure.in and
31991         preconfigure.in to configure.ac and preconfigure.ac
31992         respectively.
31993         * INSTALL: Regenerated.
31994         * configure: Likewise.
31995         * sysdeps/gnu/configure: Likewise.
31996         * sysdeps/i386/configure: Likewise.
31997         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
31998         * sysdeps/mach/configure: Likewise.
31999         * sysdeps/mach/hurd/configure: Likewise.
32000         * sysdeps/powerpc/configure: Likewise.
32001         * sysdeps/powerpc/powerpc32/configure: Likewise.
32002         * sysdeps/powerpc/powerpc64/configure: Likewise.
32003         * sysdeps/s390/s390-32/configure: Likewise.
32004         * sysdeps/s390/s390-64/configure: Likewise.
32005         * sysdeps/sh/configure: Likewise.
32006         * sysdeps/sparc/configure: Likewise.
32007         * sysdeps/unix/sysv/linux/configure: Likewise.
32008         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
32009         * sysdeps/x86_64/configure: Likewise.
32010         * sysdeps/x86_64/preconfigure: Likewise.
32012 2013-10-29  Andreas Schwab  <schwab@suse.de>
32014         * stdio-common/Makefile (tst-swscanf-ENV): Define.
32016 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
32018         * benchtests/pow-inputs: Add new inputs.
32020         * benchtests/exp-inputs: Add new inputs.
32022         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
32023         conditional check for return value.
32024         (__cos32): Likewise.
32026 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32028         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
32029         to provide a boost for large inputs with word alignment.
32030         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
32031         implementation based on optimized PPC64 strcpy.
32032         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
32033         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
32034         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
32035         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
32037 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
32039         [BZ #2801]
32040         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
32042 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
32044         [BZ #14876]
32045         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
32046         * time/tst-strptime.c (day_tests): Add testcase.
32048 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
32050         [BZ #14029]
32051         * manual/pattern.texi: Acknowledge that fnmatch can fail.
32053 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
32055         [BZ #16074]
32056         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
32057         MAP_FAILED on error.
32059 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
32061         [BZ #16072]
32062         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
32063         heap for large requests.
32065 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
32067         [BZ #9954]
32068         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
32069         result if the result has no associated interface.
32070         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
32071         interface for all 127.X.Y.Z addresses.
32073 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
32075         * locale/iso-639.def: Add Ligurian (lij)
32077 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
32079         [BZ #15825]
32080         * sunrpc/rpc_main.c: Document rpcgen -5.
32082 2013-10-19  Michael Stahl  <mstahl@redhat.com>
32084         * elf/rtld.c (do_preload): Print the reason why preloading failed.
32086 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
32088         [BZ #10278]
32089         * posix/glob.c: Match only directories when trailing slash is present.
32090         * posix/tst-gnuglob.c (my_opendir): Do not open files.
32091         (main): Add testcase.
32093 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
32095         [BZ #15670]
32096         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
32098 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
32100         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
32101         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
32102         AUTH_DES and cindex for FIPS 140-2.
32103         (DES Encryption): Add cindex FIPS 46-3.
32105         * locale/locarchive.h (struct locarhandle): Add fname.
32106         * locale/programs/localedef.c (main): Pass ARGV[remaining]
32107         if an optional argument was specified to --list-archive,
32108         otherwise NULL.
32109         * locale/programs/locarchive.c (show_archive_content): Take new
32110         argument fname and pass it via ah.fname to open_archive.
32111         * locale/programs/localedef.h: Update decl.
32112         (open_archive): If AH->fname is non-null, open that file
32113         rather than the default file name, and don't ignore ENOENT.
32114         (create_archive): Set AH.fname to NULL.
32115         (delete_locales_from_archive): Likewise.
32116         (add_locales_to_archive): Likewise.
32117         * locale/programs/locfile.c (write_all_categories): Likewise.
32119 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
32120             Aldy Hernandez  <aldyh@redhat.com>
32122         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
32123         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
32124         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
32125         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
32126         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
32127         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
32128         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
32129         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
32130         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
32131         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
32132         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
32133         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
32134         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
32135         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
32136         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
32137         Likewise.
32138         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
32139         Likewise.
32140         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
32141         Likewise.
32142         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
32143         Likewise.
32144         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
32145         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
32146         Likewise.
32147         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
32148         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
32149         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
32150         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
32151         Likewise.
32152         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
32153         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
32154         * sysdeps/powerpc/preconfigure: Likewise.
32155         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
32156         Likewise.
32157         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
32158         Replace contents of file by #include of <fenv_libc.h>.
32159         * sysdeps/powerpc/soft-fp/sfp-machine.h
32160         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
32161         and <sys/prctl.h>.
32162         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
32163         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
32164         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
32165         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
32166         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
32167         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
32168         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
32169         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
32170         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
32171         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
32172         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
32173         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
32174         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
32175         Allow copysignl PLT reference to be missing.
32177 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
32178             Joseph Myers  <joseph@codesourcery.com
32180         [BZ #15948]
32181         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
32182         single character.
32183         (add_to_tablewc): Assert sequence of wide characters is nonempty.
32185 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
32187         * elf/tst-tls-dlinfo.c: Don't include tls.h.
32188         * elf/tst-tls1.c: Likewise.
32189         * elf/tst-tls10.h: Likewise.
32190         * elf/tst-tls14.c: Likewise.
32191         * elf/tst-tls2.c: Likewise.
32192         * elf/tst-tls3.c: Likewise.
32193         * elf/tst-tls4.c: Likewise.
32194         * elf/tst-tls5.c: Likewise.
32195         * elf/tst-tls6.c: Likewise.
32196         * elf/tst-tls7.c: Likewise.
32197         * elf/tst-tls8.c: Likewise.
32198         * elf/tst-tls9.c: Likewise.
32199         * elf/tst-tlsmod1.c: Likewise.
32200         * elf/tst-tlsmod13.c: Likewise.
32201         * elf/tst-tlsmod13a.c: Likewise.
32202         * elf/tst-tlsmod14a.c: Likewise.
32203         * elf/tst-tlsmod16a.c: Likewise.
32204         * elf/tst-tlsmod16b.c: Likewise.
32205         * elf/tst-tlsmod2.c: Likewise.
32206         * elf/tst-tlsmod3.c: Likewise.
32207         * elf/tst-tlsmod4.c: Likewise.
32208         * elf/tst-tlsmod5.c: Likewise.
32209         * elf/tst-tlsmod6.c: Likewise.
32211 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
32213         [BZ #12486]
32214         * malloc/malloc.c: remove checks for statistics.
32216 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
32218         [BZ #15277]
32219         * inet/inet_net.c (inet_network): Detect additional invalid strings.
32220         * inet/tst-network.c: Add testcase.
32222 2013-10-17  Andreas Schwab  <schwab@suse.de>
32224         [BZ #15218]
32225         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
32226         to determine canonical name.
32228 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
32230         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
32231         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
32232         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32233         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
32234         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32235         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
32236         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
32237         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
32238         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
32239         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
32240         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
32241         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32242         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
32243         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
32244         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
32245         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
32246         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32247         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
32248         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
32249         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
32250         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32251         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32252         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
32253         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
32254         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
32255         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
32256         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
32257         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
32258         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
32259         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
32260         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
32261         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32262         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
32263         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
32264         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
32265         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
32266         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
32267         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
32268         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
32269         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32270         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
32271         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
32272         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
32273         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
32274         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
32275         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
32276         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
32277         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
32278         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
32279         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
32280         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
32281         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
32282         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
32283         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
32284         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32285         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
32286         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32287         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
32289 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
32291         [BZ #16041]
32292         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
32293         make result into a quiet NaN.
32295 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
32297         * soft-fp/adddf3.c: Fix horizontal whitespace.
32298         * soft-fp/addsf3.c: Likewise.
32299         * soft-fp/addtf3.c: Likewise.
32300         * soft-fp/divdf3.c: Likewise.
32301         * soft-fp/divsf3.c: Likewise.
32302         * soft-fp/divtf3.c: Likewise.
32303         * soft-fp/double.h: Likewise.
32304         * soft-fp/eqdf2.c: Likewise.
32305         * soft-fp/eqsf2.c: Likewise.
32306         * soft-fp/eqtf2.c: Likewise.
32307         * soft-fp/extenddftf2.c: Likewise.
32308         * soft-fp/extended.h: Likewise.
32309         * soft-fp/extendsfdf2.c: Likewise.
32310         * soft-fp/extendsftf2.c: Likewise.
32311         * soft-fp/extendxftf2.c: Likewise.
32312         * soft-fp/fixdfdi.c: Likewise.
32313         * soft-fp/fixdfsi.c: Likewise.
32314         * soft-fp/fixdfti.c: Likewise.
32315         * soft-fp/fixsfdi.c: Likewise.
32316         * soft-fp/fixsfsi.c: Likewise.
32317         * soft-fp/fixsfti.c: Likewise.
32318         * soft-fp/fixtfdi.c: Likewise.
32319         * soft-fp/fixtfsi.c: Likewise.
32320         * soft-fp/fixtfti.c: Likewise.
32321         * soft-fp/fixunsdfdi.c: Likewise.
32322         * soft-fp/fixunsdfsi.c: Likewise.
32323         * soft-fp/fixunsdfti.c: Likewise.
32324         * soft-fp/fixunssfdi.c: Likewise.
32325         * soft-fp/fixunssfsi.c: Likewise.
32326         * soft-fp/fixunssfti.c: Likewise.
32327         * soft-fp/fixunstfdi.c: Likewise.
32328         * soft-fp/fixunstfsi.c: Likewise.
32329         * soft-fp/fixunstfti.c: Likewise.
32330         * soft-fp/floatdidf.c: Likewise.
32331         * soft-fp/floatdisf.c: Likewise.
32332         * soft-fp/floatditf.c: Likewise.
32333         * soft-fp/floatsidf.c: Likewise.
32334         * soft-fp/floatsisf.c: Likewise.
32335         * soft-fp/floatsitf.c: Likewise.
32336         * soft-fp/floattidf.c: Likewise.
32337         * soft-fp/floattisf.c: Likewise.
32338         * soft-fp/floattitf.c: Likewise.
32339         * soft-fp/floatundidf.c: Likewise.
32340         * soft-fp/floatundisf.c: Likewise.
32341         * soft-fp/floatunditf.c: Likewise.
32342         * soft-fp/floatunsidf.c: Likewise.
32343         * soft-fp/floatunsisf.c: Likewise.
32344         * soft-fp/floatunsitf.c: Likewise.
32345         * soft-fp/floatuntidf.c: Likewise.
32346         * soft-fp/floatuntisf.c: Likewise.
32347         * soft-fp/floatuntitf.c: Likewise.
32348         * soft-fp/fmadf4.c: Likewise.
32349         * soft-fp/fmasf4.c: Likewise.
32350         * soft-fp/fmatf4.c: Likewise.
32351         * soft-fp/gedf2.c: Likewise.
32352         * soft-fp/gesf2.c: Likewise.
32353         * soft-fp/getf2.c: Likewise.
32354         * soft-fp/ledf2.c: Likewise.
32355         * soft-fp/lesf2.c: Likewise.
32356         * soft-fp/letf2.c: Likewise.
32357         * soft-fp/muldf3.c: Likewise.
32358         * soft-fp/mulsf3.c: Likewise.
32359         * soft-fp/multf3.c: Likewise.
32360         * soft-fp/negdf2.c: Likewise.
32361         * soft-fp/negsf2.c: Likewise.
32362         * soft-fp/negtf2.c: Likewise.
32363         * soft-fp/op-1.h: Likewise.
32364         * soft-fp/op-2.h: Likewise.
32365         * soft-fp/op-4.h: Likewise.
32366         * soft-fp/op-8.h: Likewise.
32367         * soft-fp/op-common.h: Likewise.
32368         * soft-fp/quad.h: Likewise.
32369         * soft-fp/single.h: Likewise.
32370         * soft-fp/soft-fp.h: Likewise.
32371         * soft-fp/sqrtdf2.c: Likewise.
32372         * soft-fp/sqrtsf2.c: Likewise.
32373         * soft-fp/sqrttf2.c: Likewise.
32374         * soft-fp/subdf3.c: Likewise.
32375         * soft-fp/subsf3.c: Likewise.
32376         * soft-fp/subtf3.c: Likewise.
32377         * soft-fp/truncdfsf2.c: Likewise.
32378         * soft-fp/trunctfdf2.c: Likewise.
32379         * soft-fp/trunctfsf2.c: Likewise.
32380         * soft-fp/trunctfxf2.c: Likewise.
32381         * soft-fp/unorddf2.c: Likewise.
32382         * soft-fp/unordsf2.c: Likewise.
32383         * soft-fp/unordtf2.c: Likewise.
32385 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
32387         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
32388         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
32390 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
32392         * elf/dl-libc.c: Clear initfini list after freeing.
32394 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
32396         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
32397         * soft-fp/addsf3.c: Likewise.
32398         * soft-fp/addtf3.c: Likewise.
32399         * soft-fp/divdf3.c: Likewise.
32400         * soft-fp/divsf3.c: Likewise.
32401         * soft-fp/divtf3.c: Likewise.
32402         * soft-fp/double.h: Likewise.
32403         * soft-fp/eqdf2.c: Likewise.
32404         * soft-fp/eqsf2.c: Likewise.
32405         * soft-fp/eqtf2.c: Likewise.
32406         * soft-fp/extenddftf2.c: Likewise.
32407         * soft-fp/extended.h: Likewise.
32408         * soft-fp/extendsfdf2.c: Likewise.
32409         * soft-fp/extendsftf2.c: Likewise.
32410         * soft-fp/extendxftf2.c: Likewise.
32411         * soft-fp/fixdfdi.c: Likewise.
32412         * soft-fp/fixdfsi.c: Likewise.
32413         * soft-fp/fixdfti.c: Likewise.
32414         * soft-fp/fixsfdi.c: Likewise.
32415         * soft-fp/fixsfsi.c: Likewise.
32416         * soft-fp/fixsfti.c: Likewise.
32417         * soft-fp/fixtfdi.c: Likewise.
32418         * soft-fp/fixtfsi.c: Likewise.
32419         * soft-fp/fixtfti.c: Likewise.
32420         * soft-fp/fixunsdfdi.c: Likewise.
32421         * soft-fp/fixunsdfsi.c: Likewise.
32422         * soft-fp/fixunsdfti.c: Likewise.
32423         * soft-fp/fixunssfdi.c: Likewise.
32424         * soft-fp/fixunssfsi.c: Likewise.
32425         * soft-fp/fixunssfti.c: Likewise.
32426         * soft-fp/fixunstfdi.c: Likewise.
32427         * soft-fp/fixunstfsi.c: Likewise.
32428         * soft-fp/fixunstfti.c: Likewise.
32429         * soft-fp/floatdidf.c: Likewise.
32430         * soft-fp/floatdisf.c: Likewise.
32431         * soft-fp/floatditf.c: Likewise.
32432         * soft-fp/floatsidf.c: Likewise.
32433         * soft-fp/floatsisf.c: Likewise.
32434         * soft-fp/floatsitf.c: Likewise.
32435         * soft-fp/floattidf.c: Likewise.
32436         * soft-fp/floattisf.c: Likewise.
32437         * soft-fp/floattitf.c: Likewise.
32438         * soft-fp/floatundidf.c: Likewise.
32439         * soft-fp/floatundisf.c: Likewise.
32440         * soft-fp/floatunsidf.c: Likewise.
32441         * soft-fp/floatunsisf.c: Likewise.
32442         * soft-fp/floatuntidf.c: Likewise.
32443         * soft-fp/floatuntisf.c: Likewise.
32444         * soft-fp/floatuntitf.c: Likewise.
32445         * soft-fp/fmadf4.c: Likewise.
32446         * soft-fp/fmasf4.c: Likewise.
32447         * soft-fp/fmatf4.c: Likewise.
32448         * soft-fp/gedf2.c: Likewise.
32449         * soft-fp/gesf2.c: Likewise.
32450         * soft-fp/getf2.c: Likewise.
32451         * soft-fp/ledf2.c: Likewise.
32452         * soft-fp/lesf2.c: Likewise.
32453         * soft-fp/letf2.c: Likewise.
32454         * soft-fp/muldf3.c: Likewise.
32455         * soft-fp/mulsf3.c: Likewise.
32456         * soft-fp/multf3.c: Likewise.
32457         * soft-fp/negdf2.c: Likewise.
32458         * soft-fp/negsf2.c: Likewise.
32459         * soft-fp/negtf2.c: Likewise.
32460         * soft-fp/op-1.h: Likewise.
32461         * soft-fp/op-2.h: Likewise.
32462         * soft-fp/op-4.h: Likewise.
32463         * soft-fp/op-8.h: Likewise.
32464         * soft-fp/op-common.h: Likewise.
32465         * soft-fp/quad.h: Likewise.
32466         * soft-fp/single.h: Likewise.
32467         * soft-fp/soft-fp.h: Likewise.
32468         * soft-fp/sqrtdf2.c: Likewise.
32469         * soft-fp/sqrtsf2.c: Likewise.
32470         * soft-fp/sqrttf2.c: Likewise.
32471         * soft-fp/subdf3.c: Likewise.
32472         * soft-fp/subsf3.c: Likewise.
32473         * soft-fp/subtf3.c: Likewise.
32474         * soft-fp/truncdfsf2.c: Likewise.
32475         * soft-fp/trunctfdf2.c: Likewise.
32476         * soft-fp/trunctfsf2.c: Likewise.
32477         * soft-fp/trunctfxf2.c: Likewise.
32478         * soft-fp/unorddf2.c: Likewise.
32479         * soft-fp/unordsf2.c: Likewise.
32480         * soft-fp/unordtf2.c: Likewise.
32482 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
32484         [BZ #15672]
32485         * misc/error.c (error_tail): Fix possible buffer overflow.
32487 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
32489         [BZ #13028]
32490         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
32491         address.
32493 2013-10-14  P. J. McDermott  <pj@pehjota.net>
32495         [BZ #832]
32496         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
32497         testing pipefail option.
32499 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
32501         * soft-fp/double.h: Indent preprocessor directives inside #if.
32502         * soft-fp/extended.h: Likewise.
32503         * soft-fp/op-2.h: Likewise.
32504         * soft-fp/op-4.h: Likewise.
32505         * soft-fp/op-common.h: Likewise.
32506         * soft-fp/quad.h: Likewise.
32507         * soft-fp/single.h: Likewise.
32508         * soft-fp/soft-fp.h: Likewise.
32510 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
32512         * iconv/iconv_prog.c: Fix typos.
32513         * stdio-common/psiginfo-data.h: Likewise.
32515 2013-10-12   Reuben Thomas <rrt@sc3d.org>
32517         [BZ #15764]
32518         * locale/setlocale.c: Fix typo.
32520 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
32522         [BZ #16036]
32523         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
32524         signaling NaN arguments.
32525         * soft-fp/unordsf2.c (__unordsf2): Likewise.
32526         * soft-fp/unordtf2.c (__unordtf2): Likewise.
32528         [BZ #14910]
32529         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
32530         unordered operands.
32531         * soft-fp/gesf2.c (__gesf2): Likewise.
32532         * soft-fp/getf2.c (__getf2): Likewise.
32533         * soft-fp/ledf2.c (__ledf2): Likewise.
32534         * soft-fp/lesf2.c (__lesf2): Likewise.
32535         * soft-fp/letf2.c (__letf2): Likewise.
32537         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
32538         * soft-fp/eqsf2.c (__eqsf2): Likewise.
32539         * soft-fp/eqtf2.c (__eqtf2): Likewise.
32540         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
32541         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
32542         * soft-fp/fixdfti.c (__fixdfti): Likewise.
32543         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
32544         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
32545         * soft-fp/fixsfti.c (__fixsfti): Likewise.
32546         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
32547         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
32548         * soft-fp/fixtfti.c (__fixtfti): Likewise.
32549         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
32550         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
32551         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
32552         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
32553         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
32554         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
32555         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
32556         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
32557         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
32558         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
32559         * soft-fp/floatdisf.c (__floatdisf): Likewise.
32560         * soft-fp/floatsisf.c (__floatsisf): Likewise.
32561         * soft-fp/floattidf.c (__floattidf): Likewise.
32562         * soft-fp/floattisf.c (__floattisf): Likewise.
32563         * soft-fp/floattitf.c (__floattitf): Likewise.
32564         * soft-fp/floatundidf.c (__floatundidf): Likewise.
32565         * soft-fp/floatundisf.c (__floatundisf): Likewise.
32566         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
32567         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
32568         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
32569         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
32570         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
32571         * soft-fp/gesf2.c (__gesf2): Likewise.
32572         * soft-fp/getf2.c (__getf2): Likewise.
32573         * soft-fp/ledf2.c (__ledf2): Likewise.
32574         * soft-fp/lesf2.c (__lesf2): Likewise.
32575         * soft-fp/letf2.c (__letf2): Likewise.
32577         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
32578         Undefine and redefine.
32579         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
32580         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
32581         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
32582         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
32583         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
32584         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
32585         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
32586         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
32587         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
32588         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
32589         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
32590         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
32591         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
32592         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
32593         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
32595         [BZ #16032]
32596         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
32597         without decrementing exponent if mantissa >= that for the
32598         denominator, not >.
32599         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
32600         denominator, not >.  Decrement exponent in < case instead of
32601         incrementing in >= case.
32602         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
32603         without decrementing exponent if mantissa >= that for the
32604         denominator, not >.
32606         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
32607         computing saturated result for unsigned overflow.
32609 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
32610             Jeff Law  <law@redhat.com>
32612         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
32613         (atan2Mp): Add systemtap probe marker.
32614         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
32615         (__ieee754_log): Add systemtap probe marker.
32616         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
32617         (atanMp): Add systemtap probe marker.
32618         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
32619         (tanMp): Add systemtap probe marker.
32620         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
32621         (__slowexp): Add systemtap probe marker.
32622         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
32623         (__slowpow): Add systemtap probe marker.
32624         * manual/probes.texi: Document probes.
32626 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
32628         [BZ #15362]
32629         * libio/fileops.c (_IO_new_file_write): Return count of bytes
32630         written.
32631         (_IO_new_file_xsputn): Don't return EOF if nothing has been
32632         written.
32633         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
32634         written to buffer but not flushed.
32635         * libio/iofwrite_u.c:  Likewise.
32636         * libio/iopadn.c:  Return bytes returned even if EOF was
32637         encountered.
32638         * libio/iowpadn.c:  Likewise.
32639         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
32640         if _IO_padn does not write the whole buffer.
32641         [!COMPILE_WPRINTF] (PAD): Likewise.
32643 2013-10-10  David S. Miller  <davem@davemloft.net>
32645         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
32646         directory block.
32648 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
32650         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
32651         instead of FSF address.
32652         * soft-fp/fixdfti.c: Likewise.
32653         * soft-fp/fixsfti.c: Likewise.
32654         * soft-fp/fixtfti.c: Likewise.
32655         * soft-fp/fixunsdfti.c: Likewise.
32656         * soft-fp/fixunssfti.c: Likewise.
32657         * soft-fp/fixunstfti.c: Likewise.
32658         * soft-fp/floattidf.c: Likewise.
32659         * soft-fp/floattisf.c: Likewise.
32660         * soft-fp/floattitf.c: Likewise.
32661         * soft-fp/floatuntidf.c: Likewise.
32662         * soft-fp/floatuntisf.c: Likewise.
32663         * soft-fp/floatuntitf.c: Likewise.
32664         * soft-fp/trunctfxf2.c: Likewise.
32666         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
32667         * soft-fp/fixdfti.c: Likewise.
32668         * soft-fp/fixsfti.c: Likewise.
32669         * soft-fp/fixtfti.c: Likewise.
32670         * soft-fp/fixunsdfti.c: Likewise.
32671         * soft-fp/fixunssfti.c: Likewise.
32672         * soft-fp/fixunstfti.c: Likewise.
32673         * soft-fp/floattidf.c: Likewise.
32674         * soft-fp/floattisf.c: Likewise.
32675         * soft-fp/floattitf.c: Likewise.
32676         * soft-fp/floatuntidf.c: Likewise.
32677         * soft-fp/floatuntisf.c: Likewise.
32678         * soft-fp/floatuntitf.c: Likewise.
32679         * soft-fp/trunctfxf2.c: Likewise.
32681 2013-10-10  David S. Miller  <davem@davemloft.net>
32683         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32685 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
32687         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
32688         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
32689         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
32690         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
32691         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
32692         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
32693         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
32695         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
32696         for NaNs before doing comparisons on argument.
32697         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
32698         Likewise.
32700 2013-10-10  Will Newton  <will.newton@linaro.org>
32702         * malloc/hooks.c (memalign_check): Ensure the value of bytes
32703         passed to _int_memalign does not overflow.
32705 2013-10-10  Torvald Riegel  <triegel@redhat.com>
32707         * scripts/bench.pl: Add include-sources directive.
32708         * benchtests/README: Update documentation.
32710 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
32712         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
32713         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
32714         instead of FP_INIT_ROUNDMODE.
32715         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
32716         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
32718         [BZ #16034]
32719         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
32720         copy class of input value.
32721         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
32722         not handle exceptions.
32723         * soft-fp/negsf2.c (__negsf2): Likewise.
32724         * soft-fp/negtf2.c (__negtf2): Likewise.
32725         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
32727 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
32729         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
32730         semicolon.  From Linux kernel.
32732 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
32734         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
32736 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
32738         [BZ #156]
32739         * manual/socket.texi: Added statement about buffer
32740         for gethostbyname2_r.
32742 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
32744         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
32745         Use .p2align directive instead, throughout.
32746         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
32747         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
32748         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
32749         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
32750         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
32751         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
32752         * sysdeps/x86_64/strchr.S: Likewise.
32753         * sysdeps/x86_64/strrchr.S: Likewise.
32755 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
32757         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
32759         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
32761         * sysdeps/generic/math_private.h (__mpsin1): Remove
32762         declaration.
32763         (__mpcos1): Likewise.
32764         (__mpsin): New argument __range_reduce.
32765         (__mpcos): Likewise.
32766         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32767         (slow): Use __mpsin and __mpcos.
32768         (slow1): Likewise.
32769         (slow2): Likewise.
32770         (sloww): Likewise.
32771         (sloww1): Likewise.
32772         (sloww2): Likewise.
32773         (bsloww): Likewise.
32774         (bsloww1): Likewise.
32775         (bsloww2): Likewise.
32776         (cslow2): Likewise.
32777         (csloww): Likewise.
32778         (csloww1): Likewise.
32779         (csloww2): Likewise.
32780         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
32781         range_reduce.  Merge in __mpsin1.
32782         (__mpcos): Likewise.
32783         (__mpsin1): Remove.
32784         (__mpcos1): Likewise.
32786 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
32788         * locale/loadlocale.c (_nl_intern_locale_data): Use
32789         LOCFILE_ALIGNED_P.
32790         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
32791         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
32792         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
32793         obstack data is appropriately aligned.
32794         (obstack_int32_grow_fast): Likewise.
32795         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
32796         * locale/programs/locfile.c (add_locale_uint32): Likewise.
32797         (add_locale_uint32_array): Likewise.
32799 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
32801         * benchtests/Makefile: Remove ARGLIST and RET variables.
32802         ($(objpfx)bench-%.c): Pass only function name to the script.
32803         * benchtests/README: Update documentation.
32804         * benchtests/acos-inputs: Add new directives.
32805         * benchtests/acosh-inputs: Likewise.
32806         * benchtests/asin-inputs: Likewise.
32807         * benchtests/asinh-inputs: Likewise.
32808         * benchtests/atan-inputs: Likewise.
32809         * benchtests/atanh-inputs: Likewise.
32810         * benchtests/cos-inputs: Likewise.
32811         * benchtests/cosh-inputs: Likewise.
32812         * benchtests/exp-inputs: Likewise.
32813         * benchtests/log-inputs: Likewise.
32814         * benchtests/pow-inputs: Likewise.
32815         * benchtests/rint-inputs: Likewise.
32816         * benchtests/sin-inputs: Likewise.
32817         * benchtests/sinh-inputs: Likewise.
32818         * benchtests/tan-inputs: Likewise.
32819         * benchtests/tanh-inputs: Likewise.
32820         * scripts/bench.pl: Add support for new directives.
32822 2013-10-07  Alan Modra  <amodra@gmail.com>
32824         * README: Fix careless merge.
32826 2013-10-05  Alan Modra  <amodra@gmail.com>
32828         * NEWS: Mention powerpc64le support and bugs fixed.
32829         * README: Both big-endian and little-endian powerpc64 supported.
32831 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32833         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
32834         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
32835         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
32836         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
32838 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
32840         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
32841         match prototype.
32843 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
32845         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
32846         Move -mhard-float appending from
32847         ports/sysdeps/powerpc/powerpc32/Makefile.
32848         [$(with-fp) = yes] (ASFLAGS): Likewise.
32849         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
32850         * sysdeps/powerpc/nofpu: Move directory from
32851         ports/sysdeps/powerpc/nofpu.
32852         * sysdeps/powerpc/soft-fp: Move directory from
32853         ports/sysdeps/powerpc/soft-fp.
32854         * sysdeps/powerpc/powerpc32/405: Move directory from
32855         ports/sysdeps/powerpc/powerpc32/405.
32856         * sysdeps/powerpc/powerpc32/440: Move directory from
32857         ports/sysdeps/powerpc/powerpc32/440.
32858         * sysdeps/powerpc/powerpc32/464: Move directory from
32859         ports/sysdeps/powerpc/powerpc32/464.
32860         * sysdeps/powerpc/powerpc32/476: Move directory from
32861         ports/sysdeps/powerpc/powerpc32/476.
32862         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
32863         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
32864         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
32865         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
32866         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
32867         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
32868         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
32869         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
32870         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
32871         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
32872         * README: Update for powerpc-*-linux-gnu software floating point
32873         support in libc.
32875         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
32876         case to powerpc/powerpc32*.
32877         * sysdeps/unix/sysv/linux/configure: Regenerated.
32879         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
32880         (_FPU_MASK_OM): Define as 0x04.
32881         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
32882         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
32883         0x00c10080.
32884         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
32885         0x0000003c.
32886         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
32888         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
32889         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
32890         getcontext_e500.
32891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
32892         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
32893         setcontext_e500.
32894         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
32895         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
32896         and setcontext_e500.
32898 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
32900         * locale/iso-3166.def: Update iso-1366.def and related occurrences
32902 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
32904         * manual/threads.texi (Default Thread Attributes): Fix typo.
32906 2013-10-04  Will Newton  <will.newton@linaro.org>
32908         * malloc/Makefile: Add tst-memalign.
32909         * malloc/tst-memalign.c: New file.
32911         * malloc/tst-posix_memalign.c: Add comments.
32912         (do_test): Add comments and call free on all potentially
32913         allocated pointers. Add space after cast.
32915         * malloc/tst-pvalloc.c: Add comments.
32916         (do_test): Add comments and call free on all potentially
32917         allocated pointers. Remove duplicate check for NULL pointer.
32918         Add space after cast.
32920         * malloc/tst-valloc.c: Add comments.
32921         (do_test): Add comments and call free on all potentially
32922         allocated pointers. Remove duplicate check for NULL pointer.
32923         Add space after cast.
32925 2013-10-04  Alan Modra  <amodra@gmail.com>
32927         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
32928         Use stdint types in rather than __attribute__((mode())).
32929         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
32931 2013-10-04  Alan Modra  <amodra@gmail.com>
32933         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
32934         Correct handling of unaligned relocs for little-endian.
32935         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
32937 2013-10-04  Alan Modra  <amodra@gmail.com>
32939         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
32940         * configure: Regenerate.
32941         * nptl/shlib-versions: Powerpc*le starts at 2.18.
32942         * shlib-versions: Likewise.
32944 2013-10-04  Alan Modra  <amodra@gmail.com>
32946         * string/tester.c (test_memrchr): Increment reported test cycle.
32948 2013-10-04  Alan Modra  <amodra@gmail.com>
32950         * string/test-memcpy.c (do_one_test): When reporting errors, print
32951         string address and don't overrun end of string.
32953 2013-10-04  Alan Modra  <amodra@gmail.com>
32955         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
32956         insrdi.  Make better use of reg selection to speed exit slightly.
32957         Schedule entry path a little better.  Remove useless "are we done"
32958         checks on entry to main loop.  Handle wrapping around zero address.
32959         Correct main loop count.  Handle single left-over word from main
32960         loop inline rather than by using loop_small.  Remove extra word
32961         case in loop_small caused by wrong loop count.  Add little-endian
32962         support.
32963         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
32964         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
32965         cache hint.
32966         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
32967         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
32968         support.  Avoid rlwimi.
32969         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
32971 2013-10-04  Alan Modra  <amodra@gmail.com>
32973         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
32974         insrdi.  Formatting.
32975         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
32976         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
32977         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
32978         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
32979         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
32980         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
32982 2013-10-04  Alan Modra  <amodra@gmail.com>
32984         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
32985         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
32986         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
32987         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
32988         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
32989         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
32990         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
32991         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
32992         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
32993         use of regs.  Use power7 mtocrf.  Tidy function tails.
32995 2013-10-04  Alan Modra  <amodra@gmail.com>
32997         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
32998         Formatting.  Consistently use rXXX register defines or rN defines.
32999         Use early exit labels that avoid restoring unused non-volatile regs.
33000         Make cr field use more consistent with rWORDn compares.  Rename
33001         regs used as shift registers for unaligned loop, using rN defines
33002         for short lifetime/multiple use regs.
33003         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
33004         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
33005         addi 1,1,64 to pop stack frame.  Simplify return value code.
33006         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
33008 2013-10-04  Alan Modra  <amodra@gmail.com>
33010         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
33011         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
33012         rather than rlwimi.
33013         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
33014         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
33015         little-endian support.  Correct typos.
33016         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
33017         rather than rlwimi.
33018         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
33019         in loop and entry code to keep "and." results.
33020         (strchr): Add little-endian support.  Comment.  Move cntlzd
33021         earlier in tail.
33022         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
33024 2013-10-04  Alan Modra  <amodra@gmail.com>
33026         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
33027         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
33028         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
33029         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
33031 2013-10-04  Alan Modra  <amodra@gmail.com>
33033         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
33034         (rTMP): Define as r11.
33035         (strcmp): Add little-endian support.  Optimise tail.
33036         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
33037         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
33038         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
33039         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
33040         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
33041         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
33042         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
33044 2013-10-04  Alan Modra  <amodra@gmail.com>
33046         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
33047         little-endian support.  Remove unnecessary "are we done" tests.
33048         Handle "s" wrapping around zero and extremely large "size".
33049         Correct main loop count.  Handle single left-over word from main
33050         loop inline rather than by using small_loop.  Correct comments.
33051         Delete "zero" tail, use "end_max" instead.
33052         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
33054 2013-10-04  Alan Modra  <amodra@gmail.com>
33056         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
33057         support.  Don't branch over align.
33058         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
33059         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
33060         support.  Rearrange tmp reg use to suit.  Comment.
33061         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
33063 2013-10-04  Alan Modra  <amodra@gmail.com>
33065         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
33067 2013-10-04  Alan Modra  <amodra@gmail.com>
33069         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
33070         conditional form of branch and link when obtaining pc.
33071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
33073 2013-10-04  Alan Modra  <amodra@gmail.com>
33075         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
33076         HIWORD/LOWORD.
33077         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
33078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
33080 2013-10-04  Alan Modra  <amodra@gmail.com>
33082         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
33083         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
33084         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
33085         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
33086         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
33087         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
33088         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
33089         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
33090         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
33091         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
33093 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
33094             Alistair Popple <alistair@ozlabs.au.ibm.com>
33095             Alan Modra <amodra@gmail.com>
33097         [BZ #15723]
33098         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
33099         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
33100         _dl_hwcap access for little-endian.
33101         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
33102         destroy vmx regs when saving unaligned.
33103         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
33104         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
33105         destroy vmx regs when saving unaligned.
33107 2013-10-04  Alan Modra  <amodra@gmail.com>
33109         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
33110         Don't use a union to pack hi/low value.
33112 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
33114         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
33115         for little-endian.
33116         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
33117         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
33118         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
33119         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
33120         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
33122 2013-10-04  Alan Modra  <amodra@gmail.com>
33124         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
33125         constants to usual value for .cst8 section, and remove redundant
33126         high address load.
33127         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
33128         constant for 0x1p52.  Load little-endian words of double from
33129         correct stack offsets.
33131 2013-10-04  Alan Modra  <amodra@gmail.com>
33133         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
33134         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
33135         words of double from correct stack offsets.
33136         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
33137         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
33138         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
33139         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
33140         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
33141         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
33142         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
33143         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
33144         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
33145         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
33146         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
33147         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
33148         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
33149         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
33150         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
33151         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
33152         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
33154 2013-10-04  Alan Modra  <amodra@gmail.com>
33156         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
33157         64-bit int/double union.
33158         (_FPU_SETCW): Likewise.
33159         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
33160         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
33162 2013-10-04  Alan Modra  <amodra@gmail.com>
33164         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
33165         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
33167 2013-10-04  Alan Modra  <amodra@gmail.com>
33169         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
33170         use vector int constants.
33171         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
33173 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
33175         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
33176         array with long long.
33177         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
33178         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
33179         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
33180         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
33181         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
33182         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
33183         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
33184         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
33185         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
33186         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
33187         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
33188         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
33189         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
33191 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
33193         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
33194         (__signbit): Likewise.  Correct for little-endian.
33195         (__signbitl): Call __signbit.
33196         (lrint): Correct for little-endian.
33197         (lrintf): Call lrint.
33199 2013-10-04  Alan Modra  <amodra@gmail.com>
33201         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
33202         union 32-bit int array member with 64-bit int array.
33203         (t515, tm256): Double rather than long double.
33204         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
33206 2013-10-04  Alan Modra  <amodra@gmail.com>
33208         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
33209         Delete.
33210         (IEEE854_LONG_DOUBLE_BIAS): Delete.
33211         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
33212         version of math_ldbl.h.
33214 2013-10-04  Alan Modra  <amodra@gmail.com>
33216         [BZ #15734], [BZ #15735]
33217         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
33218         all uses of ieee875 long double macros and unions.  Simplify test
33219         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
33220         ldbl_extract_mantissa value for ix,iy exponents.  Properly
33221         normalize after ldbl_extract_mantissa, and don't add hidden bit
33222         already handled.  Don't treat low word of ieee854 mantissa like
33223         low word of IBM long double and mask off bit when testing for
33224         zero.
33225         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
33226         all uses of ieee875 long double macros and unions.  Simplify tests
33227         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
33228         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
33229         two1022, instead use their values.  Recognise that tests for large
33230         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
33231         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
33232         Rewrite all uses of ieee875 long double macros and unions.  Simplify
33233         test for 0.0L and nan.  Correct negation.
33234         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
33235         ieee875 long double macros and unions.  Correct output for large
33236         magnitude x.  Correct absolute value calculation.
33237         (__erfcl): Likewise.
33238         * math/libm-test.inc: Add tests for errors discovered in IBM long
33239         double versions of fmodl, remainderl, erfl and erfcl.
33241 2013-10-04  Alan Modra  <amodra@gmail.com>
33243         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
33244         all uses of ieee854 long double macros and unions.  Simplify tests
33245         for long doubles that are fully specified by the high double.
33246         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
33247         Likewise.
33248         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
33249         Remove dead code too.
33250         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
33251         (__ieee754_ynl): Likewise.
33252         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
33253         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
33254         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
33255         Remove dead code too.
33256         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
33257         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
33258         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
33259         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
33260         Simplify.
33261         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
33262         Simplify.
33263         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
33264         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
33265         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
33266         Comment on variable precision.
33267         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
33268         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
33269         Likewise.
33270         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
33271         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
33272         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
33273         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
33274         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
33276 2013-10-04  Alan Modra  <amodra@gmail.com>
33278         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
33279         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
33280         all uses of ieee854 long double macros and unions.
33281         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
33282         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
33283         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
33284         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
33285         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
33286         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
33287         Likewise.
33288         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
33289         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
33290         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
33291         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
33292         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
33293         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
33294         Simplify sign and nan test too.
33295         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
33296         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
33297         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
33298         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
33299         Likewise.
33300         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
33301         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
33302         Likewise.
33303         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33304         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
33305         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
33306         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
33307         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
33308         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
33310 2013-10-04  Alan Modra  <amodra@gmail.com>
33312         * stdio-common/printf_size.c (__printf_size): Don't use
33313         union ieee854_long_double in fpnum union.
33314         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
33315         signbit macro to retrieve sign from long double.
33316         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
33317         retrieve sign from long double.
33318         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
33319         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
33320         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
33321         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
33322         * math/test-misc.c (main): Don't use union ieee854_long_double.
33324 2013-10-04  Alan Modra  <amodra@gmail.com>
33326         [BZ #15680]
33327         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
33328         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
33329         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
33330         calculation.  Remove unnecessary test for denormal exponent.
33331         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
33332         Correct handling of denormals.  Avoid undefined shift behaviour.
33333         Correct normalisation of low mantissa when low double is denormal.
33334         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
33335         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
33336         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
33337         Correct normalisation of low mantissa.  Test for overflow of high
33338         mantissa and normalise.
33339         (ldbl_nearbyint): Use more readable constant for two52.
33340         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
33341         (__mpn_construct_long_double): Fix test for overflow of high
33342         mantissa and correct normalisation.  Avoid undefined shift.
33344 2013-10-04  Alan Modra  <amodra@gmail.com>
33346         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
33347         (union ibm_extended_long_double): Define as an array of ieee754_double.
33348         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
33349         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
33350         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
33351         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
33352         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
33353         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
33354         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
33355         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
33356         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
33357         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
33358         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
33360 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
33362         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
33363         page size instead of calling getpagesize.
33365         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
33366         (LOCFILE_ALIGN_MASK): Likewise.
33367         (LOCFILE_ALIGN_UP): Likewise.
33368         (LOCFILE_ALIGNED_P): Likewise.
33369         * locale/programs/ld-collate.c (collate_output): Use the new
33370         macros instead of __alignof__ (int32_t).
33371         * locale/weight.h (findidx): Likewise.
33373 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
33375         [BZ #431]
33376         * manual/string.texi: Fix strncat and wcsncat.
33378 2013-10-03  Brooks Moses  <bmoses@google.com>
33380         [BZ #15915]
33381         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
33382         * Makerules: ...here, and adjust associated comments.
33384 2013-10-02  Will Newton  <will.newton@linaro.org>
33386         * malloc/Makefile: Add tst-pvalloc.
33387         * malloc/tst-pvalloc.c: New file.
33389 2013-10-02  Will Newton  <will.newton@linaro.org>
33391         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
33392         improve test coverage.
33394 2013-10-02  Will Newton  <will.newton@linaro.org>
33396         * malloc/Makefile: Add tst-posix_memalign.
33397         * malloc/tst-posix_memalign.c: New file.
33399 2013-10-01  Eric Blake  <eblake@redhat.com>
33401         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
33402         Use __THROWNL rather than __THROW on static functions.
33404 2013-09-30  Petr Machata  <pmachata@redhat.com>
33406         * elf/elf.h (R_AARCH64_ABS16): New macro.
33407         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
33408         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
33409         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
33410         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
33411         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
33412         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
33413         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
33414         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
33415         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
33416         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
33417         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
33418         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
33419         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
33420         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
33421         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
33422         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
33423         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
33424         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
33425         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
33426         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
33427         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
33428         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
33429         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
33430         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
33431         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
33432         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
33433         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
33434         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
33435         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
33436         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
33437         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
33438         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
33439         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
33440         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
33441         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
33442         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
33443         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
33444         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
33445         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
33446         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
33447         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
33448         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
33449         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
33450         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
33451         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
33452         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
33453         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
33454         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
33455         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
33456         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
33457         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
33458         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
33459         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
33460         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
33461         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
33462         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
33463         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
33464         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
33465         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
33466         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
33467         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
33468         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
33469         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
33470         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
33471         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
33472         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
33473         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
33474         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
33475         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
33476         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
33477         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
33478         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
33479         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
33480         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
33481         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
33482         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
33483         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
33484         (R_AARCH64_TLSDESC_LDR): Likewise.
33485         (R_AARCH64_TLSDESC_ADD): Likewise.
33486         (R_AARCH64_TLSDESC_CALL): Likewise.
33488 2013-09-30  Andreas Schwab  <schwab@suse.de>
33490         [BZ #15048]
33491         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
33492         the nss database lookup.
33493         * nscd/initgrcache.c (addinitgroupsX): Likewise.
33494         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
33496 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
33498         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
33500 2013-09-28  P. J. McDermott  <pj@pehjota.net>
33502         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
33503         ${Bash-specific parameter/pattern/string} parameter expansion.
33504         * sysdeps/unix/make-syscalls.sh: Likewise.
33506 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33508         * sysdeps/sh/stackguard-macros.h: New file.
33510 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
33512         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
33513         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
33514         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
33515         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
33516         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
33517         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
33519 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33521         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
33522         Fix thread ID register.
33524 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
33526         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
33527         [POSIX || UNIX98]: Require rather than permitting all symbols from
33528         <time.h>.
33529         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
33530         element of struct sched_param.
33531         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
33532         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
33533         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
33534         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
33535         constant.
33537 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
33539         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
33540         argument calculation.
33542 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
33544         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
33545         Expect macro.
33546         [POSIX] (pthread_attr_t): Do not require type.
33547         [POSIX] (pthread_cond_t): Likewise.
33548         [POSIX] (pthread_condattr_t): Likewise.
33549         [POSIX] (pthread_key_t): Likewise.
33550         [POSIX] (pthread_mutex_t): Likewise.
33551         [POSIX] (pthread_mutexattr_t): Likewise.
33552         [POSIX] (pthread_once_t): Likewise.
33553         [POSIX] (pthread_t): Likewise.
33554         [POSIX-based standards] (pthread_atfork): Expect function.
33556 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
33557             Richard Sandiford  <richard@codesourcery.com>
33559         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
33560         (swap_endianness_p): New extern variable.
33561         (set_big_endian): New inline function.
33562         (maybe_swap_uint32): Likewise.
33563         (maybe_swap_uint32_array): Likewise.
33564         (maybe_swap_uint32_obstack): Likewise.
33565         * locale/programs/locfile.c: Include <stdbool.h>.
33566         (swap_endianness_p): New variable.
33567         (add_locale_uint32): Call maybe_swap_uint32.
33568         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
33569         (write_locale_data): Call maybe_swap_uint32_array.
33570         * locale/programs/ld-collate.c (obstack_int32_grow): Call
33571         maybe_swap_uint32.
33572         (obstack_int32_grow_fast): Likewise.
33573         (output_weightwc): Call maybe_swap_uint32_obstack.
33574         (collate_output): Likewise.
33575         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
33576         (OPT_LITTLE_ENDIAN): Likewise.
33577         (options): Add --little-endian and --big-endian options.
33578         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
33579         * locale/programs/locarchive.c: Include "locfile.h".
33580         (GET): New macro.
33581         (SET): Likewise.
33582         (INC): Likewise.
33583         (create_archive): Use the new macros to access fields of
33584         structures directly mapped from or written to locale archives.
33585         (oldlocrecentcmp): Likewise.
33586         (enlarge_archive): Likewise.
33587         (insert_name): Likewise.
33588         (add_alias): Likewise.
33589         (add_locale): Likewise.
33590         (delete_locales_from_archive): Likewise.
33591         (show_archive_content): Likewise.
33592         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
33593         locale data.
33595 2013-09-24  Roland McGrath  <roland@hack.frob.com>
33597         * manual/freemanuals.texi: Updated from (newly) canonical copy at
33598         http://www.gnu.org/doc/freemanuals.texi.
33599         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
33601 2013-09-24  Will Newton  <will.newton@linaro.org>
33603         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
33604         macro.
33606 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
33608         * locale/hashval.h (compute_hashval): Interpret bytes of key as
33609         unsigned char.
33611 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
33613         * manual/threads.texi (POSIX Threads): Fix a typo.
33615 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
33617         [BZ #14547]
33618         * string/tst-strcoll-overflow.c: New test case.
33619         * string/Makefile (xtests): Add tst-strcoll-overflow.
33620         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
33621         cache if string sizes may cause integer overflow.
33623         [BZ #14547]
33624         * string/strcoll_l.c (coll_seq): New members rule, idx,
33625         save_idx and back_us.
33626         (get_next_seq_nocache): New function.
33627         (do_compare_nocache): New function.
33628         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
33629         when malloc fails.
33631 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
33633         [BZ #15754]
33634         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
33635         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
33636         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
33638         [BZ #15754]
33639         * elf/Makefile (tests): Add tst-ptrguard1.
33640         (tests-static): Add tst-ptrguard1-static.
33641         (tst-ptrguard1-ARGS): Define.
33642         (tst-ptrguard1-static-ARGS): Define.
33643         * elf/tst-ptrguard1.c: New file.
33644         * elf/tst-ptrguard1-static.c: New file.
33645         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
33646         * sysdeps/i386/stackguard-macros.h: Likewise.
33647         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
33648         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
33649         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
33650         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
33651         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
33652         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
33654 2013-09-23  Hector Marco  <hecmargi@upv.es>
33655             Ismael Ripoll  <iripoll@disca.upv.es>
33656             Carlos O'Donell  <carlos@redhat.com>
33658         [BZ #15754]
33659         * sysdeps/generic/stackguard-macros.h: Define
33660         __pointer_chk_guard_local and POINTER_CHK_GUARD.
33661         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
33662         Define __pointer_chk_guard_local.
33663         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
33664         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
33666 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
33668         [BZ #15859]
33669         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
33671 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
33673         * include/string.h (__ffs): Declare as hidden.
33674         * string/ffs.c (__ffs): Define as hidden.
33675         * sysdeps/i386/ffs.c (__ffs): Likewise.
33676         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
33677         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
33678         * sysdeps/s390/ffs.c (__ffs): Likewise.
33679         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
33681 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
33683         * NEWS: Mention malloc probes.
33685         * malloc/arena.c (new_heap): New memory_heap_new probe.
33686         (grow_heap): New memory_heap_more probe.
33687         (shrink_heap): New memory_heap_less probe.
33688         (heap_trim): New memory_heap_free probe.
33689         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
33690         (systrim): New memory_sbrk_less probe.
33691         * manual/probes.texi: Document them.
33693         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
33694         * manual/probes.texi: Document it.
33696         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
33697         (__libc_realloc): Add memory_realloc_retry probe.
33698         (__libc_memalign): Add memory_memalign_retry probe.
33699         (__libc_valloc): Add memory_valloc_retry probe.
33700         (__libc_pvalloc): Add memory_pvalloc_retry probe.
33701         (__libc_calloc): Add memory_calloc_retry probe.
33702         * manual/probes.texi: Document them.
33704         * malloc/arena.c (get_free_list): Add probe
33705         memory_arena_reuse_free_list.
33706         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
33707         and memory_arena_reuse.
33708         (arena_get2) [!PER_THREAD]: Likewise.
33709         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
33710         memory_arena_reuse_realloc.
33711         * manual/probes.texi: Document them.
33713         * malloc/malloc.c (__libc_free): Add
33714         memory_mallopt_free_dyn_thresholds probe.
33715         (__libc_mallopt): Add multiple memory_mallopt probes.
33716         * manual/probes.texi: Document them.
33718         * malloc/malloc.c: Include stap-probe.h.
33719         (__libc_mallopt): Add memory_mallopt probe.
33720         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
33721         * manual/probes.texi: New.
33722         * manual/Makefile (chapters): Add probes.
33723         * manual/threads.texi: Set next node.
33725 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
33727         [BZ #15963, #13985]
33728         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
33729         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
33730         Add `Chinese' to `nan' entry name.
33732 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
33734         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
33735         (POLYNOMIAL): Likewise.
33736         (TAYLOR_SINCOS): Likewise.
33737         (TAYLOR_SLOW): Likewise.
33738         (__sin): Use TAYLOR_SINCOS.
33739         (__cos): Likewise.
33740         (slow): Use TAYLOR_SLOW.
33741         (sloww): Likewise.
33742         (bsloww): Likewise.
33743         (csloww): Likewise.
33745 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
33747         * stdlib/strtod_l.c: Fix buffer overrun.
33749 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
33751         * benchtests/Makefile (bench): Add sincos.
33752         * benchtests/bench-sincos.c: New file.
33754         * math/libm-test.inc (cos_test_data): New test inputs.
33755         (sin_test_data): Likewise.
33757         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
33758         macro.
33759         (__sin): Use it.
33760         (__cos): Likewise.
33761         (slow1): Likewise.
33762         (slow2): Likewise.
33763         (sloww1): Likewise.
33764         (sloww2): Likewise.
33765         (bsloww1): Likewise.
33766         (bsloww2): Likewise.
33767         (cslow2): Likewise.
33768         (csloww1): Likewise.
33769         (csloww2): Likewise.
33771         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
33772         function.
33773         (__sin): Use it.
33774         (__cos): Likewise.
33776         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
33777         gotos.
33778         (__cos): Likewise.
33780 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
33782         * config.h.in (HAVE_MIPS_NAN2008): New macro.
33783         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
33784         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
33785         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
33786         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
33787         * elf/cache.c (print_entry): Handle the new cache flags.
33789 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
33790             Aldy Hernandez  <aldyh@redhat.com>
33792         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
33793         Change condition to [_SOFT_FLOAT].
33794         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
33795         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
33796         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
33797         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
33798         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
33799         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
33800         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
33801         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
33802         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
33803         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
33804         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
33805         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
33806         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
33807         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
33808         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
33809         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
33810         declaration.
33812 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
33814         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
33815         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
33816         (__longjmp): Use LOAD_GP to load saved GPRs.
33817         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
33818         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
33819         (__sigsetjmp): Use SAVE_GP to save GPRs.
33821         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
33822         Do not append -msoft-float.
33823         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
33825 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
33827         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
33829 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
33831         [BZ #15966]
33832         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
33833         (_FPU_GETCW): Use initial "__" on variable and field names but not
33834         on macro parameter name.
33835         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
33836         parentheses around reference to macro parameter.
33838 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
33840         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
33841         prototype.
33842         (ctype_startup): Use uint32_t in cast and sizeof for
33843         ctype->charnames.
33845 2013-09-11  Jia Liu  <proljc@gmail.com>
33847         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
33848         __daddr_t_defined.
33849         [__FreeBSD__]: Likewise.
33851 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
33853         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
33854         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
33855         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
33856         (strchr): Remove __strchr_sse42 ifunc selection.
33857         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
33858         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
33860 2013-09-11  Will Newton  <will.newton@linaro.org>
33862         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
33863         parameter to RES. Remove hardcoded 1000 value.
33864         * benchtests/bench-skeleton.c (main): Pass RES parameter
33865         to TIMING_INIT and multiply result by 1000.
33867 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33869         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33871 2013-09-11  Andreas Schwab  <schwab@suse.de>
33873         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
33874         if not defined.
33875         (O_TMPFILE) [__USE_GNU]: Define.
33876         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
33877         Define.
33879 2013-09-11  Will Newton  <will.newton@linaro.org>
33881         [BZ #15857]
33882         * malloc/malloc.c (__libc_memalign): Check the value of bytes
33883         does not overflow.
33885 2013-09-11  Will Newton  <will.newton@linaro.org>
33887         [BZ #15856]
33888         * malloc/malloc.c (__libc_valloc): Check the value of bytes
33889         does not overflow.
33891 2013-09-11  Will Newton  <will.newton@linaro.org>
33893         [BZ #15855]
33894         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
33895         does not overflow.
33897 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
33899         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
33900         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33901         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
33902         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
33903         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
33905 2013-09-10  Allan McRae  <allan@archlinux.org>
33907         [BZ #15748]
33908         * manual/arith.texi (Parsing of Floats): Clarify
33909         cross-reference.
33911         [BZ #15849]
33912         * manual/install.texi (Running make install): Mention
33913         --enable-pt-chown.
33914         * INSTALL: Regenerated.
33916 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
33918         * csu/init-first.c (_init): Remove the !SHARED condition around
33919         FPU control word initialization.
33920         * elf/dl-support.c (_dl_fpu_control): New variable.
33921         (_dl_aux_init) <AT_FPUCW>: Initialize it.
33922         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
33923         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
33924         * math/test-fpucw-static.c: New file.
33925         * math/test-fpucw-ieee.c: New file.
33926         * math/test-fpucw-ieee-static.c: New file.
33927         * math/Makefile (tests): Add `test-fpucw-ieee' and
33928         `$(tests-static)'.
33929         (tests-static): New variable.
33930         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
33931         dependency to...
33932         [($(build-shared),yes)]
33933         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
33934         ... this.
33935         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
33936         New dependency.
33938 2013-09-09  Allan McRae  <allan@archlinux.org>
33940         [BZ #15939]
33941         * manual/string.texi (Collation Functions): Fix typo in
33942         strcoll example.
33943         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
33945         [BZ #15893]
33946         * stdlib/isomac.c (get_null_defines): Fix memory leak.
33948         [BZ #15892]
33949         * libio/memstream.c (open_memstream): Fix memory leak.
33950         * libio/wmemstream.c (open_wmemstream): Likewise.
33952         [BZ #15895]
33953         * nscd/netgroupcache.c: Fix nesting of ifdefs.
33955 2013-09-09  Will Newton  <will.newton@linaro.org>
33957         * malloc/Makefile: Add tst-realloc to tests.
33958         * malloc/tst-realloc.c: New file.
33960 2013-09-09  Allan McRae  <allan@archlinux.org>
33962         [BZ #15844]
33963         * COPYING: Update from GNU website to fix FSF address.
33964         * COPYING.LIB: Likewise.
33966 2013-09-06  David S. Miller  <davem@davemloft.net>
33968         * po/zh_TW.po: Update Chinese (traditional) translation from
33969         translation project.
33971 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
33972             Joseph Myers  <joseph@codesourcery.com>
33974         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
33975         "localeinfo.h".
33976         (obstack_chunk_alloc): New macro.
33977         (obstack_chunk_free): Likewise.
33978         (record_offset): New function.
33979         (init_locale_data): Likewise.
33980         (align_locale_data): Likewise.
33981         (add_locale_empty): Likewise.
33982         (add_locale_raw_data): Likewise.
33983         (add_locale_raw_obstack): Likewise.
33984         (add_locale_string): Likewise.
33985         (add_locale_wstring): Likewise.
33986         (add_locale_uint32): Likewise.
33987         (add_locale_uint32_array): Likewise.
33988         (add_locale_char): Likewise.
33989         (start_locale_structure): Likewise.
33990         (end_locale_structure): Likewise.
33991         (start_locale_prelude): Likewise.
33992         (end_locale_prelude): Likewise.
33993         (write_locale_data): Take locale_file structure rather than an
33994         iovec.
33995         * locale/programs/locfile.h: Include "obstack.h".
33996         (struct locale_file): Change to store locale file contents instead
33997         of header.
33998         (init_locale_data): New prototype.
33999         (align_locale_data): Likewise.
34000         (add_locale_empty): Likewise.
34001         (add_locale_raw_data): Likewise.
34002         (add_locale_raw_obstack): Likewise.
34003         (add_locale_string): Likewise.
34004         (add_locale_wstring): Likewise.
34005         (add_locale_uint32): Likewise.
34006         (add_locale_uint32_array): Likewise.
34007         (add_locale_char): Likewise.
34008         (start_locale_structure): Likewise.
34009         (end_locale_structure): Likewise.
34010         (start_locale_prelude): Likewise.
34011         (end_locale_prelude): Likewise.
34012         (write_locale_data): Update prototype.
34013         * locale/programs/3level.h (struct TABLE): Remove result field.
34014         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
34015         Use new locale_file interface.
34016         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
34017         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
34018         * locale/programs/ld-address.c (address_output): Use new
34019         locale_file interface.
34020         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
34021         NO_ADD_LOCALE.
34022         (collate_finish): Don't call collseq_table_finalize.
34023         (collate_output): Use new locale_file interface.
34024         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
34025         in file.
34026         (NO_FINALIZE): Change to NO_ADD_LOCALE.
34027         (TABLE): Move defines earlier in file.
34028         (ELEMENT): Likewise.
34029         (DEFAULT): Likewise.
34030         (wctrans_table_add): Move macro and inline function earlier in
34031         file.
34032         (struct wctype_table): Move type earlier in file.
34033         (add_locale_wctype_table): New static prototype.
34034         (struct locale_ctype_t): Use logical types instead of struct iovec
34035         pointers for members.
34036         (ctype_output): Use new locale_file interface.
34037         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
34038         new locale_file interface.
34039         (allocate_arrays): Update for use of new locale_file interface.
34040         * locale/programs/ld-identification.c (identification_output): Use
34041         new locale_file interface.
34042         * locale/programs/ld-measurement.c (measurement_output): Likewise.
34043         * locale/programs/ld-messages.c (messages_output): Likewise.
34044         * locale/programs/ld-monetary.c (monetary_output): Likewise.
34045         * locale/programs/ld-name.c (name_output): Likewise.
34046         * locale/programs/ld-numeric.c (numeric_output): Likewise.
34047         * locale/programs/ld-paper.c (paper_output): Likewise.
34048         * locale/programs/ld-telephone.c (telephone_output): Likewise.
34049         * locale/programs/ld-time.c (time_output): Likewise.
34051 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34053         * benchtests/Makefile: Add memrchr benchmark.
34054         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
34055         benchmark as memrchr.
34056         * benchtests/bench-memrchr-ifunc.c: New file.
34057         * benchtests/bench-memrchr.c: New file.
34059 2013-09-06   Will Newton  <will.newton@linaro.org>
34061         * benchtests/Makefile (string-bench): Add memcpy.
34063 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
34064             Cong Wang  <amwang@redhat.com>
34066         [BZ #15850]
34067         * sysdeps/unix/sysv/linux/bits/in.h
34068         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
34069         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
34070         before __USE_KERNEL_IPV6_DEFS uses.
34071         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
34072         IPPROTO_BEETPH.
34073         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
34074         sockaddr_in6, or ipv6_mreq.
34076 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34078         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
34079         memory access for final bytes in some large inputs.
34080         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
34082 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34084         * string/test-memrchr.c: New file.
34085         * string/test-memrchr-ifunc.c: New file.
34086         * string/Makefile: Add new memrchr testcase.
34088 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
34090         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
34091         fanotify_init returns EPERM.
34093 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
34095         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
34096         errors.
34097         (top level): Treat second token from macro or constant entries for
34098         allowed headers as allowed.
34099         * include/complex.h: Condition internal declarations on
34100         [!_ISOMAC].
34101         * include/fenv.h: Condition include of <stdbool.h> and internal
34102         declarations on [!_ISOMAC].
34104 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
34106         [BZ #15923]
34107         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
34109 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
34111         * configure.in (--enable-versioning): Remove configure option.
34112         (libc_cv_asm_symver_directive): Remove configure test.
34113         (libc_cv_ld_version_script_option): Likewise.
34114         (VERSIONING): Remove variable and AC_SUBST.
34115         (DO_VERSIONING): Remove AC_DEFINE.
34116         * configure: Regenerated.
34117         * config.h.in (DO_VERSIONING): Remove macro.
34118         * Makerules [$(versioning) = yes]: Change conditionals to
34119         [$(build-shared) = yes].
34120         * config.make.in (versioning): Remove variable.
34121         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
34122         [$(build-shared) = yes].
34123         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
34124         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
34125         * elf/Makefile [$(versioning) = yes]: Change conditionals to
34126         [$(build-shared) = yes].
34127         * extra-lib.mk [$(versioning) = yes]: Likewise.
34128         * hurd/Makefile [$(versioning) = yes]: Likewise.
34129         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
34130         [SHARED].
34131         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
34132         [SHARED].
34133         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
34134         [SHARED && !NO_HIDDEN].
34135         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
34136         [SHARED].
34137         [SHARED && DO_VERSIONING]: Likewise..
34138         * libio/Makefile [$(versioning) = yes]: Change conditionals to
34139         [$(build-shared) = yes].
34140         * manual/install.texi (--disable-versioning): Remove
34141         documentation.
34142         * INSTALL: Regenerated.
34143         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
34144         to [SHARED].
34145         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
34146         [$(build-shared) = yes].
34147         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
34148         * sysdeps/i386/i686/multiarch/strstr-c.c
34149         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
34150         [SHARED && !NO_HIDDEN].
34151         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
34152         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
34153         * sysdeps/powerpc/powerpc32/dl-machine.c
34154         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
34155         * sysdeps/powerpc/powerpc32/sysdep.h
34156         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
34157         to [SHARED && PIC && !NO_HIDDEN].
34158         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
34159         conditional to [SHARED].
34161 2013-09-04   Will Newton  <will.newton@linaro.org>
34163         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
34164         * benchtests/bench-string.h: Include bench-timing.h instead
34165         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
34166         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
34167         call to HP_TIMING_DIFF_INIT.
34168         * benchtests/bench-memccpy.c: Use bench-timing.h macros
34169         instead of hp-timing.h macros.
34170         * benchtests/bench-memchr.c: Likewise.
34171         * benchtests/bench-memcmp.c: Likewise.
34172         * benchtests/bench-memcpy.c: Likewise.
34173         * benchtests/bench-memmem.c: Likewise.
34174         * benchtests/bench-memmove.c: Likewise.
34175         * benchtests/bench-memset.c: Likewise.
34176         * benchtests/bench-rawmemchr.c: Likewise.
34177         * benchtests/bench-strcasecmp.c: Likewise.
34178         * benchtests/bench-strcasestr.c: Likewise.
34179         * benchtests/bench-strcat.c: Likewise.
34180         * benchtests/bench-strchr.c: Likewise.
34181         * benchtests/bench-strcmp.c: Likewise.
34182         * benchtests/bench-strcpy.c: Likewise.
34183         * benchtests/bench-strcpy_chk.c: Likewise.
34184         * benchtests/bench-strlen.c: Likewise.
34185         * benchtests/bench-strncasecmp.c: Likewise.
34186         * benchtests/bench-strncat.c: Likewise.
34187         * benchtests/bench-strncmp.c: Likewise.
34188         * benchtests/bench-strncpy.c: Likewise.
34189         * benchtests/bench-strnlen.c: Likewise.
34190         * benchtests/bench-strpbrk.c: Likewise.
34191         * benchtests/bench-strrchr.c: Likewise.
34192         * benchtests/bench-strspn.c: Likewise.
34193         * benchtests/bench-strstr.c: Likewise.
34195 2013-09-04  Will Newton  <will.newton@linaro.org>
34197         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
34199 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
34201         [BZ #15427]
34202         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
34203         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
34204         * math/libm-test.inc (lgamma_test_data): Add more tests.
34205         * sysdeps/i386/fpu/libm-test-ulps: Update.
34206         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34208 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
34210         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
34211         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
34212         Add ifunc.
34213         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
34214         Add strcmp-sse2-unaligned
34215         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
34217 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
34219         * Versions.def (libc): Add GLIBC_2.19.
34221 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
34223         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
34224         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
34226 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
34228         [BZ #14155]
34229         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
34230         intermediate calculations in recurrence.
34231         (__ieee754_ynf): Likewise.
34232         * math/libm-test.inc (jn_test_data): Do not allow spurious
34233         underflow exception.  Add more tests.
34234         (yn_test_data): Add more tests.
34235         * sysdeps/i386/fpu/libm-test-ulps: Update.
34236         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34238 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
34240         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
34242 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
34244         * csu/init-first.c: Fix then/than typos.
34245         * locale/programs/ld-collate.c: Likewise.
34246         * locale/programs/linereader.h: Likewise.
34247         * manual/charset.texi: Likewise.
34248         * manual/filesys.texi: Likewise.
34249         * manual/stdio.texi: Likewise.
34250         * manual/string.texi: Likewise.
34251         * stdlib/fmtmsg.c: Likewise.
34252         * sysdeps/i386/stpncpy.S: Likewise.
34253         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
34254         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
34255         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
34256         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
34258 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
34260         * elf/dl-open.c: Fix typos.
34261         * iconvdata/gbbig5.c: Likewise.
34262         * iconvdata/iso-2022-jp.c: Likewise.
34263         * iconv/gconv_int.h: Likewise.
34264         * iconv/loop.c: Likewise.
34265         * nis/rpcsvc/nis.h: Likewise.
34266         * resolv/ns_name.c: Likewise.
34267         * stdio-common/vfscanf.c: Likewise.
34268         * streams/stropts.h: Likewise.
34269         * sunrpc/rpc_thread.c: Likewise.
34270         * sysdeps/i386/strpbrk.S: Likewise.
34271         * sysdeps/ieee754/k_standard.c: Likewise.
34272         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
34273         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
34274         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
34275         * sysdeps/mach/hurd/profil.c: Likewise.
34276         * sysdeps/s390/dl-procinfo.h: Likewise.
34277         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
34278         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
34279         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
34280         * sysdeps/x86_64/dl-trampoline.S: Likewise.
34281         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
34283 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
34285         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
34286         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
34288 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
34290         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
34291         aix specific files.
34292         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
34293         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
34294         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
34295         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
34296         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
34297         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
34298         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
34299         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
34301 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
34302             Roland McGrath  <roland@hack.frob.com>
34304         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
34305         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
34307 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34309         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
34310         __executable_start symbol instead of _start.
34312 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
34314         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
34315         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
34316         Move macros to...
34317         * sysdeps/gnu/ldsodefs.h: ... this new file.
34319         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
34320         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
34321         instead of ELFOSABI_LINUX.
34323         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
34324         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
34325         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
34326         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
34327         Likewise.
34328         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
34329         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
34330         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
34331         Likewise.
34332         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
34333         (ibm_extended_long_double): Add ieee_nan member.
34334         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
34335         (do_test): New function.
34337         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
34338         TEST_TRUNC.
34339         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
34340         functions, renamed from truncdfsf_test, trunctfsf_test,
34341         trunctfdf_test.
34342         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
34343         functions.
34344         (do_test): Run all these.
34346 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
34348         * argp/argp-help.c: Fix typos.
34349         * argp/argp-parse.c: Likewise.
34350         * debug/backtracesyms.c: Likewise.
34351         * elf/elf.h: Likewise.
34352         * malloc/malloc.c: Likewise.
34353         * nis/nis_print.c: Likewise.
34354         * resolv/res_comp.c: Likewise.
34355         * stdlib/stdlib.h: Likewise.
34356         * sunrpc/clnt_tcp.c: Likewise.
34357         * sunrpc/clnt_udp.c: Likewise.
34358         * sunrpc/clnt_unix.c: Likewise.
34359         * sysdeps/unix/bsd/ptsname.c: Likewise.
34360         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
34361         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
34362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
34363         Likewise.
34364         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
34365         Likewise.
34366         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
34367         Likewise.
34368         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
34370 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
34372         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
34373         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
34375 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
34377         [BZ #15897]
34378         * dlfcn/Makefile (tests): Add bug-dl-leaf.
34379         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
34380         ($(objpfx)bug-dl-leaf): New rule.
34381         ($(objpfx)bug-dl-leaf.so): Likewise.
34382         ($(objpfx)bug-dl-leaf.out): Likewise.
34383         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
34384         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
34385         * dlfcn/bug-dl-leaf.c: New test.
34386         * dlfcn/bug-dl-leaf-lib.c: Likewise.
34387         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
34388         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
34389         (dlclose): Likewise.
34390         (dlmopen): Likewise.
34392 2013-08-27  Roland McGrath  <roland@hack.frob.com>
34394         * include/netdb.h [!_ISOMAC]:
34395         Don't include <tls.h>.
34396         (h_errno, __libc_h_errno): Move declaration and macros out of
34397         [_LIBC_REENTRANT].
34399         * include/resolv.h [_RESOLV_H_]:
34400         Don't include <tls.h>.
34401         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
34402         * resolv/res_libc.c: Don't include <tls.h>.
34403         (_res): Use __attribute__ ((nocommon)) in place of
34404         __attribute__ ((section (".bss"))).
34406         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
34407         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
34409         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
34411         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
34412         only under [SIOCGIFCONF && SIOCGIFNETMASK].
34414         * resolv/res_mkquery.c: Include <sys/time.h>.
34416         * inet/ifreq.c: Moved to ...
34417         * sysdeps/unix/ifreq.c: ... here.
34418         * inet/ifreq.c: New file, true stub version.
34420         * socket/sa_len.c: New file.
34421         * socket/Makefile (aux): Add it.
34422         * sysdeps/unix/sysv/linux/Makefile
34423         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
34424         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
34425         and #include <socket/sa_len.c>.
34426         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
34427         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
34429         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
34430         * bits/socket.h: ... here.
34432         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
34433         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
34434         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
34436 2013-08-27  Andreas Schwab  <schwab@suse.de>
34438         [BZ #15736]
34439         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
34440         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
34441         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
34442         * string/test-strcasecmp.c (test_main): Run tests in several
34443         locales.
34444         * string/test-strncasecmp.c (test_main): Likewise.
34446         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
34447         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
34448         to __strcasecmp_nonascii and __strncasecmp_nonascii.
34449         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
34450         (__strncasecmp_ssse3) [PIC]: Likewise.
34452 2013-08-26  Roland McGrath  <roland@hack.frob.com>
34454         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
34456         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
34457         instead of explicitly declaring xdecrypt.
34458         * nis/nss_nis/nis-publickey.c: Likewise.
34460 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
34462         [BZ #15890]
34463         * nscd/aicache.c: Include res_hconf.h.
34464         (addhstaiX): Initialize res_hconf.
34466 2013-08-26  Andreas Schwab  <schwab@suse.de>
34468         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
34469         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
34471 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
34473         * nscd/aicache.c (addhstaiX): Fix indentation.
34475 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
34477         * configure.ac: Quote $build_pt_chown test.
34478         * configure: Regenerated.
34480 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
34482         [BZ #15532]
34483         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
34484         * math/s_cexpf.c (__cexpf): Likewise.
34485         * math/s_cexpl.c (__cexpl): Likewise.
34486         * math/libm-test.inc (cexp_test_data): Correct expected return
34487         value for NaN + i0.  Add another test.
34489 2013-08-22  David S. Miller  <davem@davemloft.net>
34491         * po/ca.po: Update Catalan translation from translation project.
34492         * po/uk.po: Add Ukrainian translations from translation project.
34494 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
34496         [BZ #15797]
34497         * math/s_fdim.c (__fdim): Check for infinite arguments if result
34498         is infinite, not alongside NaN test.
34499         * math/s_fdimf.c (__fdimf): Likewise.
34500         * math/s_fdiml.c (__fdiml): Likewise.
34501         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
34502         errno is unchanged.
34504 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
34506         * argp/argp-help.c: Fix typos.
34507         * crypt/speeds.c: Likewise.
34508         * csu/check_fds.c: Likewise.
34509         * elf/dl-load.c: Likewise.
34510         * elf/dl-open.c: Likewise.
34511         * elf/reldep3.c: Likewise.
34512         * elf/reldep.c: Likewise.
34513         * elf/sprof.c: Likewise.
34514         * iconv/iconv_charmap.c: Likewise.
34515         * iconv/skeleton.c: Likewise.
34516         * iconv/strtab.c: Likewise.
34517         * io/lockf64.c: Likewise.
34518         * libio/libioP.h: Likewise.
34519         * resolv/gai_notify.c: Likewise.
34520         * resolv/ns_name.c: Likewise.
34521         * resolv/ns_samedomain.c: Likewise.
34522         * resolv/res_send.c: Likewise.
34523         * stdlib/random.c: Likewise.
34524         * sunrpc/rpc/xdr.h: Likewise.
34525         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
34526         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
34527         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
34528         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
34529         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
34530         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
34531         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
34532         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
34533         * sysdeps/mach/hurd/check_fds.c: Likewise.
34534         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
34535         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
34536         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
34537         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
34538         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
34539         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
34540         * sysdeps/pthread/aio_notify.c: Likewise.
34541         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
34542         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
34543         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
34544         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
34545         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
34547 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
34549         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
34550         version if bit_Slow_SSE4_2 is set.
34551         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
34552         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
34554 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34556         [BZ #15867]
34557         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
34558         trampoline stack frame information.
34559         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
34560         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
34561         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
34562         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
34563         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
34564         * sysdeps/unix/sysv/linux/powerpc/init-first.c
34565         (_libc_vdso_platform_setup): Initialize the signal trampolines.
34566         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
34567         sa_flags value.
34568         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
34569         interrupting a syscall and set with option SA_SIGINFO.
34571 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
34573         [BZ #15531]
34574         * math/s_cproj.c (__cproj): Only return an infinity if one part of
34575         argument is infinite.
34576         * math/s_cprojf.c (__cprojf): Likewise.
34577         * math/s_cprojl.c (__cprojl): Likewise.
34578         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
34579         * math/libm-test.inc (cproj_test_data): Add more tests.
34581         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
34583         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
34584         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
34585         size.  Use __ffs to determine corresponding shift.
34587 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
34588             Roland McGrath  <roland@hack.frob.com>
34590         * Makefile (INSTALL): Remove trailing blank lines from output of
34591         makeinfo.
34593 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34595         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
34596         Align 32 bit compat elf_greg to 8 bytes.
34598 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
34600         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
34602 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
34604         * string/strcoll_l.c (coll_seq): New structure.
34605         (get_next_seq_cached): New function.
34606         (get_next_seq): New function.
34607         (do_compare): New function.
34608         (STRCOLL): Use GNU style definition.  Simplify implementation
34609         by using get_next_seq, get_next_seq_cached and do_compare.
34611 2013-08-16  Florian Weimer  <fweimer@redhat.com>
34613         [BZ #14699]
34614         CVE-2013-4237
34615         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
34616         member.
34617         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
34618         member.
34619         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
34620         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
34621         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
34622         conditional.
34623         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
34624         GETDENTS_64BIT_ALIGNED.
34625         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
34626         * manual/filesys.texi (Reading/Closing Directory): Document
34627         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
34628         strongly.
34629         * manual/conf.texi (Limits for Files): Add portability note to
34630         NAME_MAX, PATH_MAX.
34631         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
34633 2013-08-13  Andreas Schwab  <schwab@suse.de>
34635         [BZ #15749]
34636         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
34637         of fabs.
34638         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
34639         LDBL_MAX_EXP >= 16384]: Add tests for it.
34641 2013-08-12  David S. Miller  <davem@davemloft.net>
34643         * version.h (RELEASE): Set to "development".
34644         (VERSION): Set to "2.18.90".
34645         * NEWS: Add 2.19 section.
34647 2013-08-03  David S. Miller  <davem@davemloft.net>
34649         * po/ko.po: Update Korean translation from translation project.
34651 2013-08-01  David S. Miller  <davem@davemloft.net>
34653         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
34654         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
34655         Bilka.
34657 2013-07-30  David S. Miller  <davem@davemloft.net>
34659         * po/fr.po: Update French translation from translation project.
34661 2013-07-28  David S. Miller  <davem@davemloft.net>
34663         * po/cs.po: Update Czech translation from translation project.
34665         * po/sv.po: Update Swedish translation from translation project.
34667 2013-07-27  David S. Miller  <davem@davemloft.net>
34669         * po/eo.po: Update Esperanto translation from translation project.
34671         * po/vi.po: Update Vietnamese translation from translation project.
34673         * po/de.po: Update German translation from translation project.
34675 2013-07-26  David S. Miller  <davem@davemloft.net>
34677         * po/bg.po: Update Bulgarian translation from translation project.
34679         * po/nl.po: Update Dutch translation from translation project.
34680         * po/pl.po: Update Polish translation from translation project.
34681         * po/ru.po: Update Russian translation from translation project.
34683 2013-07-24  David S. Miller  <davem@davemloft.net>
34685         * po/libc.pot: Update.
34687 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34689         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
34690         variable page size.
34691         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
34692         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
34693         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
34695 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34697         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
34699 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
34700             Andreas Schwab  <schwab@suse.de>
34701             Roland McGrath  <roland@hack.frob.com>
34702             Joseph Myers  <joseph@codesourcery.com>
34703             Carlos O'Donell  <carlos@redhat.com>
34705         [BZ #15755]
34706         * config.h.in: Define HAVE_PT_CHOWN.
34707         * config.make.in (build-pt-chown): New variable.
34708         * configure.in (--enable-pt_chown): New configure option.
34709         * configure: Regenerate.
34710         * login/Makefile: Include Makeconfig.  Build pt_chown only if
34711         build-pt-chown is enabled.
34712         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
34713         pt_chown to fix pty ownership.
34714         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
34715         CLOSE_ALL_FDS.
34716         * manual/install.texi (Configuring and compiling): Mention
34717         --enable-pt_chown. Add @findex for grantpt.
34718         * INSTALL: Regenerate.
34720 2013-07-20  David S. Miller  <davem@davemloft.net>
34722         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
34723         difference between 32-bit and 64-bit.
34725 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
34727         [BZ #15711]
34728         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
34729         Avoid system header dependency with -ffreestanding.
34730         ($(objpfx)bits/syscall%d): Likewise.
34732 2013-07-13  David S. Miller  <davem@davemloft.net>
34734         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
34735         underflows from atanl/atan2l due to bug 15319.
34736         (casinh_test_data): Likewise.
34738 2013-07-07  David S. Miller  <davem@davemloft.net>
34740         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
34742 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
34744         * sysdeps/i386/fpu/libm-test-ulps: Update.
34745         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34747 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
34749         * configure.in (--enable-lock-elision): Fix message text.
34750         * INSTALL: Regenerate.
34751         * configure: Regenerate.
34753 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34755         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34757 2013-07-03  Andreas Jaeger  <aj@suse.de>
34759         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
34760         define.
34761         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
34762         (ptrace_peeksiginfo_args): Add.
34763         (__ptrace_peeksiginfo_flags): Add.
34764         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34765         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34766         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34768 2013-07-03  Allan McRae  <allan@archlinux.org>
34770         * sysdeps/i386/fpu/libm-test-ulps: Update.
34772 2013-07-02  David S. Miller  <davem@davemloft.net>
34774         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34776 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
34778         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34780 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
34782         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
34783         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34785 2013-07-02  Andi Kleen <ak@linux.intel.com>
34787         * config.h.in (ENABLE_LOCK_ELISION): Add.
34788         * configure.in (--enable-lock-elision): Add option.
34789         * manual/install.texi: Document --enable lock elision.
34790         * configure: Regenerate
34791         * INSTALL: Regenerate.
34793 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
34795         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
34796         SSE4.2 strcasecmp for libc.a.
34797         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
34799 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
34801         [BZ #13304]
34802         * soft-fp/op-common.h (_FP_FMA): New macro.
34803         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
34804         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
34805         (_FP_MUL_MEAT_1_imm): ... here.
34806         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
34807         (_FP_MUL_MEAT_1_wide): ... here.
34808         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
34809         (_FP_MUL_MEAT_1_hard): ... here.
34810         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
34811         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
34812         (_FP_MUL_MEAT_2_wide): ... here.
34813         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
34814         (_FP_MUL_MEAT_2_wide_3mul): ... here.
34815         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
34816         (_FP_MUL_MEAT_2_gmp): ... here.
34817         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
34818         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
34819         (_FP_MUL_MEAT_4_wide): ... here.
34820         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
34821         (_FP_MUL_MEAT_4_gmp): ... here.
34822         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
34823         (_FP_WFRACBITS_DW_S): Likewise.
34824         (_FP_WFRACXBITS_DW_S): Likewise.
34825         (_FP_HIGHBIT_DW_S): Likewise.
34826         (FP_FMA_S): Likewise.
34827         (_FP_FRAC_HIGH_DW_S): Likewise.
34828         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
34829         (_FP_WFRACBITS_DW_D): Likewise.
34830         (_FP_WFRACXBITS_DW_D): Likewise.
34831         (_FP_HIGHBIT_DW_D): Likewise.
34832         (FP_FMA_D): Likewise.
34833         (_FP_FRAC_HIGH_DW_D): Likewise.
34834         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
34835         (_FP_WFRACBITS_DW_E): Likewise.
34836         (_FP_WFRACXBITS_DW_E): Likewise.
34837         (_FP_HIGHBIT_DW_E): Likewise.
34838         (FP_FMA_E): Likewise.
34839         (_FP_FRAC_HIGH_DW_E): Likewise.
34840         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
34841         (_FP_WFRACBITS_DW_Q): Likewise.
34842         (_FP_WFRACXBITS_DW_Q): Likewise.
34843         (_FP_HIGHBIT_DW_Q): Likewise.
34844         (FP_FMA_Q): Likewise.
34845         (_FP_FRAC_HIGH_DW_Q): Likewise.
34846         * soft-fp/fmasf4.c: New file.
34847         * soft-fp/fmadf4.c: Likewise.
34848         * soft-fp/fmatf4.c: Likewise.
34850 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
34852         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
34853         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
34854         Silvermont.
34855         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
34856         macro.
34857         (index_Slow_SSE4_2): Likewise.
34858         (index_Prefer_PMINUB_for_stringop): Likewise.
34859         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
34860         bit_Slow_SSE4_2 is set.
34861         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
34862         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
34864 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
34866         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
34867         rtld_global._dl_hwcap2.
34868         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
34869         POWER8.
34870         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
34871         POWER8 feature descriptions defined in _dl_hwcap2.
34872         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
34873         string handling for POWER8 feature bits.
34874         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
34875         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
34876         _dl_powerpc_cap_flags.
34877         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
34878         * sysdeps/powerpc/rtld-global-offsets.sym
34879         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
34880         _dl_hwcap2 in the rtld_global_ro structure.
34882 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
34884         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
34885         hardware capabilities in support of AT_HWCAP2.
34886         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
34887         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
34888         GLRO(dl_hwcap2).
34889         (_dl_show_auxv): Add support for calling _dl_procinfo to display
34890         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
34891         explicitly the unknown a_type display mechanism is used.
34892         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
34893         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
34894         struct member.
34895         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
34896         to macro prototype for AT_HWCAP2 support.
34897         * sysdeps/i386/dl-procinfo.h: Likewise.
34898         * sysdeps/s390/dl-procinfo.h: Likewise.
34899         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
34900         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
34901         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
34902         return -1 for unknown a_type display fallback.
34903         * sysdeps/sparc/dl-procinfo.h: Likewise.
34904         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
34905         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
34907 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
34909         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
34910         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
34912 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
34914         [BZ #12492]
34915         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
34916         mprotect making __stack_prot writable.
34918 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
34919             Joseph Myers  <joseph@codesourcery.com>
34921         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
34922         as being properly aligned.
34924 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
34926         * dlfcn/modstatic5.c: New file.
34927         * dlfcn/tststatic5.c: New file.
34928         * dlfcn/Makefile (tests): Add tststatic5.
34929         (tests-static): Likewise.
34930         (modules-names): Add modstatic5.
34931         (tststatic5-ENV): New variable.
34932         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
34934         [BZ #15022]
34935         * elf/dl-support.c (_dl_main_map): New variable.
34936         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
34937         (_dl_nns, _dl_load_adds): Set to 1.
34938         (_dl_initial_searchlist): Refer to _dl_main_map.
34939         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
34940         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
34941         call to _dl_get_origin.
34942         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
34943         around call_map.
34944         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
34945         * dlfcn/modstatic3.c: New file.
34946         * dlfcn/tststatic3.c: New file.
34947         * dlfcn/tststatic4.c: New file.
34948         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
34949         (tests-static): Likewise.
34950         (modules-names): Add modstatic3.
34951         (tststatic3-ENV, tststatic4-ENV): New variables.
34952         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
34953         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
34955 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
34957         * configure.in (CC): Require GCC version 4.4 or later.
34958         * configure: Regenerated.
34959         * manual/install.texi (Tools for Compilation): Update GCC version
34960         requirement.
34961         * INSTALL: Regenerated.
34963 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
34965         [BZ #15674]
34966         * string/test-memcmp.c (check2): New.
34967         (main): Call check2.
34969         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
34971 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
34973         [BZ #15022]
34974         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
34975         over to...
34976         (dl_open_worker) [!SHARED]: ... here.
34978 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
34980         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
34982 2013-06-25  Richard Henderson  <rth@redhat.com>
34984         * locale/programs/locarchive.c: Include <libc-internal.h>
34986 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
34988         * manual/texinfo.tex: Update to version 2013-06-21.17, with
34989         trailing whitespace removed.
34991 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
34993         [BZ #10283]
34994         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
34995         * locale/programs/locarchive.c: Include libc-mmap.h.
34996         (prepare_address_space): Take two new outputs (the mmap base and len).
34997         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
34998         values.
34999         (create_archive): Declare new mmap base and len values for
35000         prepare_address_space, and store the result in ah.
35001         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
35002         (enlarge_archive): If ah->mmap_base is not NULL, use that and
35003         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
35004         Declare new mmap base and len values for
35005         prepare_address_space, and store the result in new_ah.
35006         (open_archive): Declare new mmap base and len values for
35007         prepare_address_space, and store the result in ah.
35008         (close_archive): If ah->mmap_base is not NULL, use that and
35009         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
35010         * sysdeps/generic/libc-mmap.h: New file.
35012 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
35014         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
35015         (ALIGN_UP): Likewise.
35016         (PTR_ALIGN_DOWN): Likewise.
35017         (PTR_ALIGN_UP): Likewise.
35019 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
35021         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
35022         entry mapped to PPC_PLATFORM_POWER8.
35023         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
35024         POWER8.
35025         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
35026         (_dl_string_platform): Add case for exporting platform position for
35027         POWER8.
35028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
35029         search path to sysdeps/powerpc/powerpc32/power8 directory.
35030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
35031         search path to sysdeps/powerpc/powerpc64/power8 directory.
35032         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
35033         power7 directories.
35034         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
35035         power7 directories.
35037 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
35039         * INSTALL: Regenerate.
35041         * nscd/connections.c (nscd_init): Fix comment.
35043 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
35045         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
35047         [BZ #15667]
35048         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
35049         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
35051 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
35053         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
35054         DL_DST_REQ_STATIC.
35055         (DL_DST_REQ_STATIC): Remove macro.
35057 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
35059         [BZ #7006]
35060         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
35061         with a shift of 0 bits.
35063 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
35065         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
35066         $(tststatic-ENV).
35068 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35070         [BZ #15655]
35071         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
35073 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35075         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
35076         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
35077         accepts -fno-tree-loop-distribute-patterns.
35078         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
35079         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
35080         recursive call.
35081         * string/memset.c (memset): Likewise.
35082         * string/test-memmove.c (simple_memmove): Disable loop transformation
35083         to library calls.
35084         * string/test-memset.c (simple_memset): Likewise.
35085         * benchtests/bench-memmove.c (simple_memmove): Likewise.
35086         * benchtests/bench-memset.c (simple_memset): Likewise.
35087         * configure: Regenerated.
35089 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
35091         * math/test-misc.c (main): Ignore fesetround failure when failures
35092         of subsequent rounding tests would be ignored.
35094         [BZ #15654]
35095         * math/fedisblxcpt.c (fedisableexcept): Return 0.
35096         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
35097         * math/fegetenv.c (__fegetenv): Return 0.
35098         * math/fegetexcept.c (fegetexcept): Return 0.
35099         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
35100         FE_TONEAREST.
35101         * math/feholdexcpt.c (feholdexcept): Return 0.
35102         * math/fesetenv.c (__fesetenv): Return 0.
35103         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
35104         argument FE_TONEAREST.
35105         * math/feupdateenv.c (__feupdateenv): Return 0.
35106         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
35108 2013-06-18  Roland McGrath  <roland@hack.frob.com>
35110         * elf/rtld-Rules (rtld-compile-command.S): New variable.
35111         (rtld-compile-command.s, rtld-compile-command.c): New variables.
35112         ($(objpfx)rtld-%.os rules): Use them.
35114 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35116         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
35117         fields.
35119 2013-06-17  Roland McGrath  <roland@hack.frob.com>
35121         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
35122         length of target pattern, then descending length of dependency pattern.
35123         * configure.in (AWK): Require gawk 3.1.2 or newer.
35124         * manual/install.texi (Tools for Compilation): Say that we do.
35125         * configure: Regenerated.
35127         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
35128         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
35129         * scripts/sysd-rules.awk: ... this new script.
35130         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
35131         than a glob-style pattern.
35133 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
35135         * math/test-misc.c (main): Do not treat incorrectly rounded
35136         conversions as failure unless ROUNDING_TESTS passes.
35138 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
35140         [BZ #15631]
35141         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
35142         restore exception state around main square root computation, then
35143         check for inexactness explicitly.
35145         * math/libm-test.inc (fma_test_data): Add another test.
35147 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35149         * manual/threads.texi (Non-POSIX Extensions): New document
35150         node.  Document pthread_getattr_default_np and
35151         pthread_setattr_default_np.
35153         * Versions.def (libpthread): Add GLIBC_2.18.
35154         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
35155         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
35156         Likewise.
35157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
35158         Likewise.
35159         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
35160         Likewise.
35161         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
35162         Likewise.
35163         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
35164         Likewise.
35165         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
35166         Likewise.
35167         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
35168         Likewise.
35169         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
35170         Likewise.
35171         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
35172         Likewise.
35174 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
35176         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35177         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
35179 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
35180             H.J. Lu  <hjl.tools@gmail.com>
35182         [BZ #15627]
35183         * sysdeps/x86_64/rtld-memset.c: Remove file.
35184         * sysdeps/x86_64/rtld-memset.S: New file.
35186 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
35188         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
35189         (test_in_one_mode): Take arguments for whether the rounding mode
35190         is supported for each floating-point type.
35191         (do_test): Pass new arguments to test_in_one_mode using
35192         ROUNDING_TESTS.
35194 2013-06-13  Roland McGrath  <roland@hack.frob.com>
35196         * posix/tst-waitid.c (do_test): Distinguish different instances of
35197         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
35198         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
35199         before entering the kernel for waitpid.
35201 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
35203         * NEWS: Fix note on clock function precision.  Text by Roland
35204         McGrath.
35206 2013-06-13  Roland McGrath  <roland@hack.frob.com>
35208         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
35209         it into place only when and if the sanity check passes.
35211 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
35213         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
35214         output for whether conversion result is exact.  Take argument
35215         indicating whether type is IBM long double.
35216         (round_for_all): Change need_exact field to ibm_ld.
35217         * stdlib/tst-strtod-round.c (struct exactness): New type.
35218         (struct test): Change bool ld_ok field to struct exactness exact.
35219         (TEST): Update all definitions for change to field.
35220         (tests): Regenerate array contents.
35221         (test_in_one_mode): Take pointer to new field instead of old ld_ok
35222         field value.  Check for IBM long double here.
35223         (do_test): Update calls to test_in_one_mode.
35225 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
35227         [BZ #12515]
35228         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
35229         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
35231 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35233         [BZ #15605]
35234         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
35235         generated by the compiler on loop optimizations.
35236         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
35237         general definitions.
35239 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
35241         * math/bug-nextafter.c: Include <math-tests.h>.
35242         (main): Only test for exceptions if EXCEPTION_TESTS is true for
35243         the relevant type.
35244         * math/bug-nexttoward.c: Include <math-tests.h>.
35245         (main): Only test for exceptions if EXCEPTION_TESTS is true for
35246         the relevant type.
35247         * math/test-misc.c: Include <math-tests.h>.
35248         (main): Only test for exceptions if EXCEPTION_TESTS is true for
35249         the relevant type.
35251 2013-06-12  Andreas Jaeger  <aj@suse.de>
35253         * po/ia.po: Update Interlingua translation from translation
35254         project.
35256 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
35258         * include/fenv.h: Include stdbool.h.
35259         (struct rm_ctx): New structure.
35260         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
35261         Define macro.
35262         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
35263         (SET_RESTORE_ROUNDF): Likewise.
35264         (SET_RESTORE_ROUNDL): Likewise.
35265         (SET_RESTORE_ROUND_NOEX): Likewise.
35266         (SET_RESTORE_ROUND_NOEXF): Likewise.
35267         (SET_RESTORE_ROUND_NOEXL): Likewise.
35268         (SET_RESTORE_ROUND_53BIT): Likewise.
35269         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
35270         (libc_feresetround_noexf_ctx): Likewise.
35271         (libc_feresetround_noexl_ctx): Likewise.
35272         (libc_feholdsetround_53bit_ctx): Likewise.
35273         (libc_feresetround_53bit_ctx): Likewise.
35274         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
35275         (libc_feholdexcept_setround_sse_ctx): New function.
35276         (libc_fesetenv_sse_ctx): Likewise.
35277         (libc_feupdateenv_sse_ctx): Likewise.
35278         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
35279         (libc_feholdexcept_setround_387_ctx): Likewise.
35280         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
35281         (libc_feholdsetround_387_prec_ctx): Likewise.
35282         (libc_feholdsetround_387_ctx): Likewise.
35283         (libc_feholdsetround_387_53bit_ctx): Likewise.
35284         (libc_feholdsetround_sse_ctx): Likewise.
35285         (libc_feresetround_sse_ctx): Likewise.
35286         (libc_feresetround_387_ctx): Likewise.
35287         (libc_feupdateenv_387_ctx): Likewise.
35288         (libc_feholdexcept_setroundf_ctx): Define macro.
35289         (libc_fesetenvf_ctx): Likewise.
35290         (libc_feupdateenvf_ctx): Likewise.
35291         (libc_feholdsetroundf_ctx): Likewise.
35292         (libc_feresetroundf_ctx): Likewise.
35293         (libc_feholdexcept_setround_ctx): Likewise.
35294         (libc_fesetenv_ctx): Likewise.
35295         (libc_feupdateenv_ctx): Likewise.
35296         (libc_feholdsetround_ctx): Likewise.
35297         (libc_feresetround_ctx): Likewise.
35298         (libc_feholdexcept_setroundl_ctx): Likewise.
35299         (libc_feupdateenvl_ctx): Likewise.
35300         (libc_feholdsetroundl_ctx): Likewise.
35301         (libc_feresetroundl_ctx): Likewise.
35302         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
35303         (libc_feresetround_53bit_ctx): Likewise.
35305 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
35307         * locale/iso-639.def: Convert to UTF-8.
35309 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
35311         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
35312         (EXCEPTION_TESTS_double): Likewise.
35313         (EXCEPTION_TESTS_long_double): Likewise.
35314         (EXCEPTION_TESTS): Likewise.
35315         * math/libm-test.inc (test_exceptions): Only test exceptions if
35316         EXCEPTION_TESTS (FLOAT).
35318 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
35320         * benchtests/Makefile (string-bench): Add strcpy_chk and
35321         stpcpy_chk.
35322         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
35323         * benchtests/bench-stpcpy_chk.c: New file.
35324         * benchtests/bench-strcpy_chk-ifunc.c: New file.
35325         * benchtests/bench-strcpy_chk.c: New file.
35326         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
35327         code.
35328         (do_test): Likewise.
35330 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
35332         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
35333         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
35334         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
35335         with tabs where appropriate.
35336         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
35337         dl-procinfo.h.
35338         [PPC_PLATFORM_PPC440]: Likewise.
35339         [PPC_PLATFORM_PPC464]: Likewise.
35340         [PPC_PLATFORM_PPC476]: Likewise.
35341         (_dl_string_platform): Add support for detecting ppc405, ppc440,
35342         ppc464, and ppc476 platform strings merging from ports/
35343         dl-procinfo.h.
35345 2013-06-11  Andreas Schwab  <schwab@suse.de>
35347         [BZ #14991]
35348         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
35349         (from_ucs4_idx): Regenerate.
35350         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
35351         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
35352         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
35353         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
35354         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
35355         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
35356         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
35357         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
35358         from FROM_LOOP and TO_LOOP specific macros.
35359         (BODY): Handle combining characters.
35360         * iconvdata/BIG5HKSCS.irreversible: Update.
35361         * iconvdata/BIG5HKSCS.precomposed: New file.
35362         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
35363         characters.
35364         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
35366 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
35368         * include/sys/time.h: Fix indentation and add copyright header.
35370         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
35371         (do_test): Likewise.
35372         * string/test-memchr.c (do_one_test): Likewise.
35373         (do_test): Likewise.
35374         * string/test-memcmp.c (do_one_test): Likewise.
35375         (do_test): Likewise.
35376         * string/test-memcpy.c (do_one_test): Likewise.
35377         (do_test): Likewise.
35378         * string/test-memmem.c (do_one_test): Likewise.
35379         (do_test): Likewise.
35380         (do_random_tests): Likewise.
35381         * string/test-memmove.c (do_one_test): Likewise.
35382         (do_test): Likewise.
35383         * string/test-memset.c (do_one_test): Likewise.
35384         (do_test): Likewise.
35385         * string/test-rawmemchr.c (do_one_test): Likewise.
35386         (do_test): Likewise.
35387         * string/test-strcasecmp.c (do_one_test): Likewise.
35388         (do_test): Likewise.
35389         * string/test-strcasestr.c (do_one_test): Likewise.
35390         (do_test): Likewise.
35391         * string/test-strcat.c (do_one_test): Likewise.
35392         (do_test): Likewise.
35393         * string/test-strchr.c (do_one_test): Likewise.
35394         (do_test): Likewise.
35395         * string/test-strcmp.c (do_one_test): Likewise.
35396         (do_test): Likewise.
35397         * string/test-strcpy.c (do_one_test): Likewise.
35398         (do_test): Likewise.
35399         * string/test-string.h: Likewise.
35400         (test_init): Likewise.
35401         * string/test-strlen.c (do_one_test): Likewise.
35402         (do_test): Likewise.
35403         * string/test-strncasecmp.c (do_one_test): Likewise.
35404         (do_test): Likewise.
35405         * string/test-strncat.c (do_one_test): Likewise.
35406         (do_test): Likewise.
35407         * string/test-strncmp.c (do_one_test): Likewise.
35408         (do_test_limit): Likewise.
35409         (do_test): Likewise.
35410         * string/test-strncpy.c (do_one_test): Likewise.
35411         (do_test): Likewise.
35412         * string/test-strnlen.c (do_one_test): Likewise.
35413         (do_test): Likewise.
35414         * string/test-strpbrk.c (do_one_test): Likewise.
35415         (do_test): Likewise.
35416         * string/test-strrchr.c (do_one_test): Likewise.
35417         (do_test): Likewise.
35418         * string/test-strspn.c (do_one_test): Likewise.
35419         (do_test): Likewise.
35420         * string/test-strstr.c (do_one_test): Likewise.
35421         (do_test): Likewise.
35423         * benchtests/Makefile (string-bench): Add string benchmarks.
35424         * benchtests/bench-bcopy-ifunc.c: New file.
35425         * benchtests/bench-bcopy.c: New file.
35426         * benchtests/bench-bzero-ifunc.c: New file.
35427         * benchtests/bench-bzero.c: New file.
35428         * benchtests/bench-memccpy-ifunc.c: New file.
35429         * benchtests/bench-memccpy.c: New file.
35430         * benchtests/bench-memchr-ifunc.c: New file.
35431         * benchtests/bench-memchr.c: New file.
35432         * benchtests/bench-memcmp-ifunc.c: New file.
35433         * benchtests/bench-memcmp.c: New file.
35434         * benchtests/bench-memmem-ifunc.c: New file.
35435         * benchtests/bench-memmem.c: New file.
35436         * benchtests/bench-memmove-ifunc.c: New file.
35437         * benchtests/bench-memmove.c: New file.
35438         * benchtests/bench-mempcpy-ifunc.c: New file.
35439         * benchtests/bench-mempcpy.c: New file.
35440         * benchtests/bench-memset-ifunc.c: New file.
35441         * benchtests/bench-memset.c: New file.
35442         * benchtests/bench-rawmemchr-ifunc.c: New file.
35443         * benchtests/bench-rawmemchr.c: New file.
35444         * benchtests/bench-stpcpy-ifunc.c: New file.
35445         * benchtests/bench-stpcpy.c: New file.
35446         * benchtests/bench-stpncpy-ifunc.c: New file.
35447         * benchtests/bench-stpncpy.c: New file.
35448         * benchtests/bench-strcasecmp-ifunc.c: New file.
35449         * benchtests/bench-strcasecmp.c: New file.
35450         * benchtests/bench-strcasestr-ifunc.c: New file.
35451         * benchtests/bench-strcasestr.c: New file.
35452         * benchtests/bench-strcat-ifunc.c: New file.
35453         * benchtests/bench-strcat.c: New file.
35454         * benchtests/bench-strchr-ifunc.c: New file.
35455         * benchtests/bench-strchr.c: New file.
35456         * benchtests/bench-strchrnul-ifunc.c: New file.
35457         * benchtests/bench-strchrnul.c: New file.
35458         * benchtests/bench-strcmp-ifunc.c: New file.
35459         * benchtests/bench-strcmp.c: New file.
35460         * benchtests/bench-strcpy-ifunc.c: New file.
35461         * benchtests/bench-strcpy.c: New file.
35462         * benchtests/bench-strcspn-ifunc.c: New file.
35463         * benchtests/bench-strcspn.c: New file.
35464         * benchtests/bench-strlen-ifunc.c: New file.
35465         * benchtests/bench-strlen.c: New file.
35466         * benchtests/bench-strncasecmp-ifunc.c: New file.
35467         * benchtests/bench-strncasecmp.c: New file.
35468         * benchtests/bench-strncat-ifunc.c: New file.
35469         * benchtests/bench-strncat.c: New file.
35470         * benchtests/bench-strncmp-ifunc.c: New file.
35471         * benchtests/bench-strncmp.c: New file.
35472         * benchtests/bench-strncpy-ifunc.c: New file.
35473         * benchtests/bench-strncpy.c: New file.
35474         * benchtests/bench-strnlen-ifunc.c: New file.
35475         * benchtests/bench-strnlen.c: New file.
35476         * benchtests/bench-strpbrk-ifunc.c: New file.
35477         * benchtests/bench-strpbrk.c: New file.
35478         * benchtests/bench-strrchr-ifunc.c: New file.
35479         * benchtests/bench-strrchr.c: New file.
35480         * benchtests/bench-strspn-ifunc.c: New file.
35481         * benchtests/bench-strspn.c: New file.
35482         * benchtests/bench-strstr-ifunc.c: New file.
35483         * benchtests/bench-strstr.c: New file.
35485         * benchtests/Makefile: Disable parallel execution of targets.
35486         (string-bench): Add memcpy.
35487         (benchset): New variable to store a list of benchmark sets.
35488         (bench-func): Renamed from bench.
35489         (bench-set): New target.
35490         (bench): Depend on bench-func and bench-set.
35491         * benchtests/README: Add section on benchmark sets.
35492         * benchtests/bench-memcpy-ifunc.c: New file.
35493         * benchtests/bench-memcpy.c: New file.
35494         * benchtests/bench-string.h: New file.
35496 2013-06-11  Andreas Schwab  <schwab@suse.de>
35498         [BZ #15577]
35499         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
35500         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
35501         values in the triple.
35502         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
35503         terminator in the group key.
35505 2013-06-11  Andreas Jaeger  <aj@suse.de>
35507         * po/zh_TW.po: Update Chinese (traditional) translation from
35508         translation project.
35510 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
35512         * include/time.h (__clock_gettime): Add libc_hidden_proto.
35513         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
35514         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
35515         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
35516         (clock_getcpuclockid): Likewise.
35517         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
35518         Add weak_alias and libc_hidden_def.
35519         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
35520         * rt/clock_gettime.c (clock_gettime): Rename to
35521         __clock_gettime.  Add weak_alias and libc_hidden_def.
35522         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
35523         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
35524         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
35525         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
35526         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
35527         Likewise.
35528         * rt/clock_settime.c (clock_settime): Rename to
35529         __clock_settime.  Add weak_alias and libc_hidden_def.
35530         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
35532 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
35534         * mach/err_boot.sub: Remove trailing whitespace.
35535         * mach/err_ipc.sub: Likewise.
35536         * mach/err_mach.sub: Likewise.
35538         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
35539         (ROUNDING_TESTS_double): Likewise.
35540         (ROUNDING_TESTS_long_double): Likewise.
35541         (ROUNDING_TESTS): Likewise.
35542         * math/libm-test.inc: Include <math-tests.h>.
35543         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
35544         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
35545         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
35546         (IF_ROUND_INIT_FE_UPWARD): Likewise.
35548 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
35550         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
35551         of assigning.
35553 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
35555         * sysdeps/gnu/errlist.awk: Do not generate space at end of
35556         otherwise empty TRANS lines.
35557         * sysdeps/gnu/errlist.c: Regenerated.
35559         * catgets/gencat.c (error_print): Use (void) in function
35560         definition.
35561         * crypt/crypt_util.c (__init_des): Likewise.
35562         * crypt/speeds.c (Stop): Likewise.
35563         (main): Likewise.
35564         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
35565         * inet/ruserpass.c (token): Likewise.
35566         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
35567         * intl/localealias.c (extend_alias_table): Likewise.
35568         * intl/plural-exp.c (init_germanic_plural): Likewise.
35569         * libio/fcloseall.c (__fcloseall): Likewise.
35570         * libio/genops.c (_IO_flush_all): Likewise.
35571         (_IO_flush_all_linebuffered): Likewise.
35572         (_IO_cleanup): Likewise.
35573         (_IO_iter_begin): Likewise.
35574         (_IO_iter_end): Likewise.
35575         (_IO_list_lock): Likewise.
35576         (_IO_list_unlock): Likewise.
35577         (_IO_list_resetlock): Likewise.
35578         * libio/getchar.c (getchar): Likewise.
35579         * libio/getchar_u.c (getchar_unlocked): Likewise.
35580         * libio/getwchar.c (getwchar): Likewise.
35581         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
35582         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
35583         * login/getpt.c (__getpt): Likewise.
35584         * login/tst-utmp.c (main): Likewise.
35585         * malloc/hooks.c (__malloc_check_init): Likewise.
35586         * malloc/malloc.c (__malloc_stats): Likewise.
35587         * malloc/mtrace.c (tr_break): Likewise.
35588         (mtrace): Likewise.
35589         (muntrace): Likewise.
35590         * misc/fstab.c (endfsent): Likewise.
35591         * misc/getclktck.c (__getclktck): Likewise.
35592         * misc/getdtsz.c (__getdtablesize): Likewise.
35593         * misc/gethostid.c (gethostid): Likewise.
35594         * misc/getpagesize.c (__getpagesize): Likewise.
35595         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
35596         (__get_nprocs): Likewise.
35597         (__get_phys_pages): Likewise.
35598         (__get_avphys_pages): Likewise.
35599         * misc/getttyent.c (getttyent): Likewise.
35600         (setttyent): Likewise.
35601         (endttyent): Likewise.
35602         * misc/getusershell.c (getusershell): Likewise.
35603         (endusershell): Likewise.
35604         (setusershell): Likewise.
35605         (initshells): Likewise.
35606         * misc/hsearch.c (__hdestroy): Likewise.
35607         * misc/sync.c (sync): Likewise.
35608         * misc/syslog.c (closelog_internal): Likewise.
35609         (closelog): Likewise.
35610         * misc/ttyslot.c (ttyslot): Likewise.
35611         * misc/vhangup.c (vhangup): Likewise.
35612         * posix/fork.c (__fork): Likewise.
35613         * posix/getegid.c (__getegid): Likewise.
35614         * posix/geteuid.c (__geteuid): Likewise.
35615         * posix/getgid.c (__getgid): Likewise.
35616         * posix/getpid.c (__getpid): Likewise.
35617         * posix/getppid.c (__getppid): Likewise.
35618         * posix/getuid.c (__getuid): Likewise.
35619         * posix/pause.c (pause): Likewise.
35620         * posix/setpgrp.c (setpgrp): Likewise.
35621         * posix/setsid.c (__setsid): Likewise.
35622         * posix/test-vfork.c (noop): Likewise.
35623         * resolv/gethnamaddr.c (_endhtent): Likewise.
35624         (_gethtent): Likewise.
35625         (ht_endhostent): Likewise.
35626         (gethostent): Likewise.
35627         (dns_service): Likewise.
35628         * stdlib/drand48.c (drand48): Likewise.
35629         * stdlib/lrand48.c (lrand48): Likewise.
35630         * stdlib/mrand48.c (mrand48): Likewise.
35631         * stdlib/rand.c (rand): Likewise.
35632         * stdlib/random.c (__random): Likewise.
35633         * stdlib/setenv.c (clearenv): Likewise.
35634         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
35635         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
35636         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
35637         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
35638         (__get_nprocs): Likewise.
35639         (__get_phys_pages): Likewise.
35640         (__get_avphys_pages): Likewise.
35641         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
35642         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
35643         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
35644         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
35645         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
35646         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
35647         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
35648         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
35649         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
35650         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
35651         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
35652         * sysdeps/mach/hurd/sync.c (sync): Likewise.
35653         * sysdeps/posix/clock.c (clock): Likewise.
35654         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
35655         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
35656         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
35657         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
35658         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
35659         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
35660         (__get_nprocs_conf): Likewise.
35661         (__get_phys_pages): Likewise.
35662         (__get_avphys_pages): Likewise.
35663         * time/clock.c (clock): Likewise.
35664         * time/tzset.c (__tzname_max): Likewise.
35666 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
35668         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
35669         (__bswap_32): Do not use "register".
35670         * crypt/crypt.c (_ufc_doit_r): Likewise.
35671         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
35672         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
35673         * gmon/gmon.c (__monstartup): Likewise.
35674         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
35675         * hurd/hurdmalloc.c (more_memory): Likewise.
35676         (malloc): Likewise.
35677         (free): Likewise.
35678         (realloc): Likewise.
35679         (malloc_fork_prepare): Likewise.
35680         (malloc_fork_parent): Likewise.
35681         (malloc_fork_child): Likewise.
35682         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
35683         (_svcauth_des): Likewise.
35684         * inet/inet_lnaof.c (inet_lnaof): Likewise.
35685         * inet/inet_net.c (inet_network): Likewise.
35686         * inet/inet_netof.c (inet_netof): Likewise.
35687         * inet/rcmd.c (__validuser2_sa): Likewise.
35688         * io/fts.c (fts_open): Likewise.
35689         (fts_load): Likewise.
35690         (fts_close): Likewise.
35691         (fts_read): Likewise.
35692         (fts_children): Likewise.
35693         (fts_build): Likewise.
35694         (fts_stat): Likewise.
35695         (fts_sort): Likewise.
35696         (fts_alloc): Likewise.
35697         (fts_lfree): Likewise.
35698         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
35699         (_IO_file_xsgetn): Likewise.
35700         (_IO_file_xsgetn_mmap): Likewise.
35701         * libio/iofopncook.c (_IO_cookie_read): Likewise.
35702         (_IO_cookie_write): Likewise.
35703         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
35704         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
35705         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
35706         * malloc/obstack.c (_obstack_begin): Likewise.
35707         (_obstack_begin_1): Likewise.
35708         (_obstack_newchunk): Likewise.
35709         (_obstack_allocated_p): Likewise.
35710         (obstack_free): Likewise.
35711         (_obstack_memory_used): Likewise.
35712         * misc/getttyent.c (getttynam): Likewise.
35713         (getttyent): Likewise.
35714         (skip): Likewise.
35715         (value): Likewise.
35716         * misc/getusershell.c (initshells): Likewise.
35717         * misc/syslog.c (__vsyslog_chk): Likewise.
35718         * misc/ttyslot.c (ttyslot): Likewise.
35719         * nis/nis_hash.c (__nis_hash): Likewise.
35720         * posix/fnmatch_loop.c (FCT): Likewise.
35721         * posix/getconf.c (print_all): Likewise.
35722         (main): Likewise.
35723         * posix/getopt.c (exchange): Likewise.
35724         * posix/glob.c (globfree): Likewise.
35725         (prefix_array): Likewise.
35726         (__glob_pattern_type): Likewise.
35727         * resolv/arpa/nameser.h (NS_GET16): Likewise.
35728         (NS_GET32): Likewise.
35729         (NS_PUT16): Likewise.
35730         (NS_PUT32): Likewise.
35731         * resolv/gethnamaddr.c (getanswer): Likewise.
35732         (gethostbyname2): Likewise.
35733         (gethostbyaddr): Likewise.
35734         (_gethtent): Likewise.
35735         (_gethtbyname2): Likewise.
35736         (_gethtbyaddr): Likewise.
35737         * resolv/ns_print.c (dst_s_get_int16): Likewise.
35738         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
35739         * resolv/res_init.c (__res_vinit): Likewise.
35740         (net_mask): Likewise.
35741         * resolv/res_mkquery.c (outchar): Likewise.
35742         (PRINT): Likewise.
35743         * stdio-common/printf_fp.c (outchar): Likewise.
35744         (PRINT): Likewise.
35745         * stdio-common/printf_fphex.c (outchar): Likewise.
35746         (PRINT): Likewise.
35747         * stdio-common/printf_size.c (outchar): Likewise.
35748         (PRINT): Likewise.
35749         * stdio-common/test_rdwr.c (main): Likewise.
35750         * stdio-common/tfformat.c (matches): Likewise.
35751         * stdio-common/vfprintf.c (outchar): Likewise.
35752         (printf_unknown): Likewise.
35753         (buffered_vfprintf): Likewise.
35754         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
35755         * stdio-common/xbug.c (AppendToBuffer): Likewise.
35756         (ReadFile): Likewise.
35757         * stdlib/qsort.c (SWAP): Likewise.
35758         (_quicksort): Likewise.
35759         * stdlib/setenv.c (__add_to_environ): Likewise.
35760         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
35761         * stdlib/strtol_l.c (__strtol_l): Likewise.
35762         * stdlib/tst-strtod.c (main): Likewise.
35763         * stdlib/tst-strtol.c (main): Likewise.
35764         * stdlib/tst-strtoll.c (main): Likewise.
35765         * string/bits/string2.h (__strcmp_cc): Likewise.
35766         (__strcmp_cg): Likewise.
35767         (__strcspn_c1): Likewise.
35768         (__strcspn_c2): Likewise.
35769         (__strcspn_c3): Likewise.
35770         (__strspn_c1): Likewise.
35771         (__strspn_c2): Likewise.
35772         (__strspn_c3): Likewise.
35773         (__strsep_1c): Likewise.
35774         (__strsep_2c): Likewise.
35775         (__strsep_3c): Likewise.
35776         * string/memccpy.c (__memccpy): Likewise.
35777         * string/stpcpy.c (__stpcpy): Likewise.
35778         * string/strcmp.c (strcmp): Likewise.
35779         * string/strrchr.c (strrchr): Likewise.
35780         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
35781         Likewise.
35782         * sysdeps/mach/hurd/getcwd.c
35783         (_hurd_canonicalize_directory_name_internal): Likewise.
35784         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
35785         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
35786         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
35787         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
35788         Likewise, in both definitions.
35789         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
35790         definitions.
35791         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
35792         64] (__bswap_64): Likewise.
35793         * time/test_time.c (main): Likewise.
35794         * time/tzfile.c (__tzfile_read): Likewise.
35795         (__tzfile_compute): Likewise.
35796         * time/tzset.c (__tzset_parse_tz): Likewise.
35797         (tzset_internal): Likewise.
35798         (compute_change): Likewise.
35799         * wcsmbs/wcscat.c (__wcscat): Likewise.
35800         * wcsmbs/wcschr.c (wcschr): Likewise.
35801         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
35802         * wcsmbs/wcscspn.c (wcscspn): Likewise.
35803         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
35804         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
35805         * wcsmbs/wcsspn.c (wcsspn): Likewise.
35806         * wcsmbs/wcsstr.c (wcsstr): Likewise.
35807         * wcsmbs/wmemchr.c (wmemchr): Likewise.
35808         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
35809         * wcsmbs/wmemset.c (wmemset): Likewise.
35811 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
35813         * scripts/config.guess: Update to version 2013-05-16.
35814         * scripts/config.sub: Update to version 2013-04-24.
35815         * scripts/install-sh: Update to version 2011-11-20.07.
35816         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
35817         * scripts/move-if-change: Update to version 2012-01-06 07:23.
35819 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
35821         * debug/fgetws_u_chk.c: Fix leading whitespaces.
35822         * elf/sln.c: Likewise.
35823         * hurd/hurd/ioctl.h: Likewise.
35824         * hurd/hurdmalloc.c: Likewise.
35825         * hurd/xattr.c: Likewise.
35826         * include/shlib-compat.h: Likewise.
35827         * inet/ruserpass.c: Likewise.
35828         * libio/iofgets_u.c: Likewise.
35829         * libio/iofgetws_u.c: Likewise.
35830         * locale/programs/ld-identification.c: Likewise.
35831         * locale/programs/ld-time.c: Likewise.
35832         * mach/msg-destroy.c: Likewise.
35833         * nss/nss_files/files-netgrp.c: Likewise.
35834         * resolv/res_data.c: Likewise.
35835         * soft-fp/op-1.h: Likewise.
35836         * soft-fp/op-2.h: Likewise.
35837         * soft-fp/op-4.h: Likewise.
35838         * soft-fp/op-common.h: Likewise.
35839         * stdio-common/printf_fphex.c: Likewise.
35840         * stdlib/strtod_l.c: Likewise.
35841         * sunrpc/rpc/clnt.h: Likewise.
35842         * sysdeps/generic/framestate.c: Likewise.
35843         * sysdeps/i386/bsd-_setjmp.S: Likewise.
35844         * sysdeps/i386/bsd-setjmp.S: Likewise.
35845         * sysdeps/i386/__longjmp.S: Likewise.
35846         * sysdeps/i386/setjmp.S: Likewise.
35847         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
35848         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
35849         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35850         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
35851         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
35852         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
35853         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
35854         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
35855         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
35856         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
35857         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
35858         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
35859         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
35860         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
35861         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
35862         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
35863         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
35864         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
35865         * sysdeps/ieee754/support.c: Likewise.
35866         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
35867         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
35868         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
35869         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
35870         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
35871         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
35872         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
35873         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
35874         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
35875         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
35876         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
35877         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
35878         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
35879         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
35880         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
35881         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
35882         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
35883         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
35885 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
35887         * posix/transbug.c: Remove executable mode.
35889 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
35891         * crypt/speeds.c: Remove trailing whitespace.
35892         * dlfcn/default.c: Likewise.
35893         * elf/ifuncdep2.c: Likewise.
35894         * elf/ifuncmain1.c: Likewise.
35895         * elf/ifuncmain1vis.c: Likewise.
35896         * elf/testobj.h: Likewise.
35897         * elf/tst-stackguard1.c: Likewise.
35898         * gmon/sys/gmon.h: Likewise.
35899         * hurd/hurdmsg.c: Likewise.
35900         * hurd/new-fd.c: Likewise.
35901         * hurd/ports-get.c: Likewise.
35902         * iconvdata/ibm1008_420.c: Likewise.
35903         * inet/tst-getni1.c: Likewise.
35904         * inet/tst-getni2.c: Likewise.
35905         * libio/ioungetc.c: Likewise.
35906         * libio/wfiledoalloc.c: Likewise.
35907         * manual/libm-err-tab.pl: Likewise.
35908         * math/w_dremf.c: Likewise.
35909         * misc/ftruncate.c: Likewise.
35910         * posix/bug-glob2.c: Likewise.
35911         * posix/tst-pcre.c: Likewise.
35912         * posix/wait4.c: Likewise.
35913         * resolv/README: Likewise.
35914         * resolv/res_debug.h: Likewise.
35915         * resolv/tst-inet_ntop.c: Likewise.
35916         * setjmp/bug269-setjmp.c: Likewise.
35917         * soft-fp/extended.h: Likewise.
35918         * soft-fp/op-1.h: Likewise.
35919         * soft-fp/op-2.h: Likewise.
35920         * soft-fp/op-4.h: Likewise.
35921         * soft-fp/op-8.h: Likewise.
35922         * soft-fp/testit.c: Likewise.
35923         * stdio-common/bug16.c: Likewise.
35924         * stdlib/random.c: Likewise.
35925         * sunrpc/rpcsvc/rquota.x: Likewise.
35926         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
35927         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
35928         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35929         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
35930         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
35931         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
35932         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
35933         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
35934         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
35935         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
35936         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
35937         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
35938         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
35939         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
35940         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
35941         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
35942         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
35943         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
35944         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
35945         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35946         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
35947         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
35948         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
35949         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
35950         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
35951         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
35952         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
35953         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
35954         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
35955         * sysdeps/ieee754/s_lib_version.c: Likewise.
35956         * sysdeps/mach/hurd/check_fds.c: Likewise.
35957         * sysdeps/mach/hurd/getsockname.c: Likewise.
35958         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
35959         * sysdeps/mach/hurd/recvfrom.c: Likewise.
35960         * sysdeps/powerpc/bits/link.h: Likewise.
35961         * sysdeps/powerpc/dl-procinfo.c: Likewise.
35962         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
35963         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
35964         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
35965         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
35966         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
35967         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
35968         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
35969         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
35970         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
35971         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
35972         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
35973         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
35974         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
35975         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
35976         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
35977         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
35978         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
35979         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
35980         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
35981         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
35982         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
35983         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
35984         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
35985         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
35986         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
35987         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
35988         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
35989         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
35990         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
35991         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
35992         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
35993         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
35994         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
35995         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
35996         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
35997         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
35998         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
35999         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
36000         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
36001         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
36002         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
36003         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
36004         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
36005         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
36006         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
36007         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
36008         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
36009         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
36010         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
36011         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
36012         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
36013         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
36014         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
36015         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
36016         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
36017         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
36018         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
36019         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
36020         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
36021         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
36022         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
36023         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
36024         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
36025         * sysdeps/powerpc/sysdep.h: Likewise.
36026         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
36027         * sysdeps/s390/s390-64/sub_n.S: Likewise.
36028         * sysdeps/sh/dl-trampoline.S: Likewise.
36029         * sysdeps/sh/memset.S: Likewise.
36030         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
36031         * sysdeps/sh/strlen.S: Likewise.
36032         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
36033         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
36034         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
36035         * sysdeps/sparc/sparc32/rem.S: Likewise.
36036         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
36037         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
36038         * sysdeps/sparc/sparc32/strchr.S: Likewise.
36039         * sysdeps/sparc/sparc32/udiv.S: Likewise.
36040         * sysdeps/sparc/sparc32/urem.S: Likewise.
36041         * sysdeps/sparc/sparc64/add_n.S: Likewise.
36042         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
36043         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
36044         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
36045         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
36046         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
36047         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
36048         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
36049         * sysdeps/unix/bsd/times.c: Likewise.
36050         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
36051         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
36052         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
36053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
36054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
36055         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
36056         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
36057         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
36058         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
36059         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
36060         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
36061         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
36062         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
36063         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
36064         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
36065         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
36066         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
36067         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
36068         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
36069         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
36070         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
36071         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
36072         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
36073         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
36074         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
36075         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
36076         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
36077         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
36078         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
36079         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
36080         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
36081         * sysdeps/x86_64/strcspn.S: Likewise.
36083 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
36085         * locale/C-translit.h: Revert #include <stdint.h> because this is a
36086         generated file.  Regenerate properly from gen-translit.pl.
36087         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
36088         locale/C-translit.h.
36090 2013-06-05  Andreas Schwab  <schwab@suse.de>
36092         [BZ #15100]
36093         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
36094         week as 6 instead of -1.
36095         * time/tst-strptime.c (day_tests): Add test case.
36097 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
36099         * sysdeps/generic/math_private.h
36100         (libc_feholdexcept_setround_53bit): Replace with
36101         libc_feholdsetround_53bit.
36102         (libc_feupdateenv_53bit): Replace with
36103         libc_feresetround_53bit.
36104         (SET_RESTORE_ROUND_53BIT): Adjust.
36106 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
36108         * string/test-strchrnul.c: Add copyright header.
36110         * posix/tst-getaddrinfo4.c: Increase test timeout.
36112 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
36114         [BZ #15536]
36115         * math/libm-test.inc (MAX_EXP): Remove
36116         (MIN_EXP): Define.
36117         (ulp): Use MIN_EXP - MANT_DIG.
36118         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
36120 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
36122         * po/be.po: Revert last change.
36123         * po/zh_CN.po: Likewise.
36124         * po/header.pot: Likewise.
36126 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
36128         * Makefile ($(common-objpfx)linkobj/libc.so): Define
36129         link-libc-deps to empty as target-specific variable.
36130         * Makerules (link-libc-args): New variable.
36131         (libc-for-link): Likewise.
36132         (link-libc-deps): Likewise.
36133         (lib%.so): Depend on $(link-libc-deps).  Link with
36134         $(link-libc-args).
36135         (build-module): Link with $(link-libc-args).
36136         (build-module-asneeded): Likewise.
36137         (build-module-helper-objlist): Filter out $(link-libc-deps) from
36138         list of objects.
36139         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
36140         target-specific variable.
36141         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
36142         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
36143         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
36144         libc.
36145         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
36146         libc and ld.so.
36147         ($(objpfx)libpcprofile.so): Likewise.
36148         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
36149         libc_nonshared.a.
36150         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
36151         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
36152         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
36153         $(link-libc-deps).
36154         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
36155         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
36156         * login/Makefile ($(objpfx)libutil.so): Likewise.
36157         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
36158         * math/Makefile ($(objpfx)libm.so): Likewise.
36159         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
36160         $(objpfx)libnsl.so): Define libc-for-link as target-specific
36161         variable instead of depending directly on libc.
36162         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
36163         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
36164         $(link-libc-deps).
36165         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
36166         libc.
36167         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
36168         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
36169         ($(objpfx)libanl.so): Likewise.
36170         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
36171         ld.so.
36172         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
36173         $(link-libc-deps).
36174         * sysdeps/i386/fpu/Makefile: Remove file.
36175         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
36176         ($(objpfx)libm.so): Remove dependency on ld.so.
36178 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
36180         [BZ # 15553]
36181         * nis/yp_xdr.c (XDRMAXNAME): Define.
36182         (XDRMAXRECORD): Define.
36183         (xdr_domainname): Use XDRMAXNAME.
36184         (xdr_mapname): Likewise.
36185         (xdr_peername): Likewise.
36186         (xdr_keydat): Use XDRMAXRECORD.
36187         (xdr_valdat): Likewise.
36189 2013-05-30  Jeff Law  <law@redhat.com>
36191         [BZ #14256]
36192         * manual/errno.texi (ESTALE): Update to account for more than
36193         just NFS file systems.
36194         * sysdeps/gnu/errlist.c: Regenerated.
36196 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
36198         [BZ #15465]
36199         * elf/Makefile (tests): Add tst-null-argv.
36200         (modules-names):  Add tst-null-argv-lib.
36201         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
36202         (tst-null-argv-ENV): Set environment for tst-null-argv.
36203         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
36204         (RTLD_PROGNAME): New macro.
36205         * elf/tst-null-argv.c: New test case.
36206         * elf/tst-null-argv-lib.c: Library for test case.
36207         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
36208         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
36209         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
36210         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
36211         * elf/dl-init.c (call_init): Likewise.
36212         (_dl_init): Likewise.
36213         * elf/dl-load.c (print_search_path): Likewise.
36214         (_dl_map_object): Likewise.
36215         * elf/dl-lookup.c (do_lookup_x): Likewise.
36216         (add_dependency): Likewise.
36217         (_dl_lookup_symbol_x): Likewise.
36218         (_dl_debug_bindings): Likewise.
36219         * elf/dl-open.c (_dl_show_scope): Likewise.
36220         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
36221         * elf/dl-version.c (match_symbol): Likewise.
36222         (_dl_check_map_versions): Likewise.
36223         * elf/rtld.c (dl_main): Likewise.
36224         (print_unresolved): Use RTLD_PROGNAME.
36225         (print_missing_version): Likewise.
36226         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
36227         (elf_machine_rela): Likewise.
36228         * sysdeps/powerpc/powerpc32/dl-machine.c
36229         (__process_machine_rela): Likewise.
36230         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
36231         Likewise.
36232         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
36233         Likewise.
36234         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
36235         Likewise.
36236         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
36237         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
36238         Likewise.
36239         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
36240         Likewise.
36241         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
36243 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
36245         * po/be.po: Add descriptive title.
36246         * po/zh_CN.po: Likewise.
36247         * po/header.pot: Likewise.
36249 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
36251         * locale/programs/locarchive.c (create_archive): Inlucde fname in
36252         error message.
36253         (enlarge_archive): Likewise.
36255 2013-05-28  Ben North  <ben@redfrontdoor.org>
36257         * manual/arith.texi (frexp): It is the magnitude of the return
36258         value which lies in [0.5, 1), not the return value itself.
36260 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36262         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36264 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
36266         * stdio-common/bug26.c (main): Correct fscanf template.
36268         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
36269         declare _dl_skip_args.
36271         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
36272         Don't declare.
36274         * manual/platform.texi: Add missing @end deftypefun.
36276 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
36278         [BZ #15529]
36279         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
36280         bit of mantissa of 2^16382.
36281         * math/libm-test.inc (hypot_test_data): Add more tests.
36283         * math/libm-test.inc: Add drem and pow10 to list of tested
36284         functions.
36285         (pow10_test): New function.
36286         (drem_test): Likewise.
36287         (drem_test_tonearest): Likewise.
36288         (drem_test_towardzero): Likewise.
36289         (drem_test_downward): Likewise.
36290         (drem_test_upward): Likewise.
36291         (main): Call the new functions.
36293         * math/libm-test.inc (finite_test_data): Remove.
36294         (finite_test): Run tests from isfinite_test_data.
36295         (gamma_test_data): Remove.
36296         (gamma_test): Run tests from lgamma_test_data.
36297         * sysdeps/i386/fpu/libm-test-ulps: Update.
36298         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36300 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36302         * manual/platform.texi: Add PowerPC PPR function set documentation.
36303         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
36304         implementation.
36306 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
36308         * math/libm-test.inc (MAX_EXP): Define.
36309         (ULPDIFF): Define.
36310         (ulp): New function.
36311         (check_float_internal): Use ULPDIFF.
36312         (cpow_test): Disable failing test.
36313         (check_ulp): Test ulp() implemetnation.
36314         (main): Call check_ulp before starting tests.
36316 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
36318         * math/gen-libm-test.pl (generate_testfile): Do not handle
36319         START_DATA and END_DATA.
36320         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
36321         END_DATA.
36322         (acos_tonearest_test_data): Likewise.
36323         (acos_towardzero_test_data): Likewise.
36324         (acos_downward_test_data): Likewise.
36325         (acos_upward_test_data): Likewise.
36326         (acosh_test_data): Likewise.
36327         (asin_test_data): Likewise.
36328         (asin_tonearest_test_data): Likewise.
36329         (asin_towardzero_test_data): Likewise.
36330         (asin_downward_test_data): Likewise.
36331         (asin_upward_test_data): Likewise.
36332         (asinh_test_data): Likewise.
36333         (atan_test_data): Likewise.
36334         (atanh_test_data): Likewise.
36335         (atan2_test_data): Likewise.
36336         (cabs_test_data): Likewise.
36337         (cacos_test_data): Likewise.
36338         (cacosh_test_data): Likewise.
36339         (carg_test_data): Likewise.
36340         (casin_test_data): Likewise.
36341         (casinh_test_data): Likewise.
36342         (catan_test_data): Likewise.
36343         (catanh_test_data): Likewise.
36344         (cbrt_test_data): Likewise.
36345         (ccos_test_data): Likewise.
36346         (ccosh_test_data): Likewise.
36347         (ceil_test_data): Likewise.
36348         (cexp_test_data): Likewise.
36349         (cimag_test_data): Likewise.
36350         (clog_test_data): Likewise.
36351         (clog10_test_data): Likewise.
36352         (conj_test_data): Likewise.
36353         (copysign_test_data): Likewise.
36354         (cos_test_data): Likewise.
36355         (cos_tonearest_test_data): Likewise.
36356         (cos_towardzero_test_data): Likewise.
36357         (cos_downward_test_data): Likewise.
36358         (cos_upward_test_data): Likewise.
36359         (cosh_test_data): Likewise.
36360         (cosh_tonearest_test_data): Likewise.
36361         (cosh_towardzero_test_data): Likewise.
36362         (cosh_downward_test_data): Likewise.
36363         (cosh_upward_test_data): Likewise.
36364         (cpow_test_data): Likewise.
36365         (cproj_test_data): Likewise.
36366         (creal_test_data): Likewise.
36367         (csin_test_data): Likewise.
36368         (csinh_test_data): Likewise.
36369         (csqrt_test_data): Likewise.
36370         (ctan_test_data): Likewise.
36371         (ctan_tonearest_test_data): Likewise.
36372         (ctan_towardzero_test_data): Likewise.
36373         (ctan_downward_test_data): Likewise.
36374         (ctan_upward_test_data): Likewise.
36375         (ctanh_test_data): Likewise.
36376         (ctanh_tonearest_test_data): Likewise.
36377         (ctanh_towardzero_test_data): Likewise.
36378         (ctanh_downward_test_data): Likewise.
36379         (ctanh_upward_test_data): Likewise.
36380         (erf_test_data): Likewise.
36381         (erfc_test_data): Likewise.
36382         (exp_test_data): Likewise.
36383         (exp_tonearest_test_data): Likewise.
36384         (exp_towardzero_test_data): Likewise.
36385         (exp_downward_test_data): Likewise.
36386         (exp_upward_test_data): Likewise.
36387         (exp10_test_data): Likewise.
36388         (exp2_test_data): Likewise.
36389         (expm1_test_data): Likewise.
36390         (fabs_test_data): Likewise.
36391         (fdim_test_data): Likewise.
36392         (finite_test_data): Likewise.
36393         (floor_test_data): Likewise.
36394         (fma_test_data): Likewise.
36395         (fma_towardzero_test_data): Likewise.
36396         (fma_downward_test_data): Likewise.
36397         (fma_upward_test_data): Likewise.
36398         (fmax_test_data): Likewise.
36399         (fmin_test_data): Likewise.
36400         (fmod_test_data): Likewise.
36401         (fpclassify_test_data): Likewise.
36402         (frexp_test_data): Likewise.
36403         (gamma_test_data): Likewise.
36404         (hypot_test_data): Likewise.
36405         (ilogb_test_data): Likewise.
36406         (isfinite_test_data): Likewise.
36407         (isgreater_test_data): Likewise.
36408         (isgreaterequal_test_data): Likewise.
36409         (isinf_test_data): Likewise.
36410         (isless_test_data): Likewise.
36411         (islessequal_test_data): Likewise.
36412         (islessgreater_test_data): Likewise.
36413         (isnan_test_data): Likewise.
36414         (isnormal_test_data): Likewise.
36415         (issignaling_test_data): Likewise.
36416         (isunordered_test_data): Likewise.
36417         (j0_test_data): Likewise.
36418         (j1_test_data): Likewise.
36419         (jn_test_data): Likewise.
36420         (ldexp_test_data): Likewise.
36421         (lgamma_test_data): Likewise.
36422         (lrint_test_data): Likewise.
36423         (lrint_tonearest_test_data): Likewise.
36424         (lrint_towardzero_test_data): Likewise.
36425         (lrint_downward_test_data): Likewise.
36426         (lrint_upward_test_data): Likewise.
36427         (llrint_test_data): Likewise.
36428         (llrint_tonearest_test_data): Likewise.
36429         (llrint_towardzero_test_data): Likewise.
36430         (llrint_downward_test_data): Likewise.
36431         (llrint_upward_test_data): Likewise.
36432         (log_test_data): Likewise.
36433         (log10_test_data): Likewise.
36434         (log1p_test_data): Likewise.
36435         (log2_test_data): Likewise.
36436         (logb_test_data): Likewise.
36437         (logb_downward_test_data): Likewise.
36438         (lround_test_data): Likewise.
36439         (llround_test_data): Likewise.
36440         (modf_test_data): Likewise.
36441         (nearbyint_test_data): Likewise.
36442         (nextafter_test_data): Likewise.
36443         (nexttoward_test_data): Likewise.
36444         (pow_test_data): Likewise.
36445         (pow_tonearest_test_data): Likewise.
36446         (pow_towardzero_test_data): Likewise.
36447         (pow_downward_test_data): Likewise.
36448         (pow_upward_test_data): Likewise.
36449         (remainder_test_data): Likewise.
36450         (remainder_tonearest_test_data): Likewise.
36451         (remainder_towardzero_test_data): Likewise.
36452         (remainder_downward_test_data): Likewise.
36453         (remainder_upward_test_data): Likewise.
36454         (remquo_test_data): Likewise.
36455         (rint_test_data): Likewise.
36456         (rint_tonearest_test_data): Likewise.
36457         (rint_towardzero_test_data): Likewise.
36458         (rint_downward_test_data): Likewise.
36459         (rint_upward_test_data): Likewise.
36460         (round_test_data): Likewise.
36461         (scalb_test_data): Likewise.
36462         (scalbn_test_data): Likewise.
36463         (scalbln_test_data): Likewise.
36464         (signbit_test_data): Likewise.
36465         (sin_test_data): Likewise.
36466         (sin_tonearest_test_data): Likewise.
36467         (sin_towardzero_test_data): Likewise.
36468         (sin_downward_test_data): Likewise.
36469         (sin_upward_test_data): Likewise.
36470         (sincos_test_data): Likewise.
36471         (sinh_test_data): Likewise.
36472         (sinh_tonearest_test_data): Likewise.
36473         (sinh_towardzero_test_data): Likewise.
36474         (sinh_downward_test_data): Likewise.
36475         (sinh_upward_test_data): Likewise.
36476         (sqrt_test_data): Likewise.
36477         (tan_test_data): Likewise.
36478         (tan_tonearest_test_data): Likewise.
36479         (tan_towardzero_test_data): Likewise.
36480         (tan_downward_test_data): Likewise.
36481         (tan_upward_test_data): Likewise.
36482         (tanh_test_data): Likewise.
36483         (tgamma_test_data): Likewise.
36484         (trunc_test_data): Likewise.
36485         (y0_test_data): Likewise.
36486         (y1_test_data): Likewise.
36487         (yn_test_data): Likewise.
36488         (significand_test_data): Likewise.
36490         * math/gen-libm-test.pl (@functions): Remove variable.
36491         (generate_testfile): Don't handle START and END lines.
36492         * math/libm-test.inc (START): New macro.
36493         (END): Likewise.
36494         (END_COMPLEX): Likewise.
36495         (acos_test): Use END macro without arguments.
36496         (acos_test_tonearest): Likewise.
36497         (acos_test_towardzero): Likewise.
36498         (acos_test_downward): Likewise.
36499         (acos_test_upward): Likewise.
36500         (acosh_test): Likewise.
36501         (asin_test): Likewise.
36502         (asin_test_tonearest): Likewise.
36503         (asin_test_towardzero): Likewise.
36504         (asin_test_downward): Likewise.
36505         (asin_test_upward): Likewise.
36506         (asinh_test): Likewise.
36507         (atan_test): Likewise.
36508         (atanh_test): Likewise.
36509         (atan2_test): Likewise.
36510         (cabs_test): Likewise.
36511         (cacos_test): Use END_COMPLEX macro without arguments.
36512         (cacosh_test): Likewise.
36513         (carg_test): Use END macro without arguments.
36514         (casin_test): Use END_COMPLEX macro without arguments.
36515         (casinh_test): Likewise.
36516         (catan_test): Likewise.
36517         (catanh_test): Likewise.
36518         (cbrt_test): Use END macro without arguments.
36519         (ccos_test): Use END_COMPLEX macro without arguments.
36520         (ccosh_test): Likewise.
36521         (ceil_test): Use END macro without arguments.
36522         (cexp_test): Use END_COMPLEX macro without arguments.
36523         (cimag_test): Use END macro without arguments.
36524         (clog_test): Use END_COMPLEX macro without arguments.
36525         (clog10_test): Likewise.
36526         (conj_test): Likewise.
36527         (copysign_test): Use END macro without arguments.
36528         (cos_test): Likewise.
36529         (cos_test_tonearest): Likewise.
36530         (cos_test_towardzero): Likewise.
36531         (cos_test_downward): Likewise.
36532         (cos_test_upward): Likewise.
36533         (cosh_test): Likewise.
36534         (cosh_test_tonearest): Likewise.
36535         (cosh_test_towardzero): Likewise.
36536         (cosh_test_downward): Likewise.
36537         (cosh_test_upward): Likewise.
36538         (cpow_test): Use END_COMPLEX macro without arguments.
36539         (cproj_test): Likewise.
36540         (creal_test): Use END macro without arguments.
36541         (csin_test): Use END_COMPLEX macro without arguments.
36542         (csinh_test): Likewise.
36543         (csqrt_test): Likewise.
36544         (ctan_test): Likewise.
36545         (ctan_test_tonearest): Likewise.
36546         (ctan_test_towardzero): Likewise.
36547         (ctan_test_downward): Likewise.
36548         (ctan_test_upward): Likewise.
36549         (ctanh_test): Likewise.
36550         (ctanh_test_tonearest): Likewise.
36551         (ctanh_test_towardzero): Likewise.
36552         (ctanh_test_downward): Likewise.
36553         (ctanh_test_upward): Likewise.
36554         (erf_test): Use END macro without arguments.
36555         (erfc_test): Likewise.
36556         (exp_test): Likewise.
36557         (exp_test_tonearest): Likewise.
36558         (exp_test_towardzero): Likewise.
36559         (exp_test_downward): Likewise.
36560         (exp_test_upward): Likewise.
36561         (exp10_test): Likewise.
36562         (exp2_test): Likewise.
36563         (expm1_test): Likewise.
36564         (fabs_test): Likewise.
36565         (fdim_test): Likewise.
36566         (finite_test): Likewise.
36567         (floor_test): Likewise.
36568         (fma_test): Likewise.
36569         (fma_test_towardzero): Likewise.
36570         (fma_test_downward): Likewise.
36571         (fma_test_upward): Likewise.
36572         (fmax_test): Likewise.
36573         (fmin_test): Likewise.
36574         (fmod_test): Likewise.
36575         (fpclassify_test): Likewise.
36576         (frexp_test): Likewise.
36577         (gamma_test): Likewise.
36578         (hypot_test): Likewise.
36579         (ilogb_test): Likewise.
36580         (isfinite_test): Likewise.
36581         (isgreater_test): Likewise.
36582         (isgreaterequal_test): Likewise.
36583         (isinf_test): Likewise.
36584         (isless_test): Likewise.
36585         (islessequal_test): Likewise.
36586         (islessgreater_test): Likewise.
36587         (isnan_test): Likewise.
36588         (isnormal_test): Likewise.
36589         (issignaling_test): Likewise.
36590         (isunordered_test): Likewise.
36591         (j0_test): Likewise.
36592         (j1_test): Likewise.
36593         (jn_test): Likewise.
36594         (ldexp_test): Likewise.
36595         (lgamma_test): Likewise.
36596         (lrint_test): Likewise.
36597         (lrint_test_tonearest): Likewise.
36598         (lrint_test_towardzero): Likewise.
36599         (lrint_test_downward): Likewise.
36600         (lrint_test_upward): Likewise.
36601         (llrint_test): Likewise.
36602         (llrint_test_tonearest): Likewise.
36603         (llrint_test_towardzero): Likewise.
36604         (llrint_test_downward): Likewise.
36605         (llrint_test_upward): Likewise.
36606         (log_test): Likewise.
36607         (log10_test): Likewise.
36608         (log1p_test): Likewise.
36609         (log2_test): Likewise.
36610         (logb_test): Likewise.
36611         (logb_test_downward): Likewise.
36612         (lround_test): Likewise.
36613         (llround_test): Likewise.
36614         (modf_test): Likewise.
36615         (nearbyint_test): Likewise.
36616         (nextafter_test): Likewise.
36617         (nexttoward_test): Likewise.
36618         (pow_test): Likewise.
36619         (pow_test_tonearest): Likewise.
36620         (pow_test_towardzero): Likewise.
36621         (pow_test_downward): Likewise.
36622         (pow_test_upward): Likewise.
36623         (remainder_test): Likewise.
36624         (remainder_test_tonearest): Likewise.
36625         (remainder_test_towardzero): Likewise.
36626         (remainder_test_downward): Likewise.
36627         (remainder_test_upward): Likewise.
36628         (remquo_test): Likewise.
36629         (rint_test): Likewise.
36630         (rint_test_tonearest): Likewise.
36631         (rint_test_towardzero): Likewise.
36632         (rint_test_downward): Likewise.
36633         (rint_test_upward): Likewise.
36634         (round_test): Likewise.
36635         (scalb_test): Likewise.
36636         (scalbn_test): Likewise.
36637         (scalbln_test): Likewise.
36638         (signbit_test): Likewise.
36639         (sin_test): Likewise.
36640         (sin_test_tonearest): Likewise.
36641         (sin_test_towardzero): Likewise.
36642         (sin_test_downward): Likewise.
36643         (sin_test_upward): Likewise.
36644         (sincos_test): Likewise.
36645         (sinh_test): Likewise.
36646         (sinh_test_tonearest): Likewise.
36647         (sinh_test_towardzero): Likewise.
36648         (sinh_test_downward): Likewise.
36649         (sinh_test_upward): Likewise.
36650         (sqrt_test): Likewise.
36651         (tan_test): Likewise.
36652         (tan_test_tonearest): Likewise.
36653         (tan_test_towardzero): Likewise.
36654         (tan_test_downward): Likewise.
36655         (tan_test_upward): Likewise.
36656         (tanh_test): Likewise.
36657         (tgamma_test): Likewise.
36658         (trunc_test): Likewise.
36659         (y0_test): Likewise.
36660         (y1_test): Likewise.
36661         (yn_test): Likewise.
36662         (significand_test): Likewise.
36664 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
36666         [BZ #15381]
36667         * libio/genops.c (_IO_no_init): Initialize wide struct info.
36669 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
36671         [BZ #14894]
36672         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
36673         __ppc_mdoio and __ppc_mdoom.
36674         * manual/platform.texi: Document new functions __ppc_yield,
36675         __ppc_mdoio and __ppc_mdoom.
36677 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
36679         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
36680         (main): Mention "tls" pseudo-hwcap is legacy.
36681         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
36683 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
36685         * math/gen-libm-test.pl (parse_args): Output only string of
36686         arguments as text for test name, not full call or descriptions of
36687         tests for extra outputs.
36688         (generate_testfile): Do not pass function name to parse_args.
36689         Generate this_func variable from START.
36690         * math/libm-test.inc (struct test_f_f_data): Rename test_name
36691         field to arg_str.
36692         (struct test_ff_f_data): Likewise.
36693         (test_ff_f_data_nexttoward): Likewise.
36694         (struct test_fi_f_data): Likewise.
36695         (struct test_fl_f_data): Likewise.
36696         (struct test_if_f_data): Likewise.
36697         (struct test_fff_f_data): Likewise.
36698         (struct test_c_f_data): Likewise.
36699         (struct test_f_f1_data): Likewise.  Remove field extra_name.
36700         (struct test_fF_f1_data): Likewise.
36701         (struct test_ffI_f1_data): Likewise.
36702         (struct test_c_c_data): Rename test_name field to arg_str.
36703         (struct test_cc_c_data): Likewise.
36704         (struct test_f_i_data): Likewise.
36705         (struct test_ff_i_data): Likewise.
36706         (struct test_f_l_data): Likewise.
36707         (struct test_f_L_data): Likewise.
36708         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
36709         and extra2_name.
36710         (COMMON_TEST_SETUP): New macro.
36711         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
36712         (COMMON_TEST_CLEANUP): Likewise.
36713         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
36714         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
36715         macros.
36716         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
36717         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
36718         macros.
36719         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
36720         (RUN_TEST_fff_f): Take argument string.  Call new setup and
36721         cleanup macros.
36722         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
36723         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
36724         macros.
36725         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
36726         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
36727         macros.
36728         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
36729         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
36730         cleanup macros.
36731         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
36732         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
36733         cleanup macros.
36734         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
36735         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
36736         cleanup macros.
36737         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
36738         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
36739         macros.
36740         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
36741         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
36742         macros.
36743         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
36744         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
36745         macros.
36746         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
36747         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
36748         cleanup macros.
36749         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
36750         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
36751         cleanup macros.
36752         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
36753         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
36754         macros.
36755         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
36756         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
36757         cleanup macros.
36758         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
36759         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
36760         macros.
36761         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
36762         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
36763         macros.
36764         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
36765         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
36766         cleanup macros.
36767         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
36769 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
36771         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
36772         to _sifields.sigfault.
36773         (si_addr_lsb): Define new macro.
36774         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
36775         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
36776         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
36778 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
36780         [BZ #15441]
36781         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
36782         returns -1.
36783         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
36784         null return -1.
36785         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
36786         loading the domain.
36788 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
36790         * math/gen-libm-test.pl (parse_args): Do not include expected
36791         result in test name.
36792         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
36793         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36794         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
36795         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
36796         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
36797         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36799 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
36801         * benchtests/Makefile: Sort function entries.
36803         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
36804         tanh, asinh, acosh, atanh.
36805         * benchtests/acos-inputs: New file.
36806         * benchtests/acosh-inputs: New file.
36807         * benchtests/asin-inputs: New file.
36808         * benchtests/asinh-inputs: New file.
36809         * benchtests/atanh-inputs: New file.
36810         * benchtests/cosh-inputs: New file.
36811         * benchtests/log-inputs: New file.
36812         * benchtests/sinh-inputs: New file.
36813         * benchtests/tanh-inputs: New file.
36815 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
36817         [BZ #15339]
36818         * posix/tst-getaddrinfo4.c: New test.
36819         * posix/Makefile (tests): Add it.
36821 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
36823         [BZ #15339]
36824         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
36825         when no services were used.
36826         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
36827         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
36829 2013-05-21  Andreas Schwab  <schwab@suse.de>
36831         [BZ #15014]
36832         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
36833         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
36834         successful.
36835         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
36836         redundant variable declarations and reallocation of buffer when
36837         parsing as IPv6 address.  Always set NSS status when called from
36838         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
36839         buffer too small.  Correct computation of needed size.
36840         * nss/Makefile (tests): Add test-digits-dots.
36841         * nss/test-digits-dots.c: New test.
36843 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
36845         * benchtests/Makefile: Remove instructions for adding
36846         benchmark tests.
36847         * benchtests/README: New file to explain how to execute and
36848         enhance the benchmark tests.
36850 2013-05-21  Andreas Schwab  <schwab@suse.de>
36852         [BZ #15493]
36853         * setjmp/Makefile (tests): Add tst-sigsetjmp.
36854         * setjmp/tst-sigsetjmp.c: New test.
36856 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
36858         * sysdeps/x86_64/memset.S (memset): New implementation.
36859         (__bzero): Likewise.
36860         (__memset_tail): New function.
36862 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
36864         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
36865         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
36866         __memcpy_sse2_unaligned ifunc selection.
36867         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
36868         Add memcpy-sse2-unaligned.S.
36869         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
36870         Add: __memcpy_sse2_unaligned.
36872 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
36874         [BZ #15490]
36875         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
36876         math_force_eval before restoring floating-point envrionment.
36877         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
36878         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
36879         Likewise.
36880         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
36881         <math_private.h>.
36882         (__nearbyintl): Use math_force_eval before restoring
36883         floating-point environment.
36884         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
36886         * math/gen-libm-test.pl (special_functions): Remove.
36887         (parse_args): Don't handle TEST_extra.  Handle functions with no
36888         return value.
36889         * math/libm-test.inc (struct test_sincos_data): Replace with
36890         struct test_fFF_11_data.
36891         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
36892         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
36893         (sincos_test_data): Change element type to struct
36894         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
36895         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
36896         RUN_TEST_LOOP_sincos.
36897         * math/README.libm-test: Don't mention special handling of
36898         individual functions.
36899         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
36900         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36901         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
36902         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
36903         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
36904         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36906         * math/gen-libm-test.pl (get_variable): Remove function.
36907         (parse_args): Don't show pointer parameters to call in test
36908         names.  Use "extra output N" in test names for extra outputs
36909         rather than naming variables.
36911 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
36913         [BZ #15488]
36914         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
36915         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
36916         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
36917         double tests.
36918         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
36919         disable.
36920         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
36921         check_long_double.
36923         * math/gen-libm-test.pl (@tests): Remove variable.
36924         ($count): Likewise.
36925         (new_test): Remove function.
36926         (show_exceptions): New function.
36927         (special_functions): Use show_exceptions instead of new_test.
36928         (parse_args): Likewise.
36929         (generate_testfile): Pass only function name in generated call to
36930         print_max_error or print_complex_max_error.
36931         (get_ulps): Do not handle complex tests specially.
36932         (output_test): Rename to ...
36933         (get_all_ulps_for_test): ... this.  Return a string rather than
36934         printing to a file.  Require ulps to be present.
36935         (output_ulps): Generate arrays rather than #defines.
36936         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
36937         (struct ulp_data): New type.
36938         (BUILD_COMPLEX_ULP): Remove macro.
36939         (compare_ulp_data): New function.
36940         (find_ulps): Likewise.
36941         (find_test_ulps): Likewise.
36942         (find_function_ulps): Likewise.
36943         (find_complex_function_ulps): Likewise.
36944         (print_max_error): Determine allowed ulps using
36945         find_function_ulps.
36946         (print_complex_max_error): Determine allowed ulps using
36947         find_complex_function_ulps.
36948         (check_float_internal): Determine max ulps using find_test_ulps.
36949         (check_float): Do not take max_ulp parameter.  Update call to
36950         check_float_internal.
36951         (check_complex): Likewise.
36952         (check_int): Do not take max_ulp parameter.
36953         (check_long): Likewise.
36954         (check_bool): Likewise.
36955         (check_longlong): Likewise.
36956         (struct test_f_f_data): Remove max_ulp field.
36957         (struct test_ff_f_data): Likewise.
36958         (struct test_ff_f_data_nexttoward): Likewise.
36959         (struct test_fi_f_data): Likewise.
36960         (struct test_fl_f_data): Likewise.
36961         (struct test_if_f_data): Likewise.
36962         (struct test_fff_f_data): Likewise.
36963         (struct test_c_f_data): Likewise.
36964         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
36965         (struct test_fF_f1_data): Likewise.
36966         (struct test_ffI_f1_data): Likewise.
36967         (struct test_c_c_data): Remove max_ulp field.
36968         (struct test_cc_c_data): Likewise.
36969         (struct test_f_i_data): Likewise.
36970         (struct test_ff_i_data): Likewise.
36971         (struct test_f_l_data): Likewise.
36972         (struct test_f_L_data): Likewise.
36973         (struct test_sincos_data): Likewise.
36974         (RUN_TEST_f_f): Do not handle ulps.
36975         (RUN_TEST_LOOP_f_f): Likewise.
36976         (RUN_TEST_2_f): Likewise.
36977         (RUN_TEST_LOOP_2_f): Likewise.
36978         (RUN_TEST_fff_f): Likewise.
36979         (RUN_TEST_LOOP_fff_f): Likewise.
36980         (RUN_TEST_c_f): Likewise.
36981         (RUN_TEST_LOOP_c_f): Likewise.
36982         (RUN_TEST_f_f1): Likewise.
36983         (RUN_TEST_LOOP_f_f1): Likewise.
36984         (RUN_TEST_fF_f1): Likewise.
36985         (RUN_TEST_LOOP_fF_f1): Likewise.
36986         (RUN_TEST_fI_f1): Likewise.
36987         (RUN_TEST_LOOP_fI_f1): Likewise.
36988         (RUN_TEST_ffI_f1): Likewise.
36989         (RUN_TEST_LOOP_ffI_f1): Likewise.
36990         (RUN_TEST_c_c): Likewise.
36991         (RUN_TEST_LOOP_c_c): Likewise.
36992         (RUN_TEST_cc_c): Likewise.
36993         (RUN_TEST_LOOP_cc_c): Likewise.
36994         (RUN_TEST_f_i): Likewise.
36995         (RUN_TEST_LOOP_f_i): Likewise.
36996         (RUN_TEST_f_i_tg): Likewise.
36997         (RUN_TEST_LOOP_f_i_tg): Likewise.
36998         (RUN_TEST_ff_i_tg): Likewise.
36999         (RUN_TEST_LOOP_ff_i_tg): Likewise.
37000         (RUN_TEST_f_b): Likewise.
37001         (RUN_TEST_LOOP_f_b): Likewise.
37002         (RUN_TEST_f_b_tg): Likewise.
37003         (RUN_TEST_LOOP_f_b_tg): Likewise.
37004         (RUN_TEST_f_l): Likewise.
37005         (RUN_TEST_LOOP_f_l): Likewise.
37006         (RUN_TEST_f_L): Likewise.
37007         (RUN_TEST_LOOP_f_L): Likewise.
37008         (RUN_TEST_sincos): Likewise.
37009         (RUN_TEST_LOOP_sincos): Likewise.
37011 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
37013         [BZ #15480]
37014         [BZ #15485]
37015         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
37016         main case of finite arguments, set rounding mode to FE_TONEAREST
37017         and discard exceptions.
37018         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
37019         exceptions.
37020         (remainder_tonearest_test_data): New variable.
37021         (remainder_test_tonearest): New function.
37022         (remainder_towardzero_test_data): New variable.
37023         (remainder_test_towardzero): New function.
37024         (remainder_downward_test_data): New variable.
37025         (remainder_test_downward): New function.
37026         (remainder_upward_test_data): New variable.
37027         (remainder_test_upward): New function.
37028         (main): Call the new test functions.
37030         * math/libm-test.inc (struct test_f_f1_data): Remove field
37031         extra_init.
37032         (struct test_fF_f1_data): Likewise.
37033         (struct test_ffI_f1_data): Likewise.
37034         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
37035         based on value of EXTRA_EXPECTED.
37036         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
37037         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
37038         EXTRA_VAR based on value of EXTRA_EXPECTED.
37039         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
37040         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
37041         EXTRA_VAR based on value of EXTRA_EXPECTED.
37042         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
37043         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
37044         EXTRA_VAR based on value of EXTRA_EXPECTED.
37045         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
37046         * math/gen-libm-test.pl (parse_args): Don't output initializers
37047         for extra output values.
37049         * math/libm-test.inc (check_int): Expect result to be exactly
37050         equal to expected value and do not handle ulps.
37051         (check_long): Likewise.
37052         (check_longlong): Likewise.
37054         * math/libm-test.inc (ceil_test_data): Test for "inexact"
37055         exceptions.
37056         (cimag_test_data): Likewise.
37057         (conj_test_data): Likewise.
37058         (copysign_test_data): Likewise.
37059         (cproj_test_data): Likewise.
37060         (creal_test_data): Likewise.
37061         (fabs_test_data): Likewise.
37062         (fdim_test_data): Likewise.
37063         (finite_test_data): Likewise.
37064         (floor_test_data): Likewise.
37065         (fmax_test_data): Likewise.
37066         (fmin_test_data): Likewise.
37067         (fmod_test_data): Likewise.
37068         (fpclassify_test_data): Likewise.
37069         (frexp_test_data): Likewise.
37070         (ilogb_test_data): Likewise.
37071         (isfinite_test_data): Likewise.
37072         (isgreater_test_data): Likewise.
37073         (isgreaterequal_test_data): Likewise.
37074         (isinf_test_data): Likewise.
37075         (isless_test_data): Likewise.
37076         (islessequal_test_data): Likewise.
37077         (islessgreater_test_data): Likewise.
37078         (isnan_test_data): Likewise.
37079         (isnormal_test_data): Likewise.
37080         (issignaling_test_data): Likewise.
37081         (isunordered_test_data): Likewise.
37082         (ldexp_test_data): Likewise.
37083         (lrint_test_data): Likewise.
37084         (lrint_test_data) [TEST_FLOAT]: Disable one test.
37085         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
37086         (lrint_tonearest_test_data): Test for "inexact" exceptions.
37087         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
37088         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
37089         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
37090         test input.
37091         (lrint_towardzero_test_data): Test for "inexact" exceptions.
37092         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
37093         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
37094         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
37095         that test input.
37096         (lrint_downward_test_data): Test for "inexact" exceptions.
37097         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
37098         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
37099         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
37100         test input.
37101         (lrint_upward_test_data): Test for "inexact" exceptions.
37102         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
37103         test input.
37104         (llrint_test_data): Test for "inexact" exceptions.
37105         (llrint_test_data) [TEST_FLOAT]: Disable one test.
37106         (llrint_tonearest_test_data): Test for "inexact" exceptions.
37107         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
37108         (llrint_towardzero_test_data): Test for "inexact" exceptions.
37109         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
37110         (llrint_downward_test_data): Test for "inexact" exceptions.
37111         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
37112         (llrint_upward_test_data): Test for "inexact" exceptions.
37113         (logb_test_data): Likewise.
37114         (logb_downward_test_data): Likewise.
37115         (nextafter_test_data): Likewise.
37116         (nexttoward_test_data): Likewise.
37117         (remainder_test_data): Likewise.
37118         (remquo_test_data): Likewise.
37119         (scalbn_test_data): Likewise.
37120         (scalbln_test_data): Likewise.
37121         (signbit_test_data): Likewise.
37122         (sqrt_test_data): Likewise.
37123         (significand_test_data): Likewise.
37125 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
37127         [BZ #15424]
37128         * benchtests/bench-modf.c (struct args): Mark arg0 as
37129         volatile.
37130         * scripts/bench.pl: Mark members of struct args as volatile.
37132 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37134         [BZ # 15497]
37135         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
37136         negative infinity on POWER6 or lower.
37137         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
37139 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
37141         [BZ #15442]
37142         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
37143         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
37144         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
37145         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
37146         (_FP_SETQNAN): New macro.
37147         (_FP_SETQNAN_SEMIRAW): Likewise.
37148         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
37149         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
37150         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
37151         (FP_EXTEND): Use _FP_FRAC_SNANP.
37152         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
37153         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
37154         into account.
37155         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
37156         New macro.
37157         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
37158         Likewise.
37160 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
37162         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
37163         with DIVIDE_BY_ZERO_EXCEPTION.
37164         (gamma_test_data): Likewise.
37165         (lgamma_test_data): Likewise.
37166         (log_test_data): Likewise.
37167         (log10_test_data): Likewise.
37168         (log2_test_data): Likewise.
37169         (tgamma_test_data): Likewise.
37171         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
37172         (acos_test_tonearest): Likewise.
37173         (acos_test_towardzero): Likewise.
37174         (acos_test_downward): Likewise.
37175         (acos_test_upward): Likewise.
37176         (acosh_test): Likewise.
37177         (asin_test): Likewise.
37178         (asin_test_tonearest): Likewise.
37179         (asin_test_towardzero): Likewise.
37180         (asin_test_downward): Likewise.
37181         (asin_test_upward): Likewise.
37182         (asinh_test): Likewise.
37183         (atan_test): Likewise.
37184         (atanh_test): Likewise.
37185         (atan2_test): Likewise.
37186         (cabs_test): Likewise.
37187         (cacos_test): Likewise.
37188         (cacosh_test): Likewise.
37189         (casin_test): Likewise.
37190         (casinh_test): Likewise.
37191         (catan_test): Likewise.
37192         (catanh_test): Likewise.
37193         (cbrt_test): Likewise.
37194         (ccos_test): Likewise.
37195         (ccosh_test): Likewise.
37196         (cexp_test): Likewise.
37197         (clog_test): Likewise.
37198         (clog10_test): Likewise.
37199         (cos_test): Likewise.
37200         (cos_test_tonearest): Likewise.
37201         (cos_test_towardzero): Likewise.
37202         (cos_test_downward): Likewise.
37203         (cos_test_upward): Likewise.
37204         (cosh_test): Likewise.
37205         (cosh_test_tonearest): Likewise.
37206         (cosh_test_towardzero): Likewise.
37207         (cosh_test_downward): Likewise.
37208         (cosh_test_upward): Likewise.
37209         (cpow_test): Likewise.
37210         (csin_test): Likewise.
37211         (csinh_test): Likewise.
37212         (csqrt_test): Likewise.
37213         (ctan_test): Likewise.
37214         (ctan_test_tonearest): Likewise.
37215         (ctan_test_towardzero): Likewise.
37216         (ctan_test_downward): Likewise.
37217         (ctan_test_upward): Likewise.
37218         (ctanh_test): Likewise.
37219         (ctanh_test_tonearest): Likewise.
37220         (ctanh_test_towardzero): Likewise.
37221         (ctanh_test_downward): Likewise.
37222         (ctanh_test_upward): Likewise.
37223         (erf_test): Likewise.
37224         (erfc_test): Likewise.
37225         (exp_test): Likewise.
37226         (exp_test_tonearest): Likewise.
37227         (exp_test_towardzero): Likewise.
37228         (exp_test_downward): Likewise.
37229         (exp_test_upward): Likewise.
37230         (exp10_test): Likewise.
37231         (exp2_test): Likewise.
37232         (expm1_test): Likewise.
37233         (fmod_test): Likewise.
37234         (gamma_test): Likewise.
37235         (hypot_test): Likewise.
37236         (j0_test): Likewise.
37237         (j1_test): Likewise.
37238         (jn_test): Likewise.
37239         (lgamma_test): Likewise.
37240         (log_test): Likewise.
37241         (log10_test): Likewise.
37242         (log1p_test): Likewise.
37243         (log2_test): Likewise.
37244         (logb_test_downward): Likewise.
37245         (pow_test): Likewise.
37246         (pow_test_tonearest): Likewise.
37247         (pow_test_towardzero): Likewise.
37248         (pow_test_downward): Likewise.
37249         (pow_test_upward): Likewise.
37250         (remainder_test): Likewise.
37251         (remquo_test): Likewise.
37252         (sin_test): Likewise.
37253         (sin_test_tonearest): Likewise.
37254         (sin_test_towardzero): Likewise.
37255         (sin_test_downward): Likewise.
37256         (sin_test_upward): Likewise.
37257         (sincos_test): Likewise.
37258         (sinh_test): Likewise.
37259         (sinh_test_tonearest): Likewise.
37260         (sinh_test_towardzero): Likewise.
37261         (sinh_test_downward): Likewise.
37262         (sinh_test_upward): Likewise.
37263         (sqrt_test): Likewise.
37264         (tan_test): Likewise.
37265         (tan_test_tonearest): Likewise.
37266         (tan_test_towardzero): Likewise.
37267         (tan_test_downward): Likewise.
37268         (tan_test_upward): Likewise.
37269         (tanh_test): Likewise.
37270         (tgamma_test): Likewise.
37271         (y0_test): Likewise.
37272         (y1_test): Likewise.
37273         (yn_test): Likewise.
37275         * math/gen-libm-test.pl (adjust_arg): Remove function.
37276         (special_function): Remove argument $in_func.  Only handle
37277         generating output for tables of tests, not inside functions.
37278         (parse_args): Likewise.
37279         (generate_testfile): Remove variable $in_func.  Update call to
37280         parse_args.
37281         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
37282         (MINUS_ZERO_INIT): Rename macro to minus_zero.
37283         (PLUS_INFTY_INIT): Rename macro to plus_infty.
37284         (MINUS_INFTY_INIT): Rename macro to minus_infty.
37285         (QNAN_VALUE_INIT): Rename macro to qnan_value.
37286         (MAX_VALUE_INIT): Rename macro to max_value.
37287         (MIN_VALUE_INIT): Rename macro to min_value.
37288         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
37289         (plus_zero): Remove variable.
37290         (minus_zero): Likewise.
37291         (plus_infty): Likewise.
37292         (minus_infty): Likewise.
37293         (qnan_value): Likewise.
37294         (max_value): Likewise.
37295         (min_value): Likewise.
37296         (min_subnorm_value): Likewise.
37298 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
37300         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
37301         uint64_t or uint32_t usage.
37302         * crypt/sha256-block.c: Likewise.
37303         * crypt/sha256-crypt.c: Likewise.
37304         * crypt/sha256.c: Likewise.
37305         * crypt/sha512-block.c: Likewise.
37306         * crypt/sha512-crypt.c: Likewise.
37307         * crypt/sha512.c: Likewise.
37308         * debug/backtrace-tst.c: Likewise.
37309         * debug/pcprofiledump.c: Likewise.
37310         * elf/cache.c: Likewise.
37311         * elf/dl-cache.c: Likewise.
37312         * elf/dl-misc.c: Likewise.
37313         * elf/dl-profile.c: Likewise.
37314         * elf/dl-support.c: Likewise.
37315         * elf/ldconfig.c: Likewise.
37316         * elf/sprof.c: Likewise.
37317         * iconv/dummy-repertoire.c: Likewise.
37318         * iconv/iconv_charmap.c: Likewise.
37319         * iconv/skeleton.c: Likewise.
37320         * iconvdata/8bit-generic.c: Likewise.
37321         * iconvdata/cp737.h: Likewise.
37322         * iconvdata/cp775.h: Likewise.
37323         * iconvdata/ibm1008.h: Likewise.
37324         * iconvdata/ibm1025.h: Likewise.
37325         * iconvdata/ibm1046.h: Likewise.
37326         * iconvdata/ibm1097.h: Likewise.
37327         * iconvdata/ibm1112.h: Likewise.
37328         * iconvdata/ibm1122.h: Likewise.
37329         * iconvdata/ibm1123.h: Likewise.
37330         * iconvdata/ibm1124.h: Likewise.
37331         * iconvdata/ibm1129.h: Likewise.
37332         * iconvdata/ibm1130.h: Likewise.
37333         * iconvdata/ibm1132.h: Likewise.
37334         * iconvdata/ibm1133.h: Likewise.
37335         * iconvdata/ibm1137.h: Likewise.
37336         * iconvdata/ibm1140.h: Likewise.
37337         * iconvdata/ibm1141.h: Likewise.
37338         * iconvdata/ibm1142.h: Likewise.
37339         * iconvdata/ibm1143.h: Likewise.
37340         * iconvdata/ibm1144.h: Likewise.
37341         * iconvdata/ibm1145.h: Likewise.
37342         * iconvdata/ibm1146.h: Likewise.
37343         * iconvdata/ibm1147.h: Likewise.
37344         * iconvdata/ibm1148.h: Likewise.
37345         * iconvdata/ibm1149.h: Likewise.
37346         * iconvdata/ibm1153.h: Likewise.
37347         * iconvdata/ibm1154.h: Likewise.
37348         * iconvdata/ibm1155.h: Likewise.
37349         * iconvdata/ibm1156.h: Likewise.
37350         * iconvdata/ibm1157.h: Likewise.
37351         * iconvdata/ibm1158.h: Likewise.
37352         * iconvdata/ibm1160.h: Likewise.
37353         * iconvdata/ibm1161.h: Likewise.
37354         * iconvdata/ibm1162.h: Likewise.
37355         * iconvdata/ibm1163.h: Likewise.
37356         * iconvdata/ibm1164.h: Likewise.
37357         * iconvdata/ibm1166.h: Likewise.
37358         * iconvdata/ibm1167.h: Likewise.
37359         * iconvdata/ibm12712.h: Likewise.
37360         * iconvdata/ibm1390.h: Likewise.
37361         * iconvdata/ibm1399.h: Likewise.
37362         * iconvdata/ibm16804.h: Likewise.
37363         * iconvdata/ibm4517.h: Likewise.
37364         * iconvdata/ibm4899.h: Likewise.
37365         * iconvdata/ibm4909.h: Likewise.
37366         * iconvdata/ibm4971.h: Likewise.
37367         * iconvdata/ibm5347.h: Likewise.
37368         * iconvdata/ibm803.h: Likewise.
37369         * iconvdata/ibm856.h: Likewise.
37370         * iconvdata/ibm901.h: Likewise.
37371         * iconvdata/ibm902.h: Likewise.
37372         * iconvdata/ibm9030.h: Likewise.
37373         * iconvdata/ibm9066.h: Likewise.
37374         * iconvdata/ibm921.h: Likewise.
37375         * iconvdata/ibm922.h: Likewise.
37376         * iconvdata/ibm9448.h: Likewise.
37377         * iconvdata/isiri-3342.h: Likewise.
37378         * iconvdata/jis0201.h: Likewise.
37379         * include/link.h: Likewise.
37380         * include/netdb.h: Likewise.
37381         * inet/check_native.c: Likewise.
37382         * inet/check_pf.c: Likewise.
37383         * inet/getipv4sourcefilter.c: Likewise.
37384         * inet/getnameinfo.c: Likewise.
37385         * inet/getsourcefilter.c: Likewise.
37386         * inet/htonl.c: Likewise.
37387         * inet/setipv4sourcefilter.c: Likewise.
37388         * inet/setsourcefilter.c: Likewise.
37389         * inet/test-inet6_opt.c: Likewise.
37390         * inet/tst-network.c: Likewise.
37391         * locale/C-collate.c: Likewise.
37392         * locale/C-ctype.c: Likewise.
37393         * locale/C-time.c: Likewise.
37394         * locale/C-translit.h: Likewise.
37395         * locale/loadarchive.c: Likewise.
37396         * locale/programs/3level.h: Likewise.
37397         * locale/programs/charmap.c: Likewise.
37398         * locale/programs/charmap.h: Likewise.
37399         * locale/programs/ld-address.c: Likewise.
37400         * locale/programs/ld-collate.c: Likewise.
37401         * locale/programs/ld-ctype.c: Likewise.
37402         * locale/programs/ld-identification.c: Likewise.
37403         * locale/programs/ld-measurement.c: Likewise.
37404         * locale/programs/ld-messages.c: Likewise.
37405         * locale/programs/ld-monetary.c: Likewise.
37406         * locale/programs/ld-name.c: Likewise.
37407         * locale/programs/ld-numeric.c: Likewise.
37408         * locale/programs/ld-paper.c: Likewise.
37409         * locale/programs/ld-telephone.c: Likewise.
37410         * locale/programs/ld-time.c: Likewise.
37411         * locale/programs/linereader.c: Likewise.
37412         * locale/programs/locale.c: Likewise.
37413         * locale/programs/locarchive.c: Likewise.
37414         * locale/programs/locfile.h: Likewise.
37415         * locale/programs/repertoire.c: Likewise.
37416         * locale/programs/simple-hash.c: Likewise.
37417         * locale/programs/simple-hash.h: Likewise.
37418         * malloc/memusage.c: Likewise.
37419         * malloc/memusagestat.c: Likewise.
37420         * nis/nis_defaults.c: Likewise.
37421         * nis/nis_hash.c: Likewise.
37422         * nis/nis_print.c: Likewise.
37423         * nis/nis_xdr.c: Likewise.
37424         * nscd/connections.c: Likewise.
37425         * nscd/hstcache.c: Likewise.
37426         * nscd/nscd_gethst_r.c: Likewise.
37427         * nscd/nscd_getserv_r.c: Likewise.
37428         * nscd/nscd_helper.c: Likewise.
37429         * nscd/servicescache.c: Likewise.
37430         * nss/makedb.c: Likewise.
37431         * nss/nss_db/db-XXX.c: Likewise.
37432         * nss/nss_db/db-initgroups.c: Likewise.
37433         * nss/nss_db/db-netgrp.c: Likewise.
37434         * nss/nss_files/files-network.c: Likewise.
37435         * nss/nss_files/files-parse.c: Likewise.
37436         * posix/bug-regex5.c: Likewise.
37437         * posix/fnmatch_loop.c: Likewise.
37438         * posix/regcomp.c: Likewise.
37439         * posix/regexec.c: Likewise.
37440         * posix/tst-rfc3484-2.c: Likewise.
37441         * posix/tst-rfc3484-3.c: Likewise.
37442         * posix/tst-rfc3484.c: Likewise.
37443         * resolv/nss_dns/dns-canon.c: Likewise.
37444         * resolv/nss_dns/dns-network.c: Likewise.
37445         * resolv/res_init.c: Likewise.
37446         * resolv/res_mkquery.c: Likewise.
37447         * resolv/tst-aton.c: Likewise.
37448         * stdlib/cxa_atexit.c: Likewise.
37449         * stdlib/cxa_finalize.c: Likewise.
37450         * stdlib/gen-fpioconst.c: Likewise.
37451         * stdlib/strtol_l.c: Likewise.
37452         * string/tst-endian.c: Likewise.
37453         * sunrpc/auth_des.c: Likewise.
37454         * sunrpc/clnt_udp.c: Likewise.
37455         * sunrpc/rtime.c: Likewise.
37456         * sunrpc/svcauth_des.c: Likewise.
37457         * sunrpc/xdr.c: Likewise.
37458         * sunrpc/xdr_intXX_t.c: Likewise.
37459         * sunrpc/xdr_rec.c: Likewise.
37460         * sysdeps/generic/ldconfig.h: Likewise.
37461         * sysdeps/generic/ldsodefs.h: Likewise.
37462         * sysdeps/generic/memusage.h: Likewise.
37463         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
37464         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
37465         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
37466         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
37467         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37468         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
37469         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
37470         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
37471         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
37472         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
37473         * sysdeps/posix/getaddrinfo.c: Likewise.
37474         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
37475         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
37476         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
37477         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
37478         * sysdeps/powerpc/test-gettimebase.c: Likewise.
37479         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
37480         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
37481         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
37482         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
37483         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
37484         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
37485         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
37486         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
37487         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
37488         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
37489         * sysdeps/x86_64/dl-tls.h: Likewise.
37490         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
37491         * time/alt_digit.c: Likewise.
37492         * time/era.c: Likewise.
37493         * wcsmbs/tst-c16c32-1.c: Likewise.
37495 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
37497         * math/libm-test.inc (struct test_sincos_data): New type.
37498         (RUN_TEST_LOOP_sincos): New macro.
37499         (sincos_test_data): New variable.
37500         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
37502 2013-05-16  Richard Henderson  <rth@redhat.com>
37504         * math/atest-exp2.c (LIMB64): New macro.
37505         (CONSTSZ): New macro.
37506         (mp_exp1, mp_exp_m1, mp_log2): New variables.
37507         (hexdig): Move ...
37508         (print_mpn_fp): ... to function scope.
37509         (read_mpn_hex): Remove.
37510         (get_log2): Remove.
37511         (exp2_mpn): Use mp_log2.
37512         (main): Use mp_exp1.
37514 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
37516         * math/libm-test.inc: Remove comment about not testing "inexact"
37517         exceptions.
37518         (INEXACT_EXCEPTION): New macro.
37519         (NO_INEXACT_EXCEPTION): Likewise.
37520         (INVALID_EXCEPTION_OK): Update value.
37521         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
37522         (OVERFLOW_EXCEPTION_OK): Likewise.
37523         (UNDERFLOW_EXCEPTION_OK): Likewise.
37524         (IGNORE_ZERO_INF_SIGN): Likewise.
37525         (ERRNO_UNCHANGED): Likewise.
37526         (ERRNO_EDOM): Likewise.
37527         (ERRNO_ERANGE): Likewise.
37528         (test_exceptions): Handle testing "inexact" exceptions.
37529         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
37530         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
37531         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
37532         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
37533         INEXACT_EXCEPTION.
37534         (rint_towardzero_test_data): Likewise.
37535         (rint_downward_test_data): Likewise.
37536         (rint_upward_test_data): Likewise.
37538         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
37539         with OVERFLOW_EXCEPTION.
37540         (exp10_test_data): Likewise.
37541         (exp2_test_data): Likewise.
37542         (expm1_test_data): Likewise.
37543         (lgamma_test_data): Likewise.
37544         (pow_test_data): Likewise.
37545         (tgamma_test_data): Likewise.
37546         (yn_test_data): Remove duplicate test of overflow.
37548         * math/libm-test.inc (struct test_cc_c_data): New type.
37549         (RUN_TEST_LOOP_cc_c): New macro.
37550         (cpow_test_data): New variable.
37551         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
37553         * math/libm-test.inc (struct test_f_L_data): New type.
37554         (RUN_TEST_LOOP_f_L): New macro.
37555         (llrint_test_data): New variable.
37556         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
37557         (llrint_tonearest_test_data): New variable.
37558         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
37559         (llrint_towardzero_test_data): New variable.
37560         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
37561         (llrint_downward_test_data): New variable.
37562         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
37563         (llrint_upward_test_data): New variable.
37564         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
37565         (llround_test_data): New variable.
37566         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
37568 2013-05-13  Peter Collingbourne  <pcc@google.com>
37570         * math/atest-exp2.c (get_log2): Remove const attribute.
37572 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
37574         * math/libm-test.inc (struct test_f_l_data): New type.
37575         (RUN_TEST_LOOP_f_l): New macro.
37576         (lrint_test_data): New variable.
37577         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
37578         (lrint_tonearest_test_data): New variable.
37579         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
37580         (lrint_towardzero_test_data): New variable.
37581         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
37582         (lrint_downward_test_data): New variable.
37583         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
37584         (lrint_upward_test_data): New variable.
37585         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
37586         (lround_test_data): New variable.
37587         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
37589 2013-05-15  Peter Collingbourne  <pcc@google.com>
37591         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
37592         (EXTRACT_WORDS64) Use where appropriate.
37593         (INSERT_WORDS64) Likewise.
37595         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
37596         constraints with x constraints.
37597         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
37599         * malloc/obstack.c (_obstack_compat): Add initializer.
37601 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
37603         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
37604         si_trapno and add si_addr_lsb to _sifields.sigfault.
37605         (si_trapno): Remove macro.
37606         (si_addr_lsb): Define new macro.
37607         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
37609 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
37611         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
37612         instead of TEST_f_l.
37613         (llrint_test_tonearest): Likewise.
37614         (llrint_test_towardzero): Likewise.
37615         (llrint_test_downward): Likewise.
37616         (llrint_test_upward): Likewise.
37617         (llround_test): Likewise.
37619         * math/libm-test.inc (struct test_f_i_data): Add comment.
37620         (RUN_TEST_LOOP_f_b): New macro.
37621         (RUN_TEST_LOOP_f_b_tg): Likewise.
37622         (finite_test_data): New variable.
37623         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
37624         (isfinite_test_data): New variable.
37625         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
37626         (isinf_test_data): New variable.
37627         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
37628         (isnan_test_data): New variable.
37629         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
37630         (isnormal_test_data): New variable.
37631         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
37632         (issignaling_test_data): New variable.
37633         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
37634         (signbit_test_data): New variable.
37635         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
37637         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
37638         with INVALID_EXCEPTION.
37639         (acosh_test_data): Likewise.
37640         (asin_test_data): Likewise.
37641         (atanh_test_data): Likewise.
37642         (fmod_test_data): Likewise.
37643         (log_test_data): Likewise.
37644         (log10_test_data): Likewise.
37645         (log2_test_data): Likewise.
37646         (pow_test_data): Likewise.
37647         (sqrt_test_data): Likewise.
37648         (y0_test_data): Likewise.
37649         (y1_test_data): Likewise.
37650         (yn_test_data): Likewise.
37652         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
37653         function contents.
37655         * math/libm-test.inc (struct test_ff_i_data): New type.
37656         (RUN_TEST_LOOP_ff_i_tg): New macro.
37657         (isgreater_test_data): New variable.
37658         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
37659         (isgreaterequal_test_data): New variable.
37660         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
37661         (isless_test_data): New variable.
37662         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
37663         (islessequal_test_data): New variable.
37664         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
37665         (islessgreater_test_data): New variable.
37666         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
37667         (isunordered_test_data): New variable.
37668         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
37670 2013-05-14  David S. Miller  <davem@davemloft.net>
37672         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37674 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
37676         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
37678         * math/libm-test.inc (struct test_fF_f1_data): Change type of
37679         extra_test to int.
37680         (struct test_f_i_data): Change type of max_ulp to int.
37682         * math/libm-test.inc (test_ffI_f1_data): New type.
37683         (RUN_TEST_LOOP_ffI_f1): New macro.
37684         (remquo_test_data): New variable.
37685         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
37687         * setjmp/tst-setjmp-fp.c: New file.
37688         * setjmp/Makefile (tests): Add tst-setjmp-fp.
37689         (link-libm): New variable.
37690         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
37692         * math/libm-test.inc (struct test_f_i_data): New type.
37693         (RUN_TEST_LOOP_f_i): New macro.
37694         (RUN_TEST_LOOP_f_i_tg): Likewise.
37695         (fpclassify_test_data): New variable.
37696         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
37697         (ilogb_test_data): New variable.
37698         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
37700         * math/libm-test.inc (scalbln_test): Correct function name in END
37701         call.
37703         * math/libm-test.inc (struct test_f_f1_data): Add comment.
37704         (RUN_TEST_LOOP_fI_f1): New macro.
37705         (frexp_test_data): New variable.
37706         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
37708         * math/libm-test.inc (struct test_fF_f1_data): New type.
37709         (RUN_TEST_LOOP_fF_f1): New macro.
37710         (modf_test_data): New variable.
37711         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
37713         * math/libm-test.inc (struct test_f_f1_data): New type.
37714         (RUN_TEST_LOOP_f_f1): New macro.
37715         (gamma_test_data): New variable.
37716         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
37717         (lgamma_test_data): New variable.
37718         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
37720 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
37722         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
37723         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
37724         (main): Comment "tls" pseudo-hwcap.
37726 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
37728         * math/libm-test.inc (struct test_fl_f_data): New type.
37729         (RUN_TEST_LOOP_fl_f): New variable.
37730         (scalbln_test_data): New variable.
37731         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
37733         * math/libm-test.inc (struct test_fi_f_data): New type.
37734         (RUN_TEST_LOOP_fi_f): New macro.
37735         (ldexp_test_data): New variable.
37736         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
37737         (scalbn_test_data): New variable.
37738         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
37740         * math/libm-test.inc (struct test_c_f_data): New type.
37741         (RUN_TEST_LOOP_c_f): New macro.
37742         (cabs_test_data): New variable.
37743         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
37744         (carg_test_data): New variable.
37745         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
37746         (cimag_test_data): New variable.
37747         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
37748         (creal_test_data): New variable.
37749         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
37751         * math/libm-test.inc (struct test_if_f_data): New type.
37752         (RUN_TEST_LOOP_if_f): New macro.
37753         (jn_test_data): New variable.
37754         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
37755         (yn_test_data): New variable.
37756         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
37758         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
37760 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37762         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
37763         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
37765 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
37767         * benchtests/Makefile (CPPFLAGS-nonlib): Add
37768         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
37769         (bench-deps): Add bench-timing.h.
37770         * benchtests-bench-skeleton.c: Include bench-timing.h.
37771         (main): Use TIMING_* macros instead of clock_gettime.
37772         * benchtests/bench-timing.h: New file.
37774         [BZ #14582]
37775         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
37776         Renamed from _LIB_VERSION.
37777         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
37779 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
37781         * math/libm-test.inc (struct test_fff_f_data): New type.
37782         (RUN_TEST_LOOP_fff_f): New macro.
37783         (fma_test_data): New variable.
37784         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
37785         (fma_towardzero_test_data): New variable.
37786         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
37787         (fma_downward_test_data): New variable.
37788         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
37789         (fma_upward_test_data): New variable.
37790         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
37792         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
37793         (struct test_c_c_data): New type.
37794         (RUN_TEST_LOOP_c_c): New macro.
37795         (cacos_test_data): New variable.
37796         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
37797         (cacosh_test_data): New variable.
37798         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
37799         (casin_test_data): New variable.
37800         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
37801         (casinh_test_data): New variable.
37802         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
37803         (catan_test_data): New variable.
37804         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
37805         (catanh_test_data): New variable.
37806         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
37807         (ccos_test_data): New variable.
37808         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
37809         (ccosh_test_data): New variable.
37810         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
37811         (cexp_test_data): New variable.
37812         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
37813         (clog_test_data): New variable.
37814         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
37815         (clog10_test_data): New variable.
37816         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
37817         (conj_test_data): New variable.
37818         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
37819         (cproj_test_data): New variable.
37820         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
37821         (csin_test_data): New variable.
37822         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
37823         (csinh_test_data): New variable.
37824         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
37825         (csqrt_test_data): New variable.
37826         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
37827         (ctan_test_data): New variable.
37828         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
37829         (ctan_tonearest_test_data): New variable.
37830         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
37831         (ctan_towardzero_test_data): New variable.
37832         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
37833         (ctan_downward_test_data): New variable.
37834         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
37835         (ctan_upward_test_data): New variable.
37836         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
37837         (ctanh_test_data): New variable.
37838         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
37839         (ctanh_tonearest_test_data): New variable.
37840         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
37841         (ctanh_towardzero_test_data): New variable.
37842         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
37843         (ctanh_downward_test_data): New variable.
37844         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
37845         (ctanh_upward_test_data): New variable.
37846         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
37847         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
37848         of BUILD_COMPLEX.
37850         * math/libm-test.inc (struct test_ff_f_data): New type.
37851         (struct test_ff_f_data_nexttoward): Likewise.
37852         (RUN_TEST_LOOP_2_f): New macro.
37853         (RUN_TEST_LOOP_ff_f): Likewise.
37854         (atan2_test_data): New variable.
37855         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
37856         (copysign_test_data): New variable.
37857         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
37858         (fdim_test_data): New variable.
37859         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
37860         (fmax_test_data): New variable.
37861         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
37862         (fmin_test_data): New variable.
37863         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
37864         (fmod_test_data): New variable.
37865         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
37866         (hypot_test_data): New variable.
37867         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
37868         (nextafter_test_data): New variable.
37869         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
37870         (nexttoward_test_data): New variable.
37871         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
37872         (pow_test_data): New variable.
37873         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
37874         (pow_tonearest_test_data): New variable.
37875         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
37876         (pow_towardzero_test_data): New variable.
37877         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
37878         (pow_downward_test_data): New variable.
37879         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
37880         (pow_upward_test_data): New variable.
37881         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
37882         (remainder_test_data): New variable.
37883         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
37884         (scalb_test_data): New variable.
37885         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
37886         * sysdeps/i386/fpu/libm-test-ulps: Update.
37888 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
37890         * math/libm-test.inc (fma_test): Use max_value instead of local
37891         variable fltmax.
37892         (nextafter_test): Likewise.
37894         * math/libm-test.inc (acos_towardzero_test_data): New variable.
37895         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37896         (acos_downward_test_data): New variable.
37897         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37898         (acos_upward_test_data): New variable.
37899         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37900         (acosh_test_data): New variable.
37901         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
37902         (asin_test_data): New variable.
37903         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
37904         (asin_tonearest_test_data): New variable.
37905         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37906         (asin_towardzero_test_data): New variable.
37907         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37908         (asin_downward_test_data): New variable.
37909         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37910         (asin_upward_test_data): New variable.
37911         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37912         (asinh_test_data): New variable.
37913         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
37914         (atan_test_data): New variable.
37915         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
37916         (atanh_test_data): New variable.
37917         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
37918         (cbrt_test_data): New variable.
37919         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
37920         (ceil_test_data): New variable.
37921         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
37922         (cos_test_data): New variable.
37923         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
37924         (cos_tonearest_test_data): New variable.
37925         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37926         (cos_towardzero_test_data): New variable.
37927         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37928         (cos_downward_test_data): New variable.
37929         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37930         (cos_upward_test_data): New variable.
37931         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37932         (cosh_test_data): New variable.
37933         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
37934         (cosh_tonearest_test_data): New variable.
37935         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37936         (cosh_towardzero_test_data): New variable.
37937         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37938         (cosh_downward_test_data): New variable.
37939         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37940         (cosh_upward_test_data): New variable.
37941         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37942         (erf_test_data): New variable.
37943         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
37944         (erfc_test_data): New variable.
37945         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
37946         (exp_test_data): New variable.
37947         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
37948         (exp_tonearest_test_data): New variable.
37949         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37950         (exp_towardzero_test_data): New variable.
37951         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37952         (exp_downward_test_data): New variable.
37953         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37954         (exp_upward_test_data): New variable.
37955         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37956         (exp10_test_data): New variable.
37957         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
37958         (exp2_test_data): New variable.
37959         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
37960         (expm1_test_data): New variable.
37961         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
37962         (fabs_test_data): New variable.
37963         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
37964         (floor_test_data): New variable.
37965         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
37966         (j0_test_data): New variable.
37967         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
37968         (j1_test_data): New variable.
37969         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
37970         (log_test_data): New variable.
37971         (log_test): Run tests with RUN_TEST_LOOP_f_f.
37972         (log10_test_data): New variable.
37973         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
37974         (log1p_test_data): New variable.
37975         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
37976         (log2_test_data): New variable.
37977         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
37978         (logb_test_data): New variable.
37979         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
37980         (logb_downward_test_data): New variable.
37981         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37982         (nearbyint_test_data): New variable.
37983         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
37984         (rint_test_data): New variable.
37985         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
37986         (rint_tonearest_test_data): New variable.
37987         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37988         (rint_towardzero_test_data): New variable.
37989         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37990         (rint_downward_test_data): New variable.
37991         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37992         (rint_upward_test_data): New variable.
37993         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37994         (round_test_data): New variable.
37995         (round_test): Run tests with RUN_TEST_LOOP_f_f.
37996         (sin_test_data): New variable.
37997         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
37998         (sin_tonearest_test_data): New variable.
37999         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
38000         (sin_towardzero_test_data): New variable.
38001         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
38002         (sin_downward_test_data): New variable.
38003         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
38004         (sin_upward_test_data): New variable.
38005         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
38006         (sinh_test_data): New variable.
38007         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
38008         (sinh_tonearest_test_data): New variable.
38009         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
38010         (sinh_towardzero_test_data): New variable.
38011         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
38012         (sinh_downward_test_data): New variable.
38013         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
38014         (sinh_upward_test_data): New variable.
38015         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
38016         (sqrt_test_data): New variable.
38017         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
38018         (tan_test_data): New variable.
38019         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
38020         (tan_tonearest_test_data): New variable.
38021         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
38022         (tan_towardzero_test_data): New variable.
38023         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
38024         (tan_downward_test_data): New variable.
38025         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
38026         (tan_upward_test_data): New variable.
38027         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
38028         (tanh_test_data): New variable.
38029         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
38030         (tgamma_test_data): New variable.
38031         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
38032         (trunc_test_data): New variable.
38033         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
38034         (y0_test_data): New variable.
38035         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
38036         (y1_test_data): New variable.
38037         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
38038         (significand_test_data): New variable.
38039         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
38041 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
38043         [BZ #12387]
38044         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
38046 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
38048         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
38050 2013-05-10  Andreas Jaeger  <aj@suse.de>
38052         [BZ #15448]
38053         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
38054         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
38056 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
38058         * math/gen-libm-test.pl (adjust_arg): New function.
38059         (special_functions): Handle generating output in both functions
38060         and arrays.
38061         (parse_args): Likewise.
38062         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
38063         $in_func argument to parse_args.
38064         * math/libm-test.inc (struct test_f_f_data): New type.
38065         (IF_ROUND_INIT_): New macro.
38066         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
38067         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
38068         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
38069         (IF_ROUND_INIT_FE_UPWARD): Likewise.
38070         (ROUND_RESTORE_): Likewise.
38071         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
38072         (ROUND_RESTORE_FE_TONEAREST): Likewise.
38073         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
38074         (ROUND_RESTORE_FE_UPWARD): Likewise.
38075         (RUN_TEST_LOOP_f_f): New macro.
38076         (acos_test_data): New variable.
38077         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
38078         (acos_tonearest_test_data): New variable.
38079         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
38081 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
38083         * benchtests/bench-skeleton.c (startup): Fix coding style.
38085 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
38087         [BZ #6809]
38088         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
38089         negative infinity argument.
38090         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
38091         negative infinity argument.
38092         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
38093         negative infinity argument.
38094         * math/libm-test.inc (tgamma_test): Expect errno to be set for
38095         domain errors.
38097 2013-05-10  Florian Weimer  <fweimer@redhat.com>
38099         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
38100         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
38101         * iconv/iconv_prog.c (main): Likewise.
38102         * locale/programs/charmap-dir.c (charmap_readdir)
38103         (fopen_uncompressed): Likewise.
38104         * locale/programs/locfile.c (siblings_uncached)
38105         (write_locale_data): Use lstat64 instead of lstat.
38106         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
38107         stat.
38109 2013-05-10  Andreas Jaeger  <aj@suse.de>
38111         [BZ #15395]
38112         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
38113         localization.
38114         Include <locale.h>.
38116 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
38118         * elf/dl-close.c (_dl_close_worker): Add comments.
38120 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
38122         [BZ #15359]
38123         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
38124         high part of pi/2.
38125         (__ieee754_rem_pio2l): Update comments.
38127         [BZ #15429]
38128         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
38129         high part of pi/2.
38130         (__ieee754_rem_pio2l): Update comments.
38132         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
38133         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
38135         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
38136         M_PI_4l.
38138         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
38139         (M_PI_34_LOG10El): Likewise.
38140         (M_PI2_LOG10El): Likewise.
38141         (M_PI4_LOG10El): Likewise.
38142         (M_PI_LOG10El): Likewise.
38144 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38146         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38148 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
38150         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
38151         (MINUS_ZERO_INIT): Likewise.
38152         (PLUS_INFTY_INIT): Likewise.
38153         (MINUS_INFTY_INIT): Likewise.
38154         (QNAN_VALUE_INIT): Likewise.
38155         (MAX_VALUE_INIT): Likewise.
38156         (MIN_VALUE_INIT): Likewise.
38157         (MIN_SUBNORM_VALUE_INIT): Likewise.
38158         (plus_zero): Initialize with PLUS_ZERO_INIT.
38159         (minus_zero): Initialize with MINUS_ZERO_INIT.
38160         (plus_infty): Initialize with PLUS_INFTY_INIT.
38161         (minus_infty): Initialize with MINUS_INFTY_INIT.
38162         (qnan_value): Initialize with QNAN_VALUE_INIT.
38163         (max_value): Initialize with MAX_VALUE_INIT.
38164         (min_value): Initialize with MIN_VALUE_INIT.
38165         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
38167         * math/libm-test.inc (RUN_TEST_if_f): New macro.
38168         (jn_test): Use TEST_if_f instead of TEST_ff_f.
38169         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
38170         (yn_test): Use TEST_if_f instead of TEST_ff_f.
38172         * math/libm-test.inc (RUN_TEST_f_f): New macro.
38173         (RUN_TEST_2_f): Likewise.
38174         (RUN_TEST_ff_f): Likewise.
38175         (RUN_TEST_fi_f): Likewise.
38176         (RUN_TEST_fl_f): Likewise.
38177         (RUN_TEST_fff_f): Likewise.
38178         (RUN_TEST_c_f): Likewise.
38179         (RUN_TEST_f_f1): Likewise.
38180         (RUN_TEST_fF_f1): Likewise.
38181         (RUN_TEST_fI_f1): Likewise.
38182         (RUN_TEST_ffI_f1): Likewise.
38183         (RUN_TEST_c_c): Likewise.
38184         (RUN_TEST_cc_c): Likewise.
38185         (RUN_TEST_f_i): Likewise.
38186         (RUN_TEST_f_i_tg): Likewise.
38187         (RUN_TEST_ff_i_tg): Likewise.
38188         (RUN_TEST_f_b): Likewise.
38189         (RUN_TEST_f_b_tg): Likewise.
38190         (RUN_TEST_f_l): Likewise.
38191         (RUN_TEST_f_L): Likewise.
38192         (RUN_TEST_sincos): Likewise.
38193         * math/gen-libm-test.pl (new_test): Take new argument to indicate
38194         whether to show exceptions.  Do not include ");\n" in return
38195         value.
38196         (special_functions): Output call to RUN_TEST_sincos instead of
38197         check_float calls.  Update calls to new_test.
38198         (parse_args): Output call to single RUN_TEST_* macro instead of
38199         check_* calls and other assignments.  Update calls to new_test.
38201         [BZ #2546]
38202         [BZ #2560]
38203         [BZ #5159]
38204         [BZ #15426]
38205         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
38206         input to result for tgamma overflow.
38207         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
38208         (gamma_coeff): New variable.
38209         (NCOEFF): New macro.
38210         (gamma_positive): New function.
38211         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
38212         underflow here.  Use gamma_positive instead of exp (lgamma) for
38213         other arguments.
38214         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
38215         (gamma_coeff): New variable.
38216         (NCOEFF): New macro.
38217         (gammaf_positive): New function.
38218         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
38219         underflow here.  Use gamma_positive instead of exp (lgamma) for
38220         other arguments.
38221         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
38222         (gamma_coeff): New variable.
38223         (NCOEFF): New macro.
38224         (gammal_positive): New function.
38225         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
38226         underflow here.  Use gamma_positive instead of exp (lgamma) for
38227         other arguments.
38228         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
38229         (gamma_coeff): New variable.
38230         (NCOEFF): New macro.
38231         (gammal_positive): New function.
38232         (__ieee754_gammal_r): Handle positive infinity, overflow and
38233         underflow here.  Handle NaN the same as positive infinity.  Remove
38234         check x < 0xffffffff for negative integers.  Use gamma_positive
38235         instead of exp (lgamma) for other arguments.
38236         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
38237         (gamma_coeff): New variable.
38238         (NCOEFF): New macro.
38239         (gammal_positive): New function.
38240         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
38241         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
38242         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
38243         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
38244         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
38245         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
38246         * sysdeps/generic/math_private.h (__gamma_productf): New
38247         prototype.
38248         (__gamma_product): Likewise.
38249         (__gamma_productl): Likewise.
38250         * math/Makefile (libm-calls): Add gamma_product.
38251         * math/libm-test.inc (tgamma_test): Add more tests.
38252         * sysdeps/i386/fpu/libm-test-ulps: Update.
38253         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38255 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
38257         * benchtests/bench-skeleton.c (main): Preheat CPU.
38259 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
38261         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
38263 2013-05-07  Roland McGrath  <roland@hack.frob.com>
38265         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
38266         and _dl_skip_args_internal.
38268 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
38270         * manual/message.texi (Message Translation): Talk about users.
38271         Message to key mapping impacts design.
38273 2013-05-06  Roland McGrath  <roland@hack.frob.com>
38275         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
38277         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
38279         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
38280         * sysdeps/wordsize-64/glob64.c: ... here.
38282         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
38283         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
38284         New macros.
38286         * debug/getlogin_r_chk.c: Moved to ...
38287         * login/getlogin_r_chk.c: ... here.
38288         * debug/Makefile (routines): Move getlogin_r_chk to ...
38289         * login/Makefile (routines): ... here.
38290         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
38291         * login/Versions (libc: GLIBC_2.4): ... here.
38293         * io/poll.c (__poll): Renamed from poll.
38294         Add libc_hidden_def.
38295         (poll): Define as weak alias.
38297         * debug/ptsname_r_chk.c: Moved to ...
38298         * login/ptsname_r_chk.c: ... here.
38299         * debug/Makefile (routines): Move ptsname_r_chk to ...
38300         * login/Makefile (routines): ... here.
38301         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
38302         * login/Versions (libc: GLIBC_2.4): ... here.
38304         * posix/getlogin.c: Moved to ...
38305         * login/getlogin.c: ... here.
38306         * posix/getlogin_r.c: Moved to ...
38307         * login/getlogin_r.c: ... here.
38308         * posix/getlogin_r.c: Moved to ...
38309         * login/getlogin_r.c: ... here.
38310         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
38311         * login/Makefile (routines): ... here.
38312         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
38313         * login/Versions (libc: GLIBC_2.0): ... here.
38315         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
38316         (setrlimit): Define as weak alias.
38318         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
38319         Call __ names for open, ftruncate, and close.
38320         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
38321         (truncate): Define as weak alias.
38323 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
38325         * math/gen-libm-test.pl (parse_args): Initialize x before each
38326         test of frexp, modf and remquo.
38328         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
38329         test signgam value.
38331 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38333         [BZ #15418]
38334         [BZ #15419]
38335         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
38336         internal tests.
38337         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
38339 2013-05-06  Roland McGrath  <roland@hack.frob.com>
38341         * elf/dl-writev.h: New file.
38342         * elf/dl-misc.c: Include it.
38343         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
38344         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
38346 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
38348         * math/libm-test.inc (noXFails): Remove variable.
38349         (noXPasses): Likewise.
38350         (BUILD_COMPLEX_INT): Remove macro.
38351         (print_screen): Remove xfail argument.
38352         (print_screen_max_error): Likewise.
38353         (update_stats): Likewise.
38354         (print_max_error): Likewise.  Update calls to other affected
38355         functions.
38356         (print_complex_max_error): Likewise.
38357         (test_single_exception): Update calls to print_screen.
38358         (test_single_errno): Likewise.
38359         (check_float_internal): Remove xfail argument.  Update calls to
38360         other affected functions.
38361         (check_float): Likewise.
38362         (check_complex): Likewise.
38363         (check_int): Likewise.
38364         (check_long): Likewise.
38365         (check_bool): Likewise.
38366         (check_longlong): Likewise.
38367         (main): Don't print noXFails and noXPasses.
38368         * math/gen-libm-test.pl (top level): Don't mention expected
38369         failure handling in comment.
38370         (new_test): Don't handle expected failures.
38371         (parse_args): Don't mention expected failure handling in comment.
38372         (generate_testfile): Don't handle expected failures.
38373         (parse_ulps): Likewise.
38374         (print_ulps_file): Likewise.
38375         (get_failure): Remove function.
38376         (output_test): Don't handle expected failures.
38377         * make/README.libm-test: Don't mention expected failure handling.
38379         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
38380         (minus_zero): Likewise.
38381         (plus_infty): Likewise.
38382         (minus_infty): Likewise.
38383         (qnan_value): Likewise.
38384         (max_value): Likewise.
38385         (min_value): Likewise.
38386         (min_subnorm_value): Likewise.
38387         (initialize): Do not initialize those variables dynamically.
38389 2013-05-03  Roland McGrath  <roland@hack.frob.com>
38391         * io/open.c (__open_2): Moved to ...
38392         * io/open_2.c: ... this new file.
38393         * io/open64.c (__open64_2): Moved to ...
38394         * io/open64_2.c: ... this new file.
38395         * io/openat.c (__openat_2): Moved to ...
38396         * io/openat_2.c: ... this new file.
38397         * io/openat64.c (__openat64_2): Moved to ...
38398         * io/openat64_2.c: ... this new file.
38399         * io/Makefile (routines): Add them.
38400         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
38401         * sysdeps/unix/sysv/linux/open_2.c: File removed.
38402         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
38403         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
38404         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
38405         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
38406         (__openat64): Add hidden_ver.
38407         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
38408         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
38410         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
38411         Separately conditionalize setting of GLRO(dl_sysinfo) so
38412         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
38413         as well, but the actual setting is only under [NEED_DL_SYSINFO].
38415 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38417         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
38418         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
38419         definition.
38420         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
38421         * sysdeps/unix/sysv/linux/powerpc/init-first.c
38422         (_libc_vdso_platform_setup): Add __vdso_time initialization.
38423         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
38424         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
38426 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
38428         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
38429         test signgam value.
38431         * math/libm-test.inc (hypot_test): Do not use
38432         IGNORE_ZERO_INF_SIGN.
38434 2013-05-03  Andreas Jaeger  <aj@suse.de>
38436         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
38437         Linux 3.9.
38438         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
38439         (PF_MAX): Adjust for VSOCK change.
38441 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38443         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38445 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
38447         [BZ #15264]
38448         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
38449         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
38450         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
38452 2013-05-02  David S. Miller  <davem@davemloft.net>
38454         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38456 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
38458         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
38460 2013-05-01  Roland McGrath  <roland@hack.frob.com>
38462         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
38464 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
38466         [BZ #14952]
38467         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
38468         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
38469         Use __attribute__ ((__gnu_inline__)).
38470         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
38471         Don't use __attribute__ ((__gnu_inline__)).
38473 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
38475         [BZ #15423]
38476         * math/s_catan.c (__catan): Handle small real or imaginary part of
38477         input specially to avoid spurious underflow.
38478         * math/s_catanf.c (__catanf): Likewise.
38479         * math/s_catanh.c (__catanh): Likewise.
38480         * math/s_catanhf.c (__catanhf): Likewise.
38481         * math/s_catanhl.c (__catanhl): Likewise.
38482         * math/s_catanl.c (__catanl): Likewise.
38483         * math/libm-test.inc (catan_test): Add more tests.
38484         (catanh_test): Likewise.
38485         * sysdeps/i386/fpu/libm-test-ulps: Update.
38486         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38488 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38490         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38492 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
38494         [BZ #15416]
38495         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
38496         accurately for denominator in atan2.
38497         * math/s_catanf.c (__catanf): Likewise.
38498         * math/s_catanh.c (__catanh): Likewise.
38499         * math/s_catanhf.c (__catanhf): Likewise.
38500         * math/s_catanhl.c (__catanhl): Likewise.
38501         * math/s_catanl.c (__catanl): Likewise.
38502         * math/libm-test.inc (catan_test): Add more tests.
38503         (catanh_test): Likewise.
38504         * sysdeps/i386/fpu/libm-test-ulps: Update.
38505         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38507 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
38509         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
38511         * benchtests/Makefile (bench): Remove slow benchmarks.
38512         * benchtests/atan-inputs: Add slow benchmark inputs.
38513         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
38514         (BENCH_FUNC): Accept variant offset.
38515         (VARIANT): Define.
38516         * benchtests/bench-skeleton.c (main): Run benchmark for each
38517         variant.
38518         * benchtests/cos-inputs: Add slow benchmark inputs.
38519         * benchtests/exp-inputs: Likewise.
38520         * benchtests/pow-inputs: Likewise.
38521         * benchtests/sin-inputs: Likewise.
38522         * benchtests/slowatan-inputs: Remove.
38523         * benchtests/slowatan.c: Remove.
38524         * benchtests/slowcos-inputs: Remove.
38525         * benchtests/slowcos.c: Remove.
38526         * benchtests/slowexp-inputs: Remove.
38527         * benchtests/slowexp.c: Remove.
38528         * benchtests/slowpow-inputs: Remove.
38529         * benchtests/slowpow.c: Remove.
38530         * benchtests/slowsin-inputs: Remove.
38531         * benchtests/slowsin.c: Remove.
38532         * benchtests/slowtan-inputs: Remove.
38533         * benchtests/slowtan.c: Remove.
38534         * benchtests/tan-inputs: Add slow benchmark inputs.
38535         * scripts/bench.pl: Parse comments and directives.
38537         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
38538         in CPPFLAGS.
38539         ($(objpfx)bench-%.c): Remove *-ITER.
38540         * benchtests/bench-modf.c: Remove definition of ITER.
38541         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
38542         (main): Loop for DURATION seconds instead of fixed number of
38543         iterations.
38544         * scripts/bench.pl: Don't expect iterations in parameters.
38546 2013-04-29  Roland McGrath  <roland@hack.frob.com>
38548         * io/fchdir.c (__fchdir): Renamed from fchdir.
38549         (fchdir): Define as weak alias.
38551 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
38553         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
38554         (ERRNO_EDOM): Likewise.
38555         (ERRNO_ERANGE): Likewise.
38556         (noErrnoTests): New variable.
38557         (init_max_error): Set errno to 0.
38558         (test_single_errno): New function.
38559         (test_errno): Likewise.
38560         (check_float_internal): Call test_errno.  Set errno to 0.
38561         (check_complex): Refer to errno tests in comment.
38562         (check_int): Call test_errno.  Set errno to 0.
38563         (check_long): Likewise.
38564         (check_bool): Likewise.
38565         (check_longlong): Likewise.
38566         (cos_test): Use ERRNO_* flags for errno tests instead of
38567         check_int.
38568         (expm1_test): Likewise.
38569         (fmod_test): Likewise.
38570         (ilogb_test): Likewise.
38571         (lgamma_test): Likewise.
38572         (pow_test): Likewise.
38573         (remainder_test): Likewise.
38574         (sin_test): Likewise.
38575         (tan_test): Likewise.
38576         (yn_test): Likewise.
38577         (initialize): Set errno to 0.
38578         (main): Print number of errno tests.
38579         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
38581 2013-04-29  Andreas Jaeger  <aj@suse.de>
38583         [BZ #15084]
38584         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
38585         and RES_USEVC.
38587         [BZ #15085]
38588         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
38589         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
38590         unimplemented.
38592         [BZ #15380]
38593         * stdlib/random.c (__initstate): Return NULL if
38594         __initstate fails.
38596         [BZ #15086]
38597         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
38598         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
38599         RES_SNGLKUPREOP.
38601 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38603         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38605 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
38607         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
38608         of individual tests.
38609         (casin_test): Likewise.
38610         (casinh_test): Likewise.
38612 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
38614         [BZ #15409]
38615         * math/s_catan.c (__catan): Handle arguments with large real or
38616         imaginary part separately without squaring.
38617         * math/s_catanf.c (__catanf): Likewise.
38618         * math/s_catanh.c (__catanh): Likewise.
38619         * math/s_catanhf.c (__catanhf): Likewise.
38620         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
38621         and redefine.
38622         (__catanhl): Handle arguments with large real or imaginary part
38623         separately without squaring.
38624         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
38625         and redefine.
38626         (__catanl): Handle arguments with large real or imaginary part
38627         separately without squaring.
38628         * math/libm-test.inc (catan_test): Add more tests.
38629         (catanh_test): Likewise.
38630         * sysdeps/i386/fpu/libm-test-ulps: Update.
38631         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38633 2013-04-27  Andreas Jaeger  <aj@suse.de>
38635         [BZ #15007]
38636         * stdlib/stdlib.h: Update guards for qecvt.
38637         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
38638         <stdlib.h>.
38640 2013-04-27  Allan McRae  <allan@archlinux.org>
38642         * sysdeps/i386/fpu/libm-test-ulps: Update.
38644 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
38646         [BZ #15406]
38647         * math/s_catan.c: Include <float.h>.
38648         (__catan): Ensure underflow exception occurs for underflowed
38649         result.
38650         * math/s_catanf.c: Include <float.h>.
38651         (__catanf): Ensure underflow exception occurs for underflowed
38652         result.
38653         * math/s_catanh.c: Include <float.h>.
38654         (__catanh): Ensure underflow exception occurs for underflowed
38655         result.
38656         * math/s_catanhf.c: Include <float.h>.
38657         (__catanhf): Ensure underflow exception occurs for underflowed
38658         result.
38659         * math/s_catanhl.c: Include <float.h>.
38660         (__catanhl): Ensure underflow exception occurs for underflowed
38661         result.
38662         * math/s_catanl.c: Include <float.h>.
38663         (__catanl): Ensure underflow exception occurs for underflowed
38664         result.
38665         * math/libm-test.inc (catan_test): Add more tests.
38666         (catanh_test): Likewise.
38668         [BZ #15405]
38669         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
38670         underflowed result.
38671         * math/s_ccoshf.c (__ccoshf): Likewise.
38672         * math/s_ccoshl.c (__ccoshl): Likewise.
38673         * math/s_csin.c (__csin): Likewise.
38674         * math/s_csinf.c (__csinf): Likewise.
38675         * math/s_csinh.c (__csinh): Likewise.
38676         * math/s_csinhf.c (__csinhf): Likewise.
38677         * math/s_csinhl.c (__csinhl): Likewise.
38678         * math/s_csinl.c (__csinl): Likewise.
38679         * math/libm-test.inc (ccos_test): Add more tests.
38680         (ccosh_test): Likewise.
38681         (csin_test): Likewise.
38682         (csinh_test): Likewise.
38684 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38686         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
38687         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
38688         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
38689         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
38690         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
38691         powerpc/power5+/fpu folders.
38692         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
38695 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
38697         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38699 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
38701         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
38702         additions to variable.
38703         [$(config-machine) = x86_64] (modules-names): Likewise.
38704         ($(objpfx)tst-audit3): Remove dependency.
38705         ($(objpfx)tst-audit3.out): Likewise.
38706         ($(objpfx)tst-audit4): Likewise.
38707         ($(objpfx)tst-audit4.out): Likewise.
38708         ($(objpfx)tst-audit5): Likewise.
38709         ($(objpfx)tst-audit5.out): Likewise.
38710         ($(objpfx)tst-audit6): Likewise.
38711         ($(objpfx)tst-audit6.out): Likewise.
38712         ($(objpfx)tst-audit7): Likewise.
38713         ($(objpfx)tst-audit7.out): Likewise.
38714         (tst-audit3-ENV): Remove variable.
38715         (tst-audit4-ENV): Likewise.
38716         (tst-audit5-ENV): Likewise.
38717         (tst-audit6-ENV): Likewise.
38718         (tst-audit7-ENV): Likewise.
38719         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
38720         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
38721         addition to variable.
38722         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
38723         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
38724         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
38725         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
38726         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
38727         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
38728         tst-audit3, tst-audit4 and tst-audit5.
38729         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
38730         tst-audit6 and tst-audit7.
38731         [$(subdir) = elf] (modules-names): Add audit modules for those
38732         tests.
38733         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
38734         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
38735         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
38736         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
38737         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
38738         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
38739         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
38740         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
38741         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
38742         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
38743         [$(subdir) = elf] (tst-audit3-ENV): New variable.
38744         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
38745         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
38746         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
38747         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
38748         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
38749         Likewise.
38750         [$(subdir) = elf && $(config-cflags-avx) = yes]
38751         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
38752         [$(subdir) = elf && $(config-cflags-avx) = yes]
38753         (CFLAGS-tst-auditmod4a.c): Likewise.
38754         [$(subdir) = elf && $(config-cflags-avx) = yes]
38755         (CFLAGS-tst-auditmod4b.c): Likewise.
38756         [$(subdir) = elf && $(config-cflags-avx) = yes]
38757         (CFLAGS-tst-auditmod6b.c): Likewise.
38758         [$(subdir) = elf && $(config-cflags-avx) = yes]
38759         (CFLAGS-tst-auditmod6c.c): Likewise.
38760         [$(subdir) = elf && $(config-cflags-avx) = yes]
38761         (CFLAGS-tst-auditmod7b.c): Likewise.
38762         * elf/tst-audit3.c: Move to ...
38763         * sysdeps/x86_64/tst-audit3.c: ... here.
38764         * elf/tst-audit4.c: Move to ...
38765         * sysdeps/x86_64/tst-audit4.c: ... here.
38766         * elf/tst-audit5.c: Move to ...
38767         * sysdeps/x86_64/tst-audit5.c: ... here.
38768         * elf/tst-audit6.c: Move to ...
38769         * sysdeps/x86_64/tst-audit6.c: ... here.
38770         * elf/tst-audit7.c: Move to ...
38771         * sysdeps/x86_64/tst-audit7.c: ... here.
38772         * elf/tst-auditmod3a.c: Move to ...
38773         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
38774         * elf/tst-auditmod3b.c: Move to ...
38775         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
38776         * elf/tst-auditmod4a.c: Move to ...
38777         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
38778         * elf/tst-auditmod4b.c: Move to ...
38779         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
38780         * elf/tst-auditmod5a.c: Move to ...
38781         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
38782         * elf/tst-auditmod5b.c: Move to ...
38783         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
38784         * elf/tst-auditmod6a.c: Move to ...
38785         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
38786         * elf/tst-auditmod6b.c: Move to ...
38787         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
38788         * elf/tst-auditmod6c.c: Move to ...
38789         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
38790         * elf/tst-auditmod7a.c: Move to ...
38791         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
38792         * elf/tst-auditmod7b.c: Move to ...
38793         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
38795 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
38797         [BZ #15366]
38798         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
38799         define unconditionally.
38800         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
38801         define unconditionally.
38802         (INT8_C, INT16_C, etc.): Likewise.
38804 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
38806         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
38807         __ehdr_start with hidden visibility.
38809         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
38811 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
38813         * math/libm-test.inc (cos_test): Use accurate hex constants.
38814         (sincost_test): Likewise.
38816 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
38818         * math/libm-test.inc (catan_test): Add more tests.
38819         (catanh_test): Likewise.
38821         * math/s_catanf.c (__catanf): Use suffixed floating-point
38822         constants.
38823         * math/s_catanhf.c (__catanhf): Likewise.
38824         * math/s_catanhl.c (__catanhl): Likewise.
38825         * math/s_catanl.c (__catanl): Likewise.
38827         [BZ #15394]
38828         * math/s_catan.c (__catan): Calculate imaginary part of result
38829         with log1p not log unless computing log of number close to 0.
38830         * math/s_catanf.c (__catanf): Likewise.
38831         * math/s_catanl.c (__catanl): Likewise.
38832         * math/s_catanh.c (__catanh): Calculate real part of result with
38833         log1p not log unless computing log of number close to 0.
38834         * math/s_catanhf.c (__catanhf): Likewise.
38835         * math/s_catanhl.c (__catanhl): Likewise.
38836         * math/libm-test.inc (catan_test): Add more tests.
38837         (catanh_test): Likewise.
38838         * sysdeps/i386/fpu/libm-test-ulps: Update.
38839         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38841 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
38843         * benchtests/Makefile: Mention files in which fast and slow
38844         paths of math functions are implemented.
38846 2013-04-23  Roland McGrath  <roland@hack.frob.com>
38848         * sysdeps/posix/timespec_get.c: New file.
38850 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38852         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
38853         POWER.
38854         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
38855         for POWER.
38856         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
38857         powerpc/power5/fpu folders.
38858         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
38859         * benchtests/Makefile: Add modf testcase.
38860         * benchtests/bench-modf.c: New file: Benchmark test for mo
38862 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
38864         [BZ #14888]
38865         * time/Makefile (tests): Add tst-strptime-whitespace.
38866         * time/strptime_l.c (get_number): Use ISSPACE.
38867         (__strptime_internal): Likewise.
38868         * time/tst-strptime-whitespace.c: New test case.
38870 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
38872         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
38873         member.
38874         (_nss_files_init): Set it here.
38876 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
38878         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
38879         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
38880         unsigned.
38882 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
38884         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
38886 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
38888         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
38889         size just once.
38891 2013-04-21  David S. Miller  <davem@davemloft.net>
38893         * po/ru.po: Update Russion translation from translation project.
38895 2013-04-17  Adam Conrad  <adconrad@0c3.net>
38897         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
38898         and setfsgid.
38900 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
38902         * configure.in: Remove i386 configure warning. Remove i386 case.
38903         * configure: Regenerate.
38904         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
38905         Add example to error message.
38906         * sysdeps/i386/configure: Regenerate.
38908 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
38910         * benchtests/Makefile (bench): Add cos, tan, slowcos and
38911         slowtan.
38912         * benchtests/cos-inputs: New file.
38913         * benchtests/slowcos-inputs: New file.
38914         * benchtests/slowcos.c: New file.
38915         * benchtests/slowtan-inputs: New file.
38916         * benchtests/slowtan.c: New file.
38917         * benchtests/tan-inputs: New file.
38919 2013-04-16  Roland McGrath  <roland@hack.frob.com>
38921         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
38922         considered kosher.
38924 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
38926         * benchtests/Makefile: Include cppflags-iterator.mk to add
38927         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
38929         * Makefile.in (bench-clean): New target.
38930         * benchtests/Makefile (bench-clean): Likewise.
38932 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
38934         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
38936 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
38938         * stdio-common/tstdiomisc.c: Fix coding-style violation.
38940 2013-04-15  Andreas Schwab  <schwab@suse.de>
38942         * nscd/grpcache.c (cache_addgr): Properly check for short write.
38943         * nscd/initgrcache.c (addinitgroupsX): Likewise.
38944         * nscd/pwdcache.c (cache_addpw): Likewise.
38945         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
38946         more than recsize.
38948 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
38950         * benchtests/Makefile (bench): Write all output to
38951         bench-out.tmp together.
38953 2013-04-15  Andreas Schwab  <schwab@suse.de>
38955         * nscd/nscd.c (main): Don't fork again after closing files.
38957 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
38959         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
38961         * benchtests/Rules (bench-deps): Collect dependencies into a
38962         single variable.  Add Makefile to dependencies.
38963         ($(objpfx)bench-%.c): Depend on bench-deps.
38965 2013-04-12  Roland McGrath  <roland@hack.frob.com>
38966             Xavier Roche  <roche+kml2@exalead.com>
38968         [BZ #15361]
38969         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
38970         just that it's a file descriptor.
38971         * manual/llio.texi (Synchronizing AIO Operations): Update description
38972         for EBADF error from aio_fsync.
38974 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
38976         * Rules (bench): Move target definition...
38977         * benchtests/Makefile: ... here.
38979 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
38981         * math/libm-test.inc (cos_test): Fix PI/2 test.
38982         (sincos_test): Likewise.
38983         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
38984         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
38986 2013-04-11  Andreas Schwab  <schwab@suse.de>
38988         [BZ #13988]
38989         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
38990         accept exponent character only when digits were seen.
38991         * stdio-common/Makefile (tests): Add bug26.
38992         * stdio-common/bug26.c: New file.
38994         [BZ #14293]
38995         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
38996         non-freeable.
38998 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
39000         * Makeconfig (rtld-prefix): Define built linker prefix.
39001         * Rules (run-bench): Use it.
39002         * math/Makefile (run-regen-ulps): Likewise.
39004         * Rules (bench): Remove eval.
39006 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
39007             Roland McGrath  <roland@hack.frob.com>
39008             Ondrej Bilka  <neleai@seznam.cz>
39010         [BZ #15346]
39011         * time/getdate.c: Include ctype.h and alloca.h.
39012         (__getdate_r): Trim leading and trailing spaces of input.
39013         * time/tst-getdate.c (tests): Add tests with leading and
39014         trailing spaces.
39016 2013-04-08  Roland McGrath  <roland@hack.frob.com>
39018         [BZ #14280]
39019         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
39020         when computing value.
39022 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
39024         * math/README.libm-test (How can I generate "libm-test-ulps"?):
39025         Use testrun.sh to run libm tests.
39027         [BZ #15309]
39028         * elf/dl-open.c (dl_open_worker): memset all of seen array.
39030 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
39032         [BZ #15264]
39033         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
39035 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
39037         * Makefile.in (regen-ulps): New target.
39038         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
39039         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
39040         [ifneq (no,$(PERL)] (regen-ulps): New target.
39041         [ifeq (no,$(PERL)] (regen-ulps): New target.
39042         * math/libm-test.inc (ulps_file_name): Define.
39043         (output_dir): New variable.
39044         (options): Add "output-dir" option.
39045         (parse_opt): Handle 'o' case.
39046         (main): If output_dir is non-NULL use it as a prefix
39047         otherwise use "".
39048         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
39050 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
39052         [BZ #10060, #10062]
39053         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
39054         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
39055         fail configure if __sync_val_compare_and_swap is not inlined.
39056         * sysdeps/i386/configure: Regenerate.
39057         * configure.in: Build for i686 when configured for i386.
39058         * configure: Regenerate.
39059         * README: Remove i386 reference.
39061 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
39063         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
39064         * sysdeps/s390/s390-64/sysdep.h: Likewise.
39066 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
39068         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
39069         (lmsnanval): New variables.
39070         (F): Add conversion tests.
39071         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
39072         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
39074         * stdio-common/tstdiomisc.c (F): Properly collect individual
39075         tests' results.
39077         [BZ #14686, #15336]
39078         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
39079         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
39080         Instead, use input NaN values or generate a qNaN by arithmetic
39081         operation.  Also fix bugs to comply with the standard.
39082         * math/libm-test.inc (remainder_test): Add more tests.
39084         [BZ #15335, #15342]
39085         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
39086         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
39087         input NaN values or generate a qNaN by arithmetic operation.
39089         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
39090         unreachable code.
39092         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
39093         definitions.
39095 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
39097         [BZ #14478]
39098         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
39099         underflowed result.
39100         * math/s_cexpf.c (__cexpf): Likewise.
39101         * math/s_cexpl.c (__cexpl): Likewise.
39102         * math/libm-test.inc (cexp_test): Add more tests.
39104 2013-04-03  Andreas Schwab  <schwab@suse.de>
39106         [BZ #15330]
39107         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
39108         order arrays from heap if bigger than alloca cutoff.
39110 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
39112         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
39113         (SNAN_TESTS_double): Refer to GCC PR56831.
39114         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
39115         GCC PR56828.
39117 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
39119         * Rules (bench): Move bench.out after the run is complete.
39121         * Rules (bench): Echo currently running benchmark.
39123         * benchtests/Makefile (bench): Add atan and slowatan.
39124         * benchtests/atan-inputs: New file.
39125         * benchtests/slowatan-inputs: New file.
39126         * benchtests/slowatan.c: New file.
39128         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
39129         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
39130         its value.
39132         [BZ #15305]
39133         * sysdeps/unix/sysv/linux/kernel-features.h
39134         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
39135         __ASSUME_XFS_RESTRICTED_CHOWN.
39136         * sysdeps/unix/sysv/linux/pathconf.c
39137         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
39138         Save and restore errno.
39140 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
39142         [BZ #15327]
39143         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
39144         arguments using __kernel_casinh.
39145         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
39146         arguments using __kernel_casinhf.
39147         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
39148         arguments using __kernel_casinhl.
39149         * math/libm-test.inc (cacosh_test): Add more tests.
39150         * sysdeps/i386/fpu/libm-test-ulps: Update.
39151         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39153 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
39155         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
39156         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
39158         * bench/Makefile (bench): Add sin and slowsin.
39159         * benchtests/sin-inputs: New file.
39160         * benchtests/slowsin-inputs: New file.
39161         * benchtests/slowsin.c: New file.
39163         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
39164         (bench): Add slowexp and slowpow.
39165         (exp-ITER): Increase iterations.
39166         (pow-ITER): Likewise.
39167         * benchtests/exp-inputs: Change input.
39168         * benchtests/pow-inputs: Likewise.
39169         * benchtests/slowexp-inputs: New file.
39170         * benchtests/slowexp.c: New file.
39171         * benchtests/slowpow-inputs: New file.
39172         * benchtests/slowpow.c: New file.
39174 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39176         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
39177         instructions.
39178         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
39179         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
39180         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
39181         * benchtests/Makefile: Add rint benchtest.
39182         * benchtests/rint-inputs: Input for rint benchtest.
39184 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
39186         * Versions.def (libm): Add GLIBC_2.18.
39187         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
39188         hidden libm prototypes.
39189         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
39190         * math/Makefile (libm-calls): Add s_issignaling.
39191         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
39192         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
39193         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
39194         declaration.
39195         * math/math.h [__USE_GNU] (issignaling): New macro.
39196         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
39197         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
39198         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
39199         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
39200         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
39201         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
39202         * manual/arith.texi (issignaling): New section.
39203         * manual/libm-err-tab.pl (@all_functions): Update comment.
39204         * math/gen-libm-test.pl (parse_args): Apply special handling for
39205         issignaling.
39206         * math/libm-test.inc (print_float, issignaling_test): New
39207         functions.
39208         (check_float_internal): Add issignaling checks.
39209         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
39210         default definition.
39211         * sysdeps/powerpc/math-tests.h: New file.
39212         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
39213         tests.
39214         * math/test-snan.c (TEST_FUNC): Likewise.
39216 2013-03-30  David S. Miller  <davem@davemloft.net>
39218         * po/de.po: Update from translation team.
39220 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
39222         [BZ #10357]
39223         * math/k_casinh.c (__kernel_casinh): Handle arguments with
39224         imaginary part less than 1.0 and real part less than 0.5
39225         specially.
39226         * math/k_casinhf.c (__kernel_casinhf): Likewise.
39227         * math/k_casinhl.c (__kernel_casinhl): Likewise.
39228         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
39229         (cacos_test): Add more tests.
39230         (casin_test): Likewise.
39231         (casinh_test): Likewise.
39232         * sysdeps/i386/fpu/libm-test-ulps: Update.
39233         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39235 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
39237         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
39238         ONE with its value.
39240         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
39241         (__pow_mp): Replace ONE and MONE with their values.
39242         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
39243         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
39244         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
39245         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
39246         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
39247         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
39249         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
39251         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
39252         (__pow_mp): Replace ZERO and MZERO with their values.
39253         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
39254         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
39255         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
39256         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
39257         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
39258         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
39259         (__sqr): Likewise.
39261         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
39263         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
39265 2013-03-28  Roland McGrath  <roland@hack.frob.com>
39267         * include/stdlib.h [!SHARED] (__call_tls_dtors):
39268         Declare with __attribute__ ((weak)).
39269         * stdlib/exit.c (__libc_atexit) [!SHARED]:
39270         Call __call_tls_dtors only if it's not NULL.
39272 2013-03-28  Roland McGrath  <roland@hack.frob.com>
39274         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
39275         didn't do it already, then set _dl_phdr and _dl_phnum based on the
39276         magic __ehdr_start linker symbol if it's defined.
39277         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
39278         them up here if it was already done.
39280         * elf/dl-support.c (_dl_phdr): Make pointer to const.
39281         (_dl_aux_init): Use const in cast when setting it.
39282         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
39283         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
39284         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
39286         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
39287         Declare them here.
39288         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
39289         * csu/libc-tls.c: Nor here.
39290         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
39292         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
39293         (__libc_message): Never call vsyslog.
39295 2013-03-28  Alan Modra  <amodra@gmail.com>
39297         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
39298         Define as empty.
39299         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
39300         Likewise.
39302 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39304         [BZ #15214]
39305         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
39306         underflow.
39307         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39309 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
39311         [BZ #15304]
39312         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
39313         Don't add gid passed as argument.
39315         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
39317 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
39319         [BZ #15307]
39320         * math/k_casinh.c (__kernel_casinh): Handle arguments with
39321         imaginary part between 1.0 and 1.5 and real part less than 0.5
39322         specially.
39323         * math/k_casinhf.c (__kernel_casinhf): Likewise.
39324         * math/k_casinhl.c (__kernel_casinhl): Likewise.
39325         * math/libm-test.inc (cacos_test): Add more tests.
39326         (casin_test): Likewise.
39327         (casinh_test): Likewise.
39328         * sysdeps/i386/fpu/libm-test-ulps: Update.
39329         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39331 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
39333         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
39334         constants.
39335         (norm): Likewise.
39336         (denorm): Likewise.
39337         (__dbl_mp): Likewise.
39338         (add_magnitudes): Likewise.
39339         (sub_magnitudes): Likewise.
39340         (__add): Likewise.
39341         (__sub): Likewise.
39342         (__mul): Likewise.
39343         (__sqr): Likewise.
39344         (__inv): Likewise.
39345         (__dvd): Likewise.
39347         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
39348         commented code.
39349         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
39350         (__dubcos): Likewise.
39351         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
39352         (__ieee754_acos): Likewise.
39353         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
39354         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
39355         (__exp1): Likewise.
39356         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
39357         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
39358         (log1): Likewise.
39359         (my_log2): Likewise.
39360         (checkint): Likewise.
39361         * sysdeps/ieee754/dbl-64/e_remainder.c
39362         (__ieee754_remainder): Likewise.
39363         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
39364         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
39365         (bsloww): Likewise.
39366         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
39368         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
39369         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
39370         MANTISSA_STORE_T to store computations on mantissa.  Use
39371         macros for rounding and division.
39372         (denorm): Likewise.
39373         (__dbl_mp): Likewise.
39374         (add_magnitudes): Likewise.
39375         (sub_magnitudes): Likewise.
39376         (__mul): Likewise.
39377         (__sqr): Likewise.
39378         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
39379         powers of two in terms of TWOPOW macro.
39380         (mp_no): Make type of mantissa as MANTISSA_T.
39381         [!RADIXI]: Define RADIXI.
39382         [!TWO52]: Define TWO52.
39383         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
39385 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39387         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
39388         llroundl symbol when building for PPC32.
39390 2013-03-24  Mark H Weaver  <mhw@netris.org>
39392         * manual/arith.texi (Normalization Functions): Fix prototypes for
39393         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
39395 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39397         [BZ #13889]
39398         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
39399         high value to check if expl overflow.
39400         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
39401         to check for underflow and overflow.
39402         * math/libm-test.inc: Add exp test.
39404 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
39406         [BZ #11120]
39407         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
39408         with NOT_IN_libc.
39410 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39412         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
39413         symbol.
39415 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
39417         * math/gen-libm-test.pl (parse_args, special_functions): Properly
39418         wrap blocks consisting of several statements.
39420         * sysdeps/generic/math-tests.h: New file.
39421         * sysdeps/i386/fpu/math-tests.h: Likewise.
39422         * math/test-snan.c: Include it.
39423         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
39425 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
39427         [BZ #15285]
39428         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
39429         (__ieee754_j0l): Do not improve calculations using cos of twice
39430         input for inputs above LDBL_MAX / 2.0L.
39431         (__ieee754_y0l): Likewise.
39432         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
39433         (__ieee754_j1l): Do not improve calculations using cos of twice
39434         input for inputs above LDBL_MAX / 2.0L.
39435         (__ieee754_y1l): Likewise.
39436         * math/libm-test.inc (j0_test): Add another test.
39437         (j1_test): Likewise.
39438         (y0_test): Likewise.
39439         (y1_test): Likewise.
39440         * sysdeps/i386/fpu/libm-test-ulps: Update.
39442 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
39444         * Rules ($(objpfx)bench-%.c): Include code from a C source
39445         file.
39447 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
39449         [BZ #15287]
39450         * math/k_casinh.c (__kernel_casinh): Handle arguments with
39451         imaginary part 1.0 and real part less than 0.5 specially.
39452         * math/k_casinhf.c (__kernel_casinhf): Likewise.
39453         * math/k_casinhl.c (__kernel_casinhl): Likewise.
39454         * math/libm-test.inc (cacos_test): Add more tests.
39455         (casin_test): Likewise.
39456         (casinh_test): Likewise.
39457         * sysdeps/i386/fpu/libm-test-ulps: Update.
39458         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39460 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
39462         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
39463         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
39465 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
39467         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
39468         * config.make.in (config-cflags-sse4): Remove variable.
39469         (config-cflags-avx): Likewise.
39470         (config-cflags-sse2avx): Likewise.
39471         (config-cflags-novzeroupper): Likewise.
39472         (config-asflags-i686): Likewise.
39473         (have-mfma4): Likewise.
39474         (have-as-vis3): Likewise.
39475         (MIG): Likewise.
39476         * configure.in (MIG): Do not AC_SUBST.
39477         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
39478         (libc_cv_cc_sse4): Do not AC_SUBST.
39479         (libc_cv_cc_avx): Likewise.
39480         (libc_cv_cc_sse2avx): Likewise.
39481         (libc_cv_cc_novzeroupper): Likewise.
39482         (libc_cv_cc_fma4): Likewise.
39483         (libc_cv_as_i686): Likewise.
39484         (libc_cv_sparc_as_vis3): Likewise.
39485         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
39486         LIBC_CONFIG_VAR.
39487         (config-asflags-i686): Likewise.
39488         (config-cflags-avx): Likewise.
39489         (config-cflags-sse2avx): Likewise.
39490         (have-mfma4): Likewise.
39491         (config-cflags-novzeroupper): Likewise.
39492         * sysdeps/mach/configure.in (MIG): Likewise.
39493         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
39494         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
39495         LIBC_CONFIG_VAR.
39496         (config-cflags-avx): Likewise.
39497         (config-cflags-sse2avx): Likewise.
39498         (have-mfma4): Likewise.
39499         (config-cflags-novzeroupper): Likewise.
39500         * configure: Regenerated.
39501         * sysdeps/i386/configure: Likewise.
39502         * sysdeps/mach/configure: Likewise.
39503         * sysdeps/sparc/configure: Likewise.
39504         * sysdeps/x86_64/configure: Likewise.
39506 2013-03-20  Roland McGrath  <roland@hack.frob.com>
39508         [BZ #14812]
39509         * locale/programs/localedef.c (options): Put N_ translation marker
39510         on argument names, not just descriptions.
39512 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
39514         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
39516 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
39518         [BZ #14176]
39519         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
39521 2013-03-19  Roland McGrath  <roland@hack.frob.com>
39523         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
39524         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
39525         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
39526         [!BEFORE_ABORT] (before_abort): New function.
39527         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
39528         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
39529         (writev_for_fatal): New function.
39530         (WRITEV_FOR_FATAL): New macro; call that.
39531         (backtrace_and_maps): New function.
39532         (BEFORE_ABORT): New macro; call that.
39533         (struct str_list): Type removed.
39534         (__libc_message, __libc_fatal): Functions removed.
39535         Include <sysdeps/posix/libc_fatal.c> instead.
39537 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
39539         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
39540         constants.
39541         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
39542         double constants.
39544 2013-03-19  Andreas Schwab  <schwab@suse.de>
39546         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
39547         * sysdeps/gnu/configure: Regenerate.
39549         * configure.in: Substitute libc_cv_rtlddir.
39550         * configure: Regenerate.
39551         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
39552         * Makeconfig (rtlddir, inst_rtlddir): New variables.
39553         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
39554         * elf/Makefile (install-others, CFLAGS-interp.c)
39555         (ldso_install, common-ldd-rewrite): Likewise.
39556         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
39557         $(inst_slibdir)/$(rtld-installed-name).
39558         * scripts/rellns-sh: Add -p option.
39559         * Makerules (make-shlib-link): Use rellns-sh to get relative name
39560         for source.
39562 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
39564         * manual/nptl.texi: Renamed to ...
39565         * manual/threads.texi: ... this.
39566         * manual/Makefile (chapters): Update.
39568 2013-03-18  Roland McGrath  <roland@hack.frob.com>
39570         [BZ #14812]
39571         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
39572         on argument names, not just descriptions.
39573         * malloc/memusagestat.c (options): Likewise.
39574         * nss/getent.c (options): Likewise.
39576 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
39578         [BZ #14812]
39579         * iconv/iconv_prog.c (options): Put N_ translation marker
39580         on argument names, not just descriptions.
39581         * iconv/iconvconfig.c (options): Likewise.
39583 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
39585         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
39586         implementation which is faster on all x86_64 architectures.
39587         Tested on AMD, Intel Nehalem, SNB, IVB.
39588         * sysdeps/x86_64/strnlen.S: Likewise.
39590         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
39591         Remove all multiarch strlen and strnlen versions.
39592         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
39593         Remove strlen and strnlen related parts.
39595         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
39596         Inline strlen part.
39597         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
39599         * sysdeps/x86_64/multiarch/strlen.S: Remove.
39600         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
39601         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
39602         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
39603         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
39604         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
39606 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
39608         * manual/memory.texi (Malloc Tunable Parameters):
39609         Sort parameters alphabetically. Add comments for missing entries.
39611 2013-03-17  David S. Miller  <davem@davemloft.net>
39613         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39615 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
39617         [BZ #15283]
39618         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
39619         for arguments at most half maximum finite value.
39620         * math/libm-test.inc (j0_test): Add more tests.
39621         (j1_test): Likewise.
39622         (y0_test): Likewise.
39623         (y1_test): Likewise.
39624         * sysdeps/i386/fpu/libm-test-ulps: Update.
39625         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39627         [BZ #14155]
39628         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
39629         1 / x and functions P and Q for arguments above 0x1p256L.
39630         (__ieee754_y0l): Likewise.
39631         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
39632         (__ieee754_y1l): Likewise.
39633         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
39634         (j1_test): Likewise.
39635         (y0_test): Likewise.
39636         (y1_test): Likewise.
39638 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
39640         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
39641         variable.
39643 2013-03-15  Roland McGrath  <roland@hack.frob.com>
39645         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
39646         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
39647         zero since it's initialized to EXEC_PAGESIZE.
39649         * sysdeps/unix/sysv/linux/ldsodefs.h
39650         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
39651         * sysdeps/generic/ldsodefs.h: ... here.
39653 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
39655         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
39657         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
39658         math/test-snan.c.
39659         * math/test-snan.c: Renamed from
39660         sysdeps/powerpc/fpu/test-powerpc-snan.c.
39661         * math/Makefile (tests): Add test-snan.
39662         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
39663         test-powerpc-snan.
39665         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
39666         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
39667         functions.
39668         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
39669         __builtin_nan family of functions.
39670         * math/libm-test.inc (initialize): Initialize qnan_value with
39671         __builtin_nan family of functions.
39672         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
39673         Remove variables.
39674         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
39675         Remove functions.
39676         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
39677         storage class.  Initialize qNaN_var and sNaN_var with
39678         __builtin_nan and __builtin_nans families of functions,
39679         respectively.
39681         * math/libm-test.inc (acosh_test): Also test with qNaN input.
39682         (sqrt_test): Remove duplicate test with qNaN input.
39683         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
39684         (round_test, signbit_test, significand_test): Note missing +/-Inf
39685         as well as qNaN tests.
39687         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
39688         qNaN_var.  Fix a few strings, too.
39689         * math/libm-test.inc (nan_value): Rename to qnan_value.
39690         * math/gen-libm-test.pl (%beautify): Adjust to that.
39691         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
39692         * math/test-misc.c (main): Likewise.
39693         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
39694         to __qnan_bytes, and __qnan_union, respectively.
39695         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
39696         Likewise.
39697         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
39698         and lqnanval, respectively.
39699         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
39700         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
39701         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
39702         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
39704         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
39705         * math/test-misc.c (main) [__x86_64__]: Enable test for long
39706         doubles.
39708         * math/test-misc.c (main): Fix copy'n'pastos.
39709         * misc/tst-efgcvt.c (special): Likewise.
39711         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
39712         Remove declarations.
39714 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
39716         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
39717         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
39718         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
39719         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
39721 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39723         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
39724         macro to return vdso values correctly in IFUNC implementations.
39725         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
39726         Optimization by using IFUNC.
39728 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
39729             Richard Henderson  <rth@redhat.com>
39730             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
39732         * Makefile.in (bench): New target.
39733         * NEWS: Mention the benchmark framework.
39734         * Rules (bench): Likewise.
39735         (binaries-bench): Generate binaries for functions to
39736         benchmark.
39737         * benchtests/Makefile: New makefile for benchmark tests.
39738         * benchtests/bench-skeleton.c: New skeleton file for benchmark
39739         programs.
39740         * benchtests/exp-inputs: New input file for EXP function.
39741         * benchtests/pow-inputs: New input file for POW function.
39742         * scripts/bench.pl: New script to generate source files for
39743         benchmark programs.
39745 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
39747         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
39748         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
39749         computations on mantissa.  Use macros for rounding and
39750         division.
39751         (denorm): Likewise.
39752         (__dbl_mp): Likewise.
39753         (add_magnitudes): Likewise.
39754         (sub_magnitudes): Likewise.
39755         (__mul): Likewise.
39756         (__sqr): Likewise.
39757         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
39758         powers of two in terms of TWOPOW macro.
39759         (mp_no): Make type of mantissa as MANTISSA_T.
39760         [!RADIXI]: Define RADIXI.
39761         [!TWO52]: Define TWO52.
39762         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
39764         * manual/nptl.texi (cindex): Modify threads to pthreads.
39766 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
39768         * sysdeps/x86_64/preconfigure: Regenerated.
39770 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
39772         [BZ #14155]
39773         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
39774         0x1p28 and above.
39775         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
39776         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
39777         0x1p28 and above.
39778         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
39779         * math/libm-test.inc (j0_test): Do not allow one spurious
39780         underflow exception.
39781         (y1_test): Likewise.
39783 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
39785         * manual/Makefile (chapters): Add nptl.
39786         * manual/debug.texi (Debugging Support): Add link to Threads
39787         chapter.
39788         * manual/nptl.texi: New file.
39790         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
39792 2013-03-14  Petr Baudis  <pasky@ucw.cz>
39794         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
39795         for non-NULL pointer before the memory validity test. Pointed
39796         out by Holger Brunck <holger.brunck@keymile.com>.
39798 2013-03-13  Andreas Schwab  <schwab@suse.de>
39800         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
39801         instead of .os.
39803 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
39805         * timezone/zic.c: Update from tzcode 2013b.
39807 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
39809         * manual/install.texi (Configuring and compiling):
39810         Mention i686 and i586.
39811         * INSTALL: Regenerate.
39813 2013-03-12  Roland McGrath  <roland@hack.frob.com>
39815         * sysdeps/init_array/elf-init.c: New file.
39816         * csu/elf-init.c
39817         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
39818         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
39820         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
39821         __gmon_start__ as global, but as static with a .preinit_array pointer.
39822         * sysdeps/init_array/gmon-start.c: New file.  Use that.
39823         * sysdeps/init_array/crti.S: New file, empty except for comments.
39824         * sysdeps/init_array/crtn.S: Likewise.
39826 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
39828         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
39829         definining bcopy.
39830         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39831         Remove Prefer_SSE_for_memop.
39832         * sysdeps/x86_64/multiarch/init-arch.h: Remove
39833         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
39834         HAS_PREFER_SSE_FOR_MEMOP.
39835         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
39836         memset-x86-64.
39837         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
39838         Remove bzero, memset ifunc support.
39839         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
39840         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
39841         * sysdeps/x86_64/multiarch/memset.S: Likewise.
39842         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
39844 2013-03-11  Andreas Schwab  <schwab@suse.de>
39846         [BZ #15234]
39847         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
39848         by SHLIB_COMPAT.
39849         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
39850         (GLIBC_2.16): Remove pthread_atfork.
39852 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
39854         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
39855         (ptestcases.h): Likewise.
39857 2013-03-08  Roland McGrath  <roland@hack.frob.com>
39859         * Makeconfig ($(common-objpfx)config.status): Depend on
39860         sysdeps/*/preconfigure{,.in} too.
39862 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
39864         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
39865         (__free_hook): Use void * instead of __malloc_ptr_t.
39866         (__malloc_hook): Likewise.
39867         (__realloc_hook): Likewise.
39868         (__memalign_hook): Likewise.
39869         (__after_morecore_hook): Likewise.
39870         * malloc/arena.c (save_malloc_hook): Likewise.
39871         (save_free_hook): Likewise.
39872         * malloc/hooks.c (malloc_hook_ini): Likewise.
39873         (realloc_hook_ini): Likewise.
39874         (memalign_hook_ini): Likewise.
39875         * malloc/malloc.c (malloc_hook_ini): Likewise.
39876         (realloc_hook_ini): Likewise.
39877         (memalign_hook_ini): Likewise.
39878         (__free_hook): Likewise.
39879         (__malloc_hook): Likewise.
39880         (__realloc_hook): Likewise.
39881         (__memalign_hook): Likewise.
39882         (__libc_malloc): Likewise.
39883         (__libc_free): Likewise.
39884         (__libc_realloc): Likewise.
39885         (__libc_memalign): Likewise.
39886         (__libc_valloc): Likewise.
39887         (__libc_pvalloc): Likewise.
39888         (__libc_calloc): Likewise.
39889         (__posix_memalign): Likewise.
39890         * malloc/morecore.c (__sbrk): Likewise.
39891         (__default_morecore): Likewise.
39893         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
39895         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
39896         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
39897         __malloc_ptrdiff_t.
39899         * malloc/malloc.h (__malloc_size_t): Remove macro.
39900         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
39901         __malloc_size_t.
39902         (old_memalign_hook): Likewise.
39903         (old_realloc_hook): Likewise.
39904         (struct hdr): Likewise.
39905         (flood): Likewise.
39906         (mallochook): Likewise.
39907         (memalignhook): Likewise.
39908         (reallochook): Likewise.
39909         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
39910         (tr_old_realloc_hook): Likewise.
39911         (tr_old_memalign_hook): Likewise.
39912         (tr_mallochook): Likewise.
39913         (tr_reallochook): Likewise.
39914         (tr_memalignhook): Likewise.
39916 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39918         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
39919         default_ldbl_pack and using as default implementation.
39920         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
39921         implementation.
39922         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
39923         redundant definition.
39924         (ldbl_insert_mantissa): Likewise.
39925         (ldbl_canonicalize): Likewise.
39926         (ldbl_nearbyint): Likewise.
39927         (ldbl_pack): Rename to ldbl_pack_ppc.
39928         (ldbl_unpack): Rename to ldbl_unpack_ppc.
39929         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
39930         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
39932 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
39934         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
39935         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
39936         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
39937         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
39938         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
39939         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
39940         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
39941         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
39943 2013-03-07  Andreas Jaeger  <aj@suse.de>
39945         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39946         bits/mman-linux.h.
39948 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
39950         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
39951         Include mpa.h and declare __MPEXP.
39952         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
39953         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
39954         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
39955         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
39956         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
39957         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
39958         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
39960         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
39961         (__slowpow): Use long double EXPL and LOGL functions to
39962         compute POW.
39963         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
39964         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
39965         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
39966         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
39967         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
39968         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
39970         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
39971         intermediate variable to calculate exponent.
39972         (__sqr): Likewise.
39973         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
39974         Likewise.
39975         (__sqr): Likewise.
39977         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
39978         [!NO__SQR]: Define __sqr.
39979         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
39980         and NO__SQR.  Remove all code except __mul and __sqr.  Include
39981         sysdeps/ieee754/dbl-64/mpa.c.
39982         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
39984         [BZ #12723]
39985         * posix/Makefile (tests): Add tst-pathconf.
39986         * posix/tst-pathconf.c: New test case.
39987         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
39988         _PC_PIPE_BUF.
39989         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
39991 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
39993         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
39995 2013-03-06  Andreas Jaeger  <aj@suse.de>
39997         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
39998         definition via __MAP_ANONYMOUS.
40000         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
40001         it's not part of Linux headers.
40003         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
40004         (MAP_HUGE_MASK): Define.
40006         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
40007         Define.
40008         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
40009         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
40010         Define.
40011         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
40012         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
40013         Define.
40014         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
40015         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
40016         Define.
40017         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
40019         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
40020         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
40021         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
40022         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
40023         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
40024         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
40026         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
40027         Handle f2fs.
40029         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
40030         Handle f2fs and efivarfs.
40032         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
40033         f2fs.
40035         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
40036         (EFIVARFS_MAGIC): Add.
40037         (F2FS_LINK_MAX): Add.
40039 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
40041         * stdio-common/vfprintf.c: Replace __builtin_expect with
40042         __glibc_unlikely.
40044 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
40046         [BZ #13550]
40047         * sysdeps/generic/bp-sym.h: Remove file.
40048         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
40049         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
40050         <bp-sym.h> and <bp-asm.h>.
40051         (__longjmp): Don't use BP_SYM.
40052         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
40053         and <bp-asm.h>.
40054         (memcpy): Don't use BP_SYM.
40055         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
40056         <bp-sym.h> and <bp-asm.h>.
40057         (memcpy): Don't use BP_SYM.
40058         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
40059         <bp-asm.h>.
40060         (memcpy): Don't use BP_SYM.
40061         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
40062         <bp-asm.h>.
40063         (memset): Don't use BP_SYM.
40064         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
40065         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
40066         (__bzero): Don't use BP_SYM.
40067         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
40068         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
40069         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
40070         <bp-sym.h> and <bp-asm.h>.
40071         (memcmp): Don't use BP_SYM.  Remove comment about bounded
40072         pointers.
40073         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
40074         <bp-sym.h> and <bp-asm.h>.
40075         (memcpy): Don't use BP_SYM.
40076         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
40077         <bp-sym.h> and <bp-asm.h>.
40078         (memset): Don't use BP_SYM.
40079         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
40080         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
40081         (__bzero): Don't use BP_SYM.
40082         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
40083         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
40084         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
40085         <bp-sym.h> and <bp-asm.h>.
40086         (strncmp): Don't use BP_SYM.  Remove comment about bounded
40087         pointers.
40088         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
40089         <bp-sym.h> and <bp-asm.h>.
40090         (memcpy): Don't use BP_SYM.
40091         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
40092         <bp-sym.h> and <bp-asm.h>.
40093         (memset): Don't use BP_SYM.
40094         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
40095         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
40096         (__bzero): Don't use BP_SYM.
40097         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
40098         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
40099         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
40100         <bp-sym.h> and <bp-asm.h>.
40101         (__memchr): Don't use BP_SYM.
40102         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
40103         <bp-sym.h> and <bp-asm.h>.
40104         (memcmp): Don't use BP_SYM.  Remove comment about bounded
40105         pointers.
40106         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
40107         <bp-sym.h> and <bp-asm.h>.
40108         (memcpy): Don't use BP_SYM.
40109         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
40110         <bp-sym.h> and <bp-asm.h>.
40111         (__mempcpy): Don't use BP_SYM.
40112         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
40113         <bp-sym.h> and <bp-asm.h>.
40114         (__memrchr): Don't use BP_SYM.
40115         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
40116         <bp-sym.h> and <bp-asm.h>.
40117         (memset): Don't use BP_SYM.
40118         (__bzero): Likewise.
40119         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
40120         <bp-sym.h> and <bp-asm.h>.
40121         (__rawmemchr): Don't use BP_SYM.
40122         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
40123         <bp-sym.h> and <bp-asm.h>.
40124         (__STRCMP): Don't use BP_SYM.
40125         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
40126         <bp-sym.h> and <bp-asm.h>.
40127         (strchr): Don't use BP_SYM.
40128         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
40129         <bp-sym.h> and <bp-asm.h>.
40130         (__strchrnul): Don't use BP_SYM.
40131         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
40132         <bp-sym.h> and <bp-asm.h>.
40133         (strlen): Don't use BP_SYM.
40134         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
40135         <bp-sym.h> and <bp-asm.h>.
40136         (strncmp): Don't use BP_SYM.  Remove comment about bounded
40137         pointers.
40138         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
40139         <bp-sym.h> and <bp-asm.h>.
40140         (__strnlen): Don't use BP_SYM.
40141         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
40142         <bp-sym.h> and <bp-asm.h>.
40143         (__GI__setjmp): Don't use BP_SYM.
40144         (_setjmp): Likewise.
40145         (__sigsetjmp): Likewise.
40146         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
40147         (L(start_addresses)): Don't use BP_SYM.
40148         (_start): Likewise.
40149         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
40150         <bp-asm.h>.
40151         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
40152         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
40153         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
40154         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
40155         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
40156         <bp-asm.h>.
40157         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
40158         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
40159         about bounded pointers.
40160         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
40161         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
40162         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
40163         <bp-asm.h>.
40164         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
40165         about bounded pointers.  Remove GKM FIXME comments.
40166         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
40167         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
40168         <bp-asm.h>.
40169         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
40170         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
40171         Remove GKM FIXME comments.
40172         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
40173         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
40174         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
40175         <bp-asm.h>.
40176         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
40177         about bounded pointers.  Remove GKM FIXME comment.
40178         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
40179         and <bp-asm.h>.
40180         (strncmp): Don't use BP_SYM.  Remove comment about bounded
40181         pointers.
40182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
40183         <bp-sym.h> and <bp-asm.h>.
40184         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
40185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
40186         <bp-sym.h> and <bp-asm.h>.
40187         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
40188         comment.
40190 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
40192         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
40193         call free(NULL).
40195 2013-03-05  David S. Miller  <davem@davemloft.net>
40197         * po/es.po: Update from translation team.
40199 2013-03-05  Andreas Jaeger  <aj@suse.de>
40201         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
40202         <bits/mman-linux.h>.
40203         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
40204         is fine.
40205         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
40206         <bits/mman-linux.h> to end of file.
40207         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
40208         is fine.
40209         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
40210         <bits/mman-linux.h> to end of file.
40211         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
40212         is fine.
40213         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
40214         <bits/mman-linux.h> to end of file.
40216         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
40217         (MCL_CURRENT, MCL_FUTURE): Define here.
40219 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40221         [BZ #15232]
40222         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
40223         attribute_hidden.
40224         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
40226 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40228         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
40229         fourth parameter needed for rt_sigprocmask syscall.
40230         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
40231         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
40232         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
40233         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
40234         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
40235         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
40237 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
40239         [BZ #13550]
40240         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
40241         comment about bounded pointers.
40242         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
40243         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
40245 2013-03-04  Andreas Jaeger  <aj@suse.de>
40247         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
40248         common definitions.
40250         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
40251         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
40252         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
40253         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
40254         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
40255         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
40257 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40259         [BZ #15055]
40260         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
40261         __ieee754_sqrl instead of __sqrl.
40263 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
40265         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
40266         * sysdeps/powerpc/fpu_control.h: ... here.
40267         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
40268         * sysdeps/powerpc/bits/fenvinline.h: ... here.
40269         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
40270         * sysdeps/powerpc/bits/mathinline.h: ... here.
40272 2013-03-01  Roland McGrath  <roland@hack.frob.com>
40274         * elf/dl-hwcaps.c (_dl_important_hwcaps):
40275         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
40276         to just [NEED_DL_SYSINFO_DSO].
40277         * elf/dl-support.c: Likewise.
40278         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
40279         * elf/rtld.c (dl_main): Likewise.
40280         * elf/setup-vdso.h (setup_vdso): Likewise.
40281         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
40282         * sysdeps/unix/sysv/linux/dl-sysdep.c
40283         (_dl_discover_osversion): Likewise.
40285 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
40287         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
40288         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
40290 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
40292         * NEWS: Mention libm performance improvements and non-x86 PI
40293         futex support.
40295         * csu/libc-start.c (__pthread_initialize_minimal): Change
40296         function arguments.
40297         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
40299 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
40301         [BZ #13550]
40302         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
40303         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
40304         <bp-sym.h> and <bp-asm.h>.
40305         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
40306         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
40307         and <bp-asm.h>.
40308         (memcpy): Don't use BP_SYM.
40309         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
40310         <bp-asm.h>.
40311         (__mpn_add_n): Don't use BP_SYM.
40312         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
40313         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
40314         and <bp-asm.h>.
40315         (__mpn_addmul_1): Don't use BP_SYM.
40316         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
40317         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
40318         <bp-sym.h>.
40319         (_setjmp): Don't use BP_SYM.
40320         (__novmx_setjmp): Likewise.
40321         (__GI__setjmp): Likewise.
40322         (__vmx_setjmp): Likewise.
40323         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
40324         <bp-sym.h>.
40325         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
40326         (__bzero): Don't use BP_SYM.
40327         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
40328         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
40329         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
40330         <bp-sym.h> and <bp-asm.h>.
40331         (memcpy): Don't use BP_SYM.
40332         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
40333         <bp-sym.h> and <bp-asm.h>.
40334         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
40335         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
40336         <bp-sym.h> and <bp-asm.h>.
40337         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
40338         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
40339         <bp-asm.h>.
40340         (__mpn_lshift): Don't use BP_SYM.
40341         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
40342         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
40343         <bp-asm.h>.
40344         (memset): Don't use BP_SYM.
40345         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
40346         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
40347         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
40348         <bp-asm.h>.
40349         (__mpn_mul_1): Don't use BP_SYM.
40350         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
40351         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
40352         <bp-sym.h> and <bp-asm.h>.
40353         (memcmp): Don't use BP_SYM.
40354         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
40355         <bp-sym.h> and <bp-asm.h>.
40356         (memcpy): Don't use BP_SYM.
40357         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
40358         <bp-sym.h> and <bp-asm.h>.
40359         (memset): Don't use BP_SYM.
40360         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
40361         <bp-sym.h> and <bp-asm.h>.
40362         (strncmp): Don't use BP_SYM.
40363         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
40364         <bp-sym.h> and <bp-asm.h>.
40365         (memcpy): Don't use BP_SYM.
40366         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
40367         <bp-sym.h> and <bp-asm.h>.
40368         (memset): Don't use BP_SYM.
40369         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
40370         <bp-sym.h> and <bp-asm.h>.
40371         (__memchr): Don't use BP_SYM.
40372         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
40373         <bp-sym.h> and <bp-asm.h>.
40374         (memcmp): Don't use BP_SYM.
40375         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
40376         <bp-sym.h> and <bp-asm.h>.
40377         (memcpy): Don't use BP_SYM.
40378         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
40379         <bp-sym.h> and <bp-asm.h>.
40380         (__mempcpy): Don't use BP_SYM.
40381         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
40382         <bp-sym.h> and <bp-asm.h>.
40383         (__memrchr): Don't use BP_SYM.
40384         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
40385         <bp-sym.h> and <bp-asm.h>.
40386         (memset): Don't use BP_SYM.
40387         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
40388         <bp-sym.h> and <bp-asm.h>.
40389         (__rawmemchr): Don't use BP_SYM.
40390         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
40391         <bp-sym.h> and <bp-asm.h>.
40392         (__STRCMP): Don't use BP_SYM.
40393         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
40394         <bp-sym.h> and <bp-asm.h>.
40395         (strchr): Don't use BP_SYM.
40396         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
40397         <bp-sym.h> and <bp-asm.h>.
40398         (__strchrnul): Don't use BP_SYM.
40399         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
40400         <bp-sym.h> and <bp-asm.h>.
40401         (strlen): Don't use BP_SYM.
40402         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
40403         <bp-sym.h> and <bp-asm.h>.
40404         (strncmp): Don't use BP_SYM.
40405         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
40406         <bp-sym.h> and <bp-asm.h>.
40407         (__strnlen): Don't use BP_SYM.
40408         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
40409         <bp-asm.h>.
40410         (__mpn_rshift): Don't use BP_SYM.
40411         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
40412         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
40413         <bp-sym.h> and <bp-asm.h>.
40414         (__sigsetjmp): Don't use BP_SYM.
40415         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
40416         (L(start_addresses)): Don't use BP_SYM.
40417         (_start): Likewise.
40418         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
40419         <bp-asm.h>.
40420         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
40421         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
40422         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
40423         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
40424         <bp-asm.h>.
40425         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
40426         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
40427         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
40428         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
40429         <bp-asm.h>.
40430         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
40431         comments.
40432         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
40433         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
40434         <bp-asm.h>.
40435         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
40436         FIXME comments.
40437         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
40438         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
40439         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
40440         <bp-asm.h>.
40441         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
40442         comment.
40443         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
40444         and <bp-asm.h>.
40445         (strncmp): Don't use BP_SYM,
40446         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
40447         <bp-asm.h>.
40448         (__mpn_sub_n): Don't use BP_SYM.
40449         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
40450         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
40451         and <bp-asm.h>.
40452         (__mpn_submul_1): Don't use BP_SYM.
40453         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
40454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
40455         <bp-sym.h> and <bp-asm.h>.
40456         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
40457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
40458         <bp-sym.h> and <bp-asm.h>.
40459         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
40460         comment.
40462 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
40464         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
40465         Use ZK to minimize writes to Z.
40466         (sub_magnitudes): Simplify code a bit.
40467         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
40468         Use ZK to minimize writes to Z.
40469         (sub_magnitudes): Simplify code a bit.
40471 2013-02-27  Roland McGrath  <roland@hack.frob.com>
40473         * csu/gmon-start.c: Add special exception to license text.
40475 2013-02-27  Richard Henderson  <rth@redhat.com>
40477         * scripts/config.guess: Update from config.git.
40478         * scripts/config.sub: Likewise.
40480 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
40482         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
40484         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
40486         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
40488         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
40490         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
40492 2013-02-26  Roland McGrath  <roland@hack.frob.com>
40494         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
40495         [$(build-shared = yes].
40497 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
40499         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
40500         (__mul): Reduce iterations for calculating mantissa.
40502         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
40503         MPTWO.
40504         (__mpranred): Likewise.
40506         [BZ #15160]
40507         * malloc/memusagestat.c (main): Draw graphs for heap and stack
40508         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
40510 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
40512         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
40513         Define __attribute__.
40515 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
40517         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
40518         unused.
40519         * posix/regex_internal.h (__attribute): Remove.
40520         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
40521         (re_string_context_at): Likewise.
40522         (bitset_not): Use __attribute__ and mark function as possibly
40523         unused.
40524         (bitset_merge): Likewise.
40525         (bitset_mask): Likewise.
40526         (re_string_char_size_at): Likewise.
40527         (re_string_wchar_at): Likewise.
40528         (re_string_elem_size_at): Likewise.
40530 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
40532         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
40533         code.
40534         (cc32): Likewise.
40536         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
40537         (__acr): Likewise.
40538         (__cpy): Likewise.
40539         (norm): Likewise.
40540         (denorm): Likewise.
40541         (__dbl_mp): Likewise.
40542         (add_magnitudes): Likewise.
40543         (sub_magnitudes): Likewise.
40544         (__mul): Likewise.
40545         (__inv): Likewise.
40547         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
40548         style.
40550         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
40551         style.
40553         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
40554         code.
40556         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
40557         up changes with default code.
40558         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
40559         Likewise.
40561 2013-02-24  Allan McRae  <allan@archlinux.org>
40563         * manual/socket.texi (The Internet Namespace): Order menu items
40564         to match that in the file.
40566         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
40567         node listing of the info page menu.
40569 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
40571         [BZ #13550]
40572         * sysdeps/i386/bp-asm.h: Remove file.
40573         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
40574         (PARMS): Do not use macros from bp-asm.h.
40575         (S1): Likewise.
40576         (S2): Likewise.
40577         (SIZE): Likewise.
40578         (__mpn_add_n): Do not use BP_SYM
40579         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
40580         "bp-asm.h".
40581         (PARMS): Do not use macros from bp-asm.h.
40582         (S1): Likewise.
40583         (SIZE): Likewise.
40584         (__mpn_addmul_1): Do not use BP_SYM
40585         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
40586         "bp-asm.h".
40587         (PARMS): Do not use macros from bp-asm.h.
40588         (SIGMSK): Likewise.
40589         (_setjmp): Likewise.  Do not use BP_SYM.
40590         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
40591         "bp-asm.h".
40592         (PARMS): Do not use macros from bp-asm.h.
40593         (SIGMSK): Likewise.
40594         (setjmp): Likewise.  Do not use BP_SYM.
40595         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
40596         "bp-asm.h".
40597         (PARMS): Do not use macros from bp-asm.h.
40598         (__frexp): Do not use BP_SYM.
40599         (frexp): Likewise.
40600         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
40601         "bp-asm.h".
40602         (PARMS): Do not use macros from bp-asm.h.
40603         (__frexpf): Do not use BP_SYM.
40604         (frexpf): Likewise.
40605         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
40606         "bp-asm.h".
40607         (PARMS): Do not use macros from bp-asm.h.
40608         (__frexpl): Do not use BP_SYM.
40609         (frexpl): Likewise.
40610         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
40611         "bp-asm.h".
40612         (PARMS): Do not use macros from bp-asm.h.
40613         (__remquo): Do not use BP_SYM.
40614         (remquo): Likewise.
40615         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
40616         "bp-asm.h".
40617         (PARMS): Do not use macros from bp-asm.h.
40618         (__remquof): Do not use BP_SYM.
40619         (remquof): Likewise.
40620         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
40621         "bp-asm.h".
40622         (PARMS): Do not use macros from bp-asm.h.
40623         (__remquol): Do not use BP_SYM.
40624         (remquol): Likewise.
40625         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
40626         "bp-asm.h".
40627         (PARMS): Do not use macros from bp-asm.h.
40628         (DEST): Likewise.
40629         (SRC): Likewise.
40630         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
40631         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
40632         "bp-asm.h".
40633         (PARMS): Do not use macros from bp-asm.h.
40634         (strlen): Do not use BP_SYM.
40635         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
40636         "bp-asm.h".
40637         (PARMS): Do not use macros from bp-asm.h.
40638         (S1): Likewise.
40639         (S2): Likewise.
40640         (SIZE): Likewise.
40641         (__mpn_add_n): Do not use BP_SYM.
40642         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
40643         "bp-asm.h".
40644         (PARMS): Do not use macros from bp-asm.h.
40645         (S1): Likewise.
40646         (SIZE): Likewise.
40647         (__mpn_addmul_1): Do not use BP_SYM.
40648         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
40649         weak_alias.
40650         (bzero): Likewise.
40651         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
40652         "bp-asm.h".
40653         (PARMS): Do not use macros from bp-asm.h.
40654         (S): Likewise.
40655         (SIZE): Likewise.
40656         (__mpn_lshift): Do not use BP_SYM.
40657         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
40658         "bp-asm.h".
40659         (PARMS): Do not use macros from bp-asm.h.
40660         (DEST): Likewise.
40661         (SRC): Likewise.
40662         (LEN): Likewise.
40663         (memcpy): Likewise.  Do not use BP_SYM.
40664         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
40665         libc_hidden_def and weak_alias.
40666         (mempcpy): Do not use BP_SYM in weak_alias.
40667         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
40668         "bp-asm.h".
40669         (PARMS): Do not use macros from bp-asm.h.
40670         (DEST): Likewise.
40671         (LEN): Likewise.
40672         [!BZERO_P] (CHR): Likewise.
40673         (memset): Likewise.  Do not use BP_SYM.
40674         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
40675         "bp-asm.h".
40676         (PARMS): Do not use macros from bp-asm.h.
40677         (S1): Likewise.
40678         (SIZE): Likewise.
40679         (__mpn_mul_1): Do not use BP_SYM.
40680         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
40681         "bp-asm.h".
40682         (PARMS): Do not use macros from bp-asm.h.
40683         (S): Likewise.
40684         (SIZE): Likewise.
40685         (__mpn_rshift): Do not use BP_SYM.
40686         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
40687         "bp-asm.h".
40688         (PARMS): Do not use macros from bp-asm.h.
40689         (STR): Likewise.
40690         (CHR): Likewise.
40691         (strchr): Likewise.  Do not use BP_SYM.
40692         (index): Do not use BP_SYM in weak_alias.
40693         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
40694         "bp-asm.h".
40695         (PARMS): Do not use macros from bp-asm.h.
40696         (DEST): Likewise.
40697         (SRC): Likewise.
40698         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
40699         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
40700         "bp-asm.h".
40701         (PARMS): Do not use macros from bp-asm.h.
40702         (strlen): Do not use BP_SYM.
40703         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
40704         "bp-asm.h".
40705         (PARMS): Do not use macros from bp-asm.h.
40706         (S1): Likewise.
40707         (S2): Likewise.
40708         (SIZE): Likewise.
40709         (__mpn_sub_n): Do not use BP_SYM.
40710         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
40711         "bp-asm.h".
40712         (PARMS): Do not use macros from bp-asm.h.
40713         (S1): Likewise.
40714         (SIZE): Likewise.
40715         (__mpn_submul_1): Do not use BP_SYM.
40716         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
40717         "bp-asm.h".
40718         (PARMS): Do not use macros from bp-asm.h.
40719         (S1): Likewise.
40720         (S2): Likewise.
40721         (SIZE): Likewise.
40722         (__mpn_add_n): Do not use BP_SYM.
40723         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
40724         weak_alias.
40725         (bzero): Likewise.
40726         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
40727         "bp-asm.h".
40728         (PARMS): Do not use macros from bp-asm.h.
40729         (BLK2): Likewise.
40730         (LEN): Likewise.
40731         (memcmp): Do not use BP_SYM.
40732         (bcmp): Do not use BP_SYM in weak_alias.
40733         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
40734         "bp-asm.h".
40735         (PARMS): Do not use macros from bp-asm.h.
40736         (DEST): Likewise.
40737         (SRC): Likewise.
40738         (LEN): Likewise.
40739         (memcpy): Likewise.  Do not use BP_SYM.
40740         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
40741         "bp-asm.h".
40742         (PARMS): Do not use macros from bp-asm.h.
40743         (DEST): Likewise.
40744         (SRC): Likewise.
40745         (LEN): Likewise.
40746         (memmove): Likewise.  Do not use BP_SYM.
40747         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
40748         "bp-asm.h".
40749         (PARMS): Do not use macros from bp-asm.h.
40750         (DEST): Likewise.
40751         (SRC): Likewise.
40752         (LEN): Likewise.
40753         (__mempcpy): Likewise.  Do not use BP_SYM.
40754         (mempcpy): Do not use BP_SYM in weak_alias.
40755         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
40756         "bp-asm.h".
40757         (PARMS): Do not use macros from bp-asm.h.
40758         (DEST): Likewise.
40759         (LEN): Likewise.
40760         [!BZERO_P] (CHR): Likewise.
40761         (memset): Likewise.  Do not use BP_SYM.
40762         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
40763         "bp-asm.h".
40764         (PARMS): Do not use macros from bp-asm.h.
40765         (STR2): Likewise.
40766         (strcmp): Do not use BP_SYM.
40767         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
40768         "bp-asm.h".
40769         (PARMS): Do not use macros from bp-asm.h.
40770         (STR): Likewise.
40771         (DELIM): Likewise.
40772         [USE_AS_STRTOK_R] (SAVE): Likewise.
40773         (FUNCTION): Likewise.  Do not use BP_SYM.
40774         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
40775         aliases.
40776         (strtok_r): Likewise.
40777         (__GI___strtok_r): Likewise.
40778         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
40779         (PARMS): Do not use macros from bp-asm.h.
40780         (S): Likewise.
40781         (SIZE): Likewise.
40782         (__mpn_lshift): Do not use BP_SYM.
40783         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
40784         (PARMS): Do not use macros from bp-asm.h.
40785         (STR): Likewise.
40786         (CHR): Likewise.
40787         (__memchr): Do not use BP_SYM.
40788         (memchr): Do not use BP_SYM in weak_alias.
40789         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
40790         (PARMS): Do not use macros from bp-asm.h.
40791         (BLK2): Likewise.
40792         (LEN): Likewise.
40793         (memcmp): Do not use BP_SYM.
40794         (bcmp): Do not use BP_SYM in weak_alias.
40795         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
40796         (PARMS): Do not use macros from bp-asm.h.
40797         (S1): Likewise.
40798         (SIZE): Likewise.
40799         (__mpn_mul_1): Do not use BP_SYM.
40800         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
40801         "bp-asm.h".
40802         (PARMS): Do not use macros from bp-asm.h.
40803         (STR): Likewise.
40804         (CHR): Likewise.
40805         (__rawmemchr): Do not use BP_SYM.
40806         (rawmemchr): Do not use BP_SYM in weak_alias.
40807         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
40808         (PARMS): Do not use macros from bp-asm.h.
40809         (S): Likewise.
40810         (SIZE): Likewise.
40811         (__mpn_rshift): Do not use BP_SYM.
40812         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
40813         (PARMS): Do not use macros from bp-asm.h.
40814         (SIGMSK): Likewise.
40815         (__sigsetjmp): Likewise.  Do not use BP_SYM.
40816         * sysdeps/i386/start.S: Do not include "bp-sym.h".
40817         (_start): Do not use BP_SYM.
40818         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
40819         (PARMS): Do not use macros from bp-asm.h.
40820         (DEST): Likewise.
40821         (SRC): Likewise.
40822         (__stpcpy): Likewise.  Do not use BP_SYM.
40823         (stpcpy): Do not use BP_SYM in weak_alias.
40824         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
40825         "bp-asm.h".
40826         (PARMS): Do not use macros from bp-asm.h.
40827         (DEST): Likewise.
40828         (SRC): Likewise.
40829         (LEN): Likewise.
40830         (__stpncpy): Likewise.  Do not use BP_SYM.
40831         (stpncpy): Do not use BP_SYM in weak_alias.
40832         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
40833         (PARMS): Do not use macros from bp-asm.h.
40834         (STR): Likewise.
40835         (CHR): Likewise.
40836         (strchr): Likewise.  Do not use BP_SYM.
40837         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
40838         "bp-asm.h".
40839         (PARMS): Do not use macros from bp-asm.h.
40840         (STR): Likewise.
40841         (CHR): Likewise.
40842         (__strchrnul): Likewise.  Do not use BP_SYM.
40843         (strchrnul): Do not use BP_SYM in weak_alias.
40844         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
40845         "bp-asm.h".
40846         (PARMS): Do not use macros from bp-asm.h.
40847         (STOP): Likewise.
40848         (strcspn): Do not use BP_SYM.
40849         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
40850         "bp-asm.h".
40851         (PARMS): Do not use macros from bp-asm.h.
40852         (STR): Likewise.
40853         (STOP): Likewise.
40854         (strpbrk): Likewise.  Do not use BP_SYM.
40855         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
40856         "bp-asm.h".
40857         (PARMS): Do not use macros from bp-asm.h.
40858         (STR): Likewise.
40859         (CHR): Likewise.
40860         (strrchr): Likewise.  Do not use BP_SYM.
40861         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
40862         (PARMS): Do not use macros from bp-asm.h.
40863         (SKIP): Likewise.
40864         (strspn): Do not use BP_SYM.
40865         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
40866         (PARMS): Do not use macros from bp-asm.h.
40867         (STR): Likewise.
40868         (DELIM): Likewise.
40869         (SAVE): Likewise.
40870         (FUNCTION): Likewise.  Do not use BP_SYM.
40871         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
40872         aliases.
40873         (strtok_r): Likewise.
40874         (__GI___strtok_r): Likewise.
40875         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
40876         (PARMS): Do not use macros from bp-asm.h.
40877         (S1): Likewise.
40878         (S2): Likewise.
40879         (SIZE): Likewise.
40880         (__mpn_sub_n): Do not use BP_SYM.
40881         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
40882         "bp-asm.h".
40883         (PARMS): Do not use macros from bp-asm.h.
40884         (S1): Likewise.
40885         (SIZE): Likewise.
40886         (__mpn_submul_1): Do not use BP_SYM.
40887         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
40888         <bp-sym.h>.
40889         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
40890         and <bp-asm.h>.
40891         (PARMS): Do not use macros from bp-asm.h.
40892         (FLAGS): Likewise.
40893         (PTID): Likewise.
40894         (TLS): Likewise.
40895         (CTID): Likewise.
40896         (__clone): Do not use BP_SYM.
40897         (clone): Do not use BP_SYM in weak_alias.
40898         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
40899         and <bp-asm.h>.
40900         (PARMS): Do not use macros from bp-asm.h.
40901         (LEN): Likewise.
40902         (__mmap64): Do not use BP_SYM.
40903         (mmap64): Do not use BP_SYM in weak_alias.
40904         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
40905         <bp-sym.h> and <bp-asm.h>.
40906         (PARMS): Do not use macros from bp-asm.h.
40907         (__posix_fadvise64_l64): Do not use BP_SYM.
40908         * sysdeps/unix/sysv/linux/i386/semtimedop.S
40909         (PARMS): Do not use macros from bp-asm.h.
40910         (NSOPS): Likewise.
40911         (semtimedop): Do not use BP_SYM.
40912         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
40913         and <bp-asm.h>.
40915 2013-02-21  Allan McRae  <allan@archlinux.org>
40917         * manual/message.texi (Charset conversion in gettext):
40918         Move @end statement to beginning of line.
40920 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
40922         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
40923         static.
40924         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
40925         Likewise.
40927         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
40928         (denorm): Likewise.
40929         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
40930         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
40932 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40934         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
40935         tail-call to the resolved function if pltexit isn't needed.
40937 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
40939         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
40940         or Y being zero as being unlikely.
40941         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
40942         Likewise.
40944 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
40946         * manual/nss.texi (System Databases and Name Service Switch):
40947         Remove frobnicate @pxref.
40949 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
40951         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
40952         __attribute__ ((unused)) to __attribute__ ((__unused__)).
40954 2013-02-20  Petr Machata  <pmachata@redhat.com>
40956         * elf/elf.h (R_ARM_TARGET1): New macro.
40957         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
40958         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
40959         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
40960         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
40961         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
40962         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
40963         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
40964         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
40965         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
40966         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
40967         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
40968         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
40969         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
40970         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
40971         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
40972         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
40973         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
40974         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
40975         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
40976         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
40977         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
40978         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
40979         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
40980         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
40981         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
40982         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
40983         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
40984         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
40985         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
40986         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
40987         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
40988         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
40989         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
40990         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
40991         (R_ARM_THM_GOT_BREL12): Likewise.
40992         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
40993         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
40994         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
40995         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
40996         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
40997         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
40998         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
40999         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
41000         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
41002 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
41004         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
41005         __attribute_used__ to __attribute__ ((unused)).
41007 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
41009         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
41010         powerpc mpa.c.
41011         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
41012         comment formatting.
41013         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
41015 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
41017         [BZ #13550]
41018         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
41019         Remove macro.
41020         (ENTER): Remove both macro definitions.
41021         (LEAVE): Likewise.
41022         (CHECK_BOUNDS_LOW): Likewise.
41023         (CHECK_BOUNDS_HIGH): Likewise.
41024         (CHECK_BOUNDS_BOTH): Likewise.
41025         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
41026         (RETURN_BOUNDED_POINTER): Likewise.
41027         (RETURN_NULL_BOUNDED_POINTER): Likewise.
41028         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
41029         (POP_ERRNO_LOCATION_RETURN): Likewise.
41030         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
41031         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
41032         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
41033         macros.
41034         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
41035         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
41036         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
41037         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
41038         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
41039         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
41040         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
41041         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
41042         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
41043         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
41044         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
41045         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
41046         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
41047         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
41048         removed macros.
41049         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
41050         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
41051         macros.
41052         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
41053         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
41054         * sysdeps/i386/i586/memset.S (memset): Likewise.
41055         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
41056         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
41057         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
41058         macros.
41059         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
41060         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
41061         Change uses of L(2) to L(out).
41062         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
41063         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
41064         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
41065         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
41066         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
41067         removed macros.
41068         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
41069         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
41070         macros.
41071         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
41072         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
41073         (RETURN): Do not use macro LEAVE.
41074         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
41075         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
41076         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
41077         * sysdeps/i386/i686/memset.S (memset): Likewise.
41078         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
41079         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
41080         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
41081         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
41082         Likewise.
41083         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
41084         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
41085         L(1_2) and L(1_3) into L(1).
41086         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
41087         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
41088         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
41089         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
41090         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
41091         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
41092         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
41093         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
41094         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
41095         macros.
41096         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
41097         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
41098         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
41099         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
41100         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
41101         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
41102         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
41103         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
41104         * sysdeps/i386/strcspn.S (strcspn): Likewise.
41105         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
41106         * sysdeps/i386/strrchr.S (strrchr): Likewise.
41107         * sysdeps/i386/strspn.S (strspn): Likewise.
41108         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
41109         conditional code.
41110         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
41111         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
41112         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
41113         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
41114         L(1_3) into L(1_1).
41115         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
41116         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
41117         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
41118         macros.
41119         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
41121 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
41123         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
41124         macro.
41126 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
41128         * math/atest-exp.c (exp_mpn): Remove ROUND.
41129         * math/atest-exp2.c (exp_mpn): Likewise.
41130         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
41132         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
41133         * stdlib/tst-tls-atexit-lib.c: Likewise.
41134         * stdlib/tst-tls-atexit.c: Likewise.
41136 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
41138         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
41139         and __attribute_alloc_size__.
41141 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
41143         * include/programs/xmalloc.h: Change __attribute_alloc_size to
41144         __attribute_alloc_size__.
41145         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
41146         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
41148 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
41150         * include/programs/xmalloc.h: New file.
41151         * catgets/gencat.c: Include it.
41152         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
41153         * elf/pldd.c: Likewise.
41154         * iconv/iconv_charmap.c: Likewise.
41155         * iconv/iconvconfig.c: Likewise.
41156         * iconv/strtab.c: Likewise.
41157         * locale/programs/locale.c: Likewise.
41158         * locale/programs/localedef.h: Likewise.
41159         * locale/programs/simple-hash.c: Likewise.
41160         * nscd/nscd.h: Likewise.
41161         * nss/makedb.c: Likewise.
41162         * sysdeps/generic/ldconfig.h: Likewise.
41164 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
41166         * Versions.def: Add GLIBC_2.18.
41167         * include/link.h (struct link_map): New member l_tls_dtor_count.
41168         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
41169         (__call_tls_dtors): Likewise.
41170         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
41171         __cxa_thread_atexit_impl.
41172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41173         Likewise.
41174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41175         Likewise.
41176         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
41177         Likewise.
41178         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
41179         Likewise.
41180         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
41181         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
41182         Likewise.
41183         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
41184         Likewise.
41185         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
41186         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
41187         Likewise.
41188         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
41189         (tests): Add test case tst-tls-atexit.
41190         (modules-names): Add shared library for tst-tls-atexit.
41191         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
41192         (GLIBC_PRIVATE): Add __call_tls_dtors.
41193         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
41194         for libstdc++.
41195         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
41196         * stdlib/tst-tls-atexit.c: New test case.
41197         * stdlib/tst-tls-atexit-lib.c: New test case.
41199         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
41201         * elf/Versions (ld): Add _dl_find_dso_for_object.
41202         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
41203         * elf/dl-open.c (_dl_find_dso_for_object): New function.
41204         (dl_open_worker): Use _dl_find_dso_for_object.
41205         * elf/dl-sym.c (do_sym): Likewise.
41206         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
41208 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41210         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
41211         Syntactic changes only.
41212         (_dl_runtime_profile): Do a tail-call to the resolved function.
41214 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
41216         [BZ #13550]
41217         * sysdeps/x86_64/bp-asm.h: Remove file.
41218         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
41219         <bp-sym.h> and <bp-asm.h>.
41220         (__clone): Do not use BP_SYM.
41221         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
41222         <bp-sym.h> and <bp-asm.h>.
41223         * sysdeps/unix/x86_64/sysdep.S: Likewise.
41224         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
41225         "bp-asm.h".
41226         (_setjmp): Do not use BP_SYM.
41227         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
41228         "bp-asm.h".
41229         (setjmp): Do not use BP_SYM.
41230         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
41231         libc_hidden_def.
41232         (mempcpy): Do not use BP_SYM in weak_alias.
41233         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
41234         "bp-asm.h".
41235         (strchr): Do not use BP_SYM.
41236         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
41237         "bp-asm.h".
41238         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
41239         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
41240         (_start): Do not use BP_SYM.
41241         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
41242         "bp-asm.h".
41243         (strcat): Do not use BP_SYM.
41244         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
41245         "bp-asm.h".
41246         (STRCMP): Do not use BP_SYM.
41247         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
41248         "bp-asm.h".
41249         (STRCPY): Do not use BP_SYM.
41250         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
41251         "bp-asm.h".
41252         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
41253         "bp-asm.h".
41254         (FUNCTION): Do not use BP_SYM.
41255         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
41256         weak_alias.
41257         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
41259 2013-02-17  Andreas Jaeger  <aj@suse.de>
41261         * time/Versions: Sort entries.
41262         * string/Versions: Likewise.
41263         * resolv/Versions: Likewise.
41264         * posix/Versions: Likewise.
41265         * iconv/Versions: Likewise.
41266         * elf/Versions: Likewise.
41267         * wcsmbs/Versions: Likewise.
41269 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
41271         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
41272         loop termination condition.
41274         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
41275         variable to calculate EZ.
41276         (__sqr): Likewise.
41278         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
41279         the lower precision input.
41281 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
41283         [BZ #13550]
41284         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
41285         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
41286         (run-via-rtld-prefix): Do not handle %-bp tests.
41287         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
41288         (all-object-suffixes): Remove .ob.
41289         (bppfx): Remove variable.
41290         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
41291         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
41292         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
41293         [$(build-bounded) = yes] (libtype.ob): Likewise.
41294         * Makerules (elide-routines.ob): Remove variable.
41295         (do-tests-clean): Do not handle *-bp.out.
41296         (common-mostlyclean): Do not handle *-bp and *-bp.out.
41297         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
41298         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
41299         (tests): Do not include $(tests-bp.out).
41300         (xtests): Do not include $(xtests-bp.out).
41301         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
41302         [$(build-bounded) = yes] ($(addprefix
41303         $(objpfx),$(binaries-bounded))): Remove rule.
41304         ($(objpfx)%-bp.out): Remove rule.
41305         * config.make.in (build-bounded): Remove variable.
41306         * crypt/Makefile [$(build-bounded) = yes]
41307         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
41308         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
41309         append to variable.
41310         [$(build-bounded) = yes] (install-lib): Likewise.
41311         [$(build-bounded) = yes] (generated): Likewise.
41312         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
41313         Remove rule.
41314         * intl/Makefile [$(build-bounded) = yes]
41315         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
41316         * math/Makefile [$(build-bounded) = yes]
41317         ($(tests:%=$(objpfx)%-bp): Likewise.
41318         * misc/Makefile [$(build-bounded) = yes]
41319         ($(objpfx)tst-tsearch-bp): Likewise.
41320         * nptl/Makeconfig (bounded-thread-library): Remove variable.
41321         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
41322         Remove dependency.
41323         * string/Makefile (o-objects.ob): Remove variable.
41324         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
41325         (CFLAGS-.ob): Remove variable.
41326         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
41327         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
41328         both definitions of variable.
41329         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
41330         (ASFLAGS-.ob): Remove variable.
41332 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
41334         [BZ #13550]
41335         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
41336         Remove __BOUNDED_POINTERS__ from condition.
41337         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
41338         * string/bits/string2.h [!__NO_STRING_INLINES &&
41339         !__BOUNDED_POINTERS__]: Likewise.
41340         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
41341         Likewise.
41342         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
41343         Remove conditional code.
41344         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
41345         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
41346         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
41347         condition.
41349         [BZ #13550]
41350         * csu/libc-start.c: Do not include <bp-sym.h>.
41351         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
41352         * elf/dl-open.c: Do not include <bp-sym.h>.
41353         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
41354         * math/fegetenv.c: Do not include <bp-sym.h>.
41355         (fegetenv): Do not use BP_SYM in versioned symbols.
41356         * nptl/sysdeps/pthread/bits/libc-lockP.h
41357         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
41358         <bp-sym.h>.
41359         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41360         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
41361         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41362         (__pthread_mutex_destroy): Likewise.
41363         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41364         (__pthread_mutex_lock): Likewise.
41365         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41366         (__pthread_mutex_trylock): Likewise.
41367         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41368         (__pthread_mutex_unlock): Likewise.
41369         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41370         (__pthread_mutexattr_init): Likewise.
41371         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41372         (__pthread_mutexattr_destroy): Likewise.
41373         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41374         (__pthread_mutexattr_settype): Likewise.
41375         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41376         (__pthread_rwlock_init): Likewise.
41377         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41378         (__pthread_rwlock_destroy): Likewise.
41379         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41380         (__pthread_rwlock_rdlock): Likewise.
41381         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41382         (__pthread_rwlock_tryrdlock): Likewise.
41383         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41384         (__pthread_rwlock_wrlock): Likewise.
41385         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41386         (__pthread_rwlock_trywrlock): Likewise.
41387         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41388         (__pthread_rwlock_unlock): Likewise.
41389         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41390         (__pthread_key_create): Likewise.
41391         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41392         (__pthread_setspecific): Likewise.
41393         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41394         (__pthread_getspecific): Likewise.
41395         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
41396         Likewise.
41397         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41398         (_pthread_cleanup_push_defer): Likewise.
41399         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41400         (_pthread_cleanup_pop_restore): Likewise.
41401         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41402         (pthread_setcancelstate): Likewise.
41403         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
41404         <bp-sym.h>.
41405         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
41406         (memchr): Do not use BP_SYM in weak_alias.
41407         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
41408         (fegetenv): Do not use BP_SYM in versioned symbols.
41409         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
41410         (fesetenv): Do not use BP_SYM in versioned symbols.
41411         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
41412         (feupdateenv): Do not use BP_SYM in versioned symbols.
41413         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
41414         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
41415         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
41416         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
41417         (open64): Do not use BP_SYM in weak_alias.
41418         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
41419         (fegetenv): Do not use BP_SYM in versioned symbols.
41420         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
41421         (fesetenv): Do not use BP_SYM in versioned symbols.
41422         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
41423         (feupdateenv): Do not use BP_SYM in versioned symbols.
41424         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
41425         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
41426         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
41427         (feraiseexcept): Do not use BP_SYM in versioned symbols.
41428         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
41429         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
41430         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
41431         <bp-sym.h>.
41432         (__libc_start_main): Do not use BP_SYM.
41434 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
41436         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
41437         redundant return line.
41438         (norm): Likewise.
41439         (denorm): Likewise.
41440         (dbl_mp): Likewise.
41441         (sub_magnitudes): Likewise.
41442         (__add): Likewise.
41443         (__sub): Likewise.
41444         (__mul): Likewise.
41445         (__inv): Likewise.
41446         (__dvd): Likewise.
41447         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
41448         (norm): Likewise.
41449         (denorm): Likewise.
41450         (dbl_mp): Likewise.
41451         (sub_magnitudes): Likewise.
41452         (__add): Likewise.
41453         (__sub): Likewise.
41454         (__mul): Likewise.
41455         (__inv): Likewise.
41456         (__dvd): Likewise.
41458         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
41459         instead of __mul.
41460         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
41461         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
41462         (cc32): Likewise.
41464         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
41465         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
41466         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
41467         of __mul for squares.
41468         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
41469         function
41470         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
41471         Likewise.
41472         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
41473         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
41475 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
41477         [BZ #13550]
41478         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
41479         code.
41480         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
41481         prototype or function definition.  Rename ubp_* variables and
41482         parameters.  Remove argv definitions conditional on
41483         [__BOUNDED_POINTERS__].
41484         * debug/backtrace.c (__backtrace): Do not use __unbounded.
41485         * elf/dl-runtime.c (_dl_fixup): Likewise.
41486         * include/set-hooks.h (RUN_HOOK): Likewise.
41487         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
41488         definition.
41489         * string/strcpy.c (strcpy): Do not use __unbounded.
41490         * sysdeps/generic/frame.h (struct layout): Likewise.
41491         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
41492         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
41493         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
41494         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
41495         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
41496         (__backtrace): Likewise.
41497         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
41498         use __ptrvalue.
41499         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
41500         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
41501         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
41502         Likewise.
41503         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
41504         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
41505         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
41506         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
41507         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
41508         Do not use __unbounded.
41509         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
41510         Rename __unboundedrlimits parameter to rlimits in prototype.
41511         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
41512         Do not use __unbounded.
41513         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
41514         not use __ptrvalue.
41515         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
41516         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
41517         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
41518         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
41519         __ptrvalue or __unbounded.
41520         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
41521         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
41522         use __unbounded.
41523         (__new_msgctl): Do not use __ptrvalue.
41524         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
41525         __unbounded.
41526         (__libc_msgrcv): Do not use __ptrvalue.
41527         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
41528         startup_info): Do not use __unbounded.
41529         (__libc_start_main): Likewise.  Rename ubp_* variables and
41530         parameters.  Remove argv definitions conditional on
41531         [__BOUNDED_POINTERS__].
41532         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
41533         __ptrvalue.
41534         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
41535         use __unbounded.
41536         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
41537         or __ptrvalue.
41538         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
41539         use __unbounded.
41540         (__new_shmctl): Do not use __ptrvalue.
41541         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
41542         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
41543         Likewise.
41544         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
41545         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
41546         (__libc_sigaction): Likewise.
41547         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
41548         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
41549         Likewise.
41550         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
41552 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
41554         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
41556         * string/mempcpy.c: Implement by calling memcpy.
41558 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
41560         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
41562         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
41563         evaluation.
41565         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
41566         values in the mantissa.
41568         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
41569         minimize writes to Z.
41570         (sub_magnitudes): Simplify code a bit.
41572 2013-02-12  Roland McGrath  <roland@hack.frob.com>
41574         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
41575         from the message.  The linker prefixes all warnings with that already.
41577 2013-02-12  Andreas Schwab  <schwab@suse.de>
41579         [BZ #15078]
41580         * posix/regexec.c (extend_buffers): Add parameter min_len.
41581         (check_matching): Pass minimum needed length.
41582         (clean_state_log_if_needed): Likewise.
41583         (get_subexp): Likewise.
41584         * posix/Makefile (tests): Add bug-regex34.
41585         (bug-regex34-ENV): Define.
41586         * posix/bug-regex34.c: New file.
41588         [BZ #11561]
41589         * posix/regcomp.c (parse_bracket_exp): When looking up collating
41590         elements compare against the byte sequence of it, not its name.
41591         * posix/Makefile (tests): Add bug-regex35.
41592         (bug-regex35-ENV): Define.
41593         * posix/bug-regex35.c: New file.
41595 2013-02-11  Tom de Vries  <tom@codesourcery.com>
41597         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
41598         comment.
41599         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
41600         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
41601         (CHECK_EOL): Add undef.
41603 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
41605         * bits/stdlib-bsearch.h: New file.
41606         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
41607         * stdlib/stdlib.h: Likewise.
41609 2013-02-11  Roland McGrath  <roland@hack.frob.com>
41611         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
41612         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
41613         declaration.
41614         * manual/search.texi (Array Search Function): Add missing const in
41615         lfind prototype.
41616         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
41617         declaration to use rlim_t.
41618         (Basic Scheduling Functions): Remove erroneous const from
41619         sched_getparam prototype.  Remove erroneous * from
41620         sched_get_priority_max and sched_get_priority_min prototypes.
41621         (Resource Usage): Fix summary @comment on vtimes to refer to
41622         sys/vtimes.h rather than vtimes.h.
41623         Add missing *s in vtimes prototype.
41624         (Limits on Resources): Fix ulimit prototype to return long int.
41625         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
41626         prototypes to use long int rather than double.
41627         (BSD Random): Fix initstate and setstate to use char *, not void *.
41628         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
41629         prototype to make second argument 'struct aiocb64 *const[]'.
41630         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
41631         (Status of AIO Operations): Remove erroneous const in aio_return and
41632         aio_return64 prototypes.
41633         (Synchronizing I/O): Fix sync prototype to return void.
41634         * manual/startup.texi (Suboptions): Remove an erroneous const in
41635         getsubopt prototype.
41636         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
41637         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
41638         use size_t rather than int.
41639         (Scanning All Users): Likewise for getpwent_r.
41640         (Setting Groups): Add missing const to setgroups prototype.
41641         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
41642         * manual/socket.texi (Host Names): Fix gethostbyaddr and
41643         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
41644         'const void *' rather than 'const char *'.
41645         (Host Address Functions): Likewise for inet_ntop.
41646         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
41647         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
41648         ssize_t for return value.
41649         (Sending Data): Likewise for send, sendto, sendmsg.
41650         (Socket Option Functions): Add a missing const in setsockopt prototype.
41651         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
41652         use wchar_t for the argument.
41653         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
41654         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
41655         take no arguments.
41656         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
41657         double/float/long double for second argument.
41658         Fix return types of significand, significandf, significandl.
41659         * manual/filesys.texi (Setting Permissions): Use mode_t for second
41660         argument in fchmod prototype.
41661         (File Owner): Use uid_t and gid_t in fchown prototype.
41662         (File Times): Add const to utimes, futimes, and lutimes prototypes.
41663         (Making Special Files): Use mode_t and dev_t in mknod prototype.
41664         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
41665         use 'const struct dirent **' as argument types to CMP function pointer
41666         argument.
41667         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
41668         (File Times): Fix summary magic @comment for struct utimbuf and utime
41669         to refer to utime.h, not time.h.
41670         * manual/string.texi (Argz Functions): Add missing const in
41671         argz_extract and argz_next prototypes.
41672         (Finding Tokens in a String): Likewise for basename.
41673         (String/Array Comparison): Fix typo in wcscasecmp prototype.
41674         (Copying and Concatenation): Fix typo in wmemmove prototype.
41675         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
41676         (Signal Stack): Remove erroneous const in sigstack prototype.
41677         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
41678         prototype.
41679         (Simple Calendar Time): Likewise for stime.
41680         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
41681         prototype.
41682         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
41683         say sys/sysctl.h instead.
41684         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
41685         and vsyslog prototypes.
41687 2013-02-11  Tom de Vries  <tom@codesourcery.com>
41689         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
41690         Remove.
41692 2013-02-11  Roland McGrath  <roland@hack.frob.com>
41694         * misc/sys/mman.h: Fix typo in mremap comment.
41696 2013-02-08  Roland McGrath  <roland@hack.frob.com>
41698         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
41699         the '\0' terminator.
41701 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
41703         [BZ #13550]
41704         * debug/segfault.c: Don't include <bp-checks.h>.
41705         * sysdeps/generic/bp-checks.h: Remove file.
41706         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
41707         (__GETDENTS): Don't use CHECK_N.
41708         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
41709         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
41710         (__getgroups): Don't use CHECK_N.
41711         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
41712         (setgroups): Don't use CHECK_N.
41713         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
41714         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
41715         (__libc_msgrcv): Don't use CHECK_N.
41716         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
41717         (__libc_msgsnd): Don't use CHECK_N.
41718         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
41719         <bp-checks.h>.
41720         (__libc_pread): Don't use CHECK_N.
41721         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
41722         include <bp-checks.h>.
41723         (__libc_pread64): Don't use CHECK_N.
41724         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
41725         include <bp-checks.h>.
41726         (__libc_pwrite): Don't use CHECK_N.
41727         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
41728         include <bp-checks.h>.
41729         (__libc_pwrite64): Don't use CHECK_N.
41730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
41731         <bp-checks.h>.
41732         (__libc_pread): Don't use CHECK_N.
41733         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
41734         include <bp-checks.h>.
41735         (__libc_pread64): Don't use CHECK_N.
41736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
41737         include <bp-checks.h>.
41738         (__libc_pwrite): Don't use CHECK_N.
41739         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
41740         include <bp-checks.h>.
41741         (__libc_pwrite64): Don't use CHECK_N.
41742         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
41743         (do_pread): Don't use CHECK_N.
41744         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
41745         (do_pread64): Don't use CHECK_N.
41746         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
41747         (do_pwrite): Don't use CHECK_N.
41748         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
41749         (do_pwrite64): Don't use CHECK_N.
41750         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
41751         (__libc_readv): Don't use CHECK_N.
41752         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
41753         (semop): Don't use CHECK_N.
41754         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
41755         <bp-checks.h>.
41756         (semtimedop): Don't use CHECK_N.
41757         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
41758         (__libc_pread): Don't use CHECK_N.
41759         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
41760         <bp-checks.h>.
41761         (__libc_pread64): Don't use CHECK_N.
41762         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
41763         <bp-checks.h>.
41764         (__libc_pwrite): Don't use CHECK_N.
41765         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
41766         <bp-checks.h>.
41767         (__libc_pwrite64): Don't use CHECK_N.
41768         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
41769         <bp-checks.h>.
41770         (__libc_msgrcv): Don't use CHECK_N.
41771         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
41772         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
41773         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
41774         (__libc_writev): Don't use CHECK_N.
41776 2013-02-08  Roland McGrath  <roland@hack.frob.com>
41778         * string/strcpy.c: Removed unused variable.
41780         * Makeconfig (+sysdep-includes): Define with := rather than =.
41781         Use an existing include/ subdir of each sysdeps dir before it.
41783 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
41785         * nscd/connection.c (register_traced_file): Comment function.
41786         [HAVE_INOTIFY] (union __inev): Define.
41787         [HAVE_INOTIFY] (inotify_check_files): New function.
41788         [HAVE_INOTIFY] (clear_db_cache): Likewise.
41789         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
41790         clear_db_cache.
41791         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
41793 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
41795         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
41796         loaded if not already and that a failure is permanent.
41798 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
41800         [BZ #15006]
41801         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
41802         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
41804 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
41806         [BZ #13550]
41807         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
41808         (CHECK_1_NULL_OK): Likewise.
41809         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
41810         (__fxstat): Do not use CHECK_1.
41811         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
41812         <bp-checks.h>.
41813         (___fxstat64): Do not use CHECK_1.
41814         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
41815         <bp-checks.h>.
41816         (__fxstatat): Do not use CHECK_1.
41817         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
41818         <bp-checks.h>.
41819         (__fxstatat64): Do not use CHECK_1.
41820         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
41821         <bp-checks.h>.
41822         (__fxstat): Do not use CHECK_1.
41823         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
41824         <bp-checks.h>.
41825         (__fxstatat): Do not use CHECK_1.
41826         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
41827         <bp-checks.h>.
41828         (__getresgid): Do not use CHECK_1.
41829         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
41830         <bp-checks.h>.
41831         (__getresuid): Do not use CHECK_1.
41832         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
41833         <bp-checks.h>.
41834         (__lxstat): Do not use CHECK_1.
41835         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
41836         <bp-checks.h>.
41837         (__old_msgctl): Do not use CHECK_1.
41838         (__new_msgctl): Likewise.
41839         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
41840         <bp-checks.h>.
41841         (__new_setrlimit): Do not use CHECK_1.
41842         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
41843         <bp-checks.h>.
41844         (__old_shmctl): Do not use CHECK_1.
41845         (__new_shmctl): Likewise.
41846         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
41847         <bp-checks.h>.
41848         (__xstat): Do not use CHECK_1.
41849         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
41850         (__lxstat): Do not use CHECK_1.
41851         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
41852         <bp-checks.h>.
41853         (___lxstat64): Do not use CHECK_1.
41854         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
41855         (__old_msgctl): Do not use CHECK_1.
41856         (__new_msgctl): Likewise.
41857         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
41858         <bp-checks.h>.
41859         (__gettimeofday): Do not use CHECK_1.
41860         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
41861         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
41862         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
41863         <bp-checks.h>.
41864         (__gettimeofday): Do not use CHECK_1.
41865         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
41866         (__old_shmctl): Do not use CHECK_1_NULL_OK.
41867         (__new_shmctl): Do not use CHECK_1.
41868         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
41869         <bp-checks.h>.
41870         (do_sigtimedwait): Do not use CHECK_1.
41871         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
41872         <bp-checks.h>.
41873         (do_sigwaitinfo): Do not use CHECK_1.
41874         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
41875         <bp-checks.h>.
41876         (msgctl): Do not use CHECK_1.
41877         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
41878         <bp-checks.h>.
41879         (shmctl): Do not use CHECK_1.
41880         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
41881         (ustat): Do not use CHECK_1.
41882         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
41883         <bp-checks.h>.
41884         (__fxstat): Do not use CHECK_1.
41885         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
41886         <bp-checks.h>.
41887         (__fxstatat): Do not use CHECK_1.
41888         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
41889         <bp-checks.h>.
41890         (__lxstat): Do not use CHECK_1.
41891         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
41892         <bp-checks.h>.
41893         (__xstat): Do not use CHECK_1.
41894         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
41895         (__xstat): Do not use CHECK_1.
41896         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
41897         (___xstat64): Do not use CHECK_1.
41899         [BZ #13550]
41900         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
41901         definitions.
41902         (CHECK_BOUNDS_HIGH): Likewise.
41903         * string/strcpy.c: Do not include <bp-checks.h>.
41904         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
41906 2013-02-07  Roland McGrath  <roland@hack.frob.com>
41908         * nscd/nscd-client.h (__nscd_drop_map_ref):
41909         Add __attribute__ ((unused)).
41910         * nis/nss-nisplus.h (niserr2nss): Likewise.
41912         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
41913         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
41915         * csu/libc-tls.c (init_static_tls, init_slotinfo):
41916         Remove inline keyword.
41917         * include/rounding-mode.h (round_away): Likewise.
41918         * libio/wfileops.c (adjust_wide_data): Likewise.
41919         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
41920         (__m128i_strloadu_tolower): Likewise.
41921         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
41922         (__m128i_strloadu_tolower): Likewise.
41923         * time/mktime.c (ydhms_diff): Likewise.
41924         * locale/elem-hash.h (elem_hash): Likewise.
41925         * locale/setlocale.c (setdata): Likewise.
41926         * posix/regex_internal.h (re_string_char_size_at): Likewise.
41927         (re_string_wchar_at): Likewise.
41928         (bitset_not, bitset_merge, bitset_mask): Likewise.
41929         [!(__GNUC__ > 3)] (inline): Remove macro.
41930         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
41931         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
41932         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
41933         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
41934         * string/memcmp.c (memcmp_bytes): Likewise.
41935         * locale/programs/locarchive.c (compute_hashval): Likewise.
41936         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
41937         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
41938         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
41939         * nss/getent.c (print_rpc, print_protocols): Likewise.
41940         (print_passwd, print_group, print_aliases): Likewise.
41941         * nis/nss-nisplus.h (niserr2nss): Likewise.
41942         * nscd/connections.c (restart_p): Likewise.
41943         Change return type to bool.
41945 2013-02-05  Roland McGrath  <roland@hack.frob.com>
41947         * Makeconfig (all-Depend-files): Add existing
41948         $(sorted-subdirs:=/Depend) files.
41949         (all-subdirs): Remove nss.
41950         * sysdeps/unix/inet/Subdirs: Add it here instead.
41951         * hesiod/Depend: New file.
41953         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
41954         instead of calling alloca.
41956         * io/lseek.c (__lseek): Rename to __libc_lseek.
41957         Define __lseek as an alias.
41959         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
41961 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
41963         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
41964         else clause and remove check for non-standard endianness.
41966 2013-02-04  David S. Miller  <davem@davemloft.net>
41968         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41970 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
41972         [BZ #13550]
41973         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
41974         (__ubp_memchr): Remove prototype.
41975         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
41976         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
41977         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
41978         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
41979         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
41980         Remove alias.
41981         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
41982         (__ubp_memchr): Likewise.
41983         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
41984         (__ubp_memchr): Likewise.
41985         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
41986         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
41987         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
41988         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
41989         CHECK_STRING.
41990         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
41991         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
41992         (__getcwd): Do not use CHECK_STRING.
41993         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
41994         <bp-checks.h>.
41995         (__real_chown): Do not use CHECK_STRING.
41996         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
41997         <bp-checks.h>.
41998         (fchownat): Do not use CHECK_STRING.
41999         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
42000         CHECK_STRING.
42001         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
42002         <bp-checks.h>.
42003         (__lchown): Do not use CHECK_STRING.
42004         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
42005         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
42006         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
42007         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
42008         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
42009         include <bp-checks.h>.
42010         (truncate64): Do not use CHECK_STRING.
42011         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
42012         <bp-checks.h>.
42013         (__real_chown): Do not use CHECK_STRING.
42014         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
42015         <bp-checks.h>.
42016         (__lchown): Do not use CHECK_STRING.
42017         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
42018         <bp-checks.h>.
42019         (__chown): Do not use CHECK_STRING.
42020         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
42021         <bp-checks.h>.
42022         (truncate64): Do not use CHECK_STRING.
42023         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
42024         Likewise.
42025         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
42026         (__xmknod): Do not use CHECK_STRING.
42027         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
42028         <bp-checks.h>.
42029         (__xmknodat): Do not use CHECK_STRING.
42030         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
42031         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
42033 2013-02-04  Andreas Schwab  <schwab@suse.de>
42035         [BZ #14142]
42036         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
42037         * include/netdb.h: Likewise for h_errno.
42038         * elf/tst-stackguard1.c: Include <tls.h>.
42040 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
42042         * elf/link.h (struct link_map): Extend the l_addr comment.
42043         * include/link.h (struct link_map): Likewise.
42045 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
42047         [BZ #13550]
42048         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
42049         (BOUNDED_1): Remove macro.
42050         * debug/backtrace.c: Don't include <bp-checks.h>.
42051         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
42052         (__backtrace): Likewise.
42053         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
42054         <bp-checks.h>.
42055         (__backtrace): Don't use BOUNDED_1.
42056         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
42057         <bp-checks.h>.
42058         (__backtrace): Don't use BOUNDED_1.
42059         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
42060         (__backtrace): Don't use BOUNDED_1.
42061         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
42062         (shmat): Don't use BOUNDED_N.
42064 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
42066         [BZ #13550]
42067         * sysdeps/generic/bp-start.h: Remove file.
42068         * csu/libc-start.c: Don't include <bp-start.h>.
42069         (LIBC_START_MAIN): Set up __environ directly instead of using
42070         INIT_ARGV_and_ENVIRON.
42071         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
42072         <bp-start.h>.
42074         [BZ #13550]
42075         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
42076         definitions.
42077         (CHECK_FCNTL): Likewise.
42078         (CHECK_N_PAGES): Likewise.
42080         [BZ #13550]
42081         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
42082         definitions.
42083         (CHECK_SIGSET_NULL_OK): Likewise.
42084         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
42085         <bp-checks.h>.
42086         (sigpending): Don't use CHECK_SIGSET.
42087         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
42088         <bp-checks.h>.
42089         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
42090         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
42091         <bp-checks.h>.
42092         (do_sigsuspend): Don't use CHECK_SIGSET.
42093         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
42094         use CHECK_SIGSET.
42095         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
42096         (do_sigwait): Don't use CHECK_SIGSET.
42097         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
42098         use CHECK_SIGSET.
42099         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
42100         include <bp-checks.h>.
42101         (sigpending): Don't use CHECK_SIGSET.
42102         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
42103         include <bp-checks.h>.
42104         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
42105         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
42106         <bp-checks.h>.
42107         (sigpending): Don't use CHECK_SIGSET.
42108         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
42109         <bp-checks.h>.
42110         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
42112         [BZ #13550]
42113         * sysdeps/generic/bp-semctl.h: Remove file.
42114         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
42115         <bp-checks.h> and <bp-semctl.h>.
42116         (__old_semctl): Don't use CHECK_SEMCTL.
42117         (__new_semctl): Likewise.
42118         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
42119         and <bp-semctl.h>.
42120         (__old_semctl): Don't use CHECK_SEMCTL.
42121         (__new_semctl): Likewise.
42122         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
42123         <bp-checks.h> and <bp-semctl.h>.
42124         (__old_semctl): Don't use CHECK_SEMCTL.
42125         (__new_semctl): Likewise.
42126         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
42127         <bp-checks.h> and <bp-semctl.h>.
42128         (semctl): Don't use CHECK_SEMCTL.
42130         [BZ #13550]
42131         * Makerules (elide-bp-thunks): Remove variable.
42132         (elide-routines.oS): Don't use $(elide-bp-thunks).
42133         (elide-routines.os): Likewise.
42134         (elide-routines.o): Likewise.
42135         (elide-routines.op): Likewise.
42136         (elide-routines.og): Likewise.
42137         (objects): Don't use $(bp-thunks).
42138         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
42139         include.
42140         (common-generated): Do not add s-proto-bp.d.
42141         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
42142         (int): Likewise.
42143         (typ): Likewise.
42144         Do not generate makefile rules for bounded-pointer thunks.
42145         * sysdeps/generic/bp-thunks.h: Remove file.
42146         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
42147         * sysdeps/unix/s-proto-bp.S: Likewise.
42149         [BZ #15062]
42150         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
42151         parts of result separately when argument is not close to line from
42152         -i to i and one part of argument is small.
42153         * math/k_casinhf.c (__kernel_casinhf): Likewise.
42154         * math/k_casinhl.c (__kernel_casinhl): Likewise.
42155         * math/libm-test.inc (cacos_test): Add more tests.
42156         (casin_test): Likewise.
42157         (casinh_test): Likewise.
42158         * sysdeps/i386/fpu/libm-test-ulps: Update.
42159         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42161 2013-01-31  David S. Miller  <davem@davemloft.net>
42163         * po/de.po: Update from translation team.
42165 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
42167         * time/tzfile.c: Include stdint.h for SIZE_MAX.
42169 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
42171         * configure.in (_AC_PROG_CC_C89): New definition.
42172         * configure: Regenerate.
42174         * configure.in (AC_PROG_CPP): New definition.
42175         * configure: Regenerate.
42177 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
42179         * debug/tst-backtrace.h: New file.
42180         * debug/tst-backtrace2.c: Include tst-backtrace.h.
42181         (ret): Remove variable.
42182         (x): Likewise.
42183         (FAIL): Remove macro.
42184         (NO_INLINE): Likewise.
42185         (fn1): Use match function instead of strstr.
42186         * debug/tst-backtrace3.c: Include tst-backtrace.h.
42187         (ret): Remove variable.
42188         (x): Likewise.
42189         (FAIL): Remove macro.
42190         (NO_INLINE): Likewise.
42191         (fn): Use match function instead of strstr.
42192         * debug/tst-backtrace4.c: Include tst-backtrace.h.
42193         (ret): Remove variable.
42194         (x): Likewise.
42195         (FAIL): Remove macro.
42196         (NO_INLINE): Likewise.
42197         (handle_signal): Use match function instead of strstr.
42198         * debug/tst-backtrace5.c: Include tst-backtrace.h.
42199         (ret): Remove variable.
42200         (x): Likewise.
42201         (FAIL): Remove macro.
42202         (NO_INLINE): Likewise.
42203         (handle_signal): Use match function instead of strstr.
42205 2013-01-23  Roland McGrath  <roland@hack.frob.com>
42207         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
42209 2013-01-23  David S. Miller  <davem@davemloft.net>
42211         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
42212         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
42213         argument of CAS if possible.
42214         * sysdeps/sparc/sparc64/bits/atomic.h
42215         (__arch_compare_and_exchange_val_32_acq): Likewise.
42216         (__arch_compare_and_exchange_val_64_acq): Likewise.
42218 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
42220         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
42221         * sysdeps/posix/ulimit.c: ... this.
42222         Include <limits.h>.
42223         * sysdeps/unix/bsd/ulimit.c: Remove file.
42225 2013-01-23  Adam Conrad  <adconrad@0c3.net>
42227         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
42228         (LDFLAGS-tst-array5): Likewise.
42230 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
42232         [BZ #15036]
42233         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
42234         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
42235         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
42236         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
42238 2013-01-21  David S. Miller  <davem@davemloft.net>
42240         * sysdeps/sparc/backtrace.c: New file.
42241         * sysdeps/sparc/sparc32/backtrace.h: New file.
42242         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
42243         * sysdeps/sparc/sparc64/backtrace.h: New file.
42244         * sysdeps/sparc/sparc64/backtrace.c: Delete.
42245         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
42246         -funwind-tables.
42248 2013-01-21  Andreas Schwab  <schwab@suse.de>
42250         [BZ #15020]
42251         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
42252         closed its stdout.
42254 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
42256         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
42257         "mpa2.h".
42258         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
42260 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
42261             Mark Mitchell  <mark@codesourcery.com>
42262             Tom de Vries  <tom@codesourcery.com>
42263             Paul Pluzhnikov  <ppluzhnikov@google.com>
42265         * debug/tst-backtrace2.c: New file.
42266         * debug/tst-backtrace3.c: Likewise.
42267         * debug/tst-backtrace4.c: Likewise.
42268         * debug/tst-backtrace5.c: Likewise.
42269         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
42270         (CFLAGS-tst-backtrace3.c): Likewise.
42271         (CFLAGS-tst-backtrace4.c): Likewise.
42272         (CFLAGS-tst-backtrace5.c): Likewise.
42273         (LDFLAGS-tst-backtrace2): Likewise.
42274         (LDFLAGS-tst-backtrace3): Likewise.
42275         (LDFLAGS-tst-backtrace4): Likewise.
42276         (LDFLAGS-tst-backtrace5): Likewise.
42277         (tests): Add new tests tst-backtrace2, tst-backtrace3,
42278         tst-backtrace4 and tst-backtrace5.
42280 2013-01-18  Anton Blanchard  <anton@samba.org>
42281             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
42283         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
42284         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
42285         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
42286         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
42287         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
42288         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
42289         "+r" and remove output regs list as redundant.  Add explicit inline
42290         asm to specify register of return val to work around compiler codegen
42291         bug.  Remove (int) cast on return value.  Add return type parameter to
42292         use in macro so that this macro does not truncate return value for
42293         64-bit values.
42294         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
42295         pass to INTERNAL_VSYSCALL_NCS.
42296         (INLINE_VSYSCALL): Add 'long int' as return type to
42297         INTERNAL_VSYSCALL_NCS macro invocation.
42298         (INTERNAL_VSYSCALL): Add 'long int' as return type to
42299         INTERNAL_VSYSCALL_NCS macro invocation.
42300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
42302 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
42304         [BZ #14496]
42305         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
42306         Fix application of SIMD FP exception mask.
42308         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
42309         mp_no from a power of two.
42310         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
42311         __mpexp_twomm1.  Use __pow_mp.
42313         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
42314         multiplication.
42316 2013-01-17  David S. Miller  <davem@davemloft.net>
42318         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42320 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
42322         [BZ #15023]
42323         * include/complex.h: Condition contents on [!_COMPLEX_H].
42324         (__kernel_casinhf): New prototype.
42325         (__kernel_casinh): Likewise.
42326         (__kernel_casinhl): Likewise.
42327         * math/Makefile (libm_calls): Add k_casinh.
42328         * math/k_casinh.c: New file.
42329         * math/k_casinhf.c: Likewise.
42330         * math/k_casinhl.c: Likewise.
42331         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
42332         finite nonzero arguments.
42333         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
42334         finite nonzero arguments.
42335         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
42336         finite nonzero arguments.
42337         * math/s_casinh.c: Do not include <float.h>.
42338         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
42339         * math/s_casinhf.c: Do not include <float.h>.
42340         (__casinhf): Move code for finite nonzero arguments to
42341         k_casinhf.c.
42342         * math/s_casinhl.c: Do not include <float.h>.
42343         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
42344         redefine.
42345         (__casinhl): Move code for finite nonzero arguments to
42346         k_casinhl.c.
42347         * math/libm-test.inc (cacos_test): Add more tests.
42348         * sysdeps/i386/fpu/libm-test-ulps: Update.
42349         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42351 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
42353         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
42354         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
42355         [!HAVE_MREMAP]: Remove [defined linux] case.
42356         * malloc/arena.c: Do not include <malloc-sysdep.h>.
42358 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
42360         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
42362 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
42364         * elf/elf.h (R_386_SIZE32): New relocation.
42365         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
42366         R_386_SIZE32.
42367         (elf_machine_rela): Likewise.
42368         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
42369         R_X86_64_SIZE64 and R_X86_64_SIZE32.
42371 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
42373         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
42374         (FP_FAST_FMA): Do not define.
42375         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
42376         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
42377         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
42378         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
42379         !_SOFT_FLOAT]: Likewise.
42380         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
42381         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
42382         value.
42383         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
42384         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
42385         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
42386         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
42387         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
42388         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
42389         file.
42391 2013-01-16  Andreas Schwab  <schwab@suse.de>
42393         [BZ #14327]
42394         * include/stdlib.h (__mktemp): Add declaration.
42395         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
42396         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
42398 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
42400         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
42401         definitions.
42402         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
42403         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
42404         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
42405         definitions here.
42406         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
42407         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
42408         definitions.
42409         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
42410         and ONE.
42411         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
42412         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
42413         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
42414         definitions.
42415         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
42416         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
42417         definitions.
42418         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
42420         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
42422 2013-01-15  David S. Miller  <davem@davemloft.net>
42424         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
42425         trunc{,f} to libm-sysdep_routes.
42426         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
42427         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
42428         file.
42429         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
42430         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
42431         file.
42432         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
42433         file.
42434         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
42435         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
42436         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
42437         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
42438         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
42439         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
42440         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
42441         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
42443         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
42444         nearbyint{,f} to libm-sysdep_routes.
42445         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
42446         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
42447         New file.
42448         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
42449         file.
42450         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
42451         New file.
42452         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
42453         file.
42454         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
42455         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
42456         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
42457         file.
42458         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
42459         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
42460         file.
42461         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
42462         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
42463         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
42465         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
42466         libc_feholdexcept and libc_fesetenv.
42468 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
42470         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
42472 2013-01-14  David S. Miller  <davem@davemloft.net>
42474         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
42475         (SPARC_ASM_VIS2_IFUNC): Likewise.
42476         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
42477         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
42478         use of 'siam' instruction.
42479         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
42480         Likewise.
42481         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
42482         Likewise.
42483         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
42484         Likewise.
42485         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
42486         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
42487         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
42488         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
42489         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
42490         file.
42491         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
42492         file.
42493         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
42494         file.
42495         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
42496         file.
42497         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
42498         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
42499         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
42500         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
42501         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
42502         new VIS2 routines.
42503         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
42504         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
42505         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
42506         Likewise.
42507         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
42508         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
42509         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
42510         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
42511         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
42512         routines to libm-sysdep_routines.
42513         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
42515         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
42516         fdim/fdimf to libm-sysdep_routines.
42517         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
42518         file.
42519         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
42520         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
42521         file.
42522         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
42523         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
42524         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
42525         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
42526         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
42527         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
42528         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
42530 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
42532         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
42533         to optimize copies.
42535         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
42536         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
42537         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
42539         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
42540         local variable MPTWO.
42541         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
42542         Likewise.
42544 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
42546         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
42547         GLOB_NOESCAPE.
42549 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
42551         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
42553 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
42555         * manual/pattern.texi (glob_t): Document gl_flags.
42556         (glob64_t): Likewise.
42558 2013-01-11  David S. Miller  <davem@davemloft.net>
42560         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
42561         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
42562         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
42563         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
42564         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
42565         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
42566         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
42567         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
42568         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
42569         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
42570         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
42571         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
42572         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
42574         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
42575         sparc V9 rather than using V8 code.
42576         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
42577         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
42579         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
42580         Move to...
42581         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
42582         Here.
42584 2013-01-11  Roland McGrath  <roland@hack.frob.com>
42586         [BZ #14941]
42587         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
42588         not in the main loop.
42589         * configure: Regenerated.
42591 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
42593         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
42594         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
42595         to just #else.
42596         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
42597         [!__GLIBC_HAVE_LONG_LONG] case.
42598         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
42599         condition to just #else.
42600         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
42601         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
42602         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
42603         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
42604         unconditional.
42605         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
42606         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
42607         #elif condition to just #else.
42608         * sysdeps/unix/sysv/linux/sys/sysmacros.h
42609         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
42610         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
42611         #elif condition to just #else.
42613 2013-01-11  Steve Ellcey  <sellcey@mips.com>
42615         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
42616         (EF_MIPS_ARCH_64): Fix value.
42617         (EF_MIPS_ARCH_32R2): New.
42618         (EF_MIPS_ARCH_64R2): New.
42620 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
42622         * Makeconfig (+link-pie-before-libc): New.
42623         (+link-pie-after-libc): Likewise.
42624         (+link-pie-tests): Likewise.
42625         (+link-pie): Rewritten.
42626         (link-before-libc): Remove $(config-LDFLAGS).
42627         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
42628         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
42629         (config-LDFLAGS): Renamed to ...
42630         (rtld-LDFLAGS): This.
42631         (rtld-tests-LDFLAGS): New macro.
42632         (link-libc-rpath-link): Likewise.
42633         (link-libc-tests-rpath-link): Likewise.
42634         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
42635         (link-libc): Prepand $(link-libc-rpath-link).
42636         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
42637         (test-program-prefix): New macro.
42638         (test-via-rtld-prefix): Likewise.
42639         (test-program-cmd): Likewise.
42640         (host-test-program-cmd): Likewise.
42641         * Makefile ($(common-objpfx)testrun.sh): Replace
42642         $(run-program-prefix) with $(test-program-prefix).
42643         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
42644         $(rtld-LDFLAGS).
42645         ($(common-objpfx)shlib.lds): Likewise.
42646         (build-module-helper): Likewise.
42647         ($(common-objpfx)format.lds): Likewise.
42648         * Rules (binaries-pie-tests): New.
42649         (binaries-pie-notests): Likewise.
42650         (binaries-pie): Rewritten.
42651         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
42652         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
42653         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
42654         (make-test-out): Replace $(host-built-program-cmd) with
42655         $(host-test-program-cmd).
42656         * config.make.in (build-hardcoded-path-in-tests): New variable.
42657         * configure.in (--enable-hardcoded-path-in-tests): New configure
42658         option.
42659         (hardcoded_path_in_tests): New AC_SUBST.
42660         * configure: Regenerated.
42661         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
42662         $(built-program-cmd) with $(test-program-cmd).
42663         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
42664         (test_program_cmd): This.
42665         * elf/Makefile ($(objpfx)order.out): Run test with
42666         $(test-program-prefix).
42667         ($(objpfx)order2.out): Likewise.
42668         ($(objpfx)tst-initorder.out): Likewise.
42669         ($(objpfx)tst-initorder2.out): Likewise.
42670         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
42671         $(test-program-cmd).
42672         ($(objpfx)tst-array1-static.out): Likewise.
42673         ($(objpfx)tst-array2.out): Likewise.
42674         ($(objpfx)tst-array3.out): Likewise.
42675         ($(objpfx)tst-array4.out): Likewise.
42676         ($(objpfx)tst-array5.out): Likewise.
42677         ($(objpfx)tst-array5-static.out): Likewise.
42678         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
42679         $(test-program-cmd).
42680         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
42681         $(run-program-prefix) with $(test-program-prefix).
42682         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
42683         (test_program_prefix): This.
42684         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
42685         $(run-program-prefix) with $(test-program-prefix).
42686         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
42687         (test_program_prefix): This.
42688         * iconvdata/tst-tables.sh: Likewise.
42689         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
42690         $(run-program-prefix) with $(test-program-prefix).
42691         ($(objpfx)tst-translit.out): Likewise.
42692         ($(objpfx)tst-gettext2.out): Likewise.
42693         ($(objpfx)tst-gettext4.out): Likewise.
42694         ($(objpfx)tst-gettext6.out): Likewise.
42695         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
42696         (test_program_prefix): This.
42697         * intl/tst-gettext2.sh: Likewise.
42698         * intl/tst-gettext4.sh  Likewise.
42699         * intl/tst-gettext6.sh: Likewise.
42700         * intl/tst-translit.sh: Likewise.
42701         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
42702         with $(test-program-cmd).
42703         * libio/Makefile ($(objpfx)test-freopen.out): Replace
42704         $(run-program-prefix) with $(test-program-prefix).
42705         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
42706         (test_program_prefix): This.
42707         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
42708         $(run-program-prefix) with $(test-program-prefix).
42709         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
42710         (test_program_prefix): This.
42711         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
42712         * posix/Makefile ($(objpfx)globtest.out): Replace
42713         $(run-via-rtld-prefix) and $(test-wrapper) with
42714         $(test-program-prefix) and $(test-via-rtld-prefix).
42715         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
42716         $(test-program-prefix).
42717         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
42718         $(host-test-program-cmd).
42719         (tst-spawn-ARGS): Likewise.
42720         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
42721         $(test-program-prefix).
42722         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
42723         (test_via_rtld_prefix): This.
42724         (test_wrapper): Renamed to ...
42725         (test_program_prefix): This.
42726         (run_program_prefix): Replaced by test_program_prefix.
42727         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
42728         (test_program_prefix): This.
42729         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
42730         with $(host-test-program-cmd).
42731         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
42732         $(run-program-prefix) with $(test-program-prefix).
42733         ($(objpfx)tst-printf.out): Likewise.
42734         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
42735         $(test-program-cmd).
42736         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
42737         (test_program_prefix): This.
42738         * stdio-common/tst-unbputc.sh: Likewise.
42739         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
42740         $(run-program-prefix) with $(test-program-prefix).
42741         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
42742         (test_program_prefix): This.
42743         * string/Makefile ($(objpfx)tst-svc.out):  Replace
42744         $(built-program-cmd) with $(test-program-cmd).
42746 2013-01-11  Andreas Jaeger  <aj@suse.de>
42748         [BZ #15003]
42749         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
42750         value. Sync with Linux 3.7.
42752 2013-01-10  David S. Miller  <davem@davemloft.net>
42754         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
42755         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
42756         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
42758 2013-01-10  Roland McGrath  <roland@hack.frob.com>
42760         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
42761         never set.
42762         * configure: Regenerated.
42764 2013-01-10  David S. Miller  <davem@davemloft.net>
42766         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
42767         sparc V9 rather than using V8 code.
42768         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
42769         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
42771 2013-01-10  Roland McGrath  <roland@hack.frob.com>
42773         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
42774         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
42775         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
42776         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
42777         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
42778         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
42779         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
42780         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
42781         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
42782         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
42783         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
42784         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
42785         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
42786         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
42787         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
42788         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
42789         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
42790         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
42791         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
42792         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
42793         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
42794         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
42795         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
42796         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
42797         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
42798         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
42799         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
42801 2013-01-10  David S. Miller  <davem@davemloft.net>
42803         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42805 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
42807         * posix/Makefile (tests-static): New variable.
42808         (tests): Add $(tests-static).
42809         (tst-exec-static-ARGS): New variable.
42810         (tst-spawn-static-ARGS): Likewise.
42811         * posix/tst-exec-static.c: New file.
42812         * posix/tst-spawn-static.c: Likewise.
42813         * posix/tst-exec.c: Support run directly.
42814         * posix/tst-spawn.c: Likewise.
42816 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
42818         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
42819         long.
42820         * math/bits/mathcalls.h (llrint): Likewise.
42821         (llround): Likewise.
42822         * stdlib/stdlib.h (struct drand48_data): Likewise.
42823         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
42824         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
42825         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
42826         Likewise.
42827         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
42828         Likewise.
42829         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
42830         (elf_greg_t): Likewise.
42831         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
42832         (__jmp_buf): Likewise.
42833         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
42834         definitions.
42835         (llrint): Likewise, for all definitions.
42836         (llrintl): Likewise.
42838         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
42839         Remove [__GNUC__] condition.
42840         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
42841         condition to just [__USE_ISOC99].
42842         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
42844 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
42846         [BZ #14200]
42847         * sysdeps/unix/sysv/linux/x86/bits/environments.h
42848         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
42849         defined.
42850         (_POSIX_V6_ILP32_OFF32): Likewise.
42851         (_XBS5_ILP32_OFF32): Likewise.
42852         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
42853         (__ILP32_OFFBIG_LDFLAGS): Likewise.
42855 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
42857         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
42859         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
42860         doubles __mpexp_twomm1.  Adjust usage.
42861         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
42862         Remove.
42864 2013-01-10  Andreas Schwab  <schwab@suse.de>
42866         [BZ #14964]
42867         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
42868         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
42870 2013-01-09  David S. Miller  <davem@davemloft.net>
42872         [BZ #15003]
42873         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
42874         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
42875         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
42876         (TCP_FASTOPEN): Define.
42877         (tcp_repair_opt): New structure.
42878         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
42879         enum values.
42880         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
42881         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
42882         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
42883         (tcp_cookie_transactions): New structure.
42885 2013-01-09  Anton Blanchard  <anton@samba.org>
42887         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
42888         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
42889         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
42890         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
42892 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
42894         * include/features.h (__USE_ANSI): Remove.
42896 2013-01-09  Roland McGrath  <roland@hack.frob.com>
42898         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
42900         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
42902 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
42904         * sysdeps/s390/fpu/libm-test-ulps: Update.
42906         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42908         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
42909         (__acr): Likewise.
42910         (__cpy): Likewise.
42911         (norm): Likewise.
42912         (denorm): Likewise.
42913         (__mp_dbl): Likewise.
42914         (__dbl_mp): Likewise.
42915         (add_magnitudes): Likewise.
42916         (sub_magnitudes): Likewise.
42917         (__add): Likewise.
42918         (__sub): Likewise.
42919         (__mul): Likewise.
42920         (__inv): Likewise.
42921         (__dvd): Likewise.
42922         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
42923         (__acr): Likewise.
42924         (__cpy): Likewise.
42925         (norm): Likewise.
42926         (denorm): Likewise.
42927         (__mp_dbl): Likewise.
42928         (__dbl_mp): Likewise.
42929         (add_magnitudes): Likewise.
42930         (sub_magnitudes): Likewise.
42931         (__add): Likewise.
42932         (__sub): Likewise.
42933         (__mul): Likewise.
42934         (__inv): Likewise.
42935         (__dvd): Likewise.
42936         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
42937         (__acr): Likewise.
42938         (__cpy): Likewise.
42939         (norm): Likewise.
42940         (denorm): Likewise.
42941         (__mp_dbl): Likewise.
42942         (__dbl_mp): Likewise.
42943         (add_magnitudes): Likewise.
42944         (sub_magnitudes): Likewise.
42945         (__add): Likewise.
42946         (__sub): Likewise.
42947         (__mul): Likewise.
42948         (__inv): Likewise.
42949         (__dvd): Likewise.
42951 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
42953         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
42954         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
42955         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
42956         2 && __USE_EXTERN_INLINES]: Likewise.
42958 2013-01-08  Andreas Jaeger  <aj@suse.de>
42960         [BZ# 14985]
42961         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
42962         Remove.
42963         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
42964         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
42966 2013-01-07  Anton Blanchard  <anton@samba.org>
42968         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
42969         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
42970         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
42971         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
42972         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
42973         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
42974         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
42975         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
42976         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
42977         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
42978         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
42979         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
42980         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
42981         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
42982         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
42983         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
42984         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
42985         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
42986         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
42987         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
42988         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
42989         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
42990         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
42991         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
42992         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
42993         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
42994         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
42995         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
42996         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
42997         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
42998         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
42999         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
43000         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
43001         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
43002         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
43003         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
43004         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
43005         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
43006         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
43007         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
43008         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
43009         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
43010         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
43012 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
43014         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
43015         (__MALLOC_PMT): Likewise.
43016         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
43017         [__GNUC__], only on [_LIBC].
43018         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
43019         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
43020         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
43021         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
43022         forward declaration.
43023         (realloc_hook_ini): Likewise.
43024         (memalign_hook_ini): Likewise.
43025         (__libc_memalign): Do not use __MALLOC_PMT in variable
43026         declaration.
43027         (__libc_valloc): Likewise.
43028         (__libc_pvalloc): Likewise.
43029         (__libc_calloc): Likewise.
43030         (__posix_memalign): Likewise.
43032         [BZ #14996]
43033         * math/s_casinh.c: Include <float.h>.
43034         (__casinh): Do not do computation with squaring and square root
43035         for large arguments.
43036         * math/s_casinhf.c: Include <float.h>.
43037         (__casinhf): Do not do computation with squaring and square root
43038         for large arguments.
43039         * math/s_casinhl.c: Include <float.h>.
43040         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
43041         (__casinhl): Do not do computation with squaring and square root
43042         for large arguments.
43043         * math/libm-test.inc (casin_test): Add more tests.
43044         (casinh_test): Likewise.
43045         * sysdeps/i386/fpu/libm-test-ulps: Update.
43046         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43048 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
43050         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
43051         (__x86_64_raw_data_cache_size): Likewise.
43052         (__x86_64_data_cache_size_half): Likewise.
43053         (__x86_64_raw_data_cache_size_half): Likewise.
43054         (__x86_64_shared_cache_size): Likewise.
43055         (__x86_64_raw_shared_cache_size): Likewise.
43056         (__x86_64_shared_cache_size_half): Likewise.
43057         (__x86_64_raw_shared_cache_size_half): Likewise.
43058         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
43059         to ...
43060         (__x86_data_cache_size): This.
43061         (__x86_64_raw_data_cache_size): Renamed to ...
43062         (__x86_raw_data_cache_size): This.
43063         (__x86_64_data_cache_size_half): Renamed to ...
43064         (__x86_data_cache_size_half): This.
43065         (__x86_64_raw_data_cache_size_half): Renamed to ...
43066         (__x86_raw_data_cache_size_half): This.
43067         (__x86_64_shared_cache_size): Renamed to ...
43068         (__x86_shared_cache_size): This.
43069         (__x86_64_raw_shared_cache_size): Renamed to ...
43070         (__x86_raw_shared_cache_size): This.
43071         (__x86_64_shared_cache_size_half): Renamed to ...
43072         (__x86_shared_cache_size_half): This.
43073         (__x86_64_raw_shared_cache_size_half): Renamed to ...
43074         (__x86_raw_shared_cache_size_half): This.
43075         * sysdeps/x86_64/memcpy.S: Updated.
43076         * sysdeps/x86_64/memset.S: Likewise.
43077         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
43078         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
43079         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
43081 2013-01-04  David S. Miller  <davem@davemloft.net>
43083         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43085 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
43087         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
43088         1 to avoid redefinition warning.
43089         (__USE_GNU): Don't define.
43090         (init_signaling_nan): Protoize.
43092         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43094 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
43096         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
43097         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
43098         (__cpymn): Likewise.
43099         (norm): Remove commented code.
43100         (denorm): Likewise.
43101         (__mp_dbl): Likewise.
43102         (__inv): Likewise.
43103         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
43104         (__cpymn): Likewise.
43105         (norm): Remove commented code.
43106         (denorm): Likewise.
43107         (__mp_dbl): Likewise.
43108         (__inv): Likewise.
43110         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
43111         mp_no value for 1.0 and 2.0.
43112         (norm): Use RADIXI instead of radixi.d.
43113         (denorm): Likewise.
43114         (__mul): Use 0.0 instead of zero.d.
43115         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
43116         mp_no value for 1.0 and 2.0.
43117         (norm): Use RADIXI instead of radixi.d.
43118         (denorm): Likewise.
43119         (__mul): Use 0.0 instead of zero.d.
43121 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
43123         [BZ #14994]
43124         * math/s_casinh.c (__casinh): Reduce finite argument to first
43125         quadrant then set signs of results at the end.
43126         * math/s_casinhf.c (__casinhf): Likewise.
43127         * math/s_casinhl.c (__casinhl): Likewise.
43128         * math/libm-test.inc (casin_test): Add more tests.
43129         (casinh_test): Likewise.
43130         * sysdeps/i386/fpu/libm-test-ulps: Update.
43131         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43133 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
43135         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
43137         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
43139         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
43140         declarations.
43141         (denorm): Likewise.
43142         (__mp_dbl): Likewise.
43143         (__inv): Likewise.
43145         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
43146         and adjust the header comment.
43148         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
43149         variable name from declaration.
43151 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
43153         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43154         Initialize COMMON_CPUID_INDEX_7 element.
43155         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
43156         (CPUID_RTM): Likewise.
43157         (HAS_RTM): Likewise.
43158         (COMMON_CPUID_INDEX_7): New enum.
43160 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
43162         [BZ #14981]
43163         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
43164         size is zero, record memory as freed.
43166 2013-01-03  Andreas Jaeger  <aj@suse.de>
43168         * po/ia.po: Add new Interlingua translation.
43170 2012-01-03  Allan McRae  <allan@archlinux.org>
43172         * locale/programs/localedef.c: Fix description of '--posix' flag.
43174 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
43176         * NEWS: Update dates in second copyright notice.
43177         * README: Update copyright dates in example.
43178         * manual/libc.texinfo: Update copyright dates.
43179         * scripts/test-installation.pl: Update copyright date in --version
43180         output.
43182         * hurd/ctty-input.c: Fix copyright notice formatting.
43183         * hurd/ctty-output.c: Likewise.
43184         * hurd/dtable.c: Likewise.
43185         * hurd/hurd-raise.c: Likewise.
43186         * hurd/hurdprio.c: Likewise.
43187         * hurd/msgportdemux.c: Likewise.
43188         * misc/sys/file.h: Likewise.
43189         * misc/sys/ioctl.h: Likewise.
43190         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
43191         * sysdeps/mach/hurd/chdir.c: Likewise.
43192         * sysdeps/mach/hurd/fchdir.c: Likewise.
43193         * sysdeps/mach/hurd/rename.c: Likewise.
43194         * sysdeps/mach/hurd/rmdir.c: Likewise.
43195         * sysdeps/mach/hurd/seekdir.c: Likewise.
43196         * sysdeps/mach/hurd/setsid.c: Likewise.
43197         * sysdeps/posix/wait3.c: Likewise.
43199         * All files with FSF copyright notices: Update copyright dates
43200         using scripts/update-copyrights.
43201         * intl/plural.c: Regenerated.
43202         * locale/programs/charmap-kw.h: Likewise.
43203         * locale/programs/locfile-kw.h: Likewise.
43205 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
43207         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
43208         four values.
43210         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
43211         calculation loop and add branch prediction.
43213         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
43214         check access beyond bounds of m1np.
43216         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
43217         MPTWO.
43218         (__inv): Remove local variable MPTWO to use the global
43219         constant.
43220         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
43221         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
43222         variable MPTWO.
43223         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
43224         MP3HALFS static const.
43226 2013-01-01  David S. Miller  <davem@davemloft.net>
43228         * po/ca.po: Update from translation team.
43230 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
43232         * scripts/update-copyrights: New file.
43233         * Makeconfig: Reformat copyright notice.
43234         * ctype/ctype.h: Likewise.
43235         * debug/swprintf_chk.c: Likewise.
43236         * elf/dl-cache.c: Likewise.
43237         * elf/dl-debug.c: Likewise.
43238         * elf/dl-object.c: Likewise.
43239         * grp/initgroups.c: Likewise.
43240         * hurd/Makefile: Likewise.
43241         * hurd/hurd/signal.h: Likewise.
43242         * hurd/hurdfault.c: Likewise.
43243         * hurd/hurdioctl.c: Likewise.
43244         * hurd/hurdlookup.c: Likewise.
43245         * hurd/intr-msg.c: Likewise.
43246         * iconv/gconv_open.c: Likewise.
43247         * libio/swprintf.c: Likewise.
43248         * locale/lc-ctype.c: Likewise.
43249         * locale/nl_langinfo.c: Likewise.
43250         * mach/Machrules: Likewise.
43251         * mach/Makefile: Likewise.
43252         * malloc/obstack.h: Likewise.
43253         * manual/Makefile: Likewise.
43254         * manual/tsort.awk: Likewise.
43255         * misc/bits/stab.def: Likewise.
43256         * nis/nis_print_group_entry.c: Likewise.
43257         * nis/nis_table.c: Likewise.
43258         * nis/nss_compat/compat-pwd.c: Likewise.
43259         * nis/nss_compat/compat-spwd.c: Likewise.
43260         * po/Makefile: Likewise.
43261         * posix/fnmatch.c: Likewise.
43262         * posix/regex.h: Likewise.
43263         * resolv/Makefile: Likewise.
43264         * resolv/nss_dns/dns-network.c: Likewise.
43265         * resolv/res_hconf.c: Likewise.
43266         * scripts/gen-sorted.awk: Likewise.
43267         * soft-fp/soft-fp.h: Likewise.
43268         * stdio-common/printf.h: Likewise.
43269         * stdlib/monetary.h: Likewise.
43270         * stdlib/random.c: Likewise.
43271         * stdlib/random_r.c: Likewise.
43272         * sysdeps/generic/Makefile: Likewise.
43273         * sysdeps/gnu/Makefile: Likewise.
43274         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
43275         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43276         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43277         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43278         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43279         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43280         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43281         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
43282         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43283         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43284         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
43285         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
43286         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
43287         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
43288         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
43289         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
43290         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
43291         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43292         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
43293         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43294         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
43295         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
43296         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
43297         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
43298         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
43299         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
43300         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
43301         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
43302         * sysdeps/mach/hurd/errnos.awk: Likewise.
43303         * sysdeps/mach/hurd/fork.c: Likewise.
43304         * sysdeps/mach/hurd/getcwd.c: Likewise.
43305         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
43306         * sysdeps/mach/hurd/mmap.c: Likewise.
43307         * sysdeps/mach/hurd/utimes.c: Likewise.
43308         * sysdeps/mach/hurd/xmknod.c: Likewise.
43309         * sysdeps/posix/profil.c: Likewise.
43310         * sysdeps/posix/readdir_r.c: Likewise.
43311         * sysdeps/powerpc/bits/mathdef.h: Likewise.
43312         * sysdeps/powerpc/bits/setjmp.h: Likewise.
43313         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
43314         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
43315         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
43316         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
43317         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
43318         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
43319         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
43320         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
43321         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
43322         * sysdeps/pthread/lio_listio.c: Likewise.
43323         * sysdeps/sparc/dl-procinfo.h: Likewise.
43324         * sysdeps/unix/i386/sysdep.S: Likewise.
43325         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
43326         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
43327         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
43328         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
43329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
43330         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
43331         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
43332         * sysdeps/unix/sysv/linux/speed.c: Likewise.
43333         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
43334         * sysdeps/wordsize-32/divdi3.c: Likewise.
43335         * time/sys/time.h: Likewise.
43336         * wcsmbs/Makefile: Likewise.
43338 2013-01-01  David S. Miller  <davem@davemloft.net>
43340         * po/fr.po: Update from translation team.
43342         * catgets/gencat.c: Update copyright year.
43343         * csu/version.c: Likewise.
43344         * debug/catchsegv.sh: Likewise.
43345         * debug/pcprofiledump.c: Likewise.
43346         * debug/xtrace.sh: Likewise.
43347         * elf/ldconfig.c: Likewise.
43348         * elf/ldd.bash.in: Likewise.
43349         * elf/pldd.c: Likewise.
43350         * elf/sotruss.ksh: Likewise.
43351         * elf/sprof.c: Likewise.
43352         * iconv/iconv_prog.c: Likewise.
43353         * iconv/iconvconfig.c: Likewise.
43354         * locale/programs/locale.c: Likewise.
43355         * locale/programs/localedef.c: Likewise.
43356         * login/programs/pt_chown.c: Likewise.
43357         * malloc/memusage.sh: Likewise.
43358         * malloc/memusagestat.c: Likewise.
43359         * malloc/mtrace.pl: Likewise.
43360         * nscd/nscd.c: Likewise.
43361         * nss/getent.c: Likewise.
43362         * nss/makedb.c: Likewise.
43363         * posix/getconf.c: Likewise.
43365 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
43367         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
43368         numbers.
43370 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
43372         * math/bits/mathcalls.h (modf): Use __nonnull.
43374 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
43376         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
43377         (split): Use macro CN instead of the bare value.
43378         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
43379         could be used.
43380         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
43381         instead of the bare value.
43382         (power1): Likewise.
43384 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
43386         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
43387         __ATAN_TWOM.
43388         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
43390         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
43391         their values.
43392         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
43393         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
43394         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
43395         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
43397 2012-12-28  Andreas Jaeger  <aj@suse.de>
43399         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
43400         values are from Linux 3.7.
43402         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
43403         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
43405 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
43407         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
43408         TRUE case.
43410         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
43411         (norm): Likewise.
43412         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
43413         variables with preprocessor constants.
43414         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
43415         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
43416         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
43418 2012-12-27  Bruno Haible  <bruno@clisp.org>
43420         [BZ #14317]
43421         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
43422         only if needed.
43424 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
43426         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
43427         and use variable directly.
43428         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
43430         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
43431         MPONE.
43432         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
43433         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
43434         variable MPONE.
43435         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
43436         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
43437         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
43438         include directive.  Remove local variable MPONE.
43439         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
43440         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
43441         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
43443 2012-12-25  David S. Miller  <davem@davemloft.net>
43445         * version.h (RELEASE): Set to "development".
43446         (VERSION): Set to "2.17.90".
43447         * NEWS: Add 2.18 section.
43449 2012-12-21  David S. Miller  <davem@davemloft.net>
43451         * po/hr.po: Update from translation team.
43453 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43455         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
43457 2012-12-19  Steve Ellcey  <sellcey@mips.com>
43459         * NEWS:  Mention new memcpy for MIPS.
43461 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
43463         * manual/contrib.texi (Contributors): Spelling correction.
43465 2012-12-15  David S. Miller  <davem@davemloft.net>
43467         * po/ru.po: Update from translation team.
43469 2012-12-13  David S. Miller  <davem@davemloft.net>
43471         * NEWS: Mention IFUNC testsuite enhancements.
43473         * po/pl.po: Update from translation team.
43474         * po/bg.po: Likewise.
43476         * manual/contrib.texi (Contributors): Update entries for Hongjiu
43477         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
43479 2012-12-11  David S. Miller  <davem@davemloft.net>
43481         * po/sv.po: Update from translation team.
43483         * po/vi.po: Update from translation team.
43485         * po/cs.po: Update from translation team.
43487         * po/de.po: Update from translation team.
43488         * po/eo.po: Likewise.
43489         * po/nl.po: Likewise.
43491 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
43493         [BZ #14246]
43494         * manual/argp.texi (Argp Helper Functions): Move node to follow
43495         Argp Parsing State.
43497         [BZ #14872]
43498         * manual/conf.texi (Limits on File System Capacity): Mention if
43499         terminating null is included in the max size.
43501 2012-12-10  Andreas Jaeger  <aj@suse.de>
43503         * po/cs.po: Update from translation team.
43505 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
43507         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
43508         void pointer and cast to uintptr_t.
43509         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
43510         path.
43511         * sysdeps/s390/s390-64/memcpy.S: Likewise.
43512         * sysdeps/s390/s390-64/memset.S: Likewise.
43514 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
43516         [BZ #14833]
43517         * menual/message.texi (Message Translation): Fix typos.
43518         (Helper programs for gettext): Likewise.
43520 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
43522         [BZ #14898]
43523         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
43524         Change to -1.
43526 2012-12-07  David S. Miller  <davem@davemloft.net>
43528         * po/libc.pot: Update.
43530 2012-12-07  Richard Henderson  <rth@redhat.com>
43532         [BZ #10114]
43533         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
43534         normal/normal case to before the switch.
43535         (_FP_DIV): Likewise.
43537 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
43538             Mike Frysinger  <vapier@gentoo.org>
43540         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
43541         check for __NR_fadvise64_64.
43543 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
43545         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
43546         0, not just to plain "0" as a statement.
43547         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
43548         with cw.
43550 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
43552         * NEWS: Use sourceware.org in Bugzilla URL.
43554 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
43556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
43557         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
43559         * stdio-common/tst-put-error.c (do_test): Add newline to the
43560         padded test to ensure flush.
43562 2012-12-05  Jeff Law  <law@redhat.com>
43564         * sunrpc/etc.rpc (fedfs_admin): Add entry.
43566 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
43568         * README: Don't refer to ports add-on as distributed separately.
43569         Mention AArch64 in list of systems supported in the ports add-on.
43571         * LICENSES: Add more non-FSF copyright and license notices.
43573         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
43574         ((unused)).
43576         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
43578         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
43579         10000 as width of padded output.
43581 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
43583         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
43585         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
43586         variable LX with __attribute__ ((unused)).
43587         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
43588         Likewise.
43589         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
43590         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
43591         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
43592         with __attribute__ ((unused)).
43594 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
43596         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
43598 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
43600         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
43601         (CFLAGS-nldbl-acos.c): New variable.
43602         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
43603         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
43604         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
43605         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
43606         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
43607         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
43608         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
43609         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
43610         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
43611         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
43612         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
43613         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
43614         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
43615         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
43616         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
43617         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
43618         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
43619         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
43620         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
43621         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
43622         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
43623         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
43624         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
43625         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
43626         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
43627         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
43628         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
43629         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
43630         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
43631         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
43632         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
43633         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
43634         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
43635         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
43636         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
43637         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
43638         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
43639         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
43640         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
43641         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
43642         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
43643         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
43644         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
43645         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
43646         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
43647         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
43648         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
43649         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
43650         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
43651         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
43652         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
43653         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
43654         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
43655         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
43656         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
43657         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
43658         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
43659         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
43660         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
43661         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
43662         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
43663         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
43664         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
43665         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
43666         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
43667         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
43668         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
43669         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
43670         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
43671         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
43672         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
43673         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
43674         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
43675         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
43676         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
43677         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
43678         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
43679         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
43680         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
43681         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
43682         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
43683         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
43684         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
43685         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
43686         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
43687         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
43688         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
43689         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
43690         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
43691         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
43692         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
43693         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
43694         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
43695         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
43696         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
43697         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
43698         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
43700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
43701         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
43703         [BZ #14914]
43704         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
43705         whole low double instead of just low 47 bits when splitting values
43706         into two parts.
43708 2012-12-03  Allan McRae  <allan@archlinux.org>
43710         * manual/stdio.texi (Predefined Printf Handlers): Remove
43711         @hsep and @vsep usage.
43713 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
43715         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
43716         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
43718 2012-12-03  Jeff Law  <law@redhat.com>
43720         * time/sys/time.h (settimeofday): Do not mark TV argument
43721         as __nonnull.
43723 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
43725         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
43726         when currently writing and seek to current position when not.
43727         * libio/Makefile (tests): Remove bug-fclose1.
43728         * libio/bug-fclose1.c: Delete.
43730 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
43732         * manual/arith.texi (feenableexcept): Fix typo.
43733         (fedisableexcept): Likewise.
43735 2012-11-30  Roland McGrath  <roland@hack.frob.com>
43737         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
43738         second, differently-typed declaration, rather than a cast.
43740 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
43742         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
43743         * include/rpc/svc.h: ... here.
43745 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
43747         [BZ #13013]
43748         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
43749         depending n and resplen2 to catch cases where answer
43750         equals answerp2.
43752 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
43754         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
43755         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
43757 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
43759         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
43761 2012-11-29  Roland McGrath  <roland@hack.frob.com>
43763         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
43765 2012-11-28  Jeff Law  <law@redhat.com>
43767         [BZ #13761]
43768         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
43769         dataset_temporary.  Track alloca usage into alloca_used.
43770         If dataset is large allocate and release it via malloc/free.
43772 2012-06-04  Florian Weimer  <fweimer@redhat.com>
43774         [BZ #14197]
43775         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
43777 2012-11-28  David S. Miller  <davem@davemloft.net>
43779         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43781 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
43783         [BZ #14803]
43784         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
43785         of pi/2 rounded to nearest to 64 bits.
43786         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
43787         nearest to 64 bits.
43788         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
43789         bits.
43791 2012-11-28  Jeff Law <law@redhat.com>
43792             Martin Osvald <mosvald@redhat.com>
43794         [BZ #14889]
43795         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
43796         * sunrpc/svc.c: Include time.h.
43797         (__svc_accept_failed): New function.
43798         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
43799         any reason other than EINTR, call __svc_accept_failed.
43800         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
43801         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
43803 2012-11-28  Andreas Schwab  <schwab@suse.de>
43805         * scripts/abilist.awk: Also handle indirect functions in .opd
43806         section.
43808 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
43810         [BZ #13881]
43811         * sysdeps/x86/fpu/powl_helper.c: New file.
43812         * sysdeps/x86/fpu/Makefile: Likewise.
43813         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
43814         (p3): New object.
43815         (__ieee754_powl): Use __powl_helper for finite arguments except
43816         integer exponents below 8.
43817         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
43818         (p3): New object.
43819         (__ieee754_powl): Use __powl_helper for finite arguments except
43820         integer exponents below 8.
43821         * math/libm-test.inc (pow_test): Add more tests and enable some
43822         previously disabled tests.
43823         * sysdeps/i386/fpu/libm-test-ulps: Update.
43824         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43826 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
43827             Carlos O'Donell  <carlos_odonell@mentor.com>
43829         * nss/makedb.c (is_prime): Assert that input is odd and greater
43830         than 4.  Note that fact in a comment too.
43831         (next_prime): Add 4 to input.
43833 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
43835         [BZ #11741]
43836         * libio/Makefile (tests): Add test case tst-fwrite-error.
43837         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
43838         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
43839         * libio/tst-fwrite-error.c: New test case.
43841 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
43843         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
43844         before casting to void *.
43845         * include/libc-internal.h (__pointer_type): New macro.
43846         (__integer_if_pointer_type_sub): Likewise.
43847         (__integer_if_pointer_type): Likewise.
43848         (cast_to_integer): Likewise.
43849         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
43850         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
43851         before casting to atomic64_t.
43852         (atomic_exchange_acq): Likewise.
43853         (__arch_exchange_and_add_body): Likewise.
43854         (__arch_add_body): Likewise.
43855         (atomic_add_negative): Likewise.
43856         (atomic_add_zero): Likewise.
43858 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
43860         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
43861         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
43862         (add_fdes): Likewise.
43863         (linear_search_fdes): Likewise.
43864         (binary_search_unencoded_fdes): Likewise.
43866 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
43868         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
43870 2012-11-24  Adam Conrad  <adconrad@0c3.net>
43872         * configure.in: Autodetect C++ header directories.
43873         * configure: Regenerated.
43875 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
43877         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
43879 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
43881         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43883 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
43885         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
43886         LDBL_MANT_DIG == 106]: Disable some tests.
43887         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
43888         Likewise.
43889         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
43890         Likewise.
43892         [BZ #14871]
43893         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
43894         input for small inputs.  Return +/- pi/2 for large inputs.
43895         * math/libm-test.inc (atan_test): Add more tests.
43897         * sysdeps/generic/unwind-dw2-fde-glibc.c
43898         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
43899         __attribute__ ((unused)).
43901         [BZ #14645]
43902         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
43903         x * y if x and y are nonzero and z is zero.
43905         [BZ #14811]
43906         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
43907         nonzero exponents with absolute value below 0x1p-117 to +/-
43908         0x1p-117.
43910         [BZ #14869]
43911         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
43912         up arguments below 2**-450, not just those below 2**-500.
43913         * math/libm-test.inc (hypot_test): Add another test.
43915         [BZ #14868]
43916         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
43917         Return a+b for ratio over 2**120, not 2**60.
43918         * math/libm-test.inc (hypot_test): Add another test.
43920         * math/libm-test.inc (clog_test): Use
43921         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
43922         (clog10_test): Likewise.
43924         [BZ #6778]
43925         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
43927 2012-11-22  Andreas Schwab  <schwab@suse.de>
43929         * sysdeps/i386/fpu/libm-test-ulps: Update.
43931 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
43933         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
43934         printf output with newline.
43936 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
43938         [BZ #14865]
43939         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
43940         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
43941         -z nodlopen, -z initfirst and -z execstack support.
43942         * configure: Regenerated.
43944         * elf/elf.h (DF_1_NODIRECT): New macro.
43945         (DF_1_IGNMULDEF): Likewise.
43946         (DF_1_NOKSYMS): Likewise.
43947         (DF_1_NOHDR): Likewise.
43948         (DF_1_EDITED): Likewise.
43949         (DF_1_NORELOC): Likewise.
43950         (DF_1_SYMINTPOSE): Likewise.
43951         (DF_1_GLOBAUDIT): Likewise.
43952         (DF_1_SINGLETON): Likewise.
43953         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
43954         DT_1_SUPPORTED_MASK bits.
43955         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
43957 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
43959         * sysdeps/unix/make-syscalls.sh: Document prefixes.
43961 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
43963         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
43964         macro.
43966         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
43967         (sendmmsg): Move declarations...
43968         * socket/sys/socket.h: ... here.
43969         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
43970         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
43971         include it from...
43972         * socket/recvmmsg.c: ... this new file.
43973         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
43974         (sendmmsg): Rename to __sendmmsg, create weak alias and make
43975         definition of __sendmmsg hidden.
43976         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
43977         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
43978         Move ENOSYS stub into and include it from...
43979         * socket/sendmmsg.c: ... this new file.
43980         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
43981         (sysdep_routines): Move recvmmsg and sendmmsg...
43982         * socket/Makefile (routines): ... here.
43983         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
43984         (GLIBC_PRIVATE): Add __sendmmsg.
43985         * include/sys/socket.h (__sendmmsg): Add declarations.
43986         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
43987         sendmmsg.
43989 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
43991         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
43992         variable I1 with __attribute__ ((unused)).
43993         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
43995 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
43997         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
43998         DUMMY variables with __attribute__ ((unused)).
44000         * bits/byteswap.h: Include <bits/types.h>.
44001         (__bswap_64): Use __uint64_t instead of unsigned long long int.
44003 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
44005         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
44006         string_t.  Do not manually set errno.
44007         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
44008         length with __strnlen.  Make sure to both set errno and return it on
44009         failure.
44011 2012-11-19  David S. Miller  <davem@davemloft.net>
44013         With help from Joseph Myers.
44014         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
44015         very large arguments properly.
44016         * math/libm-test.inc (atan_test): New tests.
44017         (atan2_test): New tests.
44018         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44019         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44021 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
44023         [BZ #14856]
44024         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
44025         Define to 3.
44027         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
44028         [POSIX] (EADDRNOTAVAIL): Likewise.
44029         [POSIX] (EAFNOSUPPORT): Likewise.
44030         [POSIX] (EALREADY): Likewise.
44031         [POSIX] (ECONNABORTED): Likewise.
44032         [POSIX] (ECONNREFUSED): Likewise.
44033         [POSIX] (ECONNRESET): Likewise.
44034         [POSIX] (EDESTADDRREQ): Likewise.
44035         [POSIX] (EDQUOT): Likewise.
44036         [POSIX] (EHOSTUNREACH): Likewise.
44037         [POSIX] (EIDRM): Likewise.
44038         [POSIX] (EISCONN): Likewise.
44039         [POSIX] (ELOOP): Likewise.
44040         [POSIX] (EMULTIHOP): Likewise.
44041         [POSIX] (ENETDOWN): Likewise.
44042         [POSIX] (ENETUNREACH): Likewise.
44043         [POSIX] (ENOBUFS): Likewise.
44044         [POSIX] (ENODATA): Likewise.
44045         [POSIX] (ENOLINK): Likewise.
44046         [POSIX] (ENOMSG): Likewise.
44047         [POSIX] (ENOPROTOOPT): Likewise.
44048         [POSIX] (ENOSR): Likewise.
44049         [POSIX] (ENOSTR): Likewise.
44050         [POSIX] (ENOTCONN): Likewise.
44051         [POSIX] (ENOTSOCK): Likewise.
44052         [POSIX] (EOPNOTSUPP): Likewise.
44053         [POSIX] (EOVERFLOW): Likewise.
44054         [POSIX] (EPROTO): Likewise.
44055         [POSIX] (EPROTONOSUPPORT): Likewise.
44056         [POSIX] (EPROTOTYPE): Likewise.
44057         [POSIX] (ESTALE): Likewise.
44058         [POSIX] (ETIME): Likewise.
44059         [POSIX] (ETXTBSY): Likewise.
44060         [POSIX] (EWOULDBLOCK): Likewise.
44061         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
44062         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
44063         [POSIX] (SEEK_CUR): Likewise.
44064         [POSIX] (SEEK_END): Likewise.
44065         [POSIX || UNIX98] (mode_t): Do not require.
44066         [POSIX] (off_t): Likewise.
44067         [POSIX] (pid_t): Likewise.
44068         [POSIX] (sys/stat.h): Do not allow header.
44069         [POSIX] (unistd.h): Likewise.
44070         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
44071         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
44072         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
44073         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
44074         require.
44075         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
44076         sigevent): Specify elements.
44077         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
44078         entry.
44079         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
44080         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
44082         * conform/data/cpio.h-data [POSIX]: Disable whole file.
44083         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
44084         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
44085         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
44086         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
44087         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
44088         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
44089         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
44090         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
44091         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
44092         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
44093         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
44094         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
44095         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
44096         Likewise.
44097         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
44098         Likewise.
44099         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
44100         Likewise.
44101         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
44102         Likewise.
44103         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
44104         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
44105         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
44106         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
44107         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
44108         Specify lower bound on value.
44109         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
44110         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
44111         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
44112         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
44113         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
44114         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
44115         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
44116         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
44117         value.
44118         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
44119         as optional.
44120         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
44121         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
44122         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
44123         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
44124         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
44125         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
44126         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
44127         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
44128         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
44129         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
44130         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
44131         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
44132         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
44133         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
44134         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
44135         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
44136         entry.
44137         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
44138         optional.
44139         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
44140         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
44141         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
44142         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
44143         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
44144         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
44145         Likewise.
44146         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
44147         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
44148         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
44149         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
44150         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
44151         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
44152         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
44153         as optional.
44154         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
44155         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
44156         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
44157         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
44158         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
44159         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
44160         specify as optional.
44161         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
44162         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
44163         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
44164         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
44165         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
44166         [XPG3] (NL_LANGMAX): Likewise.
44167         [POSIX || XPG3] (NL_MSGMAX): Likewise.
44168         [POSIX || XPG3] (NL_NMAX): Likewise.
44169         [POSIX || XPG3] (NL_SETMAX): Likewise.
44170         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
44171         [XPG3] (NZERO): Likewise.
44172         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
44173         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
44174         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
44175         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
44176         (REG_ERANGE): Expect.
44177         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
44178         optional-constant.
44179         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
44180         Use (void) in prototype.
44181         [POSIX] (*_t): Allow.
44182         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
44183         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
44184         (WRDE_BADVAL): Expect.
44186         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
44187         expect.
44188         [XPG3 || XPG4] (O_RSYNC): Likewise.
44189         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
44190         Likewise.
44191         [XPG3 || XPG4] (pthread_sigmask): Likewise.
44192         [XPG3 || XPG4] (sigqueue): Likewise.
44193         [XPG3 || XPG4] (sigtimedwait): Likewise.
44194         [XPG3 || XPG4] (sigwaitinfo): Likewise.
44195         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
44196         [XPG3 || XPG4] (vsnprintf): Likewise.
44197         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
44198         Likewise.
44199         [XPG3 || XPG4] (blksize_t): Likewise.
44200         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
44201         Likewise.
44202         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
44203         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
44204         [XPG3 || XPG4] (struct itimerspec): Likewise.
44205         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
44206         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
44207         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
44208         [XPG3 || XPG4] (clockid_t): Likewise.
44209         [XPG3 || XPG4] (timer_t): Likewise.
44210         [XPG3 || XPG4] (clock_getres): Likewise.
44211         [XPG3 || XPG4] (clock_gettime): Likewise.
44212         [XPG3 || XPG4] (clock_settime): Likewise.
44213         [XPG3 || XPG4] (nanosleep): Likewise.
44214         [XPG3 || XPG4] (timer_create): Likewise.
44215         [XPG3 || XPG4] (timer_delete): Likewise.
44216         [XPG3 || XPG4] (timer_gettime): Likewise.
44217         [XPG3 || XPG4] (timer_getoverrun): Likewise.
44218         [XPG3 || XPG4] (timer_settime): Likewise.
44219         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
44220         [XPG3 || XPG4] (getlogin_r): Likewise.
44221         [XPG3 || XPG4] (pread): Likewise.
44222         [XPG3 || XPG4] (pthread_atfork): Likewise.
44223         [XPG3 || XPG4] (pwrite): Likewise.
44225         [BZ #14835]
44226         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
44227         <bits/siginfo.h>.
44229 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
44231         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
44232         finalizing MALLSTREAM.
44234         * sysdeps/mach/hurd/syncfs.c: New file.
44236 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
44238         [BZ #14719]
44239         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
44240         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
44241         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
44242         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
44243         (_nss_dns_gethostbyname4_r): Likewise.
44244         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
44245         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
44247 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
44249         [BZ #13763]
44250         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
44252 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
44254         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
44255         * elf/cache.c (print_entry): Print ",AArch64" for
44256         FLAG_AARCH64_LIB64
44258         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
44259         * elf/cache.c (print_entry): Print ",hard-float" for
44260         FLAG_ARM_LIBHF.
44262 2012-11-18  David S. Miller  <davem@davemloft.net>
44264         With help from Joseph Myers.
44265         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
44266         cutoff to 2**-13.
44267         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
44268         cutoff to 2**-25.
44269         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
44270         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
44271         small.
44272         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
44273         * math/libm-test.inc (y0_test): New tests.
44274         (y1_test): New tests.
44275         * sysdeps/i386/fpu/libm-test-ulps: Update.
44276         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44277         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44279 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
44281         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
44282         64-bit targets.
44283         * configure: Regenerated.
44285 2012-11-17  David S. Miller  <davem@davemloft.net>
44287         [BZ #14811]
44288         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
44289         nonzero exponents with absolute value below 0x1p-128 to +/-
44290         0x1p-128.
44292 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
44294         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
44296         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
44298         * posix/getconf-speclist.c: New file.
44299         * posix/posix-envs.def: Likewise.
44300         * posix/confstr.c (START_ENV_GROUP): New macro.
44301         (END_ENV_GROUP): Likewise.
44302         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
44303         (KNOWN_PRESENT_ENV_STRING): Likewise.
44304         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
44305         (UNKNOWN_ENVIRONMENT): Likewise.
44306         (confstr): Include posix-envs.def instead of handling
44307         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
44308         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
44309         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
44310         (END_ENV_GROUP): Likewise.
44311         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
44312         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
44313         (UNKNOWN_ENVIRONMENT): Likewise.
44314         (__sysconf): Include posix-envs.def instead of handling associated
44315         cases directly here.
44316         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
44317         preprocessing getconf-speclist.c rather than running getconf or
44318         generating empty file.
44320 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
44322         * scripts/check-local-headers.sh: Ignore 'mach' headers.
44324 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
44326         [BZ #14672]
44327         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
44329 2012-11-16  David S. Miller  <davem@davemloft.net>
44331         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
44332         smaller than LDBL_EPSILON/2.0L, just return xm1.
44334 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
44336         * elf/tst-array1.c (init): Set constructor priority to 1000.
44337         (fini): Set destructor priority to 1000.
44338         * elf/tst-array2dep.c: Likewise.
44340 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
44342         [BZ #11741]
44343         * libio/fileops.c (_IO_new_file_write): Correctly return error.
44344         (_IO_new_file_xsputn): Also return EOF if none of the input
44345         data was written when overflow failed.
44346         * libio/iopadn.c (_IO_padn): Likewise.
44347         * libio/iowpadn.c (_IO_wpadn): Likewise.
44348         * stdio-common/tst-put-error.c: Add copyright notice.
44349         (do_test): Add case for printing padded string.
44350         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
44351         _IO_padn returned error.
44352         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
44353         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
44354         return EOF.
44356 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
44358         * libio/libioP.h: Add comment note that the references to C++
44359         bits are now obsolete.
44361 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
44363         * math/libm-test.inc (check_complex): Use asprintf.
44365 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
44367         * debug/pcprofiledump.c (print_version): Update copyright year.
44368         * malloc/memusagestat.c (print_version): Likewise.
44370 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
44372         [BZ #14831]
44373         * elf/Makefile (tests): Add tst-audit8.
44374         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
44375         ($(objpfx)tst-audit8.out): New target.
44376         (tst-audit8-ENV): New variable.
44377         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
44378         audit if l_reloc_result is NULL.
44379         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
44380         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
44381         * elf/tst-audit8.c: New file.
44383 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
44385         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
44386         * misc/Makefile (CFLAGS-select.c): Define.
44387         * posix/Makefile (CFLAGS-pause.c): Define.
44389 2012-11-13  David S. Miller  <davem@davemloft.net>
44391         * crypt/Makefile: Move test targets after toplevel Rules
44392         inclusion.  Grab any necessary sysdep routines when linking.
44393         * crypt/md5.c (md5_process_block): Remove define, we will always
44394         name it __md5_process_block.
44395         (md5_finish_ctx): Update md5_process_block call.
44396         (md5_stream): Likewise.
44397         (md5_process_bytes): Likewise.
44398         (md5_process_block): Rename to __md5_process_block and move to ...
44399         * crypt/md5-block.c: ... here.
44400         * crypt/sha256.c (sha256_process_block): Move to ...
44401         * crypt/sha256-block.c: ... here.
44402         * crypt/sha512.c (sha512_process_block): Move to ...
44403         * crypt/sha512-block.c: ... here.
44404         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
44405         path.
44406         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
44407         * sysdeps/sparc/sparc64/multiarch/Makefile
44408         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
44409         crypt subdir.
44410         (localedef-aux): Add md5 crypto assembler when in locale subdir.
44411         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
44412         multiarch changes.
44413         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
44414         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
44415         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
44416         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
44417         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
44418         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
44419         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
44420         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
44421         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
44422         file.
44423         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
44424         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
44425         file.
44426         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
44428 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
44430         * timezone/tzselect.ksh: Update from tzcode git revision
44431         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
44432         * timezone/zdump.c: Likewise.
44433         * timezone/zic.c: Likewise.
44434         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
44435         in TZVERSION setting, not $(PKGVERSION).
44436         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
44437         REPORT_BUGS_TO settings.
44439         [BZ #14838]
44440         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
44441         macro.
44443 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
44445         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
44446         detection to immediately after _FP_ROUND().
44447         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
44448         bits are 0.
44450 2012-11-11  David S. Miller  <davem@davemloft.net>
44452         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
44453         inttypes.h
44454         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
44455         __close rather than their public counterparts.
44457 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
44459         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
44460         file.
44461         [UNIX98] (sem_timedwait): Do not expect.
44462         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
44463         [XPG4 || UNIX98] (sockatmark): Do not expect.
44464         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
44465         (clock_getcpuclockid): Do not expect.
44466         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
44467         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
44468         Do not expect.
44469         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
44470         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
44471         [UNIX98] (vwscanf): Likewise.
44472         [UNIX98] (vswscanf): Likewise.
44474 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
44476         * timezone/version.h: Remove file.
44477         * timezone/README: Do not refer to version.h.
44478         * timezone/Makefile ($(objpfx)zic.o): New dependency on
44479         $(objpfx)version.h.
44480         ($(objpfx)zdump.o): Likewise.
44481         ($(objpfx)version.h): New target.
44483         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
44484         2012i.
44485         * timezone/README: Don't mention modification to tzselect.ksh.
44486         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
44487         work on unmodified tzselect.ksh.  Substitute version numbers in
44488         tzselect.ksh.
44490         * Makefile (format-me): Remove.
44491         (INSTALL): Adjust indentation.  Use commands directly instead of
44492         using $(format-me).
44494         * aclocal.m4 (ACX_PKGVERSION): New macro.
44495         (ACX_BUGURL): Likewise.
44496         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
44497         (PKGVERSION): New AC_DEFINE_UNQUOTED.
44498         (REPORT_BUGS_TO): Likewise.
44499         * configure: Regenerated.
44500         * config.h.in (PKGVERSION): New macro.
44501         (REPORT_BUGS_TO): Likewise.
44502         * config.make.in (PKGVERSION): New variable.
44503         (PKGVERSION_TEXI): Likewise.
44504         (REPORT_BUGS_TO): Likewise.
44505         (REPORT_BUGS_TEXI): Likewise.
44506         * Makefile (format-me): Use -I$(common-objpfx)manual.
44507         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
44508         ($(common-objpfx)manual/%): New target.
44509         (manual/%): Remove target.
44510         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
44511         (print_version): Use PKGVERSION.
44512         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
44513         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
44514         and REPORT_BUGS_TO.
44515         ($(objpfx)xtrace): Likewise.
44516         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
44517         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
44518         (print_version): Use PKGVERSION.
44519         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
44520         (do_version): Use PKGVERSION.
44521         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
44522         REPORT_BUGS_TO.
44523         (common-ldd-rewrite): Likewise.
44524         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
44525         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
44526         (print_version): Use PKGVERSION.
44527         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
44528         * elf/pldd.c (argp_program_bug_address): Remove variable.
44529         (more_help): New function.
44530         (argp): Use more_help.
44531         (print_version): Use PKGVERSION.
44532         * elf/sln.c (main): Use PKGVERSION.
44533         (usage): Use REPORT_BUGS_TO.
44534         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
44535         (top level): Use PKGVERSION.
44536         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
44537         (print_version): Use PKGVERSION.
44538         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
44539         (print_version): Use PKGVERSION.
44540         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
44541         (print_version): Use PKGVERSION.
44542         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
44543         (print_version): Use PKGVERSION.
44544         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
44545         (print_version): Use PKGVERSION.
44546         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
44547         (print_version): Use PKGVERSION.
44548         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
44549         and BUGURL.
44550         ($(objpfx)memusage): Likewise.
44551         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
44552         (do_version): Use PKGVERSION.
44553         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
44554         (print_version): Use PKGVERSION.
44555         * malloc/mtrace.pl ($PACKAGE): Remove variable.
44556         ($PKGVERSION): New variable.
44557         ($REPORT_BUGS_TO): Likewise.
44558         (usage): Use $REPORT_BUGS_TO.
44559         (top level): Use $PKGVERSION.
44560         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
44561         ($(objpfx)pkgvers.texi): New rule.
44562         ($(objpfx)stamp-pkgvers): Likewise.
44563         * manual/install.texi: Include pkgvers.texi.
44564         (--with-pkgversion): Document new configure option.
44565         (--with-bugurl): Likewise.
44566         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
44567         than necessarily for this particular distribution.  Use
44568         REPORT_BUGS_TO for where to report bugs.
44569         * INSTALL: Regenerated.
44570         * manual/libc.texinfo: Include pkgvers.texi.
44571         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
44572         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
44573         (print_version): Use PKGVERSION.
44574         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
44575         (print_version): Use PKGVERSION.
44576         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
44577         (print_version): Use PKGVERSION.
44578         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
44579         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
44580         macro.
44581         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
44582         (print_version): Use PKGVERSION.
44583         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
44584         (print_version): Use PKGVERSION.
44585         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
44586         and PKGVERSION.
44588         * timezone/checktab.awk: Update from tzcode 2012i.
44589         * timezone/ialloc.c: Likewise.
44590         * timezone/private.h: Likewise.
44591         * timezone/scheck.c: Likewise.
44592         * timezone/tzfile.h: Likewise.
44593         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
44594         (TZVERSION): Hardcode tzcode version number.
44595         * timezone/zdump.c: Update from tzcode 2012i.
44596         * timezone/zic.c: Likewise.
44597         * timezone/version.h: New file.
44598         * timezone/README: Describe version.h.  Update upstream location.
44600         [BZ #14824]
44601         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
44602         (mktemp): Enable declaration.
44603         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
44604         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
44605         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
44606         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
44607         Likewise.
44608         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
44609         Likewise.
44610         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
44611         Likewise.
44612         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
44613         Likewise.
44614         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
44615         Likewise.
44616         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
44617         Likewise.
44619         [BZ #14821]
44620         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
44621         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
44622         for copies of such integer values.
44623         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
44624         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
44626 2012-11-09  Andreas Jaeger  <aj@suse.de>
44628         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
44629         definitions and declarations that are provided by
44630         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
44632 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44634         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
44635         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
44636         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
44637         definition.
44639 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
44641         * elf/elf.h: Update comment before AArch64 relocations.
44643 2012-11-07  David S. Miller  <davem@davemloft.net>
44645         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
44646         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
44647         (__start_context): Declare.
44648         (__makecontext_ret): Delete.
44649         (__makecontext): Hook up __start_context instead of
44650         __makecontext_ret.
44651         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
44652         (sysdep_routines): Add __start_context when in stdlib.
44654 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
44656         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
44657         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
44658         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
44659         hardcoded "nm".
44660         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
44661         (READELF): New variable.  Use it instead of hardcoded "readelf".
44663 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
44665         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
44666         * sysdeps/x86/Makefile: Here.
44667         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
44668         * sysdeps/x86/tst-xmmymm.sh: This.
44670 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
44672         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
44673         expectations.
44674         [UNIX98] (pthread_barrier_t): Do not expect.
44675         [UNIX98] (pthread_barrierattr_t): Likewise.
44676         [UNIX98] (pthread_spinlock_t): Likewise.
44677         [UNIX98] (pthread_barrier_destroy): Likewise.
44678         [UNIX98] (pthread_barrier_init): Likewise.
44679         [UNIX98] (pthread_barrier_wait): Likewise.
44680         [UNIX98] (pthread_barrierattr_destroy): Likewise.
44681         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
44682         [UNIX98] (pthread_barrierattr_init): Likewise.
44683         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
44684         [UNIX98] (pthread_getcpuclockid): Likewise.
44685         [UNIX98] (pthread_mutex_timedlock): Likewise.
44686         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
44687         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
44688         [UNIX98] (pthread_sigmask): Likewise.
44689         [UNIX98] (pthread_spin_destroy): Likewise.
44690         [UNIX98] (pthread_spin_init): Likewise.
44691         [UNIX98] (pthread_spin_lock): Likewise.
44692         [UNIX98] (pthread_spin_trylock): Likewise.
44693         [UNIX98] (pthread_spin_unlock): Likewise.
44694         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
44695         Do not expect.
44696         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
44697         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
44698         [XPG3 || XPG4] (pthread_cond_t): Likewise.
44699         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
44700         [XPG3 || XPG4] (pthread_key_t): Likewise.
44701         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
44702         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
44703         [XPG3 || XPG4] (pthread_once_t): Likewise.
44704         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
44705         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
44706         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
44707         [XPG3 || XPG4] (pthread_t): Likewise.
44709         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
44710         not expect.
44711         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
44713         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
44714         Change function return type to int.
44716         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
44717         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
44718         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
44719         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
44720         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
44721         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
44722         [!POSIX] (posix_madvise): Likewise.
44723         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
44724         && !UNIX98].
44725         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
44726         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
44727         (mode_t): Likewise.
44728         (posix_mem_offset): Likewise.
44729         (posix_typed_mem_get_info): Likewise.
44730         (posix_typed_mem_open): Likewise.
44732         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
44733         Change condition to [XOPEN2K8].
44735         * conform/conformtest.pl: Preprocess allow-header data with -x c
44736         instead of from stdin.
44737         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
44738         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
44739         [C99-based standards] (cerfc): Likewise.
44740         [C99-based standards] (cexp2): Likewise.
44741         [C99-based standards] (cexpm1): Likewise.
44742         [C99-based standards] (clog10): Likewise.
44743         [C99-based standards] (clog1p): Likewise.
44744         [C99-based standards] (clog2): Likewise.
44745         [C99-based standards] (clgamma): Likewise.
44746         [C99-based standards] (ctgamma): Likewise.
44747         [C99-based standards] (cerff): Likewise.
44748         [C99-based standards] (cerfcf): Likewise.
44749         [C99-based standards] (cexp2f): Likewise.
44750         [C99-based standards] (cexpm1f): Likewise.
44751         [C99-based standards] (clog10f): Likewise.
44752         [C99-based standards] (clog1pf): Likewise.
44753         [C99-based standards] (clog2f): Likewise.
44754         [C99-based standards] (clgammaf): Likewise.
44755         [C99-based standards] (ctgammaf): Likewise.
44756         [C99-based standards] (cerfl): Likewise.
44757         [C99-based standards] (cerfcl): Likewise.
44758         [C99-based standards] (cexp2l): Likewise.
44759         [C99-based standards] (cexpm1l): Likewise.
44760         [C99-based standards] (clog10l): Likewise.
44761         [C99-based standards] (clog1pl): Likewise.
44762         [C99-based standards] (clog2l): Likewise.
44763         [C99-based standards] (clgammal): Likewise.
44764         [C99-based standards] (ctgammal): Likewise.
44765         * conform/data/inttypes.h-data [C99-based standards]: Include
44766         stdint.h-data.  Remove all expectations for stdint.h contents.
44767         [C99-based standards] (PRI*): Do not allow.
44768         [C99-based standards] (SCN*): Likewise.
44769         [C99-based standards] (*_t): Likewise.
44770         [C99-based-standards] (PRId8): Expect macro.
44771         [C99-based-standards] (PRIi8): Likewise.
44772         [C99-based-standards] (PRIo8): Likewise.
44773         [C99-based-standards] (PRIu8): Likewise.
44774         [C99-based-standards] (PRIx8): Likewise.
44775         [C99-based-standards] (PRIX8): Likewise.
44776         [C99-based-standards] (SCNd8): Likewise.
44777         [C99-based-standards] (SCNi8): Likewise.
44778         [C99-based-standards] (SCNo8): Likewise.
44779         [C99-based-standards] (SCNu8): Likewise.
44780         [C99-based-standards] (SCNx8): Likewise.
44781         [C99-based-standards] (PRIdLEAST8): Likewise.
44782         [C99-based-standards] (PRIiLEAST8): Likewise.
44783         [C99-based-standards] (PRIoLEAST8): Likewise.
44784         [C99-based-standards] (PRIuLEAST8): Likewise.
44785         [C99-based-standards] (PRIxLEAST8): Likewise.
44786         [C99-based-standards] (PRIXLEAST8): Likewise.
44787         [C99-based-standards] (SCNdLEAST8): Likewise.
44788         [C99-based-standards] (SCNiLEAST8): Likewise.
44789         [C99-based-standards] (SCNoLEAST8): Likewise.
44790         [C99-based-standards] (SCNuLEAST8): Likewise.
44791         [C99-based-standards] (SCNxLEAST8): Likewise.
44792         [C99-based-standards] (PRIdFAST8): Likewise.
44793         [C99-based-standards] (PRIiFAST8): Likewise.
44794         [C99-based-standards] (PRIoFAST8): Likewise.
44795         [C99-based-standards] (PRIuFAST8): Likewise.
44796         [C99-based-standards] (PRIxFAST8): Likewise.
44797         [C99-based-standards] (PRIXFAST8): Likewise.
44798         [C99-based-standards] (SCNdFAST8): Likewise.
44799         [C99-based-standards] (SCNiFAST8): Likewise.
44800         [C99-based-standards] (SCNoFAST8): Likewise.
44801         [C99-based-standards] (SCNuFAST8): Likewise.
44802         [C99-based-standards] (SCNxFAST8): Likewise.
44803         [C99-based-standards] (PRId16): Likewise.
44804         [C99-based-standards] (PRIi16): Likewise.
44805         [C99-based-standards] (PRIo16): Likewise.
44806         [C99-based-standards] (PRIu16): Likewise.
44807         [C99-based-standards] (PRIx16): Likewise.
44808         [C99-based-standards] (PRIX16): Likewise.
44809         [C99-based-standards] (SCNd16): Likewise.
44810         [C99-based-standards] (SCNi16): Likewise.
44811         [C99-based-standards] (SCNo16): Likewise.
44812         [C99-based-standards] (SCNu16): Likewise.
44813         [C99-based-standards] (SCNx16): Likewise.
44814         [C99-based-standards] (PRIdLEAST16): Likewise.
44815         [C99-based-standards] (PRIiLEAST16): Likewise.
44816         [C99-based-standards] (PRIoLEAST16): Likewise.
44817         [C99-based-standards] (PRIuLEAST16): Likewise.
44818         [C99-based-standards] (PRIxLEAST16): Likewise.
44819         [C99-based-standards] (PRIXLEAST16): Likewise.
44820         [C99-based-standards] (SCNdLEAST16): Likewise.
44821         [C99-based-standards] (SCNiLEAST16): Likewise.
44822         [C99-based-standards] (SCNoLEAST16): Likewise.
44823         [C99-based-standards] (SCNuLEAST16): Likewise.
44824         [C99-based-standards] (SCNxLEAST16): Likewise.
44825         [C99-based-standards] (PRIdFAST16): Likewise.
44826         [C99-based-standards] (PRIiFAST16): Likewise.
44827         [C99-based-standards] (PRIoFAST16): Likewise.
44828         [C99-based-standards] (PRIuFAST16): Likewise.
44829         [C99-based-standards] (PRIxFAST16): Likewise.
44830         [C99-based-standards] (PRIXFAST16): Likewise.
44831         [C99-based-standards] (SCNdFAST16): Likewise.
44832         [C99-based-standards] (SCNiFAST16): Likewise.
44833         [C99-based-standards] (SCNoFAST16): Likewise.
44834         [C99-based-standards] (SCNuFAST16): Likewise.
44835         [C99-based-standards] (SCNxFAST16): Likewise.
44836         [C99-based-standards] (PRId32): Likewise.
44837         [C99-based-standards] (PRIi32): Likewise.
44838         [C99-based-standards] (PRIo32): Likewise.
44839         [C99-based-standards] (PRIu32): Likewise.
44840         [C99-based-standards] (PRIx32): Likewise.
44841         [C99-based-standards] (PRIX32): Likewise.
44842         [C99-based-standards] (SCNd32): Likewise.
44843         [C99-based-standards] (SCNi32): Likewise.
44844         [C99-based-standards] (SCNo32): Likewise.
44845         [C99-based-standards] (SCNu32): Likewise.
44846         [C99-based-standards] (SCNx32): Likewise.
44847         [C99-based-standards] (PRIdLEAST32): Likewise.
44848         [C99-based-standards] (PRIiLEAST32): Likewise.
44849         [C99-based-standards] (PRIoLEAST32): Likewise.
44850         [C99-based-standards] (PRIuLEAST32): Likewise.
44851         [C99-based-standards] (PRIxLEAST32): Likewise.
44852         [C99-based-standards] (PRIXLEAST32): Likewise.
44853         [C99-based-standards] (SCNdLEAST32): Likewise.
44854         [C99-based-standards] (SCNiLEAST32): Likewise.
44855         [C99-based-standards] (SCNoLEAST32): Likewise.
44856         [C99-based-standards] (SCNuLEAST32): Likewise.
44857         [C99-based-standards] (SCNxLEAST32): Likewise.
44858         [C99-based-standards] (PRIdFAST32): Likewise.
44859         [C99-based-standards] (PRIiFAST32): Likewise.
44860         [C99-based-standards] (PRIoFAST32): Likewise.
44861         [C99-based-standards] (PRIuFAST32): Likewise.
44862         [C99-based-standards] (PRIxFAST32): Likewise.
44863         [C99-based-standards] (PRIXFAST32): Likewise.
44864         [C99-based-standards] (SCNdFAST32): Likewise.
44865         [C99-based-standards] (SCNiFAST32): Likewise.
44866         [C99-based-standards] (SCNoFAST32): Likewise.
44867         [C99-based-standards] (SCNuFAST32): Likewise.
44868         [C99-based-standards] (SCNxFAST32): Likewise.
44869         [C99-based-standards] (PRId64): Likewise.
44870         [C99-based-standards] (PRIi64): Likewise.
44871         [C99-based-standards] (PRIo64): Likewise.
44872         [C99-based-standards] (PRIu64): Likewise.
44873         [C99-based-standards] (PRIx64): Likewise.
44874         [C99-based-standards] (PRIX64): Likewise.
44875         [C99-based-standards] (SCNd64): Likewise.
44876         [C99-based-standards] (SCNi64): Likewise.
44877         [C99-based-standards] (SCNo64): Likewise.
44878         [C99-based-standards] (SCNu64): Likewise.
44879         [C99-based-standards] (SCNx64): Likewise.
44880         [C99-based-standards] (PRIdLEAST64): Likewise.
44881         [C99-based-standards] (PRIiLEAST64): Likewise.
44882         [C99-based-standards] (PRIoLEAST64): Likewise.
44883         [C99-based-standards] (PRIuLEAST64): Likewise.
44884         [C99-based-standards] (PRIxLEAST64): Likewise.
44885         [C99-based-standards] (PRIXLEAST64): Likewise.
44886         [C99-based-standards] (SCNdLEAST64): Likewise.
44887         [C99-based-standards] (SCNiLEAST64): Likewise.
44888         [C99-based-standards] (SCNoLEAST64): Likewise.
44889         [C99-based-standards] (SCNuLEAST64): Likewise.
44890         [C99-based-standards] (SCNxLEAST64): Likewise.
44891         [C99-based-standards] (PRIdFAST64): Likewise.
44892         [C99-based-standards] (PRIiFAST64): Likewise.
44893         [C99-based-standards] (PRIoFAST64): Likewise.
44894         [C99-based-standards] (PRIuFAST64): Likewise.
44895         [C99-based-standards] (PRIxFAST64): Likewise.
44896         [C99-based-standards] (PRIXFAST64): Likewise.
44897         [C99-based-standards] (SCNdFAST64): Likewise.
44898         [C99-based-standards] (SCNiFAST64): Likewise.
44899         [C99-based-standards] (SCNoFAST64): Likewise.
44900         [C99-based-standards] (SCNuFAST64): Likewise.
44901         [C99-based-standards] (SCNxFAST64): Likewise.
44902         [C99-based-standards] (PRIdMAX): Likewise.
44903         [C99-based-standards] (PRIiMAX): Likewise.
44904         [C99-based-standards] (PRIoMAX): Likewise.
44905         [C99-based-standards] (PRIuMAX): Likewise.
44906         [C99-based-standards] (PRIxMAX): Likewise.
44907         [C99-based-standards] (PRIXMAX): Likewise.
44908         [C99-based-standards] (SCNdMAX): Likewise.
44909         [C99-based-standards] (SCNiMAX): Likewise.
44910         [C99-based-standards] (SCNoMAX): Likewise.
44911         [C99-based-standards] (SCNuMAX): Likewise.
44912         [C99-based-standards] (SCNxMAX): Likewise.
44913         [C99-based-standards] (PRIdPTR): Likewise.
44914         [C99-based-standards] (PRIiPTR): Likewise.
44915         [C99-based-standards] (PRIoPTR): Likewise.
44916         [C99-based-standards] (PRIuPTR): Likewise.
44917         [C99-based-standards] (PRIxPTR): Likewise.
44918         [C99-based-standards] (PRIXPTR): Likewise.
44919         [C99-based-standards] (SCNdPTR): Likewise.
44920         [C99-based-standards] (SCNiPTR): Likewise.
44921         [C99-based-standards] (SCNoPTR): Likewise.
44922         [C99-based-standards] (SCNuPTR): Likewise.
44923         [C99-based-standards] (SCNxPTR): Likewise.
44924         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
44925         allow.
44926         * conform/data/stdint.h-data: Update comments to clarify
44927         requirements.
44928         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
44929         type.
44930         [C99-based standards] (INT8_MAX): Likewise.
44931         [C99-based standards] (INT16_MIN): Likewise.
44932         [C99-based standards] (INT16_MAX): Likewise.
44933         [C99-based standards] (INT32_MIN): Likewise.
44934         [C99-based standards] (INT32_MAX): Likewise.
44935         [C99-based standards] (INT64_MIN): Likewise.
44936         [C99-based standards] (INT64_MAX): Likewise.
44937         [C99-based standards] (UINT8_MAX): Likewise.
44938         [C99-based standards] (UINT16_MAX): Likewise.
44939         [C99-based standards] (UINT32_MAX): Likewise.
44940         [C99-based standards] (UINT64_MAX): Likewise.
44941         [C99-based standards] (INT_LEAST8_MIN): Likewise.
44942         [C99-based standards] (INT_LEAST8_MAX): Likewise.
44943         [C99-based standards] (INT_LEAST16_MIN): Likewise.
44944         [C99-based standards] (INT_LEAST16_MAX): Likewise.
44945         [C99-based standards] (INT_LEAST32_MIN): Likewise.
44946         [C99-based standards] (INT_LEAST32_MAX): Likewise.
44947         [C99-based standards] (INT_LEAST64_MIN): Likewise.
44948         [C99-based standards] (INT_LEAST64_MAX): Likewise.
44949         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
44950         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
44951         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
44952         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
44953         [C99-based standards] (INT_FAST8_MIN): Likewise.
44954         [C99-based standards] (INT_FAST8_MAX): Likewise.
44955         [C99-based standards] (INT_FAST16_MIN): Likewise.
44956         [C99-based standards] (INT_FAST16_MAX): Likewise.
44957         [C99-based standards] (INT_FAST32_MIN): Likewise.
44958         [C99-based standards] (INT_FAST32_MAX): Likewise.
44959         [C99-based standards] (INT_FAST64_MIN): Likewise.
44960         [C99-based standards] (INT_FAST64_MAX): Likewise.
44961         [C99-based standards] (UINT_FAST8_MAX): Likewise.
44962         [C99-based standards] (UINT_FAST16_MAX): Likewise.
44963         [C99-based standards] (UINT_FAST32_MAX): Likewise.
44964         [C99-based standards] (UINT_FAST64_MAX): Likewise.
44965         [C99-based standards] (INTPTR_MIN): Likewise.
44966         [C99-based standards] (INTPTR_MAX): Likewise.
44967         [C99-based standards] (UINTPTR_MAX): Likewise.
44968         [C99-based standards] (INTMAX_MIN): Likewise.
44969         [C99-based standards] (INTMAX_MAX): Likewise.
44970         [C99-based standards] (UINTMAX_MAX): Likewise.
44971         [C99-based standards] (PTRDIFF_MIN): Likewise.
44972         [C99-based standards] (PTRDIFF_MAX): Likewise.
44973         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
44974         [C99-based standards] (SIZE_MAX): Likewise.
44975         [C99-based standards] (WCHAR_MAX): Likewise.
44976         [C99-based standards] (WINT_MAX): Likewise.
44977         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
44978         constraint on value.
44979         [C99-based standards] (WCHAR_MIN): Likewise.
44980         [C99-based standards] (WINT_MIN): Likewise.
44981         [C99-based standards] (*_t): Allow.
44982         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
44983         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
44984         Include math.h-data and complex.h-data.  Remove all expectations
44985         of math.h and complex.h contents.
44986         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
44987         at end of line.
44988         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
44989         (struct tm): Expect tag.
44990         [C99-based-standards] (wcstof): Expect function.
44991         [C99-based-standards] (wcstold): Likewise.
44992         [C99-based-standards] (wcstoll): Likewise.
44993         [C99-based-standards] (wcstoull): Likewise.
44994         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
44995         macro-int-constant.  Specify type.
44996         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
44997         constraint on value.
44998         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
44999         Specify type.
45000         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
45001         Specify value.
45002         [ISO C standards]: Do not allow headers.
45003         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
45004         wcs[abcdefghijklmnopqrstuvwxyz]*.
45005         [ISO C standards] (*_t): Do not allow.
45006         * conform/data/wctype.h-data [C99-based standards] (iswblank):
45007         Expect function.
45008         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
45009         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
45010         Specify type.
45011         [ISO C standards]: Do not allow headers.
45012         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
45013         is[abcdefghijklmnopqrstuvwxyz]*.
45014         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
45015         to[abcdefghijklmnopqrstuvwxyz]*.
45016         [ISO C standards] (*_t): Do not allow.
45017         * conform/data/stdalign.h-data: New file.
45018         * conform/data/stdbool.h-data: Likewise.
45019         * conform/data/stdnoreturn.h-data: Likewise.
45021 2012-11-07  Roland McGrath  <roland@hack.frob.com>
45023         [BZ #14815]
45024         * manual/filesys.texi (Directory Entries): Typo fix.
45025         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
45027 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
45029         * elf/elf.h (EM_AARCH64): New macro.
45030         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
45031         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
45032         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
45033         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
45034         (R_AARCH64_TLSDESC): Likewise.
45035         (NT_ARM_TLS): Likewise.
45036         (NT_ARM_HW_BREAK): Likewise.
45037         (NT_ARM_HW_WATCH): Likewise.
45039 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
45041         [BZ #14811]
45042         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
45043         (__ieee754_powl): Saturate nonzero exponents with absolute value
45044         below 0x1p-79 to +/- 0x1p-79.
45045         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
45046         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
45047         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
45048         nonzero exponents with absolute value below 0x1p-32 to +/-
45049         0x1p-32.
45050         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
45051         (__ieee754_powl): Saturate nonzero exponents with absolute value
45052         below 0x1p-79 to +/- 0x1p-79.
45053         * math/libm-test.inc (pow_test): Add more tests.
45055 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45057         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
45058         _dl_s390_cap_flags with kernel. Increase string length.
45059         (_dl_s390_platforms): Add z196 and zEC12.
45061 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
45063         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
45064         Change XOPEN21K to XOPEN2K.
45066 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
45068         * string/memmove.c: Use memcpy when possible.
45070 2012-11-06  Andreas Jaeger  <aj@suse.de>
45072         * po/eo.po: Update from translation team.
45074 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
45076         [BZ #14793]
45077         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
45078         exponent and small x and y exponents, scale x or y up.  Increase
45079         by 2 the exponent used in scaling up.
45080         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
45081         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
45082         * math/libm-test.inc (fma_test): Add more tests.
45083         (fma_test_towardzero): Likewise.
45084         (fma_test_downward): Likewise.
45085         (fma_test_upward): Likewise.
45087 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
45089         [BZ #14805]
45090         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
45091         fenv_t *.
45093         [BZ #14801]
45094         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
45095         namespace for names of struct fields.
45096         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
45097         fenv_t fields.
45098         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
45099         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
45101 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45103         [BZ #3665]
45104         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
45106 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
45108         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
45109         PTR_DEMANGLE.
45111         [BZ #5246]
45112         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
45113         PTR_DEMANGLE.
45115 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
45117         [BZ #14797]
45118         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
45119         definitely overflow as x * y not x * y + z.
45120         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
45121         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
45122         * math/libm-test.inc (fma_test): Add more tests.
45123         (fma_test_towardzero): Likewise.
45124         (fma_test_downward): Likewise.
45125         (fma_test_upward): Likewise.
45127 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
45129         [BZ #157]
45131         * include/stub-tag.h: Remove file.
45132         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
45133         '#include' of it.
45134         * manual/maint.texi (Porting): Don't reference it.
45135         * Makerules ($(objpfx)stubs): Likewise.
45136         * dirent/closedir.c: Don't include <stub-tag.h>.
45137         * dirent/dirfd.c: Likewise.
45138         * dirent/fdopendir.c: Likewise.
45139         * dirent/getdents.c: Likewise.
45140         * dirent/getdents64.c: Likewise.
45141         * dirent/opendir.c: Likewise.
45142         * dirent/readdir.c: Likewise.
45143         * dirent/readdir64.c: Likewise.
45144         * dirent/readdir64_r.c: Likewise.
45145         * dirent/readdir_r.c: Likewise.
45146         * dirent/rewinddir.c: Likewise.
45147         * dirent/seekdir.c: Likewise.
45148         * dirent/telldir.c: Likewise.
45149         * gmon/profil.c: Likewise.
45150         * grp/setgroups.c: Likewise.
45151         * inet/if_index.c: Likewise.
45152         * io/access.c: Likewise.
45153         * io/chdir.c: Likewise.
45154         * io/chmod.c: Likewise.
45155         * io/chown.c: Likewise.
45156         * io/close.c: Likewise.
45157         * io/dup.c: Likewise.
45158         * io/dup2.c: Likewise.
45159         * io/dup3.c: Likewise.
45160         * io/euidaccess.c: Likewise.
45161         * io/faccessat.c: Likewise.
45162         * io/fchdir.c: Likewise.
45163         * io/fchmod.c: Likewise.
45164         * io/fchmodat.c: Likewise.
45165         * io/fchown.c: Likewise.
45166         * io/fchownat.c: Likewise.
45167         * io/fcntl.c: Likewise.
45168         * io/flock.c: Likewise.
45169         * io/fstatfs.c: Likewise.
45170         * io/fstatfs64.c: Likewise.
45171         * io/fstatvfs.c: Likewise.
45172         * io/fstatvfs64.c: Likewise.
45173         * io/futimens.c: Likewise.
45174         * io/fxstat.c: Likewise.
45175         * io/fxstat64.c: Likewise.
45176         * io/fxstatat.c: Likewise.
45177         * io/fxstatat64.c: Likewise.
45178         * io/getcwd.c: Likewise.
45179         * io/isatty.c: Likewise.
45180         * io/lchmod.c: Likewise.
45181         * io/lchown.c: Likewise.
45182         * io/link.c: Likewise.
45183         * io/linkat.c: Likewise.
45184         * io/lseek.c: Likewise.
45185         * io/lseek64.c: Likewise.
45186         * io/lxstat64.c: Likewise.
45187         * io/mkdir.c: Likewise.
45188         * io/mkdirat.c: Likewise.
45189         * io/mkfifo.c: Likewise.
45190         * io/mkfifoat.c: Likewise.
45191         * io/open.c: Likewise.
45192         * io/open64.c: Likewise.
45193         * io/openat.c: Likewise.
45194         * io/openat64.c: Likewise.
45195         * io/pipe.c: Likewise.
45196         * io/pipe2.c: Likewise.
45197         * io/poll.c: Likewise.
45198         * io/posix_fadvise.c: Likewise.
45199         * io/posix_fadvise64.c: Likewise.
45200         * io/posix_fallocate.c: Likewise.
45201         * io/posix_fallocate64.c: Likewise.
45202         * io/read.c: Likewise.
45203         * io/readlink.c: Likewise.
45204         * io/readlinkat.c: Likewise.
45205         * io/rmdir.c: Likewise.
45206         * io/sendfile.c: Likewise.
45207         * io/sendfile64.c: Likewise.
45208         * io/statfs.c: Likewise.
45209         * io/statfs64.c: Likewise.
45210         * io/statvfs.c: Likewise.
45211         * io/statvfs64.c: Likewise.
45212         * io/symlink.c: Likewise.
45213         * io/symlinkat.c: Likewise.
45214         * io/ttyname.c: Likewise.
45215         * io/ttyname_r.c: Likewise.
45216         * io/umask.c: Likewise.
45217         * io/unlink.c: Likewise.
45218         * io/unlinkat.c: Likewise.
45219         * io/utime.c: Likewise.
45220         * io/utimensat.c: Likewise.
45221         * io/write.c: Likewise.
45222         * io/xmknod.c: Likewise.
45223         * io/xmknodat.c: Likewise.
45224         * io/xstat.c: Likewise.
45225         * io/xstat64.c: Likewise.
45226         * login/getpt.c: Likewise.
45227         * login/grantpt.c: Likewise.
45228         * login/unlockpt.c: Likewise.
45229         * math/e_acoshl.c: Likewise.
45230         * math/e_acosl.c: Likewise.
45231         * math/e_asinl.c: Likewise.
45232         * math/e_atan2l.c: Likewise.
45233         * math/e_atanhl.c: Likewise.
45234         * math/e_coshl.c: Likewise.
45235         * math/e_expl.c: Likewise.
45236         * math/e_fmodl.c: Likewise.
45237         * math/e_gammal_r.c: Likewise.
45238         * math/e_hypotl.c: Likewise.
45239         * math/e_j0l.c: Likewise.
45240         * math/e_j1l.c: Likewise.
45241         * math/e_jnl.c: Likewise.
45242         * math/e_lgammal_r.c: Likewise.
45243         * math/e_log10l.c: Likewise.
45244         * math/e_log2l.c: Likewise.
45245         * math/e_logl.c: Likewise.
45246         * math/e_powl.c: Likewise.
45247         * math/e_rem_pio2l.c: Likewise.
45248         * math/e_sinhl.c: Likewise.
45249         * math/e_sqrtl.c: Likewise.
45250         * math/fclrexcpt.c: Likewise.
45251         * math/fedisblxcpt.c: Likewise.
45252         * math/feenablxcpt.c: Likewise.
45253         * math/fegetenv.c: Likewise.
45254         * math/fegetexcept.c: Likewise.
45255         * math/fegetround.c: Likewise.
45256         * math/feholdexcpt.c: Likewise.
45257         * math/fesetenv.c: Likewise.
45258         * math/fesetround.c: Likewise.
45259         * math/feupdateenv.c: Likewise.
45260         * math/fgetexcptflg.c: Likewise.
45261         * math/fraiseexcpt.c: Likewise.
45262         * math/fsetexcptflg.c: Likewise.
45263         * math/ftestexcept.c: Likewise.
45264         * math/k_cosl.c: Likewise.
45265         * math/k_rem_pio2l.c: Likewise.
45266         * math/k_sinl.c: Likewise.
45267         * math/k_tanl.c: Likewise.
45268         * math/s_asinhl.c: Likewise.
45269         * math/s_atanl.c: Likewise.
45270         * math/s_cbrtl.c: Likewise.
45271         * math/s_erfl.c: Likewise.
45272         * math/s_expm1l.c: Likewise.
45273         * math/s_log1pl.c: Likewise.
45274         * math/s_tanhl.c: Likewise.
45275         * misc/acct.c: Likewise.
45276         * misc/brk.c: Likewise.
45277         * misc/chflags.c: Likewise.
45278         * misc/chroot.c: Likewise.
45279         * misc/fchflags.c: Likewise.
45280         * misc/fgetxattr.c: Likewise.
45281         * misc/flistxattr.c: Likewise.
45282         * misc/fremovexattr.c: Likewise.
45283         * misc/fsetxattr.c: Likewise.
45284         * misc/fsync.c: Likewise.
45285         * misc/ftruncate.c: Likewise.
45286         * misc/futimes.c: Likewise.
45287         * misc/futimesat.c: Likewise.
45288         * misc/getdomain.c: Likewise.
45289         * misc/getdtsz.c: Likewise.
45290         * misc/gethostid.c: Likewise.
45291         * misc/gethostname.c: Likewise.
45292         * misc/getloadavg.c: Likewise.
45293         * misc/getpagesize.c: Likewise.
45294         * misc/getsysstats.c: Likewise.
45295         * misc/getxattr.c: Likewise.
45296         * misc/gtty.c: Likewise.
45297         * misc/ioctl.c: Likewise.
45298         * misc/lgetxattr.c: Likewise.
45299         * misc/listxattr.c: Likewise.
45300         * misc/llistxattr.c: Likewise.
45301         * misc/lremovexattr.c: Likewise.
45302         * misc/lsetxattr.c: Likewise.
45303         * misc/lutimes.c: Likewise.
45304         * misc/madvise.c: Likewise.
45305         * misc/mincore.c: Likewise.
45306         * misc/mlock.c: Likewise.
45307         * misc/mlockall.c: Likewise.
45308         * misc/mmap.c: Likewise.
45309         * misc/mprotect.c: Likewise.
45310         * misc/msync.c: Likewise.
45311         * misc/munlock.c: Likewise.
45312         * misc/munlockall.c: Likewise.
45313         * misc/munmap.c: Likewise.
45314         * misc/preadv.c: Likewise.
45315         * misc/preadv64.c: Likewise.
45316         * misc/ptrace.c: Likewise.
45317         * misc/pwritev.c: Likewise.
45318         * misc/pwritev64.c: Likewise.
45319         * misc/readv.c: Likewise.
45320         * misc/reboot.c: Likewise.
45321         * misc/remap_file_pages.c: Likewise.
45322         * misc/removexattr.c: Likewise.
45323         * misc/revoke.c: Likewise.
45324         * misc/select.c: Likewise.
45325         * misc/setdomain.c: Likewise.
45326         * misc/setegid.c: Likewise.
45327         * misc/seteuid.c: Likewise.
45328         * misc/sethostid.c: Likewise.
45329         * misc/sethostname.c: Likewise.
45330         * misc/setregid.c: Likewise.
45331         * misc/setreuid.c: Likewise.
45332         * misc/setxattr.c: Likewise.
45333         * misc/sstk.c: Likewise.
45334         * misc/stty.c: Likewise.
45335         * misc/swapoff.c: Likewise.
45336         * misc/swapon.c: Likewise.
45337         * misc/sync.c: Likewise.
45338         * misc/syncfs.c: Likewise.
45339         * misc/syscall.c: Likewise.
45340         * misc/truncate.c: Likewise.
45341         * misc/ualarm.c: Likewise.
45342         * misc/usleep.c: Likewise.
45343         * misc/ustat.c: Likewise.
45344         * misc/utimes.c: Likewise.
45345         * misc/vhangup.c: Likewise.
45346         * misc/writev.c: Likewise.
45347         * posix/_exit.c: Likewise.
45348         * posix/alarm.c: Likewise.
45349         * posix/execve.c: Likewise.
45350         * posix/fexecve.c: Likewise.
45351         * posix/fork.c: Likewise.
45352         * posix/fpathconf.c: Likewise.
45353         * posix/getaddrinfo.c: Likewise.
45354         * posix/getegid.c: Likewise.
45355         * posix/geteuid.c: Likewise.
45356         * posix/getgid.c: Likewise.
45357         * posix/getgroups.c: Likewise.
45358         * posix/getlogin.c: Likewise.
45359         * posix/getlogin_r.c: Likewise.
45360         * posix/getpgid.c: Likewise.
45361         * posix/getpid.c: Likewise.
45362         * posix/getppid.c: Likewise.
45363         * posix/getresgid.c: Likewise.
45364         * posix/getresuid.c: Likewise.
45365         * posix/getsid.c: Likewise.
45366         * posix/getuid.c: Likewise.
45367         * posix/glob64.c: Likewise.
45368         * posix/nanosleep.c: Likewise.
45369         * posix/pathconf.c: Likewise.
45370         * posix/pause.c: Likewise.
45371         * posix/posix_madvise.c: Likewise.
45372         * posix/pread.c: Likewise.
45373         * posix/pread64.c: Likewise.
45374         * posix/pwrite.c: Likewise.
45375         * posix/pwrite64.c: Likewise.
45376         * posix/sched_getaffinity.c: Likewise.
45377         * posix/sched_getp.c: Likewise.
45378         * posix/sched_gets.c: Likewise.
45379         * posix/sched_primax.c: Likewise.
45380         * posix/sched_primin.c: Likewise.
45381         * posix/sched_rr_gi.c: Likewise.
45382         * posix/sched_setaffinity.c: Likewise.
45383         * posix/sched_setp.c: Likewise.
45384         * posix/sched_sets.c: Likewise.
45385         * posix/sched_yield.c: Likewise.
45386         * posix/setgid.c: Likewise.
45387         * posix/setlogin.c: Likewise.
45388         * posix/setpgid.c: Likewise.
45389         * posix/setresgid.c: Likewise.
45390         * posix/setresuid.c: Likewise.
45391         * posix/setsid.c: Likewise.
45392         * posix/setuid.c: Likewise.
45393         * posix/sleep.c: Likewise.
45394         * posix/spawni.c: Likewise.
45395         * posix/sysconf.c: Likewise.
45396         * posix/times.c: Likewise.
45397         * posix/wait.c: Likewise.
45398         * posix/wait3.c: Likewise.
45399         * posix/wait4.c: Likewise.
45400         * posix/waitpid.c: Likewise.
45401         * resolv/gai_sigqueue.c: Likewise.
45402         * resource/getpriority.c: Likewise.
45403         * resource/getrlimit.c: Likewise.
45404         * resource/getrusage.c: Likewise.
45405         * resource/nice.c: Likewise.
45406         * resource/setpriority.c: Likewise.
45407         * resource/setrlimit.c: Likewise.
45408         * resource/ulimit.c: Likewise.
45409         * rt/aio_cancel.c: Likewise.
45410         * rt/aio_fsync.c: Likewise.
45411         * rt/aio_read.c: Likewise.
45412         * rt/aio_sigqueue.c: Likewise.
45413         * rt/aio_suspend.c: Likewise.
45414         * rt/aio_write.c: Likewise.
45415         * rt/clock_getres.c: Likewise.
45416         * rt/clock_gettime.c: Likewise.
45417         * rt/clock_nanosleep.c: Likewise.
45418         * rt/clock_settime.c: Likewise.
45419         * rt/lio_listio.c: Likewise.
45420         * rt/mq_close.c: Likewise.
45421         * rt/mq_getattr.c: Likewise.
45422         * rt/mq_notify.c: Likewise.
45423         * rt/mq_open.c: Likewise.
45424         * rt/mq_receive.c: Likewise.
45425         * rt/mq_send.c: Likewise.
45426         * rt/mq_setattr.c: Likewise.
45427         * rt/mq_timedreceive.c: Likewise.
45428         * rt/mq_timedsend.c: Likewise.
45429         * rt/mq_unlink.c: Likewise.
45430         * rt/shm_open.c: Likewise.
45431         * rt/shm_unlink.c: Likewise.
45432         * rt/timer_create.c: Likewise.
45433         * rt/timer_delete.c: Likewise.
45434         * rt/timer_getoverr.c: Likewise.
45435         * rt/timer_gettime.c: Likewise.
45436         * rt/timer_settime.c: Likewise.
45437         * setjmp/__longjmp.c: Likewise.
45438         * setjmp/setjmp.c: Likewise.
45439         * signal/kill.c: Likewise.
45440         * signal/killpg.c: Likewise.
45441         * signal/raise.c: Likewise.
45442         * signal/sigaction.c: Likewise.
45443         * signal/sigaltstack.c: Likewise.
45444         * signal/sigblock.c: Likewise.
45445         * signal/sigignore.c: Likewise.
45446         * signal/sigintr.c: Likewise.
45447         * signal/signal.c: Likewise.
45448         * signal/sigpause.c: Likewise.
45449         * signal/sigpending.c: Likewise.
45450         * signal/sigqueue.c: Likewise.
45451         * signal/sigreturn.c: Likewise.
45452         * signal/sigset.c: Likewise.
45453         * signal/sigsetmask.c: Likewise.
45454         * signal/sigstack.c: Likewise.
45455         * signal/sigsuspend.c: Likewise.
45456         * signal/sigtimedwait.c: Likewise.
45457         * signal/sigvec.c: Likewise.
45458         * signal/sigwait.c: Likewise.
45459         * signal/sigwaitinfo.c: Likewise.
45460         * signal/sysv_signal.c: Likewise.
45461         * socket/accept.c: Likewise.
45462         * socket/accept4.c: Likewise.
45463         * socket/bind.c: Likewise.
45464         * socket/connect.c: Likewise.
45465         * socket/getpeername.c: Likewise.
45466         * socket/getsockname.c: Likewise.
45467         * socket/getsockopt.c: Likewise.
45468         * socket/isfdtype.c: Likewise.
45469         * socket/listen.c: Likewise.
45470         * socket/recv.c: Likewise.
45471         * socket/recvfrom.c: Likewise.
45472         * socket/recvmsg.c: Likewise.
45473         * socket/send.c: Likewise.
45474         * socket/sendmsg.c: Likewise.
45475         * socket/sendto.c: Likewise.
45476         * socket/setsockopt.c: Likewise.
45477         * socket/shutdown.c: Likewise.
45478         * socket/sockatmark.c: Likewise.
45479         * socket/socket.c: Likewise.
45480         * socket/socketpair.c: Likewise.
45481         * stdio-common/ctermid.c: Likewise.
45482         * stdio-common/cuserid.c: Likewise.
45483         * stdio-common/remove.c: Likewise.
45484         * stdio-common/rename.c: Likewise.
45485         * stdio-common/renameat.c: Likewise.
45486         * stdio-common/tempname.c: Likewise.
45487         * stdlib/getcontext.c: Likewise.
45488         * stdlib/makecontext.c: Likewise.
45489         * stdlib/setcontext.c: Likewise.
45490         * stdlib/swapcontext.c: Likewise.
45491         * stdlib/system.c: Likewise.
45492         * streams/fattach.c: Likewise.
45493         * streams/fdetach.c: Likewise.
45494         * streams/getmsg.c: Likewise.
45495         * streams/getpmsg.c: Likewise.
45496         * streams/putmsg.c: Likewise.
45497         * streams/putpmsg.c: Likewise.
45498         * sysdeps/unix/bsd/getpt.c: Likewise.
45499         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
45500         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
45501         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
45502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
45503         Likewise.
45504         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
45505         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
45506         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
45507         * sysvipc/msgctl.c: Likewise.
45508         * sysvipc/msgget.c: Likewise.
45509         * sysvipc/msgrcv.c: Likewise.
45510         * sysvipc/msgsnd.c: Likewise.
45511         * sysvipc/semctl.c: Likewise.
45512         * sysvipc/semget.c: Likewise.
45513         * sysvipc/semop.c: Likewise.
45514         * sysvipc/semtimedop.c: Likewise.
45515         * sysvipc/shmat.c: Likewise.
45516         * sysvipc/shmctl.c: Likewise.
45517         * sysvipc/shmdt.c: Likewise.
45518         * sysvipc/shmget.c: Likewise.
45519         * termios/tcdrain.c: Likewise.
45520         * termios/tcflow.c: Likewise.
45521         * termios/tcflush.c: Likewise.
45522         * termios/tcgetattr.c: Likewise.
45523         * termios/tcgetpgrp.c: Likewise.
45524         * termios/tcsendbrk.c: Likewise.
45525         * termios/tcsetattr.c: Likewise.
45526         * termios/tcsetpgrp.c: Likewise.
45527         * time/adjtime.c: Likewise.
45528         * time/clock.c: Likewise.
45529         * time/getitimer.c: Likewise.
45530         * time/gettimeofday.c: Likewise.
45531         * time/setitimer.c: Likewise.
45532         * time/settimeofday.c: Likewise.
45533         * time/stime.c: Likewise.
45534         * time/time.c: Likewise.
45536 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
45538         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
45539         /usr/old/bin.
45541         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
45542         instead of spaces.
45543         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
45545 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
45547         [BZ #14796]
45548         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
45549         FE_TONEAREST before applying Dekker multiplication and Knuth
45550         addition.  Clear inexact exceptions and check for exact zero
45551         results afterwards.
45552         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
45553         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
45554         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
45555         * math/libm-test.inc (fma_test): Add more tests.
45556         (fma_test_towardzero): Likewise.
45557         (fma_test_downward): Likewise.
45558         (fma_test_upward): Likewise.
45559         * sysdeps/generic/math_private.h (default_libc_fesetround): New
45560         function.
45561         (libc_fesetround): New macro.
45562         (libc_fesetroundf): Likewise.
45563         (libc_fesetroundl): Likewise.
45564         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
45565         function.
45566         (libc_fesetround_387): Likewise.
45567         (libc_fesetroundf): New macro.
45568         (libc_fesetround): Likewise.
45569         (libc_fesetroundl): Likewise.
45570         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
45571         function.
45572         (libc_fesetroundf): New macro.
45573         (libc_fesetround): Likewise.
45574         (libc_fesetroundl): Likewise.
45575         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
45576         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
45577         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
45578         libm_hidden_ver.
45579         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
45580         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
45581         libm_hidden_def.
45582         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
45583         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
45584         libm_hidden_ver.
45585         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
45586         libm_hidden_def.
45588         [BZ #3439]
45589         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
45590         integer constant usable in #if and use that to give value to enum
45591         constant.
45592         (FE_DIVBYZERO): Likewise.
45593         (FE_UNDERFLOW): Likewise.
45594         (FE_OVERFLOW): Likewise.
45595         (FE_INVALID): Likewise.
45596         (FE_INVALID_SNAN): Likewise.
45597         (FE_INVALID_ISI): Likewise.
45598         (FE_INVALID_IDI): Likewise.
45599         (FE_INVALID_ZDZ): Likewise.
45600         (FE_INVALID_IMZ): Likewise.
45601         (FE_INVALID_COMPARE): Likewise.
45602         (FE_INVALID_SOFTWARE): Likewise.
45603         (FE_INVALID_SQRT): Likewise.
45604         (FE_INVALID_INTEGER_CONVERSION): Likewise.
45605         (FE_TONEAREST): Likewise.
45606         (FE_TOWARDZERO): Likewise.
45607         (FE_UPWARD): Likewise.
45608         (FE_DOWNWARD): Likewise.
45609         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
45610         (FE_DIVBYZERO): Likewise.
45611         (FE_OVERFLOW): Likewise.
45612         (FE_UNDERFLOW): Likewise.
45613         (FE_INEXACT): Likewise.
45614         (FE_TONEAREST): Likewise.
45615         (FE_DOWNWARD): Likewise.
45616         (FE_UPWARD): Likewise.
45617         (FE_TOWARDZERO): Likewise.
45618         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
45619         (FE_UNDERFLOW): Likewise.
45620         (FE_OVERFLOW): Likewise.
45621         (FE_DIVBYZERO): Likewise.
45622         (FE_INVALID): Likewise.
45623         (FE_TONEAREST): Likewise.
45624         (FE_TOWARDZERO): Likewise.
45625         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
45626         (FE_OVERFLOW): Likewise.
45627         (FE_UNDERFLOW): Likewise.
45628         (FE_DIVBYZERO): Likewise.
45629         (FE_INEXACT): Likewise.
45630         (FE_TONEAREST): Likewise.
45631         (FE_TOWARDZERO): Likewise.
45632         (FE_UPWARD): Likewise.
45633         (FE_DOWNWARD): Likewise.
45634         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
45635         (FE_DIVBYZERO): Likewise.
45636         (FE_OVERFLOW): Likewise.
45637         (FE_UNDERFLOW): Likewise.
45638         (FE_INEXACT): Likewise.
45639         (FE_TONEAREST): Likewise.
45640         (FE_DOWNWARD): Likewise.
45641         (FE_UPWARD): Likewise.
45642         (FE_TOWARDZERO): Likewise.
45644 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
45646         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
45648 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
45650         * scripts/cross-test-ssh.sh (command): Use newlines to separate
45651         commands.  Quote $PWD.
45652         (blacklist_exports): Don't use remove_newlines.  Replace "declare
45653         -x" by "export".
45654         (remove_newlines): Remove.
45656 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
45658         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
45659         * stdlib/stdlib.h (atof): Moved to ...
45660         * include/bits/stdlib-float.h: Here.  New file.
45661         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
45662         * stdlib/bits/stdlib-float.h: New file.
45663         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
45664         -mno-sse -mno-mmx.
45665         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
45666         <xmmintrin.h>.
45668 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
45670         * conform/conformtest.pl (@headers): Add fenv.h.
45671         * conform/data/fenv.h-data: New file.
45672         * include/fenv.h [_ISOMAC]: Disable all contents of file except
45673         include of <math/fenv.h>.
45675         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
45676         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
45677         && !UNIX98].  Enables tests for XOPEN2K8.
45678         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
45679         POSIX2008]: Likewise.
45681         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
45682         (struct rusage): Do not expect type or its members.
45684         [BZ #3439]
45685         * math/math.h (FP_NAN): Define macro to integer constant usable in
45686         #if and use that to give value to enum constant.
45687         (FP_INFINITE): Likewise.
45688         (FP_ZERO): Likewise.
45689         (FP_SUBNORMAL): Likewise.
45690         (FP_NORMAL): Likewise.
45692 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
45694         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
45695         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
45696         arguments.
45698 2012-11-02  Roland McGrath  <roland@hack.frob.com>
45700         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
45701         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
45702         autoconf-time if not.
45703         * configure.in: Remove AC_PREREQ.
45705 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
45707         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
45708         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
45709         of the internal implementation.
45711 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
45713         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
45714         except include of <misc/sys/syslog.h>.
45716 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
45718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
45719         function returns with a NULL context exit with zero.
45721 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
45723         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
45725 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
45727         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
45728         (run_program_cmd): This.
45729         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
45730         (tst_langinfo): New variable.  Use it.
45732 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
45734         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
45735         floating point opcodes.
45737 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
45739         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
45740         variable.
45742         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
45744         * sysdeps/mach/hurd/powerpc: Remove directory.
45745         * sysdeps/mach/powerpc: Likewise.
45747 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
45749         * scripts/check-local-headers.sh: Ignore c++ headers.
45751 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
45753         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
45754         __libc_cleanup_region_start argument.
45756 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
45758         [BZ #14784]
45759         [BZ #14785]
45760         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
45761         x * y using scaling, not as x * y + z.
45762         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
45763         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
45764         * math/libm-test.inc (fma_test): Add more tests.
45765         (fma_test_towardzero): Likewise.
45766         (fma_test_downward): Likewise.
45767         (fma_test_upward): Likewise.
45769 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
45771         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
45773 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
45775         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
45776         New variable.
45778 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
45780         * rt/tst-shm.c (worker): Correct checking for mmap failure.
45782 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
45784         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45785         Fix sort order.
45786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
45787         Likewise.
45789 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
45791         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45792         Fix the order of the list for glibc 2.17.
45793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
45794         Likewise.
45796 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
45798         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45800 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
45802         [BZ #14610]
45803         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
45804         for low part of x being zero before using __atanl (y).
45805         * math/libm-test.inc (atan2_test): Add another test.
45807         * manual/install.texi (Configuring and compiling): Document
45808         general use of test-wrapper and test-wrapper-env.
45809         * INSTALL: Regenerated.
45811         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
45812         (__fma): Do not extract and scale down low bits on after-rounding
45813         systems when result rounded to normal precision would have normal
45814         exponent.
45815         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
45816         (__fmal): Do not extract and scale down low bits on after-rounding
45817         systems when result rounded to normal precision would have normal
45818         exponent.
45819         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
45820         (__fmal): Do not extract and scale down low bits on after-rounding
45821         systems when result rounded to normal precision would have normal
45822         exponent.
45823         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
45824         macro.
45825         (fma_test): Add more tests.
45826         (fma_test_towardzero): Likewise.
45827         (fma_test_downward): Likewise.
45828         (fma_test_upward): Likewise.
45830 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
45832         * sysdeps/i386/tininess.h: Renamed to ...
45833         * sysdeps/x86/tininess.h: This.
45834         * sysdeps/x86_64/tininess.h: Removed.
45836 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
45838         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
45839         input.  Use $(build-program-cmd).
45840         ($(objpfx)tst-array1-static.out): Likewise.
45841         ($(objpfx)tst-array2.out): Likewise.
45842         ($(objpfx)tst-array3.out): Likewise.
45843         ($(objpfx)tst-array4.out): Likewise.
45844         ($(objpfx)tst-array5.out): Likewise.
45845         ($(objpfx)tst-array5-static.out): Likewise.
45847 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
45849         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
45850         if defined.
45852         * nss/nsswitch.h (nss_interface_function): Provide new
45853         macro for use with NSS functions.
45854         * grp/initgroups.c: Use new macro.
45855         * nss/getXXbyYY.c: Likewise.
45856         * nss/getXXbyYY_r.c: Likewise.
45857         * nss/getXXent.c: Likewise.
45858         * nss/getXXent_r.c: Likewise.
45859         * sysdeps/posix/getaddrinfo.c: Likewise.
45861 2012-10-30  Andreas Jaeger  <aj@suse.de>
45863         * po/ru.po: Update Russion translation from translation project.
45865 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
45867         [BZ #14152]
45868         [BZ #14783]
45869         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
45870         result and shift together with sticky bit instead of replicating
45871         round-to-nearest rounding.
45872         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
45873         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
45874         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
45875         missing underflow exceptions.
45876         (fma_test_towardzero): Add more tests.
45877         (fma_test_downward): Likewise.
45878         (fma_test_upward): Likewise.
45880         [BZ #14047]
45881         * sysdeps/generic/tininess.h: New file.
45882         * sysdeps/i386/tininess.h: Likewise.
45883         * sysdeps/sh/tininess.h: Likewise.
45884         * sysdeps/x86_64/tininess.h: Likewise.
45885         * stdlib/tst-strtod-underflow.c: Likewise.
45886         * stdlib/tst-tininess.c: Likewise.
45887         * stdlib/strtod_l.c: Include <tininess.h>.
45888         (round_and_return): Do not set errno for exact underflow cases.
45889         Force an underflow exception when setting errno for underflow.
45890         Determine underflow based on rounding to normal precision if
45891         TININESS_AFTER_ROUNDING.
45892         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
45893         ERANGE for exact underflow cases.
45894         * stdlib/Makefile (tests): Add tst-tininess and
45895         tst-strtod-underflow.
45896         ($(objpfx)tst-tininess): Use $(link-libm).
45897         ($(objpfx)tst-strtod-underflow): Likewise.
45899 2012-10-30  Andreas Jaeger  <aj@suse.de>
45901         [BZ#14767]
45902         * elf/Makefile (tests): Remove conditional for have-initfini-array
45903         since this is now always required and the variable does not exist
45904         anymore.
45905         (tests-static): Likewise.
45906         (modules-names): Likewise.
45908         * po/eo.po: Add Esperanto translation from translation project.
45910         * elf/tst-array1.c (fini_array): Make writeable so that it can be
45911         merged with constructor/destructor.
45912         (init_array): Likewise.
45913         * elf/tst-array2dep.c (fini_array): Likewise.
45914         (init_array): Likewise.
45916 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
45918         * manual/message.texi: Delete @cartouche tags.
45920 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
45922         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
45923         EOPNOTSUPP.
45924         * sysdeps/mach/hurd/fsync.c: Likewise.
45926         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
45927         [_POSIX_REALTIME_SIGNALS]: Change condition to
45928         [_POSIX_REALTIME_SIGNALS > 0].
45930 2012-10-27  Andreas Jaeger  <aj@suse.de>
45932         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
45933         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
45934         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
45935         [__WORDSIZE != 64]: Likewise.
45937 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
45939         *  iconvdata/tst-table.sh: Remove ${SHELL}.
45940         *  iconvdata/tst-tables.sh: Likewise.
45942 2012-10-25  David S. Miller  <davem@davemloft.net>
45944         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
45945         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
45946         of strtoull.
45948         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
45949         ifunc-impl-list.c
45950         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45951         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
45952         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
45953         file.
45955 2012-10-25  Roland McGrath  <roland@hack.frob.com>
45957         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
45958         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
45959         __getdirentries.
45961 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
45962             Jim Blandy  <jimb@codesourcery.com>
45964         * scripts/cross-test-ssh.sh: New file.
45965         * manual/install.texi (Configuring and compiling): Document use of
45966         cross-test-ssh.sh.
45967         * INSTALL: Regenerated.
45969 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
45971         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
45972         EOPNOTSUPP.
45974 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
45976         * Makeconfig (run-program-prefix): Fix comment.
45978 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
45979             Jim Blandy  <jimb@codesourcery.com>
45981         * Makeconfig (test-wrapper): New variable,
45982         (test-wrapper-env): Likewise.
45983         [$(cross-compiling) = yes && $(test-wrapper) != ""]
45984         (run-built-tests): Define to yes.
45985         (run-program-prefix): Use $(test-wrapper).
45986         (built-program-cmd): Likewise.
45987         * Rules (make-test-out): Use $(test-wrapper-env) and
45988         $(host-built-program-cmd).
45989         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
45990         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
45991         tst-pathopt.sh.
45992         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
45993         $(test-wrapper-env) to tst-rtld-load-self.sh.
45994         ($(objpfx)order2.out): Use $(test-wrapper).
45995         ($(objpfx)tst-initorder.out): Likewise.
45996         ($(objpfx)tst-initorder2.out): Likewise.
45997         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
45998         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
45999         (test_wrapper_env): New variable.  Use it to run ld.so.
46000         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
46001         Use it to run ld.so.
46002         (test_wrapper_env): Likewise.
46003         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
46004         $(test-wrapper) to run-iconv-test.sh.
46005         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
46006         (ICONV): Use $test_wrapper.
46007         * posix/Makefile ($(objpfx)globtest.out): Pass
46008         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
46009         globtest.sh, not $(run-program-prefix).
46010         * posix/globtest.sh (run_via_rtld_prefix): New variable.
46011         (test_wrapper): Likewise.
46012         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
46013         set together with run_via_rtld_prefix.
46014         (run_program_prefix): Define in terms of test_wrapper and
46015         run_via_rtld_prefix.
46017 2012-10-24  Roland McGrath  <roland@hack.frob.com>
46019         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
46020         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
46021         Targets removed.
46023         [BZ #14743]
46024         * include/time.h: Remove librt_hidden_proto (clock_gettime).
46025         Declare __clock_getres, __clock_gettime, __clock_settime,
46026         __clock_nanosleep, and __clock_getcpuclockid.
46027         * rt/clock_gettime.c: Define __clock_gettime as an alias.
46028         Remove librt_hidden_def (clock_gettime).
46029         * sysdeps/unix/clock_gettime.c: Likewise.
46030         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
46031         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
46032         * rt/clock_getres.c: Define __clock_getres as an alias.
46033         * sysdeps/posix/clock_getres.c: Likewise.
46034         * rt/clock_settime.c: Define __clock_settime as an alias.
46035         * sysdeps/unix/clock_settime.c: Likewise.
46036         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
46037         * sysdeps/unix/clock_nanosleep.c: Likewise.
46038         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
46039         * rt/clock-compat.c: New file.
46040         * rt/Makefile (librt-routines): Add clock-compat and move
46041         $(clock-routines) to ...
46042         (routines): ... here, new variable.
46043         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
46044         Don't add get_clockfreq here.
46045         * rt/Versions (libc: GLIBC_2.17): New version set.
46046         Add clock_* symbols here.
46047         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
46048         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
46049         (GLIBC_2.17): Add clock_* symbols.
46050         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
46051         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
46052         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
46053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
46054         Likewise.
46055         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
46056         Likewise.
46057         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
46058         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
46059         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
46060         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
46061         * NEWS: Mention the move.
46063         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
46064         Use __open, __read, __close rather than their public counterparts.
46065         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
46066         (__get_clockfreq_via_cpuinfo): Likewise.
46067         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
46068         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
46070         * config.h.in (HAVE_IFUNC): New #undef.
46071         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
46072         was successful.
46073         * configure: Regenerated.
46075 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
46077         * configure.in: Move READELF check to start of file.
46078         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
46079         libc_cv_asm_gnu_indirect_function in the process.
46080         * configure: Regenerated.
46082 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
46084         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
46085         send the output to /dev/null.
46086         (libc_cv_cc_with_libunwind): Likewise.
46087         (libc_cv_as_noexecstack): Likewise.
46088         * configure: Regenerate.
46090 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
46092         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
46094         * posix/globtest.sh (TMPDIR): Do not set.
46095         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
46096         (testout): Likewise.
46098 2012-10-24  Andreas Jaeger  <aj@suse.de>
46100         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
46101         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
46102         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
46103         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
46104         posix_fadvise64, posix_fallocate64.
46106         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
46107         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
46108         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
46109         Likewise.
46110         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
46111         Likewise.
46112         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
46114         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
46115         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
46116         <bits/fcntl-linux.h>.
46117         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
46119         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
46120         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
46121         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
46122         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
46123         [__WORDSIZE != 64]: Likewise.
46125 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
46127         * Makeconfig (run-built-tests): New variable.
46128         * Rules [$(cross-compiling) = yes]: Change condition to
46129         [$(run-built-tests) = no].
46130         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
46131         to [$(run-built-tests) = yes].
46132         * elf/Makefile [$(cross-compiling) = no]: Likewise
46133         * grp/Makefile [$(cross-compiling) = no]: Likewise.
46134         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
46135         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
46136         * intl/Makefile [$(cross-compiling) = no]: Likewise.
46137         * io/Makefile [$(cross-compiling) = no]: Likewise.
46138         * libio/Makefile [$(cross-compiling) = no]: Likewise.
46139         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
46140         * misc/Makefile [$(cross-compiling) = no]: Likewise.
46141         * posix/Makefile [$(cross-compiling) = no]: Likewise.
46142         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
46143         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
46144         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
46145         * string/Makefile [$(cross-compiling) = no]: Likewise.
46147         * posix/Makefile ($(objpfx)globtest.out): Pass
46148         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
46149         $(rtld-installed-name).
46150         * posix/globtest.sh (elf_objpfx): Remove variable.
46151         (rtld_installed_name): Likewise.
46152         (library_path): Likewise.
46153         (run_program_prefix): New variable.  Use for running globtest
46154         binary.
46156 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
46157             Joseph Myers  <joseph@codesourcery.com>
46159         * Makeconfig (host-built-program-cmd): New variable.
46160         * elf/Makefile (tst-stackguard1-ARGS): Use
46161         $(host-built-program-cmd).
46162         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
46163         (tst-spawn-ARGS): Likewise.
46164         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
46166 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
46167             Jim Blandy  <jimb@codesourcery.com>
46169         * Makeconfig (run-via-rtld-prefix): New variable.
46170         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
46171         (built-program-cmd): Likewise.
46173 2012-10-22  Andreas Jaeger  <aj@suse.de>
46175         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
46176         __O_RSYNC if it exists, otherwise to O_SYNC.
46178 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
46179             Joseph Myers  <joseph@codesourcery.com>
46181         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
46182         /dev/null.
46183         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
46184         from /dev/null
46185         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
46186         /dev/null.
46188 2012-10-22  Andreas Jaeger  <aj@suse.de>
46190         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
46191         Define always.
46192         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
46194         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46195         bits/fcntl-linux.h.
46197         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
46198         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
46200         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
46201         to __O_LARGEFILE.
46202         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
46203         to __O_LARGEFILE.
46205 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
46206             Joseph Myers  <joseph@codesourcery.com>
46208         * config.make.in (NM): New variable.
46210 2012-10-21  Andreas Jaeger  <aj@suse.de>
46212         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
46213         definitions and declarations that are provided by
46214         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
46216 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
46218         [BZ #14683]
46219         * elf/Makefile (tests-static): Add tst-leaks1-static.
46220         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
46221         ($(objpfx)tst-leaks1-static): New rule.
46222         ($(objpfx)tst-leaks1-static-mem): Likewise.
46223         (tst-leaks1-static-ENV): New macro.
46224         * elf/dl-open.c (dl_open_worker): Check the main application
46225         only if SHARED is defined.
46226         * elf/tst-leaks1-static.c: New file.
46228 2012-10-20  Andreas Jaeger  <aj@suse.de>
46230         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
46231         generic values for Linux.
46232         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
46233         and declarations that are provided by <bits/fcntl-linux.h> and
46234         include <bits/fcntl-linux.h>.
46235         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46236         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46238 2012-10-20  Roland McGrath  <roland@hack.frob.com>
46240         * io/fcntl.h: Move include of <bits/types.h> to the top and
46241         include it unconditionally.
46243 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
46245         * wcsmbs/Makefile (tests-ifunc): New variable.
46246         (tests): Add $(tests-ifunc).
46247         * wcsmbs/test-wcschr-ifunc.c: New file.
46248         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
46249         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
46250         * wcsmbs/test-wcslen-ifunc.c: Likewise.
46251         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
46252         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
46254         * string/Makefile (tests-ifunc): New variable.
46255         (tests): Add $(tests-ifunc).
46256         * string/test-memccpy.c (TEST_NAME): New macro.
46257         * string/test-memchr.c (TEST_NAME): Likewise.
46258         * string/test-memcmp.c (TEST_NAME): Likewise.
46259         * string/test-memcpy.c (TEST_NAME): Likewise.
46260         * string/test-memmem.c (TEST_NAME): Likewise.
46261         * string/test-memmove.c (TEST_NAME): Likewise.
46262         * string/test-memset.c (TEST_NAME): Likewise.
46263         * string/test-rawmemchr.c (TEST_NAME): Likewise.
46264         * string/test-stpcpy.c (TEST_NAME): Likewise.
46265         * string/test-stpncpy.c (TEST_NAME): Likewise.
46266         * string/test-strcasecmp.c (TEST_NAME): Likewise.
46267         * string/test-strcasestr.c (TEST_NAME): Likewise.
46268         * string/test-strcat.c (TEST_NAME): Likewise.
46269         * string/test-strchr.c (TEST_NAME): Likewise.
46270         * string/test-strcmp.c(TEST_NAME): Likewise.
46271         * string/test-strcpy.c (TEST_NAME): Likewise.
46272         * string/test-strcspn.c (TEST_NAME): Likewise.
46273         * string/test-strlen.c (TEST_NAME): Likewise.
46274         * string/test-strncasecmp.c (TEST_NAME): Likewise.
46275         * string/test-strncmp.c (TEST_NAME): Likewise.
46276         * string/test-strncpy.c (TEST_NAME): Likewise.
46277         * string/test-strnlen.c (TEST_NAME): Likewise.
46278         * string/test-strpbrk.c (TEST_NAME): Likewise.
46279         * string/test-strrchr.c (TEST_NAME): Likewise.
46280         * string/test-strspn.c (TEST_NAME): Likewise.
46281         * string/test-strstr.c (TEST_NAME): Likewise.
46282         * string/test-bcopy-ifunc.c: New file.
46283         * string/test-bzero-ifunc.c: Likewise.
46284         * string/test-memccpy-ifunc.c: Likewise.
46285         * string/test-memchr-ifunc.c: Likewise.
46286         * string/test-memcmp-ifunc.c: Likewise.
46287         * string/test-memcpy-ifunc.c: Likewise.
46288         * string/test-memmem-ifunc.c: Likewise.
46289         * string/test-memmove-ifunc.c: Likewise.
46290         * string/test-mempcpy-ifunc.c: Likewise.
46291         * string/test-memset-ifunc.c: Likewise.
46292         * string/test-rawmemchr-ifunc.c: Likewise.
46293         * string/test-stpcpy-ifunc.c: Likewise.
46294         * string/test-stpncpy-ifunc.c: Likewise.
46295         * string/test-strcasecmp-ifunc.c: Likewise.
46296         * string/test-strcasestr-ifunc.c: Likewise.
46297         * string/test-strcat-ifunc.c: Likewise.
46298         * string/test-strchr-ifunc.c: Likewise.
46299         * string/test-strchrnul-ifunc.c: Likewise.
46300         * string/test-strcmp-ifunc.c: Likewise.
46301         * string/test-strcpy-ifunc.c: Likewise.
46302         * string/test-strcspn-ifunc.c: Likewise.
46303         * string/test-strlen-ifunc.c: Likewise.
46304         * string/test-strncasecmp-ifunc.c: Likewise.
46305         * string/test-strncat-ifunc.c: Likewise.
46306         * string/test-strncmp-ifunc.c: Likewise.
46307         * string/test-strncpy-ifunc.c: Likewise.
46308         * string/test-strnlen-ifunc.c: Likewise.
46309         * string/test-strpbrk-ifunc.c: Likewise.
46310         * string/test-strrchr-ifunc.c: Likewise.
46311         * string/test-strspn-ifunc.c: Likewise.
46312         * string/test-strstr-ifunc.c: Likewise.
46314         * debug/Makefile (tests-ifunc): New variable.
46315         (tests): Add $(tests-ifunc).
46316         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
46317         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
46318         * debug/test-stpcpy_chk-ifunc.c: New file.
46319         * debug/test-strcpy_chk-ifunc.c: Likewise.
46321 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
46323         [BZ #13601]
46324         * elf/dl-load.c (open_verify): Retry read if the entire ELF
46325         header is not read in.
46327 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
46329         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
46330         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
46331         directly.  Pass built executable to script as
46332         $(built-program-cmd).
46333         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
46334         $testprogram without using LD_LIBRARY_PATH and $ldso.
46336         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
46337         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
46338         $(rtld-installed-name).
46339         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
46340         (rtld_installed_name): Likewise.
46341         (library_path): Likewise.
46342         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
46343         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
46344         $(run-program-prefix) to tst-tables.sh.
46345         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
46346         it to run tst-table-from and tst-table-to.
46347         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
46348         Pass it to tst-table.sh.
46349         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
46350         $(run-program-prefix) to tst-gettext.sh.
46351         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
46352         tst-translit.sh.
46353         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
46354         tst-gettext2.sh.
46355         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
46356         to run tst-gettext.
46357         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
46358         to run tst-gettext2.
46359         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
46360         to run tst-translit.
46361         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
46362         $(run-program-prefix) to tst-mtrace.sh.
46363         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
46364         to run tst-mtrace.
46365         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
46366         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
46367         $(rtld-installed-name).
46368         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
46369         (rtld_installed_name): Likewise.
46370         (run_program_prefix): New variable.  Use it to run wordexp-test.
46372         * Makeconfig (ARCH): Remove all definitions.
46373         (machine): Likewise.
46374         [ARCH]: Remove conditional code.
46375         [!objdir]: Give error.
46376         [!objdir] (objpfx): Remove.
46377         [!objdir] (common-objpfx): Likewise.
46378         [!objdir] (common-objdir): Likewise.
46379         * configure.in (config_makefile): Remove.  Hardcode Makefile in
46380         AC_CONFIG_FILES call.
46381         * configure: Regenerated.
46383         [BZ #13888]
46384         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
46385         or TMPDIR.
46386         (testout): Likewise.
46388         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
46389         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
46390         $(rtld-installed-name).
46391         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
46392         (rtld_installed_name): Likwise.
46393         (runit): Remove function.
46394         (run_getconf): New variable,  Use it for running getconf binary.
46396 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
46398         [BZ #14716]
46399         * string/test-memmem.c (check_result): New function.
46400         (do_one_test): Use it.
46401         (check1): New function.
46402         (test_main): Use it.
46404 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
46406         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
46408 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
46410         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
46411         (_G_LSEEK64): Likewise.
46412         (_G_MMAP64): Likewise.
46413         (_G_FSTAT64): Likewise.
46414         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
46415         (_G_LSEEK64): Likewise.
46416         (_G_MMAP64): Likewise.
46417         (_G_FSTAT64): Likewise.
46418         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
46419         unconditional.  Call __mmap64 directly.
46420         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
46421         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
46422         __lseek64 directly.
46423         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
46424         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
46425         __mmap64 directly.
46426         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
46427         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
46428         __lseek64 directly.
46429         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
46430         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
46431         __lseek64 directly.
46432         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
46433         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
46434         __lseek64 directly.
46435         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
46436         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
46437         __fxstat64 directly.
46438         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
46439         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
46440         unconditional.
46441         (freopen64) [!_G_OPEN64]: Remove conditional code.
46442         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
46443         unconditional.
46444         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
46445         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
46446         unconditional.
46447         (ftello64) [!_G_LSEEK64]: Remove conditional code.
46448         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
46449         unconditional.
46450         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
46451         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
46452         unconditional.
46453         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
46454         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
46455         unconditional.
46456         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
46457         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
46458         unconditional.
46459         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
46460         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
46461         unconditional.
46462         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
46464 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
46466         [BZ #12140]
46467         * manual/memory.texi (Malloc Tunable Parameters): Add note
46468         about free list pointers overwriting some perturb bytes.
46469         Wording suggested by Roland McGrath.
46471 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
46473         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
46474         (lgamma_test): Likewise.
46475         (tgamma_test): Likewise.
46477 2012-10-16  Florian Weimer  <fweimer@redhat.com>
46479         [BZ #14700]
46480         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
46481         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
46483 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
46485         * NEWS: Mention BZ #14716.
46486         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
46487         when removing AVAILABLE1_USES_J macro.
46489 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
46491         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
46492         (__bswap_64): __uint64_t for unsigned 64-bit int.
46494 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
46496         * include/string.h (memmem): Declare libc hidden alias.
46497         * string/memmem.c (memmem): Define libc hidden alias.
46498         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
46499         __read, __close instead of open, read, close.
46501 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
46503         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
46504         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
46505         global and hidden.
46506         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
46507         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
46508         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
46509         Likewise.
46510         (__rawmemchr_sse2): Likewise.
46511         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
46512         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
46513         (__strchr_sse2): Likewise.
46514         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
46515         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
46516         (__strcasecmp_sse2): Likewise.
46517         (__strncasecmp_sse2): Likewise.
46518         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
46519         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
46520         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
46521         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
46522         (__strrchr_sse2): Likewise.
46523         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
46524         ifunc-impl-list.c.
46525         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
46526         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
46527         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
46528         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
46529         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
46530         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
46531         * sysdeps/x86_64/multiarch/memset.S: Likewise.
46532         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
46533         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
46534         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
46535         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
46536         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
46537         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
46538         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
46539         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
46540         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
46541         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
46542         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
46543         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
46544         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
46545         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
46546         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
46547         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
46548         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
46549         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
46550         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
46551         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
46552         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
46553         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
46554         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
46556         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
46557         global and hidden.
46558         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
46559         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
46560         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
46561         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
46562         Likewise.
46563         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
46564         Likewise.
46565         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
46566         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
46567         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
46568         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
46569         ifunc-impl-list.c.
46570         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
46571         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
46572         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
46573         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
46574         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
46575         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
46576         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
46577         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
46578         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
46579         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
46580         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
46581         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
46582         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
46583         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
46584         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
46585         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
46586         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
46587         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
46588         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
46589         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
46590         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
46591         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
46592         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
46593         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
46594         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
46595         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
46596         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
46597         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
46598         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
46599         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
46600         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
46601         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
46602         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
46603         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
46604         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
46605         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
46606         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
46607         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
46608         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
46609         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
46610         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
46612         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
46613         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
46614         * include/ifunc-impl-list.h: New file.
46615         * misc/ifunc-impl-list.c: Likewise.
46616         * misc/Makefile (routines): Add ifunc-impl-list.
46617         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
46618         * string/test-string.h: Include <ifunc-impl-list.h>.
46619         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
46620         TEST_NAME]: New variables.
46621         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
46622         are defined.
46623         (test_init): Call __libc_ifunc_impl_list to initialize
46624         func_list if TEST_IFUNC and TEST_NAME are defined.
46626         * string/Makefile (strop-tests): Add bcopy and bzero.
46627         * string/test-bcopy.c: New file.
46628         * string/test-bzero.c: Likewise.
46629         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
46630         defined.
46631         * string/test-memset.c: Support bzero test if TEST_BZERO is
46632         defined.
46633         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
46634         __libc_memmove.
46635         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
46636         __libc_memset.
46637         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
46638         of memset.
46640 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
46642         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
46643         * configure: Regenerated.
46645         * Makeconfig (+link-static-before-libc): Don't include
46646         $(link-static-libc).
46648         * libio/libio.h (_IO_pos_t): Remove.
46650 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
46652         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
46653         McGrath.
46655 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
46657         * crypt/crypt-entry.c: Include fips-private.h.
46658         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
46659         * crypt/md5c-test.c (main): Tolerate disabled MD5.
46660         * sysdeps/unix/sysv/linux/fips-private.h: New file.
46661         * sysdeps/generic/fips-private.h: New file, dummy fallback.
46663 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
46665         * crypt/crypt-private.h: Include stdbool.h.
46666         (_ufc_setup_salt_r): Return bool.
46667         * crypt/crypt-entry.c: Include errno.h.
46668         (__crypt_r): Return NULL with EINVAL for bad salt.
46669         * crypt/crypt_util.c (bad_for_salt): New.
46670         (_ufc_setup_salt_r): Check that salt is long enough and within
46671         the specified alphabet.
46672         * crypt/badsalttest.c: New file.
46673         * crypt/Makefile (tests): Add it.
46674         ($(objpfx)badsalttest): New.
46676 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
46678         * NEWS: Add entry for BZ #14602.
46680 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
46682         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
46683         type-generic.
46684         * math/libm-test.inc: Update comment listing what functions and
46685         macros are tested.
46686         (isgreater_test): New function.
46687         (isgreaterequal_test): Likewise.
46688         (isless_test): Likewise.
46689         (islessequal_test): Likewise.
46690         (islessgreater_test): Likewise.
46691         (isunordered_test): Likewise.
46692         (main): Call the new functions.
46694 2012-10-09  Roland McGrath  <roland@hack.frob.com>
46696         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
46697         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
46698         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
46699         * sysdeps/i386/configure: Regenerated.
46700         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
46701         * sysdeps/mach/configure: Regenerated.
46702         * sysdeps/mach/hurd/configure: Regenerated.
46703         * sysdeps/powerpc/configure: Regenerated.
46704         * sysdeps/powerpc/powerpc32/configure: Regenerated.
46705         * sysdeps/powerpc/powerpc64/configure: Regenerated.
46706         * sysdeps/s390/s390-32/configure: Regenerated.
46707         * sysdeps/s390/s390-64/configure: Regenerated.
46708         * sysdeps/sh/configure: Regenerated.
46709         * sysdeps/sparc/configure: Regenerated.
46710         * sysdeps/unix/sysv/linux/configure: Regenerated.
46711         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
46712         * sysdeps/x86_64/configure: Regenerated.
46714         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
46715         defined.  Don't check if MAP is NULL.
46717 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
46719         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
46720         (_G_stat64): Likewise.
46721         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
46722         (_G_stat64): Likewise.
46723         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
46724         instead of struct _G_stat64.
46725         * libio/fileops.c (mmap_remap_check): Likewise.
46726         (decide_maybe_mmap): Likewise.
46727         (_IO_new_file_seekoff): Likewise.
46728         (_IO_file_stat): Likewise.
46729         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
46730         _G_off64_t.
46731         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
46732         instead of struct _G_stat64.
46733         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
46735 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
46737         [BZ #14602]
46738         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
46739         Replace with ...
46740         (CHECK_EOL): New macro.
46741         (two_way_short_needle): Check beginning of haystack for EOL.  Use
46742         CHECK_EOL.
46743         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
46744         Replace with CHECK_EOL.
46745         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
46746         Replace with CHECK_EOL.
46748 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
46750         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
46751         type-generic.
46752         * math/libm-test.inc: Update comment listing what functions and
46753         macros are tested.
46754         (finite_test): New function.
46755         (isinf_test): Likewise.
46756         (isnan_test): Likewise.
46757         (fpclassify_test): Test subnormal input.
46758         (isfinite_test): Likewise.
46759         (isnormal_test): Likewise.
46760         (main): Call the new functions.
46762 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
46764         [BZ #14660]
46765         * Makerules (%.dynsym): Force C locale when running
46766         $(OBJDUMP) --dynamic-syms.
46768 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
46770         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
46771         <stdint.h>.
46773 2012-10-06  David S. Miller  <davem@davemloft.net>
46775         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
46776         upper 32-bits of the length value in %o2 since we use branch-on-register
46777         tests which consider the entire 64-bit register.
46779 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
46781         * string/test-strstr.c (check2): Add a test for page boundary.
46783 2012-10-05  David S. Miller  <davem@davemloft.net>
46785         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
46786         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
46787         file.
46788         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
46789         sysdep_routines.
46790         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
46791         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
46792         and bzero when HWCAP_SPARC_CRYPTO is present.
46794 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
46796         [BZ #14602]
46797         * string/test-strstr.c (check2): New function.
46798         (test_main): Call check2.
46800         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
46801         and bug-strchr1.
46802         * string/bug-strcasestr1.c (do_test): Moved to ...
46803         * string/test-strcasestr.c (check1): Here.  New function.
46804         (do_one_test): Break out result checking code into ...
46805         (check_result): This.  New function.
46806         (do_one_test): Call check_result.
46807         (test_main): Call check1.
46808         * string/bug-strchr1.c (do_test): Moved to ...
46809         * string/test-strchr.c (check1): Here.  New function.
46810         (do_one_test): Break out result checking code into ...
46811         (check_result): This.  New function.
46812         (do_one_test): Call check_result.
46813         (test_main): Call check1.
46814         * string/bug-strstr1.c (main): Moved to ...
46815         * string/test-strstr.c (check1): Here.  New function.
46816         (do_one_test): Break out result checking code into ...
46817         (check_result): This.  New function.
46818         (do_one_test): Call check_result.
46819         (test_main): Call check1.
46820         * string/bug-strcasestr1.c: Removed.
46821         * string/bug-strchr1.c: Likewise.
46822         * string/bug-strstr1.c: Likewise.
46824         * elf/Makefile (dl-routines): Add hwcaps.
46825         * elf/dl-support.c (_dl_important_hwcaps): Removed.
46826         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
46827         (_dl_important_hwcaps): Moved to ...
46828         * elf/dl-hwcaps.c: Here.  New file.
46829         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
46831         [BZ #14557]
46832         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
46833         if IS_IN_rtld isn't defined.
46835         * elf/dl-support.c (_dl_sysinfo_map): New.
46836         Include "get-dynamic-info.h" and "setup-vdso.h".
46837         (_dl_non_dynamic_init): Call setup_vdso.
46838         * elf/dynamic-link.h: Don't include <assert.h>.
46839         (elf_get_dynamic_info): Moved to ...
46840         * elf/get-dynamic-info.h: Here.  New file.
46841         * elf/dynamic-link.h: Include "get-dynamic-info.h".
46842         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
46843         * elf/setup-vdso.h: Here.  New file.
46844         * elf/rtld.c: Include "setup-vdso.h".
46845         (dl_main): Call setup_vdso.
46847 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
46849         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
46850         creal in comment listing functions tested.  List finite, isinf,
46851         isnan, isless, islessequal, isgreater, isgreaterequal,
46852         islessgreater, isunordered, lgamma_r and pow10 as functions and
46853         macros not tested.  Mention which functions not tested are aliases
46854         for other functions.  Fix typo.  Note that signs of NaNs are not
46855         tested.
46857         * scripts/config.guess: Update from config.git.
46858         * scripts/config.sub: Likewise.
46860 2012-10-04  Roland McGrath  <roland@hack.frob.com>
46862         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
46863         * misc/madvise.c (madvise): Renamed to __madvise.
46864         Make madvise a weak alias.
46865         * include/sys/mman.h: Declare __madvise.
46866         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
46867         * sysdeps/unix/syscalls.list
46868         (madvise): Make __madvise the strong name, and madvise a weak alias.
46869         * sysdeps/unix/sysv/linux/syscalls.list
46870         (madvise, mmap): Remove redundant entries.
46871         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
46872         * malloc/malloc.c (mtrim): Likewise.
46873         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
46875 2012-10-03  Roland McGrath  <roland@hack.frob.com>
46877         * sysdeps/mach/hurd/dl-cache.c: File removed.
46878         * config.h.in (USE_LDCONFIG): New #undef.
46879         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
46880         * configure: Regenerated.
46881         * elf/Makefile (dl-routines): Add dl-cache only under
46882         [$(use-ldconfig) = yes].
46883         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
46884         cache on [USE_LDCONFIG].
46885         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
46886         [USE_LDCONFIG].
46887         * elf/rtld.c (dl_main): Likewise.
46889 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
46891         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
46892         _SC_LEVEL4_CACHE_LINESIZE.
46894 2012-10-03  Roland McGrath  <roland@hack.frob.com>
46896         * sysdeps/unix/bsd/confstr.h: File removed.
46898 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
46900         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
46901         sys/sdt-config.h.
46903 2012-10-02  Roland McGrath  <roland@hack.frob.com>
46905         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
46906         Make 'mapoff' field ElfW(Off) rather than off_t.
46908 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
46910         * nscd/Makefile: Remove nscd-cflags and all its users.
46911         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
46912         (CFLAGS-nonlib): Add compiler flags for nscd modules.
46914         [BZ #10631]
46915         * malloc.c (malloc_printerr): Clarify error message.
46917 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
46919         [BZ #14648]
46920         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46921         Set bit_FMA_Usable if FMA is supported.
46922         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
46923         macro.
46924         (bit_FMA4_Usable): Updated.
46925         (index_FMA_Usable): New macro.
46926         (CPUID_FMA): Likewise
46927         (HAS_FMA): Defined with bit_FMA_Usable.
46929 2012-10-01  Roland McGrath  <roland@hack.frob.com>
46931         * bits/types.h (__swblk_t): Type removed.
46932         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
46933         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
46934         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
46935         (__SWBLK_T_TYPE): Likewise.
46936         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
46937         (__SWBLK_T_TYPE): Likewise.
46938         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46939         (__SWBLK_T_TYPE): Likewise.
46940         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
46941         (__SWBLK_T_TYPE): Likewise.
46943 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
46944             Honza Horak <hhorak@redhat.com>
46946         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
46947         (xdr_mapname): Use YPMAXMAP as maxsize.
46948         (xdr_peername): Use YPMAXPEER as maxsize.
46949         (xdr_keydat): Use YPAXRECORD as maxsize.
46950         (xdr_valdat): Use YPMAXRECORD as maxsize.
46952 2012-10-01  Roland McGrath  <roland@hack.frob.com>
46954         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
46956         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
46957         * csu/init-first.c: ... here.
46958         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
46959         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
46960         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
46961         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
46962         * sysdeps/i386/init-first.c: File removed.
46963         * sysdeps/sh/init-first.c: File removed.
46965 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
46967         [BZ #14645]
46968         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
46969         if x * y might underflow to zero and z is zero.
46970         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
46971         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
46972         * math/libm-test.inc (min_subnorm_value): New variable.
46973         (fma_test): Add more tests.
46974         (fma_test_towardzero): Likewise.
46975         (fma_test_downward): Likewise
46976         (fma_test_upward): Likewise.
46977         (initialize): Set min_subnorm_value.
46979 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
46981         [BZ #14638]
46982         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
46983         0 + 0.
46984         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
46985         mode for addition resulting in exact zero.
46986         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
46987         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
46988         exact 0 + 0.
46989         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
46990         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
46991         * math/libm-test.inc (fma_test): Add more tests.
46992         (fma_test_towardzero): New function.
46993         (fma_test_downward): Likewise.
46994         (fma_test_upward): Likewise.
46995         (main): Call the new functions.
46997 2012-09-28  David S. Miller  <davem@davemloft.net>
46999         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
47001 2012-09-28  Roland McGrath  <roland@hack.frob.com>
47003         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
47004         instead of SIGALRM.
47006         * sysdeps/gnu/_G_config.h: Moved to ...
47007         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
47008         * sysdeps/mach/hurd/_G_config.h: Moved to ...
47009         * sysdeps/generic/_G_config.h: ... here.
47011         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
47013         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
47015         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
47016         Conditionalize target on [libnss_test1.so-version].
47018         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
47020         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
47021         (elfobjdir): Move out of conditionals.
47023         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
47024         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
47025         (__nss_lookup_function): Conditionalize label remove_from_tree on
47026         [!DO_STATIC_NSS || SHARED], matching its only use.
47028 2012-09-28  David S. Miller  <davem@davemloft.net>
47030         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
47031         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
47032         file.
47033         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
47034         sysdep_routines.
47035         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
47036         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
47037         when HWCAP_SPARC_CRYPTO is present.
47039 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
47041         * io/tst-mknodat.c: Create a FIFO instead of a socket.
47043 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
47045         [BZ #6530]
47046         * stdio-common/vfprintf.c (process_string_arg): Revert
47047         2000-07-22 change.
47049 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
47051         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
47052         for testcase.
47053         * stdio-common/tst-sprintf.c: Include <locale.h>
47054         (main): Test sprintf's handling of incomplete multibyte
47055         characters.
47057 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
47059         * elf/dl-runtime.c (VERSYMIDX): Removed.
47060         * elf/dl-version.c (VERSYMIDX): Likewise.
47061         * elf/do-rel.h (VERSYMIDX): Likewise.
47062         (VALIDX): Likewise.
47063         * elf/dynamic-link.h (VERSYMIDX): Likewise.
47064         * elf/rtld.c (VALIDX): Likewise.
47065         (ADDRIDX): Likewise.
47066         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
47067         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
47068         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
47069         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
47070         (VALIDX): Likewise.
47071         (ADDRIDX): Likewise.
47073 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
47075         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
47077 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
47079         [BZ #11438]
47080         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
47081         to global scope.
47082         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
47083         addresses are in the same scope as 192.0.2/24.
47084         * posix/gai.conf: Document new scope table defaults.
47086 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
47088         [BZ #5298]
47089         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
47090         for ftell.  Compute offsets from write pointers instead.
47091         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
47093 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
47095         [BZ #14543]
47096         * libio/Makefile (tests): New test case tst-fseek.
47097         * libio/tst-fseek.c: New test case to verify that fseek/ftell
47098         combination works in wide mode.
47099         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
47100         state when the external buffer state changes.
47102 2012-09-27  David S. Miller  <davem@davemloft.net>
47104         [BZ #14376]
47105         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
47106         pass reloc->r_addend in as the 'high' argument to
47107         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
47109         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47111 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
47113         * rt/tst-aio2.c: Include <pthread.h>.
47114         * rt/tst-aio3.c: Likewise.
47116 2012-09-27  Steve Ellcey  <sellcey@mips.com>
47118         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
47120 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
47122         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
47123         contents on [SHARED].
47125 2012-09-26  Marek Polacek  <polacek@redhat.com>
47127         [BZ #14530]
47128         [BZ #13741]
47129         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
47130         for C++ and GCC <4.3 as well as for non GCC compilers.
47132 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
47134         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47136 2012-09-25  Roland McGrath  <roland@hack.frob.com>
47138         * Makefile.in (all, install): Declare with .PHONY.
47139         Reported by Michael Hope <michael.hope@linaro.org>.
47141 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
47143         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
47144         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
47145         system header.
47146         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
47147         Likewise.
47148         (sydep_routines): Add the new and the internal functions.
47149         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
47150         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
47151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
47152         (GLIBC_2.17): Add the new function.
47153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
47154         (GLIBC_2.17): Likewise.
47155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
47156         (GLIBC_2.17): Likewise.
47157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
47158         (GLIBC_2.17): Likewise.
47159         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
47161 2012-09-25  Alan Modra  <amodra@gmail.com>
47163         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
47164         Add release barrier before setting once_control to say
47165         initialisation is done.  Add hints on lwarx.  Use macro in
47166         place of isync.
47167         (clear_once_control): Add release barrier.
47169 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
47171         [BZ #13629]
47172         * math/s_clog.c (__clog): Handle more values close to |z| = 1
47173         specially.
47174         * math/s_clog10.c (__clog10): Likewise.
47175         * math/s_clog10f.c (__clog10f): Likewise.
47176         * math/s_clog10l.c (__clog10l): Likewise.
47177         * math/s_clogf.c (__clogf): Likewise.
47178         * math/s_clogl.c (__clogl): Likewise.
47179         * math/Makefile (libm-calls): Add x2y2m1.
47180         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
47181         (__x2y2m1): Likewise.
47182         (__x2y2m1l): Likewise.
47183         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
47184         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
47185         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
47186         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
47187         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
47188         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
47189         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
47190         * sysdeps/i386/fpu/libm-test-ulps: Update.
47191         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47193         [BZ #14621]
47194         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
47195         int as type of variable DEPTH.
47196         (glob): Use size_t instead of int as type of variables NEWCOUNT
47197         and OLD_PATHC.
47199 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47201         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
47202         Add s_sincosf-sse2.
47203         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
47204         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
47205         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
47206         macros for using routine as __sincosf_ia32.
47207         Use macro for function declaration and weak_alias.
47208         * sysdeps/i386/fpu/libm-test-ulps: Update.
47210         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
47211         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47213         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
47214         subnormal argument.
47215         * math/s_cexpf.c (__cexpf): Likewise.
47216         * math/s_csinf.c (__csinf): Likewise.
47217         * math/s_csinhf.c (__csinhf): Likewise.
47218         * math/s_ctanf.c (__ctanf): Likewise.
47219         * math/s_ctanhf.c (__ctanhf): Likewise.
47220         * math/s_ccosh.c (__ccoshf): Likewise.
47221         * math/s_cexp.c (__cexpl): Likewise.
47222         * math/s_csin.c (__csin): Likewise.
47223         * math/s_csinh.c (__csinh): Likewise.
47224         * math/s_ctan.c (__ctan): Likewise.
47225         * math/s_ctanh.c (ctanh): Likewise.
47226         * math/s_ccoshl.c (__ccoshl): Likewise.
47227         * math/s_cexpl.c (__cexpl): Likewise.
47228         * math/s_csinl.c (__csinl): Likewise.
47229         * math/s_csinhl.c (__csinhl): Likewise.
47230         * math/s_ctanl.c (__ctanl): Likewise.
47231         * math/s_ctanhl.c (__ctanhl): Likewise.
47233 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
47235         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
47236         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
47237         (_IO_off_t): Define to __off_t, not _G_off_t.
47238         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
47239         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
47240         (_IO_wint_t): Define to wint_t, not _G_wint_t.
47241         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
47242         type of __dummy and __dummy2 fields.
47243         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
47244         (_G_ssize_t): Likewise.
47245         (_G_off_t): Likewise.
47246         (_G_pid_t): Likewise.
47247         (_G_uid_t): Likewise.
47248         (_G_wchar_t): Likewise.
47249         (_G_wint_t): Likewise.
47250         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
47251         (_G_ssize_t): Likewise.
47252         (_G_off_t): Likewise.
47253         (_G_pid_t): Likewise.
47254         (_G_uid_t): Likewise.
47255         (_G_wchar_t): Likewise.
47256         (_G_wint_t): Likewise.
47257         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
47258         (_G_ssize_t): Likewise.
47259         (_G_off_t): Likewise.
47260         (_G_pid_t): Likewise.
47261         (_G_uid_t): Likewise.
47262         (_G_wchar_t): Likewise.
47263         (_G_wint_t): Likewise.
47265 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
47267         * malloc/arena.c: Include malloc-sysdep.h.
47268         (shrink_heap): Use check_may_shrink_heap to decide if madvise
47269         is sufficient to shrink the heap or an unmap is needed.
47270         * sysdeps/generic/malloc-sysdep.h: New file.  Define
47271         new function check_may_shrink_heap.
47272         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
47273         new function check_may_shrink_heap.
47275 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
47277         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
47278         comments.
47280 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
47282         * catgets/test-gencat.sh: Add "set -e".
47283         * elf/tst-pathopt.sh: Likewise.
47284         * grp/tst_fgetgrent.sh: Likewise.
47285         * iconvdata/run-iconv-test.sh: Likewise.
47286         * intl/tst-gettext.sh: Likewise.
47287         * intl/tst-gettext2.sh: Likewise.
47288         * intl/tst-gettext4.sh: Likewise.
47289         * intl/tst-gettext6.sh: Likewise.
47290         * intl/tst-translit.sh: Likewise.
47291         * io/ftwtest-sh: Likewise.
47292         * libio/test-freopen.sh: Likewise.
47293         * malloc/tst-mtrace.sh: Likewise.
47294         * posix/globtest.sh: Likewise.
47295         * posix/tst-getconf.sh: Likewise.
47296         * posix/wordexp-tst.sh: Likewise.
47297         * stdio-common/tst-printf.sh: Likewise.
47298         * stdio-common/tst-unbputc.sh: Likewise.
47299         * stdlib/tst-fmtmsg.sh: Likewise.
47300         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
47301         * catgets/Makefile: Do not specify -e option when running
47302         testsuite shell scripts.
47303         * elf/Makefile: Likewise.
47304         * grp/Makefile: Likewise.
47305         * iconvdata/Makefile: Likewise.
47306         * intl/Makefile: Likewise.
47307         * io/Makefile: Likewise.
47308         * libio/Makefile: Likewise.
47309         * malloc/Makefile: Likewise.
47310         * posix/Makefile: Likewise.
47311         * stdio-common/Makefile: Likewise.
47312         * stdlib/Makefile: Likewise.
47313         * sysdeps/x86_64/Makefile: Likewise.
47315         * io/ftwtest-sh: Add copyright header.
47316         * posix/globtest.sh: Likewise.
47317         * posix/tst-getconf.sh: Likewise.
47318         * posix/wordexp-tst.sh: Likewise.
47319         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
47321 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
47323         [BZ #13679]
47324         * Makeconfig (+link): Defined as $(+link-static) if
47325         $(build-shared) isn't yes.
47326         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
47327         isn't yes.
47328         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
47330         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
47332         [BZ #14562]
47333         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
47334         new chunk size with MALLOC_ALIGN_MASK.
47336 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
47338         [BZ #5044]
47339         * stdio-common/printf_fphex.c: Include <stdbool.h> and
47340         <rounding-mode.h>.
47341         (__printf_fphex): Determine rounding using get_rounding_mode and
47342         round_away.
47343         * stdio-common/tst-printf-round.c (struct hex_test): New
47344         structure.
47345         (hex_tests): New variable.
47346         (test_hex_in_one_mode): New function.
47347         (do_test): Also run tests for hex float output.
47349 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
47351         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
47352         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
47353         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
47354         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
47355         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
47356         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
47357         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
47358         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
47360 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
47362         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
47363         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
47364         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
47365         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
47367 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
47369         [BZ #14579]
47370         * elf/rtld.c (dl_main): Limit the check for self loading to normal
47371         mode only.
47372         * elf/tst-rtld-load-self.sh: New test.
47373         * elf/Makefile: Run it.
47375 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
47377         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
47378         (tst-writev-ENV): Remove.
47379         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
47381 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
47383         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
47385 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
47387         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
47388         unconditional.
47389         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
47390         Likewise.
47391         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
47392         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
47393         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
47394         Likewise.
47396 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
47398         [BZ #14587]
47399         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
47400         * config.make.in (have-cpp-asm-debuginfo): Removed.
47401         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
47402         * configure: Regenerated.
47404 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
47406         [BZ #5044]
47407         * stdio-common/printf_fp.c: Include <stdbool.h> and
47408         <rounding-mode.h>.
47409         (___printf_fp): Determine rounding using get_rounding_mode and
47410         round_away.
47411         * stdio-common/tst-printf-round.c: New file.
47412         * stdio-common/Makefile (tests): Add tst-printf-round.
47413         (link-libm): New variable.
47414         ($(objpfx)tst-printf-round): Depend in $(link-libm).
47416 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
47418         [BZ #14576]
47419         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
47420         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
47421         Likewise.
47422         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
47423         Likewise.
47425 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
47427         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
47428         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
47429         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
47430         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
47432 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
47434         [BZ #14518]
47435         * include/rounding-mode.h: New file.
47436         * sysdeps/generic/get-rounding-mode.h: Likewise.
47437         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
47438         * stdlib/strtod_l.c: Include <rounding-mode.h>.
47439         (MAX_VALUE): New macro.
47440         (MIN_VALUE): Likewise.
47441         (overflow_value): New function.
47442         (underflow_value): Likewise.
47443         (round_and_return): Use overflow_value and underflow_value to
47444         determine return values in overflow and underflow cases.  Use
47445         round_away to determine rounding depending on rounding mode.
47446         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
47447         determine return values in overflow and underflow cases.
47448         * stdlib/tst-strtod-round.c: Include <fenv.h>.
47449         (struct test_results): New structure.
47450         (struct test): Use struct test_results to store expected results
47451         for all rounding modes.
47452         (TEST): Include expected results for all rounding modes.
47453         (test_in_one_mode): New function.
47454         (do_test): Use test_in_one_mode to compute and check results.
47455         Check results for all rounding modes.
47456         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
47457         $(link-libm).
47459 2012-12-09  Allan McRae  <allan@archlinux.org>
47461         * sysdeps/i386/fpu/libm-test-ulps: Update
47463 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
47465         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
47466         (_G_int32_t): Likewise.
47467         (_G_uint16_t): Likewise.
47468         (_G_uint32_t): Likewise.
47469         (_G_HAVE_BOOL): Likewise.
47470         (_G_HAVE_ATEXIT): Likewise.
47471         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
47472         (_G_HAVE_IO_FILE_OPEN): Likewise.
47473         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
47474         (_G_int32_t): Likewise.
47475         (_G_uint16_t): Likewise.
47476         (_G_uint32_t): Likewise.
47477         (_G_HAVE_BOOL): Likewise.
47478         (_G_HAVE_ATEXIT): Likewise.
47479         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
47480         (_G_HAVE_IO_FILE_OPEN): Likewise.
47481         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
47482         (_G_int32_t): Likewise.
47483         (_G_uint16_t): Likewise.
47484         (_G_uint32_t): Likewise.
47485         (_G_HAVE_BOOL): Likewise.
47486         (_G_HAVE_ATEXIT): Likewise.
47487         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
47488         (_G_HAVE_IO_FILE_OPEN): Likewise.
47490 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
47492         * csu/libc-tls.c: Update copyright years.
47494 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
47496         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
47497         [!_G_USING_THUNKS]: Remove conditional code.
47498         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
47499         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
47501         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
47502         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
47503         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
47504         (_G_VTABLE_LABEL_PREFIX): Likewise.
47505         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
47506         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
47507         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
47508         (_G_VTABLE_LABEL_PREFIX): Likewise.
47509         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
47510         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
47511         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
47512         (_G_VTABLE_LABEL_PREFIX): Likewise.
47513         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
47515 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
47517         * libio/Makefile: Include ../Makeconfig before tests.
47518         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
47519         only if $(build-shared) is yes.
47521         * iconv/gconv_db.c: Update copyright years.
47523 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47525         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
47526         unwind info if defined PIC. Fix special cases description.
47527         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
47529         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
47530         DP_HI_MASK entry.
47531         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
47533 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
47535         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
47537         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
47538         is NULL.
47540         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
47541         (LDLIBS-tst-chk4): This.
47542         (LDFLAGS-tst-chk5): Renamed to ...
47543         (LDLIBS-tst-chk5): This.
47544         (LDFLAGS-tst-chk6): Renamed to ...
47545         (LDLIBS-tst-chk6): This.
47546         (LDFLAGS-tst-lfschk4): Renamed to ...
47547         (LDLIBS-tst-lfschk4): This.
47548         (LDFLAGS-tst-lfschk5): Renamed to ...
47549         (LDLIBS-tst-lfschk5): This.
47550         (LDFLAGS-tst-lfschk6): Renamed to ...
47551         (LDLIBS-tst-lfschk6): This.
47553         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
47554         on $(common-objpfx)soversions.mk.
47556 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
47558         [BZ #10014]
47559         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
47560         example host name.
47562 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
47564         * malloc/arena.c (arena_get_retry): New function that gets
47565         another arena for the caller to try its request on.
47566         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
47567         current arena cannot fulfill the request.
47568         (__libc_memalign): Likewise.
47569         (__libc_memalign): Likewise.
47570         (__libc_pvalloc): Likewise.
47571         (__libc_calloc): Likewise.
47573 2012-09-05  John Tobey  <john.tobey@gmail.com>
47575         [BZ #13542]
47576         * manual/arith.texi (Operations on Complex): Fix description
47577         of carg branch cut.
47579 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
47581         [BZ #10014]
47582         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
47583         host name.
47585         [BZ #10038]
47586         * manual/memory.texi (Memory): Make order of menu items match
47587         order of sections.
47589 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
47591         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
47592         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
47593         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
47595 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
47597         * csu/libc-tls.c (static_dtv): Renamed to ...
47598         (_dl_static_dtv): This.  Make it global.
47599         (_dl_initial_dtv): Removed.
47600         (__libc_setup_tls): Updated.
47601         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
47602         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
47603         DL_INITIAL_DTV.
47605 2012-09-06  Petr Machata  <pmachata@redhat.com>
47607         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
47608         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
47609         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
47610         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
47612 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
47614         [BZ #14545]
47615         * csu/libc-tls.c (_dl_initial_dtv): New variable.
47616         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
47617         freeing dtv[-1].
47619 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
47621         [BZ #14544]
47622         * Makeconfig (link-static-before-libc): Replace $(+prector)
47623         with $(+prectorT).
47624         (link-static-after-libc): Replace $(+postctor) with
47625         $(+postctorT).
47626         (link-bounded): Replace $(+prector)/$(+postctor) with
47627         $(+prectorT)/$(+postctorT).
47628         (+prectorT): New macro.
47629         (+postctorT): Likewise.
47631 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
47633         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
47634         (round_str): Handle values above the maximum for IBM long double
47635         as inexact.
47636         * stdlib/tst-strtod-round.c (tests): Regenerated.
47638 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47640         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
47641         assembler flag.
47642         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
47643         zarch_nohighgprs around the zarch optimized routines.
47644         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
47645         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
47646         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
47647         for zarch.
47649 2012-09-05  David S. Miller  <davem@davemloft.net>
47651         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47653         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
47654         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
47655         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
47656         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
47657         entries.
47659 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
47661         * malloc/arena.c: Fold copyright years.
47662         * malloc/mcheck.c, malloc/memusage.c: Likewise.
47664 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
47666         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
47668 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
47670         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
47672 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
47674         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
47675         change internal state upon failure.
47677 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
47679         * malloc/mcheck.c (mcheck_check_all): Fix typo.
47680         * malloc/memusage.c (mmap): Likewise.
47681         (mmap64, mremap): Likewise.  Adjust name in comment.
47683 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
47685         * libio/fileops.c: Fix typos in comments.
47686         * libio/oldfileops.c: Likewise.
47687         * libio/wfileops.c: Likewise.
47689 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
47691         [BZ #1349]
47692         * malloc/Makefile (tests): Add tst-malloc-usable test case.
47693         (tst-malloc-usable-ENV): Set environment for test case.
47694         * malloc/hooks.c (malloc_check_get_size): New function to get
47695         requested size.
47696         * malloc/malloc.c (musable): Use malloc_check_get_size.
47697         * malloc/tst-malloc-usable.c: New test case.
47699 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
47701         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
47703 2012-09-05  Allan McRae  <allan@archlinux.org>
47705         [BZ #13966]
47706         * configure.in (CXX_SYSINCLUDES): Use compiler output to
47707         determine header location.
47708         * configure: Regenerated.
47710 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
47712         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
47713         float format.
47714         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
47715         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
47716         format.
47717         (test): Regenerate.
47719 2012-09-04  David S. Miller  <davem@davemloft.net>
47721         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
47722         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
47723         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
47725 2012-09-04  Florian Weimer  <fweimer@redhat.com>
47727         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
47728         failures.
47730         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
47732 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
47734         [BZ #9914]
47735         * libio/iogetdelim.c: Include <limits.h>.
47736         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
47737         + len + 1 would overflow.
47739 2012-09-03  Andreas Jaeger  <aj@suse.de>
47741         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47742         * sysdeps/i386/fpu/libm-test-ulps: Update.
47744 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47746         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
47747         Add s_sinf-sse2, s_conf-sse2.
47749         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
47750         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
47751         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
47752         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
47754         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
47755         for using routine as __sinf_ia32.
47756         Use macro for function declaration and weak_alias.
47757         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
47758         for using routine as __cosf_ia32.
47759         Use macro for function declaration and weak_alias.
47761         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
47762         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
47764         * sysdeps/x86_64/fpu/s_sinf.S: New file.
47765         * sysdeps/x86_64/fpu/s_cosf.S: New file.
47766         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47768         * math/libm-test.inc (cos_test): Add more test cases.
47769         (sin_test): Likewise.
47770         (sincos_test): Likewise.
47772 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47774         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
47775         (IFUNC_RESOLVE): Make pointers to the specialized implementations
47776         hidden.
47777         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
47779 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
47781         [BZ #14538]
47782         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
47783         first element of the GOT.
47784         (elf_machine_load_address): Return the difference between
47785         the runtime address of _DYNAMIC and elf_machine_dynamic ().
47787 2012-09-01  Allan McRae  <allan@archlinux.org>
47789         [BZ #13412]
47790         * configure.in (AWK): Require gawk version 3.0 or later.
47791         * configure: Regenerated.
47793 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
47795         * sysdeps/unix/sysv/linux/kernel-features.h
47796         (__ASSUME_POSIX_CPU_TIMERS): Remove.
47797         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
47798         [__NR_clock_getres]: Make code unconditional.
47799         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
47800         (clock_getcpuclockid): Remove code left unreachable by removal of
47801         conditionals.
47802         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
47803         code unconditional.
47804         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
47805         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
47806         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
47807         Make code unconditional.
47808         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
47809         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
47810         * sysdeps/unix/sysv/linux/clock_settime.c
47811         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
47812         conditional code.
47813         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
47814         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
47816 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
47818         [BZ #14476]
47819         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
47820         scripts/test-installation.pl.
47822         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
47823         and $ld_so_version if it is set.
47825 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
47827         [BZ #14516]
47828         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
47829         failure if reading from procfs failed.
47830         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
47832 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
47834         * sysdeps/unix/sysv/linux/kernel-features.h
47835         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
47836         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
47837         Remove conditional code.
47838         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
47839         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
47840         Remove conditional code.
47841         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
47842         * sysdeps/unix/sysv/linux/i386/fxstat.c
47843         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
47844         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
47845         * sysdeps/unix/sysv/linux/i386/fxstatat.c
47846         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
47847         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
47848         * sysdeps/unix/sysv/linux/i386/lxstat.c
47849         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
47850         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
47851         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
47852         Remove conditional code.
47853         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
47854         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
47855         Remove conditional code.
47856         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
47857         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
47858         <kernel-features.h>.
47859         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
47860         Remove.
47861         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
47862         Remove conditional code.
47863         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
47864         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
47865         Remove conditional.
47867 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
47869         [BZ #5400]
47870         * NEWS: Add fixed bug number.
47872 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
47874         [BZ #14519]
47875         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
47876         underflowing exponent in case of negative sign.
47877         * stdlib/tst-strtod-round-data: Add more tests.
47878         * stdlib/tst-strtod-round.c (tests): Regenerated.
47880         [BZ #3479]
47881         * stdlib/strtod_l.c (NDIG): Remove.
47882         (HEXNDIG): Likewise.
47883         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
47884         smallest representable value.
47885         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
47886         lie within an exact representation of 1/2 ulp of the result.
47887         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
47888         unconditionally.
47889         (TENS_P9_IDX): Define unconditionally.
47890         (TENS_P9_SIZE): Likewise.
47891         (TENS_P10_IDX): Likewise.
47892         (TENS_P10_SIZE): Likewise.
47893         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
47894         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
47895         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
47896         entries for 10^2^13 and 10^2^14.
47897         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
47898         (TENS_P13_IDX): Define.
47899         (TENS_P13_SIZE): Likewise.
47900         (TENS_P14_IDX): Likewise.
47901         (TENS_P14_SIZE): Likewise.
47902         (_fpioconst_pow10): Change array size to
47903         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
47904         unconditional.
47905         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
47906         1024]: Add entries for 10^2^13 and 10^2^14.
47907         [LAST_POW10 > _LAST_POW10]: Remove #error.
47908         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
47909         (_fpioconst_pow10): Change array size to
47910         FPIOCONST_POW10_ARRAY_SIZE.
47911         * stdlib/gen-fpioconst.c: New file.
47912         * stdlib/gen-tst-strtod-round.c: Likewise.
47913         * stdlib/tst-strtod-round-data: Likewise.
47914         * stdlib/tst-strtod-round.c: Likewise.
47915         * stdlib/Makefile (tests): Add tst-strtod-round.
47917         [BZ #14459]
47918         * stdlib/strtod_l.c: Include <stdint.h>.
47919         (NDEBUG): Do not define.
47920         (round_and_return): Change EXPONENT parameter to type intmax_t.
47921         Rearrange calculations to avoid internal overflow possibilities.
47922         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
47923         Rearrange calculations to avoid internal overflow possibilities.
47924         Assert that number fits inside MPNSIZE limbs.
47925         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
47926         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
47927         calculations and add assertions to avoid internal overflow
47928         possibilities.  Add casts to avoid signed/unsigned operations.
47929         * stdlib/tst-strtod-overflow.c: New file.
47930         * stdlib/Makefile (tests): Add tst-strtod-overflow.
47932 2012-08-25  Marek Polacek  <polacek@redhat.com>
47934         * time/time.h: Fix some typos in comments.
47936 2012-08-23  Roland McGrath  <roland@hack.frob.com>
47938         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
47939         * posix/tst-rfc3484-2.c: Likewise.
47940         * posix/tst-rfc3484-3.c: Likewise.
47942 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
47944         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
47945         (EF_ARM_ABI_FLOAT_HARD): Likewise.
47947 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
47949         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
47950         #include of fxstatat64.c.
47952 2012-08-22  Roland McGrath  <roland@hack.frob.com>
47954         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
47955         * shadow/getspent_r.c: Likewise.
47956         * shadow/getspnam.c: Likewise.
47957         * shadow/getspnam_r.c: Likewise.
47958         * gshadow/getsgent.c: Likewise.
47959         * gshadow/getsgent_r.c: Likewise.
47960         * gshadow/getsgnam.c: Likewise.
47961         * gshadow/getsgnam_r.c: Likewise.
47962         * inet/getnetbyad.c: Likewise.
47963         * inet/getnetbyad_r.c: Likewise.
47964         * inet/getnetbynm.c: Likewise.
47965         * inet/getnetbynm_r.c: Likewise.
47966         * inet/getnetent.c: Likewise.
47967         * inet/getnetent_r.c: Likewise.
47968         * inet/getproto.c: Likewise.
47969         * inet/getproto_r.c: Likewise.
47970         * inet/getprtent.c: Likewise.
47971         * inet/getprtent_r.c: Likewise.
47972         * inet/getprtname.c: Likewise.
47973         * inet/getprtname_r.c: Likewise.
47974         * inet/getrpcbyname.c: Likewise.
47975         * inet/getrpcbyname_r.c: Likewise.
47976         * inet/getrpcbynumber.c: Likewise.
47977         * inet/getrpcbynumber_r.c: Likewise.
47978         * inet/getrpcent.c: Likewise.
47979         * inet/getrpcent_r.c: Likewise.
47980         * inet/getaliasent.c: Likewise.
47981         * inet/getaliasent_r.c: Likewise.
47982         * inet/getaliasname.c: Likewise.
47983         * inet/getaliasname_r.c: Likewise.
47984         * nscd/getgrgid_r.c: Likewise.
47985         * nscd/getgrnam_r.c: Likewise.
47986         * nscd/gethstbyad_r.c: Likewise.
47987         * nscd/gethstbynm3_r.c: Likewise.
47988         * nscd/getpwnam_r.c: Likewise.
47989         * nscd/getpwuid_r.c: Likewise.
47990         * nscd/getsrvbynm_r.c: Likewise.
47991         * nscd/getsrvbypt_r.c: Likewise.
47992         * nscd/gai.c: Likewise.
47994         * configure.in (build_nscd): New substituted variable, set
47995         by --disable-build-nscd and defaults to $use_nscd.
47996         * configure: Regenerated.
47997         * config.make.in (build-nscd): New substituted variable.
47998         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
47999         Change conditional to require [$(build-nscd) = yes] as well.
48000         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
48002         [BZ# 13696]
48003         * configure.in (use_nscd): New substituted variable, set by
48004         --disable-nscd.  If enabled, define USE_NSCD.
48005         * configure: Regenerated.
48006         * config.h.in: Add USE_NSCD.
48007         * config.make.in (use-nscd): New substituted variable.
48008         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
48009         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
48010         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
48011         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
48012         (CFLAGS-getgrnam_r.c): Likewise.
48013         (CFLAGS-initgroups.c): Likewise.
48014         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
48015         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
48016         Variables removed.
48017         * inet/getnetgrent_r.c
48018         (nscd_setnetgrent): New function, broken out of ...
48019         (setnetgrent): ... here.  Call it.
48020         (innetgr): Conditionalize nscd bits on [USE_NSCD].
48021         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
48022         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
48023         * nscd/Makefile (routines, aux): Move definitions after include of
48024         Makeconfig.  Conditionalize on [$(use-nscd) != no].
48025         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
48026         Conditionalize on [USE_NSCD].
48027         (is_nscd, nscd_init_cb): Likewise.
48028         (nss_load_library): Conditionalize init callback on [USE_NSCD].
48029         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
48030         * nss/nss_db/db-init.c: Likewise.
48031         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
48032         [USE_NSCD].
48033         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
48034         (make_request): Use it.
48035         (cache_valid_p): New function.
48036         (__check_pf): Use it.
48037         * NEWS: Add item for --disable-nscd.
48039 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
48041         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
48042         to support sed >= 4.2.1-20-ga9bf076.
48043         * configure: Regenerated.
48045 2012-08-22  Roland McGrath  <roland@hack.frob.com>
48047         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
48048         Conditionalize whole body on [IREL].
48050 2012-08-22  Jeff Law <law@redhat.com>
48052         [BZ #14505]
48053         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
48054         if the family is PF_UNSPEC.
48056 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
48058         * Makerules (lib-version): Rename from V.
48059         (install-lib-nosubdir): Change V to lib-version.
48061 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
48063         [BZ #14252]
48064         * powerpc32/power6/wcschr.c: New file.
48065         * powerpc32/power6/wcscpy.c: New file.
48066         * powerpc32/power6/wcsrchr.c: New file.
48067         * powerpc64/power6/wcschr.c: New file.
48068         * powerpc64/power6/wcscpy.c: New file.
48069         * powerpc64/power6/wcsrchr.c: New file.
48071 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
48073         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
48074         (two_way_short_needle): Use it.
48075         * string/strstr.c (AVAILABLE1_USES_J): Define.
48076         * string/strcasestr.c: Likewise.
48078         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
48079         array references.
48080         * string/strcasestr.c (TOLOWER): Make side-effect safe.
48082         [BZ #11607]
48083         * NEWS: Add an entry.
48084         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
48085         define their defaults.
48086         (two_way_short_needle): Detect end-of-string on-the-fly.
48087         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
48088         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
48089         * string/bug-strcasestr1.c: New test.
48090         * string/Makefile: Run it.
48092 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
48094         [BZ #11607]
48095         * string/str-two-way.h (two_way_short_needle): Optimize matching of
48096         the first character.
48098 2012-08-21  Roland McGrath  <roland@hack.frob.com>
48100         * csu/elf-init.c (__libc_csu_irel): Function removed.
48101         * csu/libc-start.c (apply_irel): New function.
48102         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
48104 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
48106         * sysdeps/unix/sysv/linux/kernel-features.h
48107         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
48108         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
48109         <kernel-features.h>.
48110         [__NR_fadvise64_64]: Make code unconditional.
48111         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
48112         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
48113         !__NR_fadvise64_64)]: Likewise.
48114         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
48115         !__NR_fadvise64_64))]: Likewise.
48116         [__NR_fadvise64]: Make code unconditional.
48117         [!__NR_fadvise64]: Remove conditional code.
48118         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
48119         <kernel-features.h>.
48120         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
48121         unconditional.
48122         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
48123         conditional code.
48124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
48125         not include <kernel-features.h>.
48126         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
48127         unconditional.
48128         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
48129         conditional code.
48130         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
48131         include <kernel-features.h>.
48132         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
48133         unconditional.
48134         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
48135         conditional code.
48137 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
48139         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
48140         slight instruction rearrangements per scrollpipe analysis.
48141         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
48143 2012-08-20  Roland McGrath  <roland@hack.frob.com>
48145         * manual/syslog.texi (syslog; vsyslog, closelog):
48146         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
48147         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
48149         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
48150         DSOCAPS to match condition on defining it.
48152 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
48154         * sysdeps/unix/sysv/linux/kernel-features.h
48155         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
48156         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
48157         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
48158         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
48159         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
48160         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
48161         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
48162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
48163         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
48164         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
48166         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
48167         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
48169         * sysdeps/unix/sysv/linux/kernel-features.h
48170         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
48171         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
48172         unconditional.
48173         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
48174         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
48175         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
48176         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
48177         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
48178         Make code unconditional.
48179         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
48180         (__mmap64) [!__NR_mmap2]: Likewise.
48181         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
48182         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
48183         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
48184         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
48185         [__NR_mmap2]: Make code unconditional.
48186         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
48187         (__mmap64) [!__NR_mmap2]: Likewise.
48189 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48191         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
48193 2012-08-18  Andreas Jaeger  <aj@suse.de>
48195         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
48197 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
48199         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
48200         * include/unistd.h (__have_sock_cloexec): Likewise.
48201         (__have_pipe2): Likewise.
48202         (__have_dup3): Likewise.
48204 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
48206         [BZ #9685]
48207         * include/unistd.h (__have_pipe2): Change define into an extern int.
48208         (__have_dup3): Likewise.
48209         * socket/have_sock_cloexec.c: Include fcntl.h.
48210         (__have_pipe2): New variable.
48211         (__have_dup3): Likewise.
48213 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
48215         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
48217 2012-08-17  Marek Polacek  <polacek@redhat.com>
48219         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
48220         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
48222 2012-08-17  Roland McGrath  <roland@hack.frob.com>
48224         * configure.in: Add AC_SUBST for sysheaders.
48225         * configure: Regenerated.
48226         * config.make.in (sysheaders): New substituted variable.
48228         * sysdeps/unix/mkfifo.c: Moved ...
48229         * sysdeps/posix/mkfifo.c: ... here.
48230         * sysdeps/unix/mkfifoat.c: Moved ...
48231         * sysdeps/posix/mkfifoat.c: ... here.
48233         * sysdeps/unix/utime.c: Moved ...
48234         * sysdeps/posix/utime.c: ... here.
48236         * sysdeps/unix/time.c: Moved ...
48237         * sysdeps/posix/time.c: ... here.
48238         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
48239         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
48241         * sysdeps/unix/nice.c: Moved ...
48242         * sysdeps/posix/nice.c: ... here.
48244         * sysdeps/unix/alarm.c: Moved ...
48245         * sysdeps/posix/alarm.c: ... here.
48247         * intl/Makefile ($(codeset_mo)): Depend on the input file.
48249 2012-08-17  Jeff Law <law@redhat.com>
48251         * intl/Makefile (codeset_mo): New variable.
48252         ($(codeset_mo)): New target.
48253         (tst-codeset.out): Depend on that.  Remove explicit rule.
48254         (tst-gettext3.out, tst-gettext5.out): Likewise.
48255         (LOCPATH-ENV, tst-codeset-ENV): New variables.
48256         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
48257         * intl/tst-codeset.sh: Remove.
48258         * intl/tst-gettext3.sh: Likewise.
48259         * intl/tst-gettext5.sh: Likewise.
48261 2012-08-17  Roland McGrath  <roland@hack.frob.com>
48263         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
48264         * sysdeps/unix/syscalls.list: ... here.
48266         * sysdeps/posix/getaddrinfo.c
48267         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
48268         (gaiconf_init, gaiconf_reload): Use them.
48269         [!_STATBUF_ST_NSEC]
48270         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
48271         Define using time_t rather than struct timespec.
48273         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
48274         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
48275         Macros removed.
48276         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
48277         [!NO_THREADS].
48278         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
48279         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
48280         Likewise.
48282         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
48283         __libc_cleanup_push argument.
48285         * bits/param.h: New file.
48286         * misc/sys/param.h: New file.
48287         * include/sys/param.h: New file.
48288         * misc/Makefile (headers): Add bits/param.h.
48289         * sysdeps/generic/sys/param.h: File removed.
48290         * sysdeps/unix/sysv/linux/bits/param.h: New file.
48291         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
48292         * sysdeps/mach/hurd/bits/param.h: New file.
48293         * sysdeps/mach/hurd/sys/param.h: File removed.
48295         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
48296         last change.
48298         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
48299         [_IO_MTSAFE_IO].
48300         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
48301         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
48302         New macros.
48304         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
48305         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
48306         rather than -D_IO_MTSAFE_IO conditionally.
48307         * stdio-common/Makefile (CPPFLAGS): Likewise.
48308         * wcsmbs/Makefile (CPPFLAGS): Likewise.
48309         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
48310         Use $(libio-mtsafe).
48311         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
48312         of -D_IO_MTSAFE_IO.
48313         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
48314         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
48315         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
48316         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
48317         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
48318         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
48319         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
48320         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
48321         (CFLAGS-fread_u_chk.c): Likewise.
48322         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
48323         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
48324         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
48325         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
48326         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
48327         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
48328         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
48329         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
48330         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
48332         * libio/Makefile: Test [$(libc-reentrant) = yes]
48333         instead of [$(filter %REENTRANT, $(defines)) nonempty].
48335         * Makeconfig
48336         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
48337         * sysdeps/pthread/configure: File removed.
48338         * sysdeps/pthread/Makeconfig: New file.
48339         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
48340         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
48342 2012-08-16  Gary Benson  <gbenson@redhat.com>
48344         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
48345         unmapping the first object in a namespace.
48347 2012-08-16  Roland McGrath  <roland@hack.frob.com>
48349         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
48350         (__internal_setnetgrent): ... this.  Add internal_function to
48351         definition.  Add libc_hidden_def.
48352         (setnetgrent): Update caller.
48353         (internal_endnetgrent): Renamed to ...
48354         (__internal_endnetgrent): ... this.  Add internal_function to
48355         definition.  Add libc_hidden_def.
48356         (endnetgrent): Update caller.
48357         (internal_getnetgrent_r): Renamed to ...
48358         (__internal_getnetgrent_r): ... this.  Add internal_function to
48359         definition.  Add libc_hidden_def.
48360         (__getnetgrent_r): Update caller.
48361         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
48363 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
48365         * stdlib/longlong.h: Update from GCC.
48367 2012-08-16  Roland McGrath  <roland@hack.frob.com>
48369         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
48370         on _QL, which is set by umul_ppmm but never used.
48371         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
48372         variables, which are set by GMP macros but never used.
48373         * stdio-common/_itowa.c (_itowa): Likewise.
48374         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
48375         * stdlib/mod_1.c (mpn_mod_1): Likewise.
48377 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
48379         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
48380         struct La_sh_regs is not constant.
48381         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
48382         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
48383         and struct La_sparc64_regs are not constant.
48385 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
48387         * sysdeps/unix/sysv/linux/kernel-features.h
48388         (__ASSUME_POSIX_TIMERS): Remove.
48389         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
48390         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
48391         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
48392         Make code unconditional.
48393         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
48394         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
48395         Make code unconditional.
48396         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
48397         * sysdeps/unix/sysv/linux/clock_nanosleep.c
48398         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
48399         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
48400         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
48401         Make code unconditional.
48402         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
48403         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
48404         (__libc_missing_posix_timers): Remove.
48406 2012-08-15  Roland McGrath  <roland@hack.frob.com>
48408         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
48409         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
48411         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
48413         * elf/dl-sym.c: Include <stdlib.h>.
48415         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
48416         constants, which avoids warnings in 32-bit builds.
48418         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
48419         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
48421         * misc/lseek.c: File moved to ...
48422         * io/lseek.c: ... here.
48424         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
48426         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
48427         shifting LEN more than 31 bits at once.
48429 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48431         [BZ #14195]
48432         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
48433         segmentation fault for a case of two empty input strings.
48434         * string/test-strncasecmp.c (check1): Renamed to...
48435         (bz12205): ...this.
48436         (bz14195): Add new testcase for two empty input strings and N > 0.
48437         (test_main): Call new testcase, adapt for renamed function.
48439 2012-08-15  Andreas Jaeger  <aj@suse.de>
48441         [BZ #14090]
48442         * crypt/md5test2.c: New test, based on test supplied by Serge
48443         Belyshev <belyshev@depni.sinp.msu.ru>.
48444         * crypt/Makefile (xtests): Add md5test-giant..
48445         * crypt/Makefile ($(objpfx)md5test-giant): Add.
48447 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
48449         [BZ #14090]
48450         * crypt/md5.c (md5_process_block): Don't assume the buffer
48451         length is less than 2**32.
48452         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
48453         length is less than 2**64.
48455 2012-08-15  Roland McGrath  <roland@hack.frob.com>
48457         * string/str-two-way.h: Include <sys/param.h>.
48458         (MAX): Macro removed.
48460         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
48461         Move #define and #undef of memmove to just before and after
48462         including <string.h>.
48464         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
48465         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
48466         and after including <string.h>.  Move declarations of
48467         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
48468         to before #include "string/memmove.c".
48470         * include/dirent.h: Declare __getdirentries.
48472         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
48473         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
48475 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
48477         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
48478         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
48479         * sysdeps/i386/configure: Regenerated.
48480         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
48481         STABS_CURRENT_FILE, and STABS_FUN.
48482         (END): Remove call to STABS_FUN_END.
48483         (STABS_CURRENT_FILE1): Delete.
48484         (STABS_CURRENT_FILE): Likewise.
48485         (STABS_FUN): Likewise.
48486         (STABS_FUN_END): Likewise.
48487         (STABS_FUN2): Likewise.
48488         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
48489         * sysdeps/x86_64/configure: Regenerated.
48491 2012-08-14  Roland McGrath  <roland@hack.frob.com>
48493         * elf/dl-open.c: Include <atomic.h>.
48494         * elf/dl-lookup.c: Likewise.
48496 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
48498         * sysdeps/unix/sysv/linux/kernel-features.h
48499         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
48500         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
48501         unconditionally.
48502         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
48503         unconditionally.
48504         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
48505         condition on __ASSUME_CLONE_THREAD_FLAGS.
48507 2012-08-14  Andreas Jaeger  <aj@suse.de>
48509         * sysdeps/i386/fpu/libm-test-ulps: Update.
48511 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
48513         * include/atomic.h (atomic_exchange_and_add): Split into ...
48514         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
48515         New atomic macros.
48517 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
48519         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48521 2012-08-13  Jeff Law <law@redhat.com>
48523         * manual/stdio.texi (snprintf): Clarify handling of the trailing
48524         null byte in the output string.
48526 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
48528         * sysdeps/unix/sysv/linux/kernel-features.h
48529         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
48530         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
48531         (__ASSUME_ARG_MAX_STACK_BASED): Define.
48532         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
48533         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
48534         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
48535         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
48537 2012-08-09  Jeff Law <law@redhat.com>
48539         [BZ #13939]
48540         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
48541         When avoid_arena is set, don't retry in the that arena.  Pick the
48542         next one, whatever it might be.
48543         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
48544         (arena_lock): Pass in new parameter to arena_get2.
48545         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
48546         arena_get2.
48547         (__libc_malloc): Unify retrying after main arena failure with
48548         __libc_memalign version.
48549         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
48551 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
48553         [BZ #14166]
48554         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
48555         to __redirect_strstr.
48556         (__strstr_sse42): Use typeof __redirect_strstr.
48557         (__strstr_ia32): Likewise.
48558         (__libc_strstr): New prototype.
48559         (strstr): Renamed to ...
48560         (__libc_strstr): This.
48561         (strstr): New strong alias of __libc_strstr.
48562         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
48563         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
48564         __redirect_time.
48565         Include <time.h>.
48566         (__libc_time): New prototype.
48567         (time_ifunc): Replace time with __libc_time.
48568         (time): New strong alias and hidden definition of __libc_time.
48569         (__GI_time): Remove strong alias.
48570         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
48571         Include <stddef.h>.
48572         (memmove): Redefined to __redirect_memmove.
48573         (__memmove_sse2): Use typeof __redirect_memmove.
48574         (__memmove_ssse3): Likewise.
48575         (__memmove_ssse3_back): Likewise.
48576         (__libc_memmove): New prototype.
48577         (memmove): Renamed to ...
48578         (__libc_memmove): This.
48579         (memmove): New strong alias of __libc_memmove.
48581 2012-08-08  Mark Salter  <msalter@redhat.com>
48583         * elf/elf.h
48584         (R_MN10300_TLS_GD): Define.
48585         (R_MN10300_TLS_LD): Likewise.
48586         (R_MN10300_TLS_LDO): Likewise.
48587         (R_MN10300_TLS_GOTIE): Likewise.
48588         (R_MN10300_TLS_IE): Likewise.
48589         (R_MN10300_TLS_LE): Likewise.
48590         (R_MN10300_TLS_DTPMOD): Likewise.
48591         (R_MN10300_TLS_DTPOFF): Likewise.
48592         (R_MN10300_TLS_TPOFF): Likewise.
48593         (R_MN10300_SYM_DIFF): Likewise.
48594         (R_MN10300_ALIGN): Likewise.
48595         (R_MN10300_NUM): Update.
48597 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
48599         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
48600         Remove.
48602 2012-08-08  Roland McGrath  <roland@hack.frob.com>
48604         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
48606         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
48607         sysdeps/unix -> sysdeps/posix move.
48608         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
48610 2012-08-07      Allan McRae     <allan@archlinux.org>
48612         [BZ #14303]
48613         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
48614         (SUNOS_CPP): Likewise.
48615         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
48616         not found.
48617         (open_input): Call CPP using execvp.
48619 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
48621         * sysdeps/unix/sysv/linux/kernel-features.h
48622         (__ASSUME_PROT_GROWSUPDOWN): Remove.
48623         (__ASSUME_NO_CLONE_DETACHED): Likewise.
48624         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
48625         (__ASSUME_WAITID_SYSCALL): Likewise.
48626         * sysdeps/unix/sysv/linux/dl-execstack.c
48627         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
48628         code unconditional.
48629         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
48630         conditional code.
48631         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
48632         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
48633         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
48634         code.
48635         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
48636         unconditional.
48637         [__ASSUME_WAITID_SYSCALL]: Likewise.
48638         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
48640 2012-08-07  Roland McGrath  <roland@hack.frob.com>
48642         * sysdeps/unix/closedir.c: Renamed to ...
48643         * sysdeps/posix/closedir.c: ... here.
48644         * sysdeps/unix/dirfd.c: Renamed to ...
48645         * sysdeps/posix/dirfd.c: ... here.
48646         * sysdeps/unix/dirstream.h: Renamed to ...
48647         * sysdeps/posix/dirstream.h: ... here.
48648         * sysdeps/unix/fdopendir.c: Renamed to ...
48649         * sysdeps/posix/fdopendir.c: ... here.
48650         * sysdeps/unix/opendir.c: Renamed to ...
48651         * sysdeps/posix/opendir.c: ... here.
48652         * sysdeps/unix/readdir.c: Renamed to ...
48653         * sysdeps/posix/readdir.c: ... here.
48654         * sysdeps/unix/readdir_r.c: Renamed to ...
48655         * sysdeps/posix/readdir_r.c: ... here.
48656         * sysdeps/unix/rewinddir.c: Renamed to ...
48657         * sysdeps/posix/rewinddir.c: ... here.
48658         * sysdeps/unix/seekdir.c: Renamed to ...
48659         * sysdeps/posix/seekdir.c: ... here.
48660         * sysdeps/unix/telldir.c: Renamed to ...
48661         * sysdeps/posix/telldir.c: ... here.
48662         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
48663         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
48664         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
48665         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
48667         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
48668         * bits/fcntl.h: ... here.
48670         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
48671         not 0.
48672         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
48673         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
48674         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
48675         (struct flock): Move l_start, l_len to the beginning.
48676         Use __pid_t for l_pid.
48677         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
48678         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
48679         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
48680         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
48681         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
48682         [__USE_LARGEFILE64] (struct flock64): New type.
48683         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
48685         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
48686         * bits/dirent.h: ... here.
48688         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
48689         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
48691 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
48693         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
48694         Change from 2.6.0 to 2.6.16.
48695         * sysdeps/unix/sysv/linux/configure: Regenerated.
48696         * sysdeps/unix/sysv/linux/kernel-features.h
48697         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
48698         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
48699         version.
48700         (__ASSUME_UTIMES): Likewise.
48701         (__ASSUME_CLONE_STOPPED): Remove.
48702         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
48703         architectures, not kernel version.
48704         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
48705         (__ASSUME_NO_CLONE_DETACHED): Likewise.
48706         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
48707         (__ASSUME_WAITID_SYSCALL): Likewise.
48708         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
48709         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
48710         * README: State 2.6.16 as minimum Linux kernel version.  Do not
48711         refer to older versions.
48713 2012-08-06  Roland McGrath  <roland@hack.frob.com>
48715         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
48716         Define alphasort64 as an alias.
48717         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
48718         Define versionsort64 as an alias.
48719         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
48720         Define scandir64 as an alias.
48721         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
48722         Define scandirat64 as an alias.
48723         * dirent/alphasort64.c (alphasort64):
48724         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
48725         * dirent/versionsort64.c: Likewise.
48726         * dirent/scandir64.c: Likewise.
48727         * dirent/scandirat64.c: Likewise.
48728         * sysdeps/wordsize-64/alphasort.c: File removed.
48729         * sysdeps/wordsize-64/alphasort64.c: File removed.
48730         * sysdeps/wordsize-64/scandir.c: File removed.
48731         * sysdeps/wordsize-64/scandir64.c: File removed.
48732         * sysdeps/wordsize-64/scandirat.c: File removed.
48733         * sysdeps/wordsize-64/scandirat64.c: File removed.
48734         * sysdeps/wordsize-64/versionsort.c: File removed.
48735         * sysdeps/wordsize-64/versionsort64.c: File removed.
48736         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
48737         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
48738         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
48739         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
48740         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
48741         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
48742         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
48743         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
48745         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
48746         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
48747         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
48748         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
48749         [defined __arch64__ || defined __sparcv9]
48750         (__INO_T_MATCHES_INO64_T): New macro.
48751         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
48752         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
48753         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
48754         * sysdeps/unix/sysv/linux/bits/dirent.h
48755         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
48756         (_DIRENT_MATCHES_DIRENT64): New macro.
48758         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
48759         Define lockf64 as an alias.
48760         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
48761         Define fseeko64 as an alias.
48762         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
48763         Define ftello64 as an alias.
48764         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
48765         Define _IO_fgetpos64 and fgetpos64 as aliases.
48766         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
48767         Define _IO_fsetpos64 and fsetpos64 as aliases.
48768         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
48769         Conditionalize body on this.
48770         * libio/fseeko64.c: Likewise.
48771         * libio/ftello64.c: Likewise.
48772         * libio/iofgetpos64.c: Likewise.
48773         * libio/iofsetpos64.c: Likewise.
48774         * sysdeps/wordsize-64/lockf.c: File removed.
48775         * sysdeps/wordsize-64/lockf64.c: File removed.
48776         * sysdeps/wordsize-64/fseeko.c: File removed.
48777         * sysdeps/wordsize-64/fseeko64.c: File removed.
48778         * sysdeps/wordsize-64/ftello.c: File removed.
48779         * sysdeps/wordsize-64/ftello64.c: File removed.
48780         * sysdeps/wordsize-64/iofgetpos.c: File removed.
48781         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
48782         * sysdeps/wordsize-64/iofsetpos.c: File removed.
48783         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
48784         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
48785         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
48786         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
48787         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
48788         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
48789         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
48790         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
48791         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
48792         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
48793         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
48795         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
48796         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
48797         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
48798         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
48799         [defined __arch64__ || defined __sparcv9]
48800         (__OFF_T_MATCHES_OFF64_T): New macro.
48801         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
48802         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
48803         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
48804         (__OFF_T_MATCHES_OFF64_T): New macro.
48806 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
48808         * stdlib/secure-getenv.c (__secure_getenv): Replace
48809         GLIBC_2_16 with GLIBC_2_17.
48811 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
48813         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
48814         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
48816 2012-08-03  David S. Miller  <davem@davemloft.net>
48818         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48820 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
48822         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
48823         Remove.
48824         (__ASSUME_CORRECT_SI_PID): Likewise.
48825         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
48826         (__ASSUME_TMPFS_NAME): Likewise.
48827         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
48828         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
48829         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
48830         (HAVE_AUX_SECURE): Make definition unconditional.
48831         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
48832         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
48834 2012-08-03  Roland McGrath  <roland@hack.frob.com>
48836         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
48837         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
48838         * sysdeps/mach/hurd/eloop-threshold.h: New file.
48839         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
48840         __eloop_threshold instead of SYMLOOP_MAX.
48842         * sysdeps/generic/eloop-threshold.h: New file.
48843         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
48844         of MAXSYMLINKS.
48845         * elf/chroot_canon.c (chroot_canon): Likewise.
48847 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
48849         [BZ #13717]
48850         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
48851         Change to 2.6.0 everywhere.
48852         * sysdeps/unix/sysv/linux/configure: Regenerated.
48853         * sysdeps/unix/sysv/linux/kernel-features.h
48854         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
48855         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
48856         kernel versions.
48857         (__ASSUME_POSIX_TIMERS): Define unconditionally.
48858         (__ASSUME_FUTEX_REQUEUE): Remove.
48859         (__ASSUME_STATFS64): Define unconditionally.
48860         (__ASSUME_AT_SECURE): Likewise.
48861         (__ASSUME_CORRECT_SI_PID): Likewise.
48862         (__ASSUME_TGKILL): Define without depending on kernel version for
48863         i386.
48864         (__ASSUME_UTIMES): Likewise.
48865         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
48866         kernel version.
48867         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
48868         (__ASSUME_TMPFS_NAME): Likewise.
48869         * README: Update reference to Linux kernel versions.
48871 2012-08-02  Marek Polacek  <polacek@redhat.com>
48873         [BZ# 14150]
48874         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
48875         libc_cv_asm_type_prefix with %.
48876         * configure: Regenerated.
48877         * include/libc-symbols.h: Remove comment about
48878         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
48879         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
48880         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
48881         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
48882         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
48883         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
48884         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
48885         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
48886         * elf/tst-unique2mod1.c: Likewise.
48887         * elf/tst-unique1mod2.c: Likewise.
48888         * elf/tst-unique1mod1.c: Likewise.
48889         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
48890         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
48891         Replace ASM_TYPE_DIRECTIVE with .type.
48892         * sysdeps/s390/s390-64/sysdep.h: Likewise.
48893         * sysdeps/i386/sysdep.h: Likewise.
48894         * sysdeps/x86_64/sysdep.h: Likewise.
48895         * sysdeps/sh/sysdep.h: Likewise.
48896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
48897         Do not define ASM_TYPE_DIRECTIVE.
48898         * sysdeps/powerpc/sysdep.h: Likewise.
48899         * sysdeps/powerpc/powerpc32/sysdep.h:
48900         Replace ASM_TYPE_DIRECTIVE with .type.
48901         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
48902         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
48903         * sysdeps/i386/fpu/e_powf.S: Likewise.
48904         * sysdeps/i386/fpu/e_expl.S: Likewise.
48905         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
48906         * sysdeps/i386/fpu/e_acosh.S: Likewise.
48907         * sysdeps/i386/fpu/e_pow.S: Likewise.
48908         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
48909         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
48910         * sysdeps/i386/fpu/s_expm1.S: Likewise.
48911         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
48912         * sysdeps/i386/fpu/e_log2.S: Likewise.
48913         * sysdeps/i386/fpu/e_log2l.S: Likewise.
48914         * sysdeps/i386/fpu/e_scalb.S: Likewise.
48915         * sysdeps/i386/fpu/e_powl.S: Likewise.
48916         * sysdeps/i386/fpu/e_log10f.S: Likewise.
48917         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
48918         * sysdeps/i386/fpu/e_logl.S: Likewise.
48919         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
48920         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
48921         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
48922         * sysdeps/i386/fpu/e_log2f.S: Likewise.
48923         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
48924         * sysdeps/i386/fpu/e_log.S: Likewise.
48925         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
48926         * sysdeps/i386/fpu/e_logf.S: Likewise.
48927         * sysdeps/i386/fpu/e_log10l.S: Likewise.
48928         * sysdeps/i386/fpu/e_atanh.S: Likewise.
48929         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
48930         * sysdeps/i386/fpu/e_log10.S: Likewise.
48931         * sysdeps/i386/fpu/s_frexp.S: Likewise.
48932         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
48933         * sysdeps/i386/fpu/s_asinh.S: Likewise.
48934         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
48935         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
48936         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
48937         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
48938         * sysdeps/i386/i686/strtok.S: Likewise.
48939         * sysdeps/i386/i386-mcount.S: Likewise.
48940         * sysdeps/i386/strtok.S: Likewise.
48941         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
48942         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
48943         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
48944         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
48945         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
48946         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
48947         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
48948         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
48949         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
48950         * sysdeps/x86_64/_mcount.S: Likewise.
48951         * sysdeps/x86_64/strtok.S: Likewise.
48952         * sysdeps/sh/_mcount.S: Likewise.
48954 2012-08-01  Roland McGrath  <roland@hack.frob.com>
48956         * libio/iofopen.c: Include <fcntl.h>.
48957         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
48958         (_IO_fopen64, fopen64): Define as aliases.
48959         * libio/iofopen64.c: Include <fcntl.h>.
48960         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
48961         Conditionalize body on this.
48962         * sysdeps/wordsize-64/iofopen.c: File removed.
48963         * sysdeps/wordsize-64/iofopen64.c: File removed.
48965 2012-08-01  Marek Polacek  <polacek@redhat.com>
48967         * libc/Makeconfig: Use elf in place of binfmt-subdir.
48968         Use dlfcn directly instead of a variable.
48969         (binfmt-subdir): Do not define.
48970         (dlfcn): Likewise.
48972 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
48974         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
48975         Remove all definitions.
48976         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
48977         <kernel-features.h>.
48978         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
48979         (miss_F_GETOWN_EX): Remove all definitions.
48980         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
48981         macro definition.
48982         [!__ASSUME_FCNTL64]: Remove conditional code.
48983         [__ASSUME_FCNTL64]: Make code unconditional.
48984         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
48985         <kernel-features.h>.
48986         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
48987         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
48988         (lockf64) [__NR_fcntl64]: Make code unconditional.
48989         (lockf64) [__ASSUME_FCNTL64]: Likewise.
48991         * sysdeps/unix/sysv/linux/kernel-features.h
48992         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
48993         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
48994         Make code unconditional.
48995         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
48996         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
48997         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
48998         [__NR_vfork]: Make code unconditional.
48999         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
49000         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
49001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
49002         [__NR_vfork]: Make code unconditional.
49003         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
49004         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
49006 2012-08-01  Roland McGrath  <roland@hack.frob.com>
49008         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
49009         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
49011         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
49012         Define mkstemp64 as an alias.
49013         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
49014         Define mkstemps64 as an alias.
49015         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
49016         Define mkostemp64 as an alias.
49017         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
49018         Define mkostemps64 as an alias.
49019         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
49020         Conditionalize body on this.
49021         * misc/mkostemp64.c: Likewise.
49022         * misc/mkostemps64.c: Likewise.
49023         * misc/mkstemps64.c: Likewise.
49024         * sysdeps/wordsize-64/mkstemp64.c: File removed.
49025         * sysdeps/wordsize-64/mkostemp64.c: File removed.
49026         * sysdeps/wordsize-64/mkostemp.c: File removed.
49027         * sysdeps/wordsize-64/mkstemp.c: File removed.
49028         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
49029         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
49030         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
49031         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
49033         [BZ #14138]
49034         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
49035         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
49036         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
49037         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
49039         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
49040         compat_symbol macros from <shlib-compat.h> rather than the underlying
49041         default_symbol_version and symbol_version macros, so that DEFAULT
49042         lines in shlib-versions are respected.
49043         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
49045 2012-08-01  Florian Weimer  <fweimer@redhat.com>
49047         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
49048         Declare with warn_unused_result.
49049         (setgid, setregid, setegid, setresgid): Likewise.
49050         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
49051         Likewise.
49052         * WUR-REPORT: Remove set*id functions.
49054 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
49056         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
49058 2012-07-31  Roland McGrath  <roland@hack.frob.com>
49060         [BZ #10191]
49061         * include/sys/socket.h (__libc_accept, __libc_accept4):
49062         Add attribute_hidden.
49063         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
49065         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
49066         use of PTR_MANGLE.
49067         * inet/getnetgrent_r.c (setup): Likewise.
49069         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
49071 2012-07-31  David S. Miller  <davem@davemloft.net>
49073         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49075 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
49077         [BZ #13629]
49078         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
49079         value between 1.0 and 2.0 and smaller part has absolute value less
49080         than 1.0.
49081         * math/s_clog10.c (__clog10): Likewise.
49082         * math/s_clog10f.c (__clog10f): Likewise.
49083         * math/s_clog10l.c (__clog10l): Likewise.
49084         * math/s_clogf.c (__clogf): Likewise.
49085         * math/s_clogl.c (__clogl): Likewise.
49086         * math/libm-test.inc (clog_test): Add more tests.
49087         (clog10_test): Likewise.
49088         * sysdeps/i386/fpu/libm-test-ulps: Update.
49089         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49091 2012-07-31  Florian Weimer  <fweimer@redhat.com>
49093         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
49094         Exit with zero in case no suitable GID is found, and write a
49095         message to standard error.
49097 2012-07-30  Roland McGrath  <roland@hack.frob.com>
49099         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
49100         rather than to 1.
49101         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
49102         (MAXPATHLEN): Removed.
49103         (NOGROUP, NODEV): New macros.
49104         (setbit, clrbit, isset, isclr): New macros.
49105         (howmany, roundup, powerof2): New macros.
49106         (DEV_BSIZE): New macro.
49108         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
49109         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
49111         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
49112         definition on [!__NO_LONG_DOUBLE_MATH].
49114         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
49115         PTR_MANGLE and PTR_DEMANGLE.
49117         * socket/accept4.c (accept4): Rename to __libc_accept4.
49118         Define accept4 as a weak alias.
49120         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
49121         on [_DIRENT_HAVE_D_TYPE].
49122         * io/ftw.c (ftw_dir): Likewise.
49124         * io/xmknod.c (__xmknod): Don't check PATH for being null.
49126         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
49128         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
49129         Use the BSD numbers rather than the arbitrary ones we had.
49130         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
49131         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
49132         (SIGXCPU, SIGXFSZ): New macros.
49133         (_NSIG): Now 32.
49135         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
49136         initializer on [_LIBC_REENTRANT].
49138         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
49139         definitions inside [_POSIX_MAPPED_FILES].
49141         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
49143         * dirent/opendir.c: Include <fcntl.h>.
49145         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
49146         (__libc_getspecific): Likewise.
49147         (__libc_key_create): Likewise.
49149         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
49150         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
49151         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
49152         (tmpfile64): Define as alias.
49153         * sysdeps/wordsize-64/tmpfile.c: File removed.
49154         * sysdeps/wordsize-64/tmpfile64.c: File removed.
49155         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
49156         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
49158         * stdio-common/vfscanf.c: Include <stdbool.h>.
49159         * nss/makedb.c: Likewise.
49160         * stdio-common/_i18n_number.h: Likewise.
49161         * argp/argp-help.c: Likewise.
49162         * posix/wordexp.c: Likewise.
49163         * sysdeps/posix/spawni.c: Likewise.
49164         * nss/nss_files/files-initgroups.c: Likewise.
49165         * stdio-common/reg-modifier.c: Include <stdlib.h>.
49166         * nss/nss_files/files-initgroups.c: Likewise.
49167         * nss/nss_db/db-netgrp.c: Likewise.
49168         * nss/nss_db/db-initgroups.c: Likewise.
49169         * io/fchmodat.c: Include <sys/stat.h>.
49171         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
49172         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
49174         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
49175         [HAVE_MMAP].
49177         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
49178         Add multiple inclusion protection.
49180 2012-07-27  David S. Miller  <davem@davemloft.net>
49182         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49184 2012-07-27  Gary Benson  <gbenson@redhat.com>
49186         [BZ #14298]
49187         * elf/rtld.c: Include <stap-probe.h>.
49188         (dl_main): Added static probes "init_start" and "init_complete".
49189         * elf/dl-load.c: Include <stap-probe.h>.
49190         (lose): Take new parameter "nsid".
49191         Added static probe "map_failed".
49192         (_dl_map_object_from_fd): Pass namespace id to lose.
49193         Added static probe "map_start".
49194         (open_verify): Pass namespace id to lose.
49195         * elf/dl-open.c: Include <stap-probe.h>.
49196         (dl_open_worker) Added static probes "map_complete", "reloc_start"
49197         and "reloc_complete".
49198         * elf/dl-close.c: Include <stap-probe.h>.
49199         (_dl_close_worker): Added static probes "unmap_start" and
49200         "unmap_complete".
49201         * elf/rtld-debugger-interface.txt: New file documenting the above.
49203 2012-07-26  Roland McGrath  <roland@hack.frob.com>
49205         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
49206         rather than a string variable.
49207         * sunrpc/rpc_main.c (h_output): Likewise.
49208         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
49210 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
49212         * inet/check_native.c: New file.
49214 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
49216         [BZ #13629]
49217         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
49218         if larger part has absolute value 1.0.
49219         * math/s_clog10.c (__clog10): Likewise.
49220         * math/s_clog10f.c (__clog10f): Likewise.
49221         * math/s_clog10l.c (__clog10l): Likewise.
49222         * math/s_clogf.c (__clogf): Likewise.
49223         * math/s_clogl.c (__clogl): Likewise.
49224         * math/libm-test.inc (clog_test): Add more tests.
49225         (clog10_test): Likewise.
49226         * sysdeps/i386/fpu/libm-test-ulps: Update.
49227         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49229         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
49230         (pltexit): Likewise.
49231         (La_regs): Likewise.
49232         (La_retval): Likewise.
49233         (int_retval): Likewise.
49234         Update #error for removed macros to refer only to definitions in
49235         tst-audit.h.
49236         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
49237         macro.
49238         (pltexit): Likewise.
49239         (La_regs): Likewise.
49240         (La_retval): Likewise.
49241         (int_retval): Likewise.
49242         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
49243         macro.
49244         (pltexit): Likewise.
49245         (La_regs): Likewise.
49246         (La_retval): Likewise.
49247         (int_retval): Likewise.
49248         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
49249         macro.
49250         (pltexit): Likewise.
49251         (La_regs): Likewise.
49252         (La_retval): Likewise.
49253         (int_retval): Likewise.
49254         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
49255         macro.
49256         (pltexit): Likewise.
49257         (La_regs): Likewise.
49258         (La_retval): Likewise.
49259         (int_retval): Likewise.
49260         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
49261         macro.
49262         (pltexit): Likewise.
49263         (La_regs): Likewise.
49264         (La_retval): Likewise.
49265         (int_retval): Likewise.
49266         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
49267         macro.
49268         (pltexit): Likewise.
49269         (La_regs): Likewise.
49270         (La_retval): Likewise.
49271         (int_retval): Likewise.
49272         * sysdeps/generic/tst-audit.h: Update comment to refer only to
49273         macro definitions in tst-audit.h.
49274         * sysdeps/i386/tst-audit.h: New file.
49275         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
49276         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
49277         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
49278         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
49279         * sysdeps/sh/tst-audit.h: Likewise.
49280         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
49281         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
49282         * sysdeps/x86_64/tst-audit.h: Likewise.
49284 2012-07-26  Andreas Jaeger  <aj@suse.de>
49286         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
49287         ptrace.
49289         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
49290         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
49291         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
49292         PTRACE_O_MASK.
49293         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
49294         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
49295         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
49297         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
49298         value.
49300         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
49301         _sigsys.
49302         (si_call_addr, si_syscall, si_arch): Define new macro.
49303         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
49304         _sigsys.
49305         (si_call_addr, si_syscall, si_arch): Define new marcro.
49306         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
49307         _sigsys.
49308         (si_call_addr, si_syscall, si_arch): Define new macro.
49309         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
49310         _sigsys.
49311         (si_call_addr, si_syscall, si_arch): Define new macro.
49313 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
49315         [BZ #13717]
49316         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
49317         Change to 2.4.21 where previously 2.4.1.
49318         * sysdeps/unix/sysv/linux/configure: Regenerated.
49319         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
49320         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
49321         Linux kernel version.
49322         (__ASSUME_STD_AUXV): Remove.
49323         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
49324         kernel version.
49325         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
49326         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
49327         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
49328         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
49329         (__ASSUME_NETLINK_SUPPORT): Likewise.
49330         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
49331         (__no_netlink_support): Remove conditional definition.
49332         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
49333         Remove.
49334         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
49335         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
49336         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
49337         (if_nameindex_ioctl): Remove.
49338         (if_nameindex_netlink): Do not handle __no_netlink_support.
49339         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
49340         code.
49341         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
49342         Remove conditional code.
49343         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
49344         code.
49345         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
49346         unconditional.
49347         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
49348         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
49349         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
49350         Remove.
49351         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
49352         [!__ASSUME_STD_AUXV]: Remove conditional code.
49353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
49354         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
49355         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
49356         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
49357         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
49358         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
49359         code.
49360         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
49361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
49362         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
49363         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
49364         conditional code.
49365         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
49366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
49367         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
49368         code.
49369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
49370         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
49371         conditional code.
49372         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
49373         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
49374         code unconditional.
49375         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
49376         conditional code.
49377         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
49378         unconditional.
49379         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
49380         conditional code.
49381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
49382         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
49383         unconditional.
49384         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
49385         conditional code.
49386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
49387         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
49388         code unconditional.
49389         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
49390         conditional code.
49391         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
49392         unconditional.
49393         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
49394         conditional code.
49395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
49396         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
49397         code unconditional.
49398         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
49399         conditional code.
49400         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
49401         unconditional.
49402         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
49403         conditional code.
49405 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
49407         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
49408         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
49409         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
49410         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
49411         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
49412         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
49413         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
49414         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
49415         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
49416         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
49417         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
49418         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
49419         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
49420         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
49421         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
49422         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
49423         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
49424         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
49425         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
49426         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
49427         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
49428         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
49429         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
49431 2012-07-25  Florian Weimer  <fweimer@redhat.com>
49433         * Versions.def: Add GLIBC_2.17.
49434         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
49435         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
49436         Introduce __libc_secure_getenv.
49437         * stdlib/Versions (2.17): Add secure_getenv
49438         (GLIBC_PRIVATE): Add __libc_secure_getenv.
49439         * stdlib/secure-getenv.c: Rename __secure_getenv to
49440         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
49441         symbol __secure_getenv for GLIBC_2.0.
49442         * stdlib/tst-secure-getenv.c: New.
49443         * stdlib/Makefile (tests): Add testcase.
49444         * manual/startup.texi (Environment Access): Document
49445         secure_getenv.
49446         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
49447         __libc_secure_getenv.
49448         * inet/ruserpass.c (ruserpass): Likewise.
49449         * malloc/mtrace.c (mtrace): Likewise.
49450         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
49451         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
49452         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
49453         * sysdeps/posix/tempname.c: Likewise.  Evaluate
49454         HAVE_SECURE_GETENV.
49455         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
49456         __secure_getenv to __libc_secure_getenv.
49457         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
49458         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
49459         Likewise.
49460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
49461         Likewise.
49462         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
49463         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
49464         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
49465         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
49466         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
49467         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
49468         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
49470 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
49472         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
49473         (struct La_i86_retval): Likewise.
49474         (struct La_x86_64_regs): Likewise.
49475         (struct La_x86_64_retval): Likewise.
49476         (struct La_x32_regs): Likewise.
49477         (struct La_x32_retval): Likewise.
49478         (struct La_ppc32_regs): Likewise.
49479         (struct La_ppc32_retval): Likewise.
49480         (struct La_ppc64_regs): Likewise.
49481         (struct La_ppc64_retval): Likewise.
49482         (struct La_sh_regs): Likewise.
49483         (struct La_sh_retval): Likewise.
49484         (struct La_s390_32_regs): Likewise.
49485         (struct La_s390_32_retval): Likewise.
49486         (struct La_s390_64_regs): Likewise.
49487         (struct La_s390_64_retval): Likewise.
49488         (struct La_sparc32_regs): Likewise.
49489         (struct La_sparc32_retval): Likewise.
49490         (struct La_sparc64_regs): Likewise.
49491         (struct La_sparc64_retval): Likewise.
49492         (struct audit_ifaces): Remove architecture-specific pltenter and
49493         pltexit members.
49494         * sysdeps/i386/ldsodefs.h: New file.
49495         * sysdeps/powerpc/ldsodefs.h: Likewise.
49496         * sysdeps/s390/ldsodefs.h: Likewise.
49497         * sysdeps/sh/ldsodefs.h: Likewise.
49498         * sysdeps/sparc/ldsodefs.h: Likewise.
49499         * sysdeps/x86_64/ldsodefs.h: Likewise.
49501 2012-07-25  Marek Polacek  <polacek@redhat.com>
49503         [BZ #6808]
49504         * math/libm-test.inc (yn_test): Add another test.
49505         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
49506         to ERANGE when the result is +-Inf.
49507         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
49508         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
49509         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
49510         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
49512 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
49514         * conform/data/time.h-data (NULL): Use macro-constant.  Require
49515         equal to 0.
49516         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
49517         clock_t.
49518         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
49520 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
49522         * configure.in <sysdeps resolving>: Correct printing
49523         Implies_before.
49524         * configure: Regenerate.
49526 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
49528         * math/w_ilogb.c: Include <limits.h>.
49529         * math/w_ilogbl.c: Likewise.
49531 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
49533         * manual/lang.texi (__va_copy): Document primarily as ISO C99
49534         va_copy.  Document allowing for unavailable va_copy only as
49535         pre-C99 compatibility.
49536         * manual/string.texi (Copying and Concatenation): Use va_copy
49537         instead of __va_copy in concat example.
49539 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
49541         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
49542         (__sendto): Use create_address_port.  Initialize APORT and deallocate
49543         it if not null.
49545         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
49546         with O_NOLINK passed to __file_name_lookup.
49548         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
49549         with O_NOLINK passed to __file_name_lookup.
49551         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
49552         negative N or less than NGIDS.
49554         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
49555         type to string_t.  Set ERANGE as errno and return it if NAME is not big
49556         enough.  Use memcpy instead of strncpy.
49558 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
49560         * elf/Makefile (check-data): Remove.
49561         (localplt.data): New vpath directive.
49562         ($(objpfx)check-localplt.out): Use localplt.data from vpath
49563         instead of $(check-data).
49564         * scripts/data/localplt-generic.data: Move to ...
49565         * sysdeps/generic/localplt.data: ... here.
49566         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
49567         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
49568         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
49569         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
49570         ... here.
49571         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
49572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
49573         ... here.
49574         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
49575         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
49576         ... here.
49577         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
49578         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
49579         ... here.
49580         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
49581         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
49582         ... here.
49583         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
49584         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
49585         ... here.
49587 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49589         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
49590         PPC32 and PPC64 files.
49591         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
49592         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
49594 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49596         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
49597         __makecontext_ret to ...
49598         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
49599         ... here and call exit if uc_link is NULL.  New file.
49600         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
49601         __makecontext_ret.S.
49602         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
49603         __makecontext_ret to ...
49604         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
49605         ... here and call exit if uc_link is NULL.  New file.
49606         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
49607         __makecontext_ret.S.
49609 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49611         * elf/elf.h (R_390_IRELATIVE): New definition.
49612         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
49613         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
49614         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
49615         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
49616         (elf_machine_lazy_rel): Likewise.
49617         * sysdeps/s390/dl-irel.h: New file.
49618         * sysdeps/s390/s390-64/memcpy.S: New asm code.
49619         * sysdeps/s390/s390-64/memset.S: New asm code.
49620         * sysdeps/s390/s390-64/memcmp.S: New asm code.
49621         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
49622         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
49623         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
49624         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
49625         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
49626         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
49627         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
49628         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
49629         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
49630         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
49631         * sysdeps/s390/s390-32/memcpy.S: New asm code.
49632         * sysdeps/s390/s390-32/memset.S: New asm code.
49633         * sysdeps/s390/s390-32/memcmp.S: New asm code.
49635 2012-07-17  Marek Polacek  <polacek@redhat.com>
49637         [BZ #14349]
49638         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
49639         * sysdeps/s390/s390-64/configure.in: Likewise.
49640         * sysdeps/sparc/configure.in: Likewise.
49641         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
49642         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
49643         * sysdeps/i386/configure.in: Likewise.
49644         * sysdeps/x86_64/configure.in: Likewise.
49645         * sysdeps/sh/configure.in: Likewise.
49646         * sysdeps/s390/s390-32/configure: Regenerated.
49647         * sysdeps/s390/s390-64/configure: Likewise.
49648         * sysdeps/x86_64/configure: Likewise.
49649         * sysdeps/sh/configure: Likewise.
49650         * sysdeps/powerpc/powerpc64/configure: Likewise.
49651         * sysdeps/powerpc/powerpc32/configure: Likewise.
49652         * sysdeps/sparc/configure: Likwise.
49653         * sysdeps/i386/configure: Likewise.
49655         * elf/dl-open.c: Comment fixes.
49657 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
49659         * Makefile [CXX] (check-data): Remove.
49660         [CXX] (c++-types.data): New vpath directive.
49661         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
49662         vpath.  Do not allow for C++ type data being missing.
49663         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
49664         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
49665         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
49666         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
49667         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
49668         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
49669         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
49670         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
49671         ... here.
49672         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
49673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
49674         ... here.
49675         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
49676         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
49677         ... here.
49678         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
49679         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
49680         ... here.
49681         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
49682         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
49683         ... here.
49684         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
49685         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
49686         ... here.
49687         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
49688         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
49689         ... here.
49690         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
49691         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
49693         * elf/tls-macros.h (TLS_LE): Move architecture-specific
49694         definitions to architecture-specific files.
49695         (TLS_IE): Likewise.
49696         (TLS_LD): Likewise.
49697         (TLS_GD): Likewise.
49698         * sysdeps/i386/tls-macros.h: New file.
49699         * sysdeps/powerpc/tls-macros.h: Likewise.
49700         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
49701         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
49702         * sysdeps/sh/tls-macros.h: Likewise.
49703         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
49704         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
49705         * sysdeps/x86_64/tls-macros.h: Likewise.
49707 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
49709         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
49710         zero value for regular exit case.
49712         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
49713         (__start_context): Preserve zero value for regular exit case.
49715 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
49716             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49718         * manual/setjmp.texi (setcontext): Clarify normal process
49719         termination when uc_link is the null pointer.
49720         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
49721         exit call.
49723 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
49725         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
49726         preprocessor.  Test for each exception mask separately.
49728 2012-07-16  Andreas Jaeger  <aj@suse.de>
49730         * po/ru.po: Update from translation team.
49732 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
49734         * conform/data/string.h-data (NULL): Use macro-constant.  Require
49735         equal to 0.
49736         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
49737         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
49738         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
49739         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
49740         [ISO || ISO99 || ISO11] (*_t): Do not allow.
49742 2012-07-13  Andreas Jaeger  <aj@suse.de>
49744         * po/fr.po: Update from translation team.
49746 2012-07-12  Marek Polacek  <polacek@redhat.com>
49748         [BZ #14173]
49749         * math/libm-test.inc (yn_test): Add test for BZ #14173.
49750         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
49751         loop condition.
49753 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
49755         [BZ #13717]
49756         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
49757         Change to 2.4.1 where previously 2.4.0.
49758         * sysdeps/unix/sysv/linux/configure: Regenerated.
49759         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
49760         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
49761         version.
49762         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
49763         (__ASSUME_AT_CLKTCK): Remove.
49764         (__ASSUME_AT_PAGESIZE): Likewise.
49765         (__ASSUME_AT_XID): Likewise.
49766         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
49767         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
49768         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
49769         unconditionally.
49770         (HAVE_AUX_PAGESIZE): Likewise.
49771         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
49772         [__ASSUME_AT_CLKTCK]: Make code unconditional.
49773         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
49775 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
49777         [BZ #14307]
49778         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
49779         the temporary buffer used to invoke __gethostbyname2_r,
49780         __gethostbyaddr_r and gethostbyname4_r to make room for struct
49781         host_data / struct gaih_addrtuple.
49782         * resolv/nss_dns/dns-host.c (global scope): Move definition of
49783         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
49784         header file nss/nsswitch.h.
49785         * nss/nsswitch.h (global scope): Add definition of implementation
49786         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
49787         resolv/nss_dns/dns-host.c).
49789 2012-07-11  Andreas Jaeger  <aj@suse.de>
49791         * po/fr.po: Update from translation team.
49793         * po/sv.po: Update from translation team
49794         * po/fr.po: Another update from translation team.
49796 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49798         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
49799         for subnormals or multiply small sinh result by itself.
49800         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
49801         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49803 2012-07-11  David S. Miller  <davem@davemloft.net>
49805         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49807 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
49809         [BZ #14347]
49810         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
49811         (INTERNAL_MARK): Shift it here.
49813 2012-07-10  Marek Polacek  <polacek@redhat.com>
49815         [BZ #14151]
49816         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
49817         libc_cv_asm_global_directive with .globl.
49818         * configure: Regenerated.
49819         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
49820         with .globl.
49821         * sysdeps/i386/configure: Regenerated.
49822         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
49823         with .globl.
49824         * sysdeps/x86_64/configure: Regenerated.
49825         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
49826         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
49827         * elf/tst-unique2mod2.c: Likewise.
49828         * elf/tst-unique2mod1.c: Likewise.
49829         * elf/tst-unique1mod2.c: Likewise.
49830         * elf/tst-unique1mod1.c: Likewise.
49831         * sysdeps/s390/s390-32/sysdep.h: Likewise.
49832         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
49833         * sysdeps/s390/s390-64/sysdep.h: Likewise.
49834         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
49835         * sysdeps/mach/sysdep.h: Likewise.
49836         * sysdeps/i386/sysdep.h: Likewise.
49837         * sysdeps/i386/i386-mcount.S: Likewise.
49838         * sysdeps/x86_64/_mcount.S: Likewise.
49839         * sysdeps/x86_64/sysdep.h: Likewise.
49840         * sysdeps/sh/_mcount.S: Likewise.
49841         * sysdeps/sh/sysdep.h: Likewise.
49842         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
49843         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
49844         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
49845         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
49846         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
49847         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
49848         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
49849         * locale/localeinfo.h: Likewise.
49850         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
49851         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
49853 2012-07-09  Roland McGrath  <roland@hack.frob.com>
49855         [BZ #14336]
49856         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
49857         system".
49858         * manual/message.texi (The Uniforum approach): Likewise.
49859         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
49860         (glibc iconv Implementation): Likewise.
49862 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
49864         [BZ #14337]
49865         * math/s_clog.c (__clog): Avoid scaling a value down where that
49866         could result in underflow.
49867         * math/s_clog10.c (__clog10): Likewise.
49868         * math/s_clog10f.c (__clog10f): Likewise.
49869         * math/s_clog10l.c (__clog10l): Likewise.
49870         * math/s_clogf.c (__clogf): Likewise.
49871         * math/s_clogl.c (__clogl): Likewise.
49872         * math/libm-test.inc (clog_test): Add more tests.
49873         (clog10_test): Likewise.
49874         * sysdeps/i386/fpu/libm-test-ulps: Update.
49875         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49877 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
49879         [BZ #14283]
49880         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
49881         by 7 not 8 to examine high bit of fractional part.
49883         [BZ #14042]
49884         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
49885         for call to __mcount_internal.
49886         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
49887         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
49888         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
49890 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
49892         [BZ #14154]
49893         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
49894         approximation for values within 0x1p-13f of an odd multiple of
49895         pi/4.
49896         * math/libm-test.inc (tan_test): Do not allow spurious underflow
49897         exception.  Add more tests.
49898         * sysdeps/i386/fpu/libm-test-ulps: Update.
49900         [BZ #6778]
49901         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
49902         inputs and return -1 for them.  Do not check for +Inf in case not
49903         reachable for +Inf.
49904         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
49905         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
49906         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
49907         and return -1 for them.  Do not check for +Inf in case not
49908         reachable for +Inf.
49909         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
49910         define.
49911         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
49912         and return -1 for them.  Do not check for +Inf in case not
49913         reachable for +Inf.
49914         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
49915         spurious underflow.
49916         * sysdeps/i386/fpu/libm-test-ulps: Update.
49917         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49919 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
49921         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
49923 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
49925         [BZ #14157]
49926         [BZ #14331]
49927         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
49928         could result in spurious underflow.  Scale down values above
49929         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
49930         * math/s_csqrtf.c (__csqrtf): Likewise.
49931         * math/s_csqrtl.c (__csqrtl): Likewise.
49932         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
49933         spurious underflow.
49934         * sysdeps/i386/fpu/libm-test-ulps: Update.
49935         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49937 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
49939         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
49940         xopen-msg.sed.
49941         * catgets/xopen-msg.awk: New file.
49942         * catgets/xopen-msg.sed: Removed.
49944         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
49945         po2text.sed.
49946         * intl/po2test.awk: New file.
49947         * intl/po2test.sed: Removed.
49949 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
49951         [BZ #14328]
49952         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
49953         or multiply small sinh result by itself.
49954         * math/s_ctanf.c (__ctanf): Likewise.
49955         * math/s_ctanh.c (__ctanh): Likewise.
49956         * math/s_ctanhf.c (__ctanhf): Likewise.
49957         * math/s_ctanhl.c (__ctanhl): Likewise.
49958         * math/s_ctanl.c (__ctanl): Likewise.
49959         * math/libm-test.inc (ctan_test_tonearest): New function.
49960         (ctan_test_towardzero): Likewise.
49961         (ctan_test_downward): Likewise.
49962         (ctan_test_upward): Likewise.
49963         (ctanh_test_tonearest): Likewise.
49964         (ctanh_test_towardzero): Likewise.
49965         (ctanh_test_downward): Likewise.
49966         (ctanh_test_upward): Likewise.
49967         (main): Call these new functions.
49968         * sysdeps/i386/fpu/libm-test-ulps: Update.
49969         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49971 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
49973         * .gitignore: Delete /ports entry.
49975 2012-07-03  Andreas Jaeger  <aj@suse.de>
49977         * po/bg.po: Update from translation team.
49978         * po/cs.po: Likewise.
49979         * po/de.po: Likewise.
49980         * po/hr.po: Likewise.
49981         * po/nl.pl: Likewise.
49982         * po/pl.po: Likewise.
49983         * po/vi.po: Likewise.
49985 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
49987         * Makeconfig [!+link] (+link-before-libc): New variable.
49988         [!+link] (+link-after-libc): Likewise.
49989         [!+link] (+link-tests): Likewise.
49990         [!+link] (+link): Define in terms of $(+link-before-libc) and
49991         $(+link-after-libc).
49992         [!+link-static] (+link-static-before-libc): New variable.
49993         [!+link-static] (+link-static-after-libc): Likewise.
49994         [!+link-static] (+link-static-tests): Likewise.
49995         [!+link-static] (+link-static): Define in terms of
49996         $(+link-static-before-libc) and $(+link-static-after-libc).
49997         [build-shared] (link-libc-before-gnulib): New variable.
49998         [build-shared] (link-libc-tests): Likewise.
49999         [build-shared] (link-libc): Define in terms of
50000         $(link-libc-before-gnulib).
50001         [!build-shared] (link-libc-tests): New variable.
50002         (link-libc-static-tests): New variable.
50003         [!gnulib] (gnulib-arch): New variable.
50004         [!gnulib] (gnulib-tests): Likewise.
50005         [!gnulib] (static-gnulib-arch): Likewise.
50006         [!gnulib] (static-gnulib-tests): Likewise.
50007         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
50008         Define with "=" instead of ":=".
50009         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
50010         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
50011         * Rules (binaries-all-notests): New variable.
50012         (binaries-all-tests): Likewise.
50013         (binaries-static-notests): Likewise.
50014         (binaries-static-tests): Likewise.
50015         (binaries-all): Define using $(binaries-all-notests) and
50016         $(binaries-all-tests).
50017         (binaries-static): Define using $(binaries-static-notests) and
50018         $(binaries-static-tests).
50019         (binaries-shared-tests): New variable.
50020         (binaries-shared-notests): Likewise.
50021         (binaries-shared): Remove variable.
50022         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
50023         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
50024         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
50025         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
50026         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
50027         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
50028         * elf/Makefile (sln-modules): New variable.
50029         (extra-objs): Add $(sln-modules:=.o).
50030         (ldconfig-modules): Add static-stubs.
50031         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
50032         * elf/static-stubs.c: New file.
50034         [BZ #14283]
50035         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
50036         by 7 not 8 to examine high bit of fractional part.  Use volatile
50037         variables when splitting into final array of floats if
50038         __FLT_EVAL_METHOD__ != 0.
50039         * math/libm-test.inc (cos_test): Add another test.
50040         (sin_test): Likewise.
50041         * sysdeps/i386/fpu/libm-test-ulps: Update.
50043         [BZ #14273]
50044         * math/libm-test.inc (cosh_test): Add more tests.
50046         * version.h (RELEASE): Set to "development".
50047         (VERSION): Set to "2.16.90".
50049 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
50051         * NEWS: Update copyright. Remove last-updated date.
50052         Mention math library bug fixes and timezone data changes.
50053         * README: Mention GNU/Hurd, x32, and HPPA support status.
50055 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
50057         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
50059 2012-06-27  Andreas Jaeger  <aj@suse.de>
50061         * manual/contrib.texi (Contributors): Add Samuel Thibault.
50063 2012-06-25  Andreas Jaeger  <aj@suse.de>
50065         * sysdeps/s390/fpu/libm-test-ulps: Update.
50067 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
50068             Thomas Schwinge  <thomas@codesourcery.com>
50070         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
50071         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
50072         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
50073         fanotify_mark.
50075 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
50077         * sysdeps/mach/start.c: Remove file.
50078         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
50079         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
50080         * sysdeps/sh/init-first.c: Likewise.
50082         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
50083         registers for frame unwinding purposes, add CFI directives.
50084         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
50085         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
50086         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
50087         Likewise.
50089         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
50090         __fortify_fail returning.
50091         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
50093         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
50094         sysdeps/sh/____longjmp_chk.S.
50095         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
50096         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
50097         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
50098         (gen-as-const-headers): Append sigaltstack-offsets.sym.
50100         * sysdeps/sh/abort-instr.h: New file.
50101         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
50102         process in case exit returns.
50104         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
50105         initialize the GOT register before use.
50107         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
50108         calculation of ARGC > 4.
50110         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
50111         meaningful names to some local labels.
50113 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
50114             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
50116         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
50117         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
50118         (__arch_compare_and_exchange_val_16_acq): Likewise.
50119         (__arch_compare_and_exchange_val_32_acq): Likewise.
50120         (atomic_exchange_and_add): Fix gUSA sequence.
50121         (atomic_add): Likewise.
50122         (atomic_add_negative): Likewise.
50123         (atomic_add_zero): Likewise.
50124         (atomic_bit_test_set): Likewise.
50126 2012-06-22  Andreas Schwab  <schwab@redhat.com>
50128         [BZ #13579]
50129         * include/link.h (struct link_map): Add l_free_initfini.
50130         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
50131         l_initfini.
50132         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
50133         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
50134         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
50135         set.
50137 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
50139         * configure.in: Use AC_LANG_SOURCE.
50140         * configure: Regenerate.
50142 2012-06-22  Roland McGrath  <roland@hack.frob.com>
50144         * configure.in (libc_cv_localstatedir): New substituted variable.
50145         * configure: Regenerated.
50146         * config.make.in (localstatedir): New variable, substituted from
50147         libc_cv_localstatedir.
50148         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
50149         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
50150         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
50151         * sysdeps/gnu/configure: Regenerated.
50153 2012-06-21  Jeff Law  <law@redhat.com>
50155         [BZ #14277]
50156         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
50157         free.  Simplify list management for _LIBC case.
50159 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
50161         [BZ #14273]
50162         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
50163         Clear sign bit of 64-bit integer value before comparing against
50164         overflow value.
50166         * sysdeps/mach/configure: Regenerated.
50168 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
50170         [BZ #14278]
50171         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
50173 2012-06-21  Jeff Law  <law@redhat.com>
50175         [BZ #13882]
50176         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
50177         uint16_t for elements in the "seen" array to avoid char overflows.
50178         * elf/dl-fini.c (_dl_sort_fini): Likewise.
50179         * elf/dl-open.c (dl_open_worker): Likewise.
50181 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
50183         * scripts/list-sources.sh: Scan PORTS for translations.
50184         * po/libc.pot: Regenerated.
50186 2012-06-21  Andreas Jaeger  <aj@suse.de>
50188         [BZ #12194]
50189         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
50190         warning.
50191         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
50192         * bits/byteswap-16.h (__bswap_16): Likewise.
50193         * bits/byteswap.h (__bswap_constant_16): Likewise.
50195 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
50197         [BZ #14117]
50198         * sysdeps/i386/fpu_control.h: Removed.
50199         * sysdeps/x86_64/fpu_control.h: Moved to ...
50200         * sysdeps/x86/fpu_control.h: Here.
50202         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
50203         (_FPU_SETCW): Likewise.
50205 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
50207         [BZ #14117]
50208         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
50209         * sysdeps/x86/fpu/bits/mathinline.h: This.
50210         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
50212         [BZ #14050]
50213         [BZ #14117]
50214         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
50215         functions if __x86_64__ is defined.
50217 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
50219         * string/endian.h: Add !__ASSEMBLER__ condition for including
50220         conversion interfaces.
50222 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
50224         [BZ #14241]
50225         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
50226         of ABS(x) in calculating zero to negative powers other than odd
50227         integers.
50228         * math/libm-test.inc (pow_test): Add more tests.
50230 2012-06-15  Andreas Jaeger  <aj@suse.de>
50232         * manual/contrib.texi (Contributors): Update entry of Liubov
50233         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
50234         Machado Filho.
50236 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
50238         * string/string.h: Add __wur to GNU version of strerror_r.
50240 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
50242         [BZ #14229]
50243         * string/Makefile (tests): Add tst-strtok_r.
50244         * string/tst-strtok_r.c: New file.
50245         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
50246         RAX_LP/RDX_LP on SAVE_PTR.
50248 2012-06-14  Roland McGrath  <roland@hack.frob.com>
50250         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
50252 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
50254         * libm_test.inc (csqrt_test): Allow more spurious underflow
50255         exceptions.
50256         (j0_test): Likewise.
50257         (j1_test): Likewise.
50258         (y0_test): Likewise.
50259         (y1_test): Likewise.
50261 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
50263         * po/Makefile (libc.pot): Use UTF-8 charset.
50265 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
50267         [BZ #14210]
50268         Suppress sign-conversion warning from FD_SET.
50269         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
50270         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
50271         not unsigned long int.
50272         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
50274 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
50276         [BZ #14050]
50277         [BZ #14117]
50278         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
50279         __extern_always_inline instead of __extern_inline.
50280         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
50281         (__signbit): Likewise.
50282         (__signbitl): Support C++ namespace.
50283         (lrintf): New inline function.
50284         (lrint): Likewise.
50285         (llrintf): Likewise.
50286         (llrint): Likewise.
50287         (fmaxf): Likewise.
50288         (fmax): Likewise.
50289         (fminf): Likewise.
50290         (fmin): Likewise.
50291         (rint): Likewise.
50292         (rintf): Likewise.
50293         (ceil): Likewise.
50294         (ceilf): Likewise.
50295         (floor): Likewise.
50296         (floorf): Likewise.
50297         (nearbyint): Likewise.
50298         (nearbyintf): Likewise.
50300 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
50302         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
50303         non-default versions.
50305 2012-06-11  Roland McGrath  <roland@hack.frob.com>
50307         [BZ #14218]
50308         * manual/argp.texi (Argp): Reword argp_parse description slightly.
50310 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
50312         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
50313         (FE_UPWARD, FE_DOWNWARD): Don't define.
50314         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
50315         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
50317         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
50318         reading it.
50319         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
50320         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
50322 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
50324         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
50325         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
50326         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
50327         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
50329 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
50331         [BZ #14117]
50332         * sysdeps/i386/fpu/bits/fenv.h: Removed.
50333         * sysdeps/i386/fpu/Implies: New file.
50334         * sysdeps/x86_64/fpu/Implies: Likewise.
50335         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
50336         * sysdeps/x86/fpu/bits/fenv.h: This.
50338         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
50339         __SSE_MATH__.
50341 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
50343         [BZ #14134]
50344         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
50345         character 0xffff that matches the last element of the
50346         conversion table.
50348 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50350         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
50351         fmodl commit.
50353 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50355         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
50356         values higher than 25.6283.
50358 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50360         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
50361         subnormal exponent extraction and add some __builtin_expect.
50362         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
50363         Fix for subnormal mantissa calculation.
50365 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
50367         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
50368         cpu2 is -1 and errno is not ENOSYS.
50370 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
50372         [BZ #14117]
50373         * sysdeps/i386/i486/bits/string.h: Renamed to ...
50374         * sysdeps/x86/bits/string.h: This.
50375         * sysdeps/x86_64/bits/string.h: Removed.
50377         * sysdeps/i386/i486/bits/string.h: Define inline functions only
50378         if not compiling for x86-64, but compiling for >= i486.
50380         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
50381         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
50383         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
50384         New macro from Linux kernel 3.4.0.
50385         (FP_XSTATE_MAGIC2): Likewise.
50386         (FP_XSTATE_MAGIC2_SIZE): Likewise.
50387         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
50388         (struct _fpx_sw_bytes): New struct.
50389         (struct _xsave_hdr): Likewise.
50390         (struct _ymmh_state): Likewise.
50391         (struct _xstate): Likewise.
50393         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
50394         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
50395         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
50396         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
50397         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
50398         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
50400         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
50401         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
50402         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
50403         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
50404         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
50405         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
50407 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
50409         [BZ #13743]
50410         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
50411         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
50412         (sysdep_headers): Include sys/platform/ppc.h.
50413         * sysdeps/powerpc/test-gettimebase.c: Test for
50414         __ppc_get_timebase() to catch future ISA opcode/insn changes.
50415         * manual/Makefile (appendices): Include platform.texi.
50416         * manual/contrib.texi (Contributors): Update @node pointers.
50417         * manual/maint.texi (Maintenance): Likewise.
50418         (Platform): New node.
50419         * manual/platform.texi: New file.  Document the new features.
50421 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
50422             Jakub Jelinek  <jakub@redhat.com>
50424         [BZ #14188]
50425         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
50426         where __builtin_expect is unavailable.
50428 2012-06-03  David S. Miller  <davem@davemloft.net>
50430         * stdlib/longlong.h: Updated from GCC.
50432 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
50434         [BZ #14042]
50435         * sysdeps/powerpc/powerpc32/mcount.c: New file.
50436         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
50437         __mcount_internal.
50438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
50439         (GLIBC_2.16): Likewise.
50441 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
50443         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
50445 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
50447         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
50448         (default-abi): New variable.
50449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
50450         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
50451         variable.
50452         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
50453         Likewise.
50454         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
50455         Likewise.
50456         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
50457         Likewise.
50459         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
50460         definition.  Document in comment.
50462 2012-06-01  David S. Miller  <davem@davemloft.net>
50464         * stdlib/longlong.h: Updated from GCC.
50466 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
50468         [BZ #14117]
50469         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
50470         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
50471         sys/debugreg.h sys/io.h here.
50472         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
50473         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
50474         sys/io.h.
50475         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
50476         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
50477         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
50478         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
50479         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
50480         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
50482         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
50483         Define only if __x86_64__ is defined.
50485 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
50487         [BZ #14048]
50488         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
50489         Use int64_t for variable i.
50490         * math/libm-test.inc (fmod_test): Add more tests.
50492         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
50493         z computation is not scheduled after fetestexcept.
50494         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
50495         Use math_force_eval instead of asm to ensure calculation scheduled
50496         before exception test.
50497         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
50498         Ensure a1 + u.d computation is not scheduled after fetestexcept.
50500 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
50502         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
50503         computation is not scheduled after fetestexcept.
50505 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
50507         [BZ #14117]
50508         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
50509         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
50511 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50513         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
50514         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
50516 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
50518         [BZ #14117]
50519         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
50520         <bits/wordsize.h>.
50521         (__WCHAR_MIN): Support __WORDSIZE == 64.
50522         (__WCHAR_MAX): Likewise.
50524         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
50525         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
50527         [BZ #14183]
50528         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
50529         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
50531         [BZ #14117]
50532         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
50533         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
50535         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
50536         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
50538         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
50539         Defined to 1 if __x86_64__ isn't defined.
50540         (_STAT_VER_LINUX_OLD): New.
50541         (st_atime): Remove duplicate.
50542         (st_mtime): Likewise.
50543         (st_ctime): Likewise.
50545 2012-05-31  David S. Miller  <davem@davemloft.net>
50547         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
50548         entries.
50550 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
50552         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
50553         gen-libm-test.pl.
50555         [BZ #14132]
50556         * elf/dl-reloc.c: Include <_itoa.h>.
50557         (_dl_reloc_bad_type): Remove use of INTUSE.
50558         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
50559         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
50560         * stdio-common/psiginfo.c (psiginfo): Likewise.
50561         * stdio-common/psignal.c (psignal): Likewise.
50562         * string/strsignal.c (strsignal): Likewise.
50563         * include/signal.h (_sys_siglist): Declare hidden proto.
50564         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
50565         INTVARDEF with libc_hidden_data_def.
50566         * stdio-common/itoa-udigits.c: Likewise.
50567         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
50568         (_itoa_lower_digits_internal): Remove declaration.
50569         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
50570         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
50571         (_sys_sigabbrev_internal): Remove aliases.
50572         (_sys_siglist): Define hidden alias.
50574 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
50576         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50577         bits/sysctl.h.
50579 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
50581         [BZ #14117]
50582         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
50583         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
50585         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
50586         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
50587         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
50588         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
50589         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
50590         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
50592         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
50593         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
50594         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
50596         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
50597         with __addr.
50598         (insw): Likewise.
50599         (insl): Likewise.
50600         (outsb): Likewise.
50601         (outsw): Likewise.
50602         (outsl): Likewise.
50604         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
50605         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
50606         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
50608         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
50609         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
50610         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
50611         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
50612         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
50613         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
50615         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
50616         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
50618         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
50619         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
50621         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
50622         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
50623         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
50625         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
50626         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
50627         to ...
50628         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
50630         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
50631         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
50632         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
50634         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
50635         for x86-64.
50636         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
50638 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
50640         * math/math.h (M_El): Use two more decimal places.
50641         (M_LOG2El): Likewise.
50642         (M_LOG10El): Likewise.
50643         (M_LN2l): Likewise.
50644         (M_LN10l): Likewise.
50645         (M_PIl): Likewise.
50646         (M_PI_2l): Likewise.
50647         (M_PI_4l): Likewise.
50648         (M_1_PIl): Likewise.
50649         (M_2_PIl): Likewise.
50650         (M_2_SQRTPIl): Likewise.
50651         (M_SQRT2l): Likewise.
50652         (M_SQRT1_2l): Likewise.
50654 2012-05-31  David S. Miller  <davem@davemloft.net>
50656         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
50657         values between float registers.
50658         * sysdeps/sparc/sparc64/memset.S: Likewise.
50659         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
50661 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
50663         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
50664         -D_FORTIFY_SOURCE=1.
50665         (CPPFLAGS-tst-longjmp_chk.c): Define.
50666         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
50667         (CPPFLAGS-tst-longjmp_chk2.c): Define.
50668         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
50669         CFLAGS-tst-wchar-h.c.
50671 2012-05-31  Marek Polacek  <polacek@redhat.com>
50673         [BZ #14132]
50674         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
50675         __endmntent_internal): Remove declaration.
50676         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
50677         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
50678         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
50680 2012-05-30  David S. Miller  <davem@davemloft.net>
50682         * sysdeps/sparc/sparc32/soft-fp/q_util.c
50683         (___Q_simulate_exceptions): Use real FP ops rather than writing
50684         into the %fsr.
50685         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
50686         Likewise.
50688 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
50690         [BZ #14117]
50691         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
50692         * sysdeps/x86/bits/xtitypes.h: This.
50694         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
50695         * sysdeps/x86/bits/wordsize.h: This.
50697         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
50698         * sysdeps/x86/bits/huge_vall.h: This.
50700         * sysdeps/i386/bits/select.h: Removed.
50701         * sysdeps/x86_64/bits/select.h: Renamed to ...
50702         * sysdeps/x86/bits/select.h: This.
50704         * sysdeps/i386/bits/setjmp.h: Removed.
50705         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
50706         * sysdeps/x86/bits/setjmp.h: This.
50708         * sysdeps/i386/bits/mathdef.h: Removed.
50709         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
50710         * sysdeps/x86/bits/mathdef.h: This.
50712 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
50714         [BZ #14132]
50715         * include/sys/socket.h (__connect_internal)
50716         (__libc_sa_len_internal): Remove declaration.
50717         (__connect, __libc_sa_len): Declare hidden_proto.
50718         (SA_LEN): Remove use of INTUSE.
50719         * socket/connect.c: Add libc_hidden_def.
50720         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
50721         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
50722         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
50723         alias.
50724         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
50725         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
50726         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
50727         of adding _internal alias.
50729 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
50731         [BZ #14117]
50732         * sysdeps/i386/bits/link.h: Removed.
50733         * sysdeps/i386/bits/linkmap.h: Likewise.
50734         * sysdeps/x86_64/bits/link.h: Renamed to ...
50735         * sysdeps/x86/bits/link.h: This.
50736         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
50737         * sysdeps/x86/bits/linkmap.h: This.
50739         * sysdeps/i386/bits/endian.h: Removed.
50740         * sysdeps/x86_64/bits/endian.h: Renamed to ...
50741         * sysdeps/x86/bits/endian.h: This.
50743         * sysdeps/i386/bits/byteswap.h: Removed.
50744         * sysdeps/i386/bits/byteswap-16.h: Likewise.
50745         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
50746         * sysdeps/x86/bits/byteswap.h: This.
50747         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
50748         * sysdeps/x86/bits/byteswap-16.h: This.
50749         * sysdeps/i386/Implies: Add x86.
50750         * sysdeps/x86_64/Implies: Likewise.
50752 2012-05-30  David S. Miller  <davem@davemloft.net>
50754         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
50755         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
50756         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
50757         (FP_TRAPPING_EXCEPTIONS): Define.
50758         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
50759         (FP_TRAPPING_EXCEPTIONS): Define.
50760         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
50761         subnormals only when inexact has been signalled or underflow
50762         exceptions are enabled.
50763         (_FP_PACK_CANONICAL): Likewise.
50765 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
50767         [BZ #14183]
50768         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
50769         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
50771 2012-05-30  Richard Henderson  <rth@twiddle.net>
50773         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
50774         with #ifndef NOT_IN_libc.
50776         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
50777         marked to avoid plt entry.
50779 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
50781         [BZ #14112]
50782         * Makeconfig (default-abi): New macro.
50783         (abi-includes): Likewise.
50784         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
50785         $(abi-$(default-abi)-lib-soname) for soname if defined.
50786         ($(common-objpfx)gnu/lib-names.stmp): Generate from
50787         abi-variants.
50788         * Makefile (installed-stubs): Likewise.
50789         * include/stubs-biarch.h: Removed.
50790         * scripts/lib-names.awk: Only handle one library at a time.
50791         * scripts/soversions.awk: Remove WORDSIZE support.
50792         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
50793         entries.
50794         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
50795         Removed.
50796         (syscall-list-default-condition): Likewise.
50797         (syscall-list-default-condition): Likewise.
50798         (syscall-list-includes): Likewise.
50799         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
50800         syscall-list-* with abi-*.  Handle undefined abi-variants.
50801         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
50802         * sysdeps/unix/sysv/linux/i386/Implies: New file.
50803         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
50804         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
50805         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
50806         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
50807         Removed.
50808         (syscall-list-32-options): Likewise.
50809         (syscall-list-32-condition): Likewise.
50810         (syscall-list-64-options): Likewise.
50811         (syscall-list-64-condition): Likewise.
50812         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
50813         macro.
50814         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
50815         Renamed to ...
50816         (abi-*): This.
50817         (abi-64-ld-soname): New macro.
50818         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
50819         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
50820         Renamed to ...
50821         (abi-*): This.
50822         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
50823         * sysdeps/x86_64/x32/shlib-versions: Likewise.
50825 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
50827         * sysdeps/unix/sysv/linux/kernel-features.h
50828         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
50829         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
50830         include <kernel-features.h>.
50831         [!__NR_ftruncate64]: Remove conditional code.
50832         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
50833         [__NR_ftruncate64]: Make code unconditional.
50834         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
50835         * sysdeps/unix/sysv/linux/truncate64.c: Do not
50836         include <kernel-features.h>.
50837         [!__NR_ftruncate64]: Remove conditional code.
50838         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
50839         [__NR_ftruncate64]: Make code unconditional.
50840         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
50841         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
50842         include <kernel-features.h>.
50843         [!__NR_ftruncate64]: Remove conditional code.
50844         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
50845         [__NR_ftruncate64]: Make code unconditional.
50846         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
50847         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
50848         include <kernel-features.h>.
50849         [!__NR_ftruncate64]: Remove conditional code.
50850         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
50851         [__NR_ftruncate64]: Make code unconditional.
50852         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
50854         * configure.in (libc_cv_fpie): Weaken to a compile test using
50855         LIBC_TRY_CC_OPTION.
50856         * configure: Regenerated.
50858 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50860         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
50861         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
50862         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
50863         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
50864         Refreshed.
50865         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
50866         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
50867         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
50868         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
50869         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
50870         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
50871         Refreshed.
50873 2012-05-27  David S. Miller  <davem@davemloft.net>
50875         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
50876         (___Q_zero): New.
50877         (__Q_simulate_exceptions): Return void.  Change to simulate
50878         exceptions by writing into the %fsr.
50879         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
50880         (__Qp_handle_exceptions): Likewise.
50881         (numbers): Delete.
50882         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
50883         __Qp_handle_exceptions.
50884         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
50885         __Qp_handle_exceptions.
50886         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
50887         as unused and give dummy FP_RND_NEAREST initializer.
50888         (FP_INHIBIT_RESULTS): Define.
50889         (___Q_simulate_exceptions): Update declaration.
50890         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
50891         formatting.
50892         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
50893         as unused and give dummy FP_RND_NEAREST initializer.
50894         (__Qp_handle_exceptions): Update declaration.
50895         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
50896         formatting.
50898 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
50900         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
50901         the temporary FPU control word.
50902         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
50903         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
50904         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
50905         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
50906         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
50907         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
50908         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
50909         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
50910         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
50911         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
50912         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
50914 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
50916         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
50917         fields.
50919 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
50921         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
50922         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
50923         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
50924         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
50925         Likewise.
50926         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
50927         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
50928         Likewise.
50930 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
50932         * po/h.po: Update from translation team.
50934 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
50936         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
50938         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
50939         handling of denormals.
50940         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
50941         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
50942         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
50943         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
50944         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
50945         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
50946         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
50947         Likewise.
50949 2012-05-26  Marek Polacek  <polacek@redhat.com>
50951         [BZ #14152]
50952         * math/libm-test.inc (fma_test): Don't always expect underflow
50953         exception.
50955 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
50957         [BZ #12416]
50958         * elf/tst-execstack.c: Include stackinfo.h.
50959         (do_test): Adjust test case to ensure that pthread_getattr_np
50960         behaviour remains the same after marking stack executable.
50962 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
50964         * sysdeps/unix/sysv/linux/kernel-features.h
50965         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
50966         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
50967         kernel-features.h.
50968         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
50969         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
50970         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
50971         kernel-features.h.
50972         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
50973         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
50975 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
50977         * configure.in: Define the default includes to being none.
50978         * configure: Regenerated.
50980 2012-05-25  Roland McGrath  <roland@hack.frob.com>
50982         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
50983         * sysdeps/x86_64/setjmp.S: Likewise.
50984         * sysdeps/i386/bsd-setjmp.S: Likewise.
50985         * sysdeps/i386/bsd-_setjmp.S: Likewise.
50986         * sysdeps/i386/setjmp.S: Likewise.
50987         * sysdeps/i386/__longjmp.S: Likewise.
50988         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
50989         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
50991         * include/stap-probe.h: New file.
50992         * configure.in: Handle --enable-systemtap.
50993         * configure: Regenerated.
50994         * config.h.in (USE_STAP_PROBE): New #undef.
50995         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
50996         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
50997         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
50999 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
51001         [BZ #13717]
51002         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
51003         to 2.4.0 where earlier.
51004         * sysdeps/unix/sysv/linux/configure: Regenerated.
51005         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
51006         <kernel-features.h>.
51007         [__ASSUME_32BITUIDS]: Make code unconditional.
51008         [!__ASSUME_32BITUIDS]: Remove conditional code.
51009         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
51010         <kernel-features.h>.
51011         [__ASSUME_32BITUIDS]: Make code unconditional.
51012         [!__ASSUME_32BITUIDS]: Remove conditional code.
51013         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
51014         [__ASSUME_32BITUIDS]: Make code unconditional.
51015         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
51016         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
51017         <kernel-features.h>.
51018         [__ASSUME_32BITUIDS]: Make code unconditional.
51019         [!__ASSUME_32BITUIDS]: Remove conditional code.
51020         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
51021         <kernel-features.h>.
51022         [__ASSUME_32BITUIDS]: Make code unconditional.
51023         [!__ASSUME_32BITUIDS]: Remove conditional code.
51024         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
51025         <kernel-features.h>.
51026         [__ASSUME_32BITUIDS]: Make code unconditional.
51027         [!__ASSUME_32BITUIDS]: Remove conditional code.
51028         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
51029         <kernel-features.h>.
51030         [__ASSUME_32BITUIDS]: Make code unconditional.
51031         [!__ASSUME_32BITUIDS]: Remove conditional code.
51032         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
51033         <kernel-features.h>.
51034         [__ASSUME_32BITUIDS]: Make code unconditional.
51035         [!__ASSUME_32BITUIDS]: Remove conditional code.
51036         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
51037         <kernel-features.h>.
51038         [__ASSUME_32BITUIDS]: Make code unconditional.
51039         [!__ASSUME_32BITUIDS]: Remove conditional code.
51040         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
51041         <kernel-features.h>.
51042         [__ASSUME_32BITUIDS]: Make code unconditional.
51043         [!__ASSUME_32BITUIDS]: Remove conditional code.
51044         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
51045         <kernel-features.h>.
51046         [__ASSUME_32BITUIDS]: Make code unconditional.
51047         [!__ASSUME_32BITUIDS]: Remove conditional code.
51048         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
51049         <kernel-features.h>.
51050         [__ASSUME_32BITUIDS]: Make code unconditional.
51051         [!__ASSUME_32BITUIDS]: Remove conditional code.
51052         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
51053         <kernel-features.h>.
51054         [__ASSUME_32BITUIDS]: Make code unconditional.
51055         [!__ASSUME_32BITUIDS]: Remove conditional code.
51056         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
51057         <kernel-features.h>.
51058         [__NR_setresgid] (__setresgid): Do not declare.
51059         [__ASSUME_32BITUIDS]: Make code unconditional.
51060         [!__ASSUME_32BITUIDS]: Remove conditional code.
51061         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
51062         <kernel-features.h>.
51063         [__NR_setresuid] (__setresuid): Do not declare.
51064         [__ASSUME_32BITUIDS]: Make code unconditional.
51065         [!__ASSUME_32BITUIDS]: Remove conditional code.
51066         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
51067         <kernel-features.h>.
51068         [__ASSUME_32BITUIDS]: Make code unconditional.
51069         [!__ASSUME_32BITUIDS]: Remove conditional code.
51070         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
51071         <kernel-features.h>.
51072         [__ASSUME_32BITUIDS]: Make code unconditional.
51073         [!__ASSUME_32BITUIDS]: Remove conditional code.
51074         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
51075         <kernel-features.h>.
51076         [__ASSUME_32BITUIDS]: Make code unconditional.
51077         [!__ASSUME_32BITUIDS]: Remove conditional code.
51078         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
51079         <kernel-features.h>.
51080         [__ASSUME_32BITUIDS]: Make code unconditional.
51081         [!__ASSUME_32BITUIDS]: Remove conditional code.
51082         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
51083         <kernel-features.h>.
51084         [__ASSUME_32BITUIDS]: Make code unconditional.
51085         [!__ASSUME_32BITUIDS]: Remove conditional code.
51086         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
51087         <kernel-features.h>.
51088         [__ASSUME_32BITUIDS]: Make code unconditional.
51089         [!__ASSUME_32BITUIDS]: Remove conditional code.
51090         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
51091         <kernel-features.h>.
51092         [__ASSUME_32BITUIDS]: Make code unconditional.
51093         [!__ASSUME_32BITUIDS]: Remove conditional code.
51094         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
51095         <kernel-features.h>.
51096         [__ASSUME_32BITUIDS]: Make code unconditional.
51097         [!__ASSUME_32BITUIDS]: Remove conditional code.
51098         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
51099         <kernel-features.h>.
51100         [__ASSUME_32BITUIDS]: Make code unconditional.
51101         [!__ASSUME_32BITUIDS]: Remove conditional code.
51102         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
51103         <kernel-features.h>.
51104         [__ASSUME_32BITUIDS]: Make code unconditional.
51105         [!__ASSUME_32BITUIDS]: Remove conditional code.
51106         * sysdeps/unix/sysv/linux/kernel-features.h
51107         (__ASSUME_SETRESUID_SYSCALL): Remove.
51108         (__ASSUME_SETRESGID_SYSCALL): Likewise.
51109         (__ASSUME_32BITUIDS): Likewise.
51110         (__ASSUME_LDT_WORKS): Likewise.
51111         (__ASSUME_O_DIRECTORY): Likewise.
51112         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
51113         architecture but not kernel version.
51114         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
51115         (__ASSUME_MMAP2_SYSCALL): Likewise.
51116         (__ASSUME_STAT64_SYSCALL): Likewise.
51117         (__ASSUME_IPC64): Likewise.
51118         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
51119         <kernel-features.h>.
51120         [__ASSUME_32BITUIDS]: Make code unconditional.
51121         [!__ASSUME_32BITUIDS]: Remove conditional code.
51122         * sysdeps/unix/sysv/linux/opendir.c: Do not include
51123         <kernel-features.h>.
51124         [__ASSUME_O_DIRECTORY]: Make code unconditional.
51125         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
51126         132096]: Remove conditional code.
51127         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
51128         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
51129         <kernel-features.h>.
51130         [__ASSUME_32BITUIDS]: Make code unconditional.
51131         [!__ASSUME_32BITUIDS]: Remove conditional code.
51132         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
51133         <kernel-features.h>.
51134         [__ASSUME_32BITUIDS]: Make code unconditional.
51135         [!__ASSUME_32BITUIDS]: Remove conditional code.
51136         * sysdeps/unix/sysv/linux/setegid.c: Do not include
51137         <kernel-features.h>.
51138         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
51139         unconditional.
51140         (__setresgid): Do not declare.
51141         [__ASSUME_32BITUIDS]: Make code unconditional.
51142         [!__ASSUME_32BITUIDS]: Remove conditional code.
51143         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
51144         <kernel-features.h>.
51145         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
51146         unconditional.
51147         (__setresuid): Do not declare.
51148         [__ASSUME_32BITUIDS]: Make code unconditional.
51149         [!__ASSUME_32BITUIDS]: Remove conditional code.
51150         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
51151         <kernel-features.h>.
51152         [__ASSUME_32BITUIDS]: Make code unconditional.
51153         [!__ASSUME_32BITUIDS]: Remove conditional code.
51154         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
51155         <kernel-features.h>.
51156         [__ASSUME_32BITUIDS]: Make code unconditional.
51157         [!__ASSUME_32BITUIDS]: Remove conditional code.
51159 2012-05-25  Richard Henderson  <rth@twiddle.net>
51161         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
51162         dl_hwcap to ifunc resolver.
51163         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
51164         elf_ifunc_invoke.
51165         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
51166         dl_hwcap to ifunc resolver.
51167         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
51169 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
51171         [BZ #14153]
51172         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
51173         for |x| <= 2**-26, not 2**-57.
51174         * math/libm-test.inc (acos_test): Do not allow spurious underflow
51175         exception.
51177 2012-05-24  Jeff Law  <law@redhat.com>
51179         * stdio-common/Makefile (tests): Add bug25.
51180         * stdio-common/bug25.c: New test.
51182 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
51184         [BZ #13576]
51185         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
51186         multiple of MALLOC_ALIGNMENT in size.
51187         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
51189 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
51191         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
51192         Require >= 256.
51193         (FILENAME_MAX): Use macro-int-constant.
51194         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
51195         (_IOFBF): Use macro-int-constant.
51196         (_IOLBF): Likewise.
51197         (_IONBF): Likewise.
51198         (SEEK_CUR): Likewise.
51199         (SEEK_END): Likewise.
51200         (SEEK_SET): Likewise.
51201         (TMP_MAX): Likewise.
51202         (EOF): Use macro-int-constant.  Require < 0.
51203         (NULL): Use macro-constant.  Require == 0.
51204         (stdin): Require type to be FILE *.
51205         (stdout): Likewise.
51206         (stderr): Likewise.
51207         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
51208         macro-int-constant.
51209         (EXIT_SUCCESS): Likewise.
51210         (NULL): Use macro-constant.  Require == 0.
51211         (RAND_MAX): Use macro-int-constant.
51212         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
51213         [C99-based standards] (strtof): Require function.
51214         [C99-based standards] (strtold): Likewise.
51215         [C99-based standards] (strtoll): Likewise.
51216         [C99-based standards] (strtoull): Likewise.
51217         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
51218         [ISO || ISO99 || ISO11] (limits.h): Likewise.
51219         [ISO || ISO99 || ISO11] (math.h): Likewise.
51220         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
51221         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
51222         [ISO || ISO99 || ISO11] (*_t): Do not allow.
51224 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
51226         [BZ #14132]
51227         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
51228         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
51229         * intl/dgettext.c (DCGETTEXT): Likewise.
51230         * intl/gettext.c (DCGETTEXT): Likewise.
51231         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
51232         * posix/regex_internal.h (gettext): Likewise.
51233         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
51234         Remove declaration.
51235         * include/argz.h (__argz_count_internal)
51236         (__argz_stringify_internal): Remove declaration.
51237         (__argz_count, __argz_stringify): Declare hidden proto.
51238         * intl/dcgettext.c: Remove use of INTDEF.
51239         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
51240         * string/argz-stringify.c: Likewise.
51241         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
51242         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
51243         Declare hidden proto.
51244         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
51245         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
51246         Declare hidden proto.
51247         * include/stdio.h (__asprintf_internal): Don't declare.
51248         (__asprintf): Don't define as macro.  Declare hidden proto.
51249         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
51250         (__fsetlocking): Declare hidden proto.
51251         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
51252         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
51253         hidden proto.
51254         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
51255         (_IO_setlinebuf): Remove use of INTUSE.
51256         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
51257         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
51258         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
51259         Remove declaration.
51260         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
51261         (_IO_do_flush): Remove use of INTUSE.
51262         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
51263         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
51264         (_IO_adjust_column, _IO_least_wmarker)
51265         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
51266         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
51267         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
51268         (_IO_default_doallocate, _IO_wdefault_doallocate)
51269         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
51270         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
51271         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
51272         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
51273         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
51274         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
51275         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
51276         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
51277         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
51278         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
51279         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
51280         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
51281         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
51282         proto.
51283         (_IO_flush_all_internal, _IO_adjust_column_internal)
51284         (_IO_default_uflow_internal, _IO_default_finish_internal)
51285         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
51286         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
51287         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
51288         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
51289         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
51290         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
51291         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
51292         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
51293         (_IO_file_close_internal, _IO_file_close_it_internal)
51294         (_IO_file_underflow_internal, _IO_file_overflow_internal)
51295         (_IO_file_init_internal, _IO_file_attach_internal)
51296         (_IO_file_fopen_internal, _IO_file_read_internal)
51297         (_IO_file_sync_internal, _IO_file_seek_internal)
51298         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
51299         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
51300         (_IO_str_underflow_internal, _IO_str_overflow_internal)
51301         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
51302         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
51303         (_IO_list_all_internal, _IO_link_in_internal)
51304         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
51305         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
51306         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
51307         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
51308         (_IO_do_write_internal, _IO_padn_internal)
51309         (_IO_getline_info_internal, _IO_getline_internal)
51310         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
51311         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
51312         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
51313         (_IO_vfscanf_internal, _IO_vfprintf_internal)
51314         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
51315         (_IO_init_internal, _IO_un_link_internal): Don't declare.
51316         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
51317         with libc_hidden_ver, remove use of INTUSE.
51318         * libio/genops.c: Likewise.
51319         * libio/freopen.c: Likewise.
51320         * libio/freopen64.c: Likewise.
51321         * libio/iofclose.c: Likewise.
51322         * libio/iofdopen.c: Likewise.
51323         * libio/iofflush.c: Likewise.
51324         * libio/iofflush_u.c: Likewise.
51325         * libio/iofgets.c: Likewise.
51326         * libio/iofgets_u.c: Likewise.
51327         * libio/iofopen.c: Likewise.
51328         * libio/iofopncook.c: Likewise.
51329         * libio/iofread.c: Likewise.
51330         * libio/iofread_u.c: Likewise.
51331         * libio/ioftell.c: Likewise.
51332         * libio/iofwrite.c: Likewise.
51333         * libio/iogetline.c: Likewise.
51334         * libio/iogets.c: Likewise.
51335         * libio/iogetwline.c: Likewise.
51336         * libio/iopadn.c: Likewise.
51337         * libio/iopopen.c: Likewise.
51338         * libio/ioseekoff.c: Likewise.
51339         * libio/ioseekpos.c: Likewise.
51340         * libio/iosetbuffer.c: Likewise.
51341         * libio/iosetvbuf.c: Likewise.
51342         * libio/ioungetc.c: Likewise.
51343         * libio/ioungetwc.c: Likewise.
51344         * libio/iovdprintf.c: Likewise.
51345         * libio/iovsprintf.c: Likewise.
51346         * libio/iovsscanf.c: Likewise.
51347         * libio/memstream.c: Likewise.
51348         * libio/obprintf.c: Likewise.
51349         * libio/oldfileops.c: Likewise.
51350         * libio/oldiofclose.c: Likewise.
51351         * libio/oldiofdopen.c: Likewise.
51352         * libio/oldiofopen.c: Likewise.
51353         * libio/oldiopopen.c: Likewise.
51354         * libio/oldstdfiles.c: Likewise.
51355         * libio/putc.c: Likewise.
51356         * libio/setbuf.c: Likewise.
51357         * libio/setlinebuf.c: Likewise.
51358         * libio/stdfiles.c: Likewise.
51359         * libio/strops.c: Likewise.
51360         * libio/vasprintf.c: Likewise.
51361         * libio/vscanf.c: Likewise.
51362         * libio/vsnprintf.c: Likewise.
51363         * libio/vswprintf.c: Likewise.
51364         * libio/wfiledoalloc.c: Likewise.
51365         * libio/wfileops.c: Likewise.
51366         * libio/wgenops.c: Likewise.
51367         * libio/wmemstream.c: Likewise.
51368         * libio/wstrops.c: Likewise.
51369         * libio/__fpurge.c: Likewise.
51370         * libio/__fsetlocking.c: Likewise.
51371         * assert/assert.c: Likewise.
51372         * debug/fgets_chk.c: Likewise.
51373         * debug/fgets_u_chk.c: Likewise.
51374         * debug/fread_chk.c: Likewise.
51375         * debug/fread_u_chk.c: Likewise.
51376         * debug/gets_chk.c: Likewise.
51377         * debug/obprintf_chk.c: Likewise.
51378         * debug/vasprintf_chk.c: Likewise.
51379         * debug/vdprintf_chk.c: Likewise.
51380         * debug/vsnprintf_chk.c: Likewise.
51381         * debug/vsprintf_chk.c: Likewise.
51382         * malloc/mtrace.c: Likewise.
51383         * misc/error.c: Likewise.
51384         * misc/syslog.c: Likewise.
51385         * stdio-common/asprintf.c: Likewise.
51386         * stdio-common/fxprintf.c: Likewise.
51387         * stdio-common/getw.c: Likewise.
51388         * stdio-common/isoc99_fscanf.c: Likewise.
51389         * stdio-common/isoc99_scanf.c: Likewise.
51390         * stdio-common/isoc99_vfscanf.c: Likewise.
51391         * stdio-common/isoc99_vscanf.c: Likewise.
51392         * stdio-common/isoc99_vsscanf.c: Likewise.
51393         * stdio-common/printf-prs.c: Likewise.
51394         * stdio-common/printf_fp.c: Likewise.
51395         * stdio-common/printf_fphex.c: Likewise.
51396         * stdio-common/printf_size.c: Likewise.
51397         * stdio-common/putw.c: Likewise.
51398         * stdio-common/scanf.c: Likewise.
51399         * stdio-common/sprintf.c: Likewise.
51400         * stdio-common/tmpfile.c: Likewise.
51401         * stdio-common/vfprintf.c: Likewise.
51402         * stdio-common/vfscanf.c: Likewise.
51403         * stdlib/strfmon_l.c: Likewise.
51404         * sunrpc/openchild.c: Likewise.
51405         * sunrpc/xdr_stdio.c: Likewise.
51406         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
51407         * sysdeps/mach/hurd/tmpfile.c: Likewise.
51409 2012-05-24  Roland McGrath  <roland@hack.frob.com>
51411         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
51413         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
51414         in the third column, to generate for the shared library an IFUNC
51415         that uses _dl_vdso_vsym.
51416         * Makerules (COMPILE.c, compile-stdin.c): New variables.
51417         * Makeconfig (object-suffixes-noshared): New variable.
51419         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
51420         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
51421         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
51422         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
51424         [BZ #14132]
51425         * include/sys/time.h (__gettimeofday): Remove macro.
51426         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
51427         * time/gettimeofday.c (__gettimeofday): Remove #undef.
51428         Remove INTDEF.
51429         (__gettimeofday): Add libc_hidden_def.
51430         (gettimeofday): Add libc_hidden_weak.
51431         * sysdeps/mach/gettimeofday.c: Likewise.
51432         * sysdeps/posix/gettimeofday.c: Likewise.
51433         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
51434         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
51435         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
51436         (__gettimeofday_internal): Remove strong_alias.
51437         (__gettimeofday): Add libc_hidden_def.
51438         (gettimeofday): Add libc_hidden_weak.
51439         * sysdeps/unix/syscalls.list (gettimeofday):
51440         Remove __gettimeofday_internal alias.
51442 2012-05-24  Daniel Jacobowitz  <drow@false.org>
51443             H.J. Lu  <hongjiu.lu@intel.com>
51445         [BZ #12495]
51446         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
51447         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
51448         (largebin_index_32_big): New.
51449         (largebin_index): Use it for 16-byte alignment.
51450         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
51451         correction with front_misalign.
51453 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
51455         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
51456         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
51457         Likewise.
51458         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
51459         Likewise.
51460         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
51461         Likewise.
51462         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
51463         Likewise.
51464         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
51465         Likewise.
51466         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
51467         Likewise.
51468         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
51469         Likewise.
51470         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
51471         Likewise.
51472         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
51473         Likewise.
51474         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
51475         Likewise.
51476         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
51477         Likewise.
51478         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
51479         Likewise.
51481         * scripts/data/c++-types-x32-linux-gnu.data: New file.
51482         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
51484 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
51486         [BZ #10846]
51487         [BZ #14036]
51488         * math/libm-test.inc (exp_test): Add test from bug 14036.
51489         (pow_test): Add test from bug 10846.
51491         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
51492         and other flags.
51493         (special_function): Do not include flags in test name.
51494         (parse_args): Likewise.
51495         * sysdeps/i386/fpu/libm-test-ulps: Update.
51496         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
51497         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
51498         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
51499         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51501         * math/gen-libm-test.pl (%beautify): Add entries for underflow
51502         exceptions.
51503         * math/libm-test.inc ("Philosophy"): Update comment about
51504         exception testing.
51505         (UNDERFLOW_EXCEPTION): New macro.
51506         (UNDERFLOW_EXCEPTION_OK): Likewise.
51507         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
51508         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
51509         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
51510         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
51511         (INVALID_EXCEPTION_OK): Update value.
51512         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
51513         (OVERFLOW_EXCEPTION_OK): Likewise.
51514         (IGNORE_ZERO_INF_SIGN): Likewise.
51515         (test_exceptions): Handle underflow exceptions.
51516         (acos_test): Update for underflow exception expectations.
51517         (cexp_test): Likewise.
51518         (clog_test): Likewise.
51519         (clog10_test): Likewise.
51520         (csqrt_test): Likewise.
51521         (ctan_test): Likewise.
51522         (ctanh_test): Likewise.
51523         (exp_test): Likewise.
51524         (exp10_test): Likewise.
51525         (exp2_test): Likewise.
51526         (expm1_test): Likewise.
51527         (fma_test): Likewise.
51528         (j0_test): Likewise.
51529         (jn_test): Likewise.
51530         (nexttoward_test): Likewise.
51531         (pow_test): Likewise.
51532         (scalbn_test): Likewise.
51533         (scalbln_test): Likewise.
51534         (tan_test): Likewise.
51535         (y1_test): Likewise.
51536         * sysdeps/i386/fpu/libm-test-ulps: Update.
51537         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51539 2012-05-23  David S. Miller  <davem@davemloft.net>
51541         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
51542         (__libc_sigaction): Remove unused local variables.
51544 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
51546         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
51548 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
51550         mktime: avoid signed integer overflow
51551         * time/mktime.c (__mktime_internal): Do not mishandle the case
51552         where diff == INT_MIN.
51554         mktime: simplify computation of average
51555         * time/mktime.c (ranged_convert): Use new time_t_avg function
51556         instead of rolling our own (probably-slower) code.
51558         mktime: do not assume signed right shift propagates sign bit
51559         * time/mktime.c (isdst_differ): New static function.
51560         (__mktime_internal): No need to normalize tm_isdst now.
51561         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
51562         tm_isdst values.
51564         mktime: merge another wrapv change from gnulib
51565         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
51566         from some compilers.
51568         mktime: remove incorrect attempt at unusual arithmetics
51569         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
51570         The code didn't really work on such machines anyway.
51571         (TYPE_MINIMUM): Assume two's complement.
51572         (twos_complement_arithmetic): Verify that long_int and time_t
51573         are two's complement (or unsigned, in the latter case).
51575         mktime: check signed shifts on long_int and time_t, too
51576         * time/mktime.c (SHR): Check that shifts work as desired
51577         on the types long_int and time_t too, as SHR is used on
51578         such types.
51580         mktime: do not assume 'long' is wide enough
51581         * time/mktime.c (verify): Move decl up.
51582         (long_int): New type.
51583         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
51584         to remove assumption in the code that 'long' is wide enough to
51585         store year values.  This assumption is not true on x32 and on
51586         some non-glibc platforms.
51588         mktime: merge wrapv change from gnulib
51589         * time/mktime.c (WRAPV): New macro.
51590         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
51591         (guess_time_tm, __mktime_internal): Do not assume that signed
51592         integer overflow wraps around; modern compilers generate code
51593         where this assumption is no longer valid.
51595 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
51597         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
51598         Replace "jmp L(pseudo_end)" with "ret".
51599         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
51600         Likewise.
51602 2012-05-23  Andreas Jaeger  <aj@suse.de>
51604         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
51605         * sysdeps/unix/sysv/linux/poll.c: Remove file.
51607 2012-05-23  Andreas Jaeger  <aj@suse.de>
51608             Maximilian Attems  <max@stro.at>
51610         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
51611         New macros.
51613 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
51615         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
51616         code so that pseudo_end is just ret and the stack pointer is
51617         correct also for static library in error case.
51619 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
51621         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
51622         move to syscalls.list.
51623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
51624         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
51625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
51626         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
51628         * manual/install.texi (Running make install): Do not mention Linux
51629         kernel version for which pt_chown is not needed.
51630         (Linux): Do not mention problems with nscd with 2.0 kernels.
51631         * INSTALL: Regenerated.
51633 2012-05-23  Andreas Jaeger  <aj@suse.de>
51635         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
51636         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
51637         macro.
51638         * sysdeps/unix/sysv/linux/s390/bits/mman.h
51639         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
51640         * sysdeps/unix/sysv/linux/sh/bits/mman.h
51641         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
51642         * sysdeps/unix/sysv/linux/i386/bits/mman.h
51643         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
51644         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
51645         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
51646         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
51647         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
51648         * sysdeps/unix/sysv/linux/bits/in.h
51649         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
51651 2012-05-22  Roland McGrath  <roland@hack.frob.com>
51653         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
51654         (PREPARE_VERSION): Just use assert instead, it will be elided
51655         under [NDEBUG] anyway.
51657 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
51659         * sysdeps/unix/sysv/linux/Makefile: Include
51660         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
51661         (sysdep_routines): Remove sysctl.
51662         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
51663         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
51664         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
51665         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
51666         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
51668 2012-05-22  Andreas Jaeger  <aj@suse.de>
51670         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
51671         that pseudo_end is just ret and the stack pointer is correct also
51672         for static library in error case.
51674 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
51676         [BZ #14122]
51677         * nss/nsswitch.c (defconfig_entries): New variable.
51678         (__nss_database_lookup): Don't leak defconfig entries.
51679         (nss_parse_service_list): Don't leak on error paths.
51680         (free_database_entries): New function.
51681         (free_defconfig): New function.
51682         (free_mem): Move common code to free_database_entries.
51684 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
51686         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
51687         Add arch_prctl.
51688         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
51690         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
51691         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
51692         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
51693         New macro.
51694         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
51695         (INTERNAL_SYSCALL_TYPES): Likewise.
51696         (LOAD_ARGS_TYPES_[1-6]): Likewise.
51697         (LOAD_REGS_TYPES_[1-6]): Likewise.
51698         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
51699         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
51701 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51703         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
51704         copysignl for GLIBC_2_0.
51705         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
51706         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
51707         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
51708         logbl for GLIBC_2_0.
51709         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
51710         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
51712 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
51714         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
51715         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
51717         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
51718         Use "neg %eax".
51720         * time/mktime.c: Update copyright years.
51722 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
51724         mktime: merge comment-quoting-style change from gnulib
51725         * time/mktime.c: Quote 'like this' in comments.
51726         The GNU coding standards suggest that we no longer quote `like this',
51727         as "`" and "'" are typically rendered asymmetrically nowadays.
51728         The typical gnulib style is to quote 'like this' when quoting
51729         code, and "like this" when quoting English.
51731         * time/mktime.c (compile-command): Add "-I.".
51733         mktime: merge mktime-internal.h change from gnulib
51734         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
51736         mktime: merge time_r change from gnulib
51737         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
51739         mktime: merge DEBUG change from gnulib
51740         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
51741         case system <time.h> has a #define.
51743         mktime: merge <sys/types.h> change from gnulib
51744         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
51745         since <time.t> is now guaranteed to define time_t.
51747         mktime: merge HAVE_CONFIG_H change from gnulib
51748         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
51750 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
51752         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
51753         Use "neg %eax".
51755         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
51756         __rlim_t cast.
51757         (struct rusage): Use anonymous union to pad each field to
51758         __syscall_slong_t.
51760 2012-05-21  David S. Miller  <davem@davemloft.net>
51762         * Makefules (o-iterator): Remove .s cases.
51763         (compile-command.s): Delete.
51764         (COMPILE.s): Delete.
51765         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
51767 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
51769         * configure.in (libc_cv_predef_stack_protector): Only consider
51770         "foobar" and "__stack_chk_fail" lines in libc_undefs.
51771         * configure: Regenerated.
51773 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
51775         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
51776         New macro.  Use R*LP on int and pointer.
51777         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
51778         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
51779         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
51780         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
51782         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
51783         [__WORDSIZE_TIME64_COMPAT32] instead of
51784         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
51785         (struct utmp): Likewise.
51786         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
51787         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
51788         Renamed to ...
51789         (__WORDSIZE_TIME64_COMPAT32): This.
51790         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
51791         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
51792         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
51793         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
51794         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
51795         (__WORDSIZE_TIME64_COMPAT32): New macro.
51797 2012-05-21  Andreas Jaeger  <aj@suse.de>
51799         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
51800         only if [SHARED]. Add prototype for __wcschr_ia32.
51802 2012-05-21  Roland McGrath  <roland@hack.frob.com>
51804         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
51805         of %rbp unmolested in the jmp_buf while mangling the low bits.
51806         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
51807         unmolested high bits of %rbp while demangling the low bits.
51808         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
51810 2012-05-21  Andreas Jaeger  <aj@suse.de>
51812         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
51813         * sunrpc/svc_simple.c: Use it for registerrpc.
51814         * sunrpc/xcrypt.c: Use it for passwd2des.
51816         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
51818 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
51820         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
51821         Don't define if [__SYSCALL_WORDSIZE != 32].
51822         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
51823         New macro.
51825 2012-05-21  Bruno Haible  <bruno@clisp.org>
51826             Andreas Jaeger  <aj@suse.de>
51828         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
51829         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
51830         inptr and inend for must_buffer_ch.
51831         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
51832         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
51833         * stdio-common/Makefile (tests): Remove bug15.
51834         (bug15-ENV): Remove macro.
51835         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
51836         anymore.
51838 2012-05-19  Andreas Jaeger  <aj@suse.de>
51839             Roland McGrath  <roland@hack.frob.com>
51841         * manual/contrib.texi: Completely rewritten. It contains now an
51842         alphabetical list of contributors and their contributions.
51844 2012-05-21  Richard Henderson  <rth@twiddle.net>
51846         * misc/getauxval.c (__getauxval): Use unsigned long int.
51847         * misc/sys/auxv.h: Include <sys/cdefs.h>.
51848         (getauxval): Use unsigned long int.
51850 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
51852         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
51854 2012-05-21  Roland McGrath  <roland@hack.frob.com>
51856         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
51857         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
51858         __alignof__ (long double).
51860 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51862         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51864 2012-05-20  Richard Henderson  <rth@twiddle.net>
51866         * misc/getauxval.c: New file.
51867         * misc/sys/auxv.h: New file.
51868         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
51869         (routines): Add getauxval.
51870         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
51871         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
51872         * elf/dl-sysdep.c (_dl_auxv): Remove.
51873         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
51874         * elf/dl-support.c (_dl_auxv): New variable.
51875         (_dl_aux_init): Initialize it.
51876         * manual/startup.texi (Auxiliary Vector): New node.
51877         * sysdeps/generic/bits/hwcap.h: New file.
51878         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
51879         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
51880         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
51881         * sysdeps/sparc/sysdep.h: ... here.  Include it.
51882         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
51883         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
51884         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
51885         Update.
51886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
51887         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
51888         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
51889         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
51890         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
51891         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
51892         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
51893         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
51895 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51897         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51899 2012-05-19  David S. Miller  <davem@davemloft.net>
51901         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51903 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
51905         [BZ #14123]
51906         * math/s_ccosh.c: Include <float.h>
51907         (__ccosh): Avoid internal overflow calculating sinh and cosh
51908         values before multiplying by sin and cos values.
51909         * math/s_ccoshf.c: Likewise.
51910         * math/s_ccoshl.c: Likewise.
51911         * math/s_csin.c: Likewise.
51912         * math/s_csinf.c: Likewise.
51913         * math/s_csinl.c: Likewise.
51914         * math/s_csinh.c: Likewise.
51915         * math/s_csinhf.c: Likewise.
51916         * math/s_csinhl.c: Likewise.
51917         * math/libm-test.inc (ccos_test): Add more tests.
51918         (ccosh_test): Likewise.
51919         (csin_test): Likewise.
51920         (csinh_test): Likewise.
51921         * sysdeps/i386/fpu/libm-test-ulps: Update.
51922         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51924 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
51926         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
51927         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
51929         * sysdeps/x86_64/x32/_itoa.h: Add comment.
51931 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
51933         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
51934         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
51935         * sysdeps/powerpc/soft-fp/Versions: Likewise.
51936         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
51937         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
51938         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
51939         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
51940         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
51941         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
51942         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
51943         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
51944         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
51945         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
51946         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
51947         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
51948         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
51949         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
51950         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
51951         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
51952         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
51953         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
51954         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
51955         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
51956         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
51957         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
51958         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
51959         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
51960         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
51961         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
51962         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
51963         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
51965 2012-05-18  Andreas Jaeger  <aj@suse.de>
51967         * csu/.gitignore: Delete.
51969 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
51971         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
51972         (timex): Use __syscall_slong_t.
51974 2012-05-18  Andreas Jaeger  <aj@suse.de>
51975             Carlos O'Donell  <carlos_odonell@mentor.com>
51977         * manual/install.texi (Configuring and compiling): Update
51978         description about files modified in the source directory.
51979         * INSTALL: Regenerated.
51981 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
51983         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
51984         value.  Use "or" to set return value to -1.
51985         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
51986         negate return value.
51988 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
51990         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
51991         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
51992         failure if the compiler has Graphite support disabled.
51993         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
51994         Likewise.
51995         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
51996         (CFLAGS-memmove.c): Likewise.
51997         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
51998         Likewise.
52000 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
52002         * sysdeps/x86_64/x32/_itoa.h: New file.
52004         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
52005         getdents system call only if kernel and user dirents have the
52006         same d_ino and d_off.
52008         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
52009         LLONG_MAX != LONG_MAX.
52010         (_itoa_word): Use _ITOA_WORD_TYPE on value.
52011         (_fitoa_word): Likewise.
52013         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
52014         years.
52015         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
52016         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
52017         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
52019         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
52020         include <bits/wordsize.h>.  Check __x86_64__ instead of
52021         __WORDSIZE.
52022         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
52023         if __x86_64__ is defined.  Use anonymous union on fpstate.
52025         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
52026         anonymous union.
52028 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
52030         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
52031         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
52032         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
52033         Refer to _rtld_local_ro instead of _rtld_global_ro.
52034         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
52035         Likewise.
52036         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
52037         Likewise.
52038         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
52039         Likewise.
52040         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
52041         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
52042         of _rtld_global, and rtld_progname instead of _dl_argv[0].
52044         [BZ #10882]
52045         * sysdeps/powerpc/powerpc32/dl-machine.c
52046         (__elf_machine_runtime_setup) [PROF]: Don't reference
52047         _dl_prof_resolve.
52049 2012-05-18  Andreas Jaeger  <aj@suse.de>
52051         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
52052         function only available for GCCs before 3.4 since GCC 3.4
52053         introduced a builtin.
52054         (lrint): Likewise.
52055         (llrintf): Likewise.
52056         (llrint): Likewise.
52057         (fmaxf): Likewise.
52058         (fmax): Likewise.
52059         (fminf): Likewise.
52060         (fmin): Likewise.
52061         (rint): Likewise.
52062         (rintf): Likewise.
52063         (nearbyint): Likewise.
52064         (nearbyintf): Likewise.
52065         (ceil): Likewise.
52066         (ceilf): Likewise.
52067         (floor): Likewise.
52068         (floorf): Likewise.
52070 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
52072         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
52073         on both fields and cast pointer to __syscall_ulong_t.
52075         * bits/types.h (__fsword_t): New type.
52076         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
52077         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
52078         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
52079         (__FSWORD_T_TYPE): Likewise.
52080         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
52081         (__FSWORD_T_TYPE): Likewise.
52082         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
52083         (__FSWORD_T_TYPE): Likewise.
52084         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
52085         (__FSWORD_T_TYPE): Likewise.
52086         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
52087         __SWORD_TYPE with __fsword_t.
52088         (statfs64): Likewise.
52090 2012-05-17  David S. Miller  <davem@davemloft.net>
52092         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
52094 2012-05-17  Andreas Jaeger  <aj@suse.de>
52096         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
52097         warning.
52099 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
52101         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
52103 2012-05-17  Andreas Jaeger  <aj@suse.de>
52105         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
52106         when it is used.
52108 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
52110         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
52112 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
52114         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
52115         * sysdeps/x86_64/tst-mallocalign1.c: New file.
52117 2012-05-17  Andreas Jaeger  <aj@suse.de>
52118             Carlos O'Donell  <carlos_odonell@mentor.com>
52120         [BZ #14059]
52121         * sysdeps/x86_64/multiarch/init-arch.h
52122         (bit_YMM_Usable): Rename to...
52123         (bit_AVX_Usable): ... this.
52124         (bit_FMA4_Usable): New macro.
52125         (bit_XMM_state): New macro.
52126         (bit_YMM_state): New macro.
52127         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
52128         [__ASSEMBLER__] (index_AVX_Usable): ... this.
52129         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
52130         (CPUID_OSXSAVE): New macro.
52131         (CPUID_AVX): New macro.
52132         (CPUID_FMA4): New macro.
52133         (index_YMM_Usable): Rename to...
52134         (index_AVX_Usable): ... this.
52135         (HAS_AVX): Use HAS_ARCH_FEATURE.
52136         (HAS_FMA4): Likewise.
52137         (HAS_YMM_USABLE): Remove.
52138         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52139         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
52140         are present.
52141         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
52142         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
52143         * sysdeps/x86_64/multiarch/Makefile: Likewise.
52144         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
52145         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
52147 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
52149         * math/libm-test.c: Support platforms without multiple rounding modes.
52150         * math/bug-nextafter.c: Support platforms without FP exceptions.
52151         * math/bug-nexttoward.c: Likewise.
52152         * math/test-fenv.c: Likewise.
52153         * math/test-misc.c: Likewise.
52154         * stdlib/bug-getcontext.c: Likewise.
52156 2012-05-17  Andreas Jaeger  <aj@suse.de>
52158         * manual/examples/search.c (critter_cmp): Change signature to
52159         avoid warnings.
52160         * manual/string.texi (Collation Functions): Likewise.
52162 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
52164         * bits/types.h: Fold copyright years.
52165         * bits/typesizes.h: Likewise.
52166         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
52167         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
52168         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
52169         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
52170         * time/time.h: Likewise.
52172 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
52174         [BZ #208]
52175         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
52176         in instead of returning them.  Return void.
52177         (__libc_mallinfo): Accumulate over all arenas.
52178         (__malloc_stats): Adjust for change in int_mallinfo interface.
52180 2012-05-16  Roland McGrath  <roland@hack.frob.com>
52182         [BZ #10375]
52183         * configure.in (NM): Add AC_CHECK_TOOL for it.
52184         (libc_extra_cflags): New substituted variable.
52185         Check for -fstack-protector being used implicitly.
52186         * configure: Regenerated.
52187         * config.make.in (config-extra-cflags): New variable,
52188         gets @libc_extra_cflags@.
52189         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
52191         [BZ #10375]
52192         * configure.in: Check for _FORTIFY_SOURCE being predefined.
52193         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
52194         * configure: Regenerated.
52195         * config.make.in (CPPUNDEFS): New substituted variable.
52196         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
52197         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
52198         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
52200 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
52202         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
52203         (mq_attr): Use __syscall_slong_t.
52205 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
52207         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
52208         Check __x86_64__ instead of __WORDSIZE.
52209         (_STAT_VER_LINUX): Likewise.
52210         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
52211         __syscall_ulong_t and __syscall_slong_t.
52212         (stat64): Likewise.
52214 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
52216         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
52218 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
52220         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
52222 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
52224         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
52225         __syscall_ulong_t.
52227         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
52228         include <bits/wordsize.h>.  Check __x86_64__ instead of
52229         __WORDSIZE.
52230         (greg_t): Use "__extension__ long long int" if __x86_64__ is
52231         defined.
52232         (mcontext_t): Replace "unsigned long" with "unsigned long long".
52234         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
52235         include <bits/wordsize.h>.  Check __x86_64__ instead of
52236         __WORDSIZE.
52237         (user_regs_struct): Use "__extension__ unsigned long long"
52238         instead of "unsigned long" if __x86_64__ is defined.
52239         (user): Likewise.  Pad after pointer field if __ILP32__ is
52240         defined.
52242 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
52244         * configure.in (makeinfo): Require version 4.5 or later.  Allow
52245         versions 5 to 9.
52246         * configure: Regenerated.
52247         * manual/install.texi (texinfo): Increase version requirement to
52248         4.5 or later.
52249         * INSTALL: Regenerated.
52251         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
52253 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
52255         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
52257         * sysdeps/x86_64/x32/ffs.c: New file.
52259         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
52260         __syscall_ulong_t.
52261         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
52262         defined.  Use __syscall_ulong_t.
52263         (shminfo): Use __syscall_ulong_t.
52264         (shm_info): Likewise.
52266         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
52267         __syscall_ulong_t.
52269         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
52270         <bits/wordsize.h>.
52271         (msgqnum_t): Use __syscall_ulong_t.
52272         (msglen_t): Likewise.
52273         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
52274         __syscall_ulong_t.
52276         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
52277         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
52279         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
52281         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
52282         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
52284         * sysvipc/sys/msg.h (msgbuf): Replace long int with
52285         __syscall_slong_t.
52287         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
52288         include <bits/wordsize.h>.  Check __x86_64__ instead of
52289         __WORDSIZE.
52291         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
52292         "unsigned long long int" if __x86_64__ is defined.
52293         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
52295         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
52296         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
52297         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
52299         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
52300         <stdint.h>.
52301         (GET_PC): Cast to uintptr_t first.
52302         (GET_FRAME): Likewise.
52303         (GET_STACK): Likewise.
52305         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
52306         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
52307         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
52308         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
52309         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
52310         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
52311         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
52312         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
52313         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
52314         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
52315         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
52316         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
52317         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
52318         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
52319         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
52320         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
52321         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
52322         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
52323         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
52324         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
52325         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
52326         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
52327         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
52328         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
52329         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
52330         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
52331         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
52332         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
52333         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
52335 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
52337         * Makerules (+depfiles): Also collect depfiles from .oS in
52338         $(extra-objs).
52339         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
52340         .oS, $(libnldbl-routines)).
52342         * Makerules (native-compile-mkdep-flags): Define.
52343         * sunrpc/Makefile (extra-objs): Add $(addprefix
52344         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
52345         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
52346         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
52347         calling $(make-target-directory).
52349 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
52351         * bits/types.h (__snseconds_t): Removed.
52352         * time/time.h (struct timespec): Replace __snseconds_t with
52353         __syscall_slong_t.
52354         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
52355         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
52356         Likewise.
52357         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
52358         (__SNSECONDS_T_TYPE): Likewise.
52359         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
52360         (__SNSECONDS_T_TYPE): Likewise.
52361         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
52362         (__SNSECONDS_T_TYPE): Likewise.
52364 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
52366         * sysdeps/mach/hurd/bits/typesizes.h
52367         (__SYSCALL_SLONG_TYPE): New macro.
52368         (__SYSCALL_ULONG_TYPE): Likewise.
52370 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
52372         * bits/types.h (__syscall_slong_t): New type.
52373         (__syscall_ulong_t): Likewise.
52375         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
52376         (__SYSCALL_ULONG_TYPE): Likewise.
52377         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
52378         (__SYSCALL_SLONG_TYPE): Likewise.
52379         (__SYSCALL_ULONG_TYPE): Likewise.
52380         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
52381         (__SYSCALL_SLONG_TYPE): Likewise.
52382         (__SYSCALL_ULONG_TYPE): Likewise.
52383         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
52384         (__SYSCALL_SLONG_TYPE): Likewise.
52385         (__SYSCALL_ULONG_TYPE): Likewise.
52387 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
52389         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
52390         Add sigaltstack-offsets.sym.
52391         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
52392         <sigaltstack-offsets.h>.
52393         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
52394         longjmp_msg pointer.
52395         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
52396         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
52397         signal stack.
52398         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
52400 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
52402         * elf/stackguard-macros.h: Remove file.
52403         * sysdeps/generic/stackguard-macros.h: New file.
52404         * sysdeps/i386/stackguard-macros.h: Likewise.
52405         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
52406         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
52407         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
52408         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
52409         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
52410         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
52411         * sysdeps/x86_64/stackguard-macros.h: Likewise.
52412         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
52413         <elf/stackguard-macros.h>.
52415         [BZ #14109]
52416         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
52417         __aligned__ in attribute.
52418         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
52419         (gregset_t): Likewise.
52421 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
52423         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
52424         * sysdeps/x86_64/64/Implies-after: Here.  New file.
52425         * sysdeps/x86_64/x32/Implies-after: New file.
52427 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
52429         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
52430         and access return value for _dl_profile_fixup.  Use R10_LP to
52431         load frame size.
52433 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
52435         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
52437 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
52439         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
52440         * sysdeps/x86_64/x32/sysdep.h: New file.
52442 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
52444         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
52445         * sysdeps/x86_64/setjmp.S: Likewise.
52447 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52449         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
52450         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
52451         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
52452         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
52453         remove unused global constant.
52455 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
52457         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
52458         include of <not-cancel.h>.
52460 2012-05-15  Roland McGrath  <roland@hack.frob.com>
52462         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
52464 2012-05-15  Jeff Law  <law@redhat.com>
52465             Andreas Jaeger  <aj@suse.de>
52467         [BZ #13594]
52468         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
52469         out from...
52470         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
52471         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
52472         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
52473         code changing __hst_map_handle.map.
52475 2012-05-15  Roland McGrath  <roland@hack.frob.com>
52477         * configure.in (sysnames): Look for Implies-before and Implies-after
52478         files.
52479         * configure: Regenerated.
52481 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
52483         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
52484         8-byte data alignment with LP_SIZE alignment.
52486 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
52488         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
52489         into R10_LP.
52491 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
52493         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
52495 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
52497         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
52498         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
52499         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
52500         Likewise.
52501         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
52503 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
52505         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
52506         (stackinfo_sub_sp): Likewise.
52508 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
52510         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
52511         RAX_LP.
52513 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
52515         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
52516         into R*_LP.
52518 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
52520         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
52521         sizes into R*_LP.
52523 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
52525         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
52527 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
52529         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
52530         into R11_LP and load __x86_64_shared_cache_size_half into
52531         R8_LP.
52533 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
52535         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
52536         R8_LP.
52538 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52540         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
52541         logb for POWER7.
52542         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
52543         logbf for POWER7.
52544         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
52545         logbl for POWER7.
52546         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
52547         powerpc32/power7/fpu/s_logb.c via #include.
52548         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
52549         powerpc32/power7/fpu/s_logbf.c via #include.
52550         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
52551         powerpc32/power7/fpu/s_logbl.c via #include.
52553 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
52555         * README.libm: Remove file.
52557 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
52559         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
52560         count for x32.  Use R*_LP and omit operand-size suffix.
52562 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
52564         * shlib-versions: Move x86_64-.*-linux.* entries to ...
52565         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
52566         * sysdeps/x86_64/x32/shlib-versions: New file.
52568 2012-05-14  Roland McGrath  <roland@hack.frob.com>
52570         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
52571         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
52572         Use _dl_fatal_printf instead.
52574 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
52576         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
52577         set if not set by the user.  Do not allow for being unset.
52578         * sysdeps/unix/sysv/linux/configure: Regenerated.
52580 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
52582         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
52583         the `q' suffix from lea and replace .quad with ASM_ADDR.
52585 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
52587         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
52588         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
52589         instead of $17.
52590         (PTR_DEMANGLE): Likewise.
52592 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
52594         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
52595         (LP_OP): Likewise.
52596         (ASM_ADDR): Likewise.
52597         (RAX_LP): Likewise.
52598         (RBP_LP): Likewise.
52599         (RBX_LP): Likewise.
52600         (RCX_LP): Likewise.
52601         (RDI_LP): Likewise.
52602         (RSI_LP): Likewise.
52603         (RSP_LP): Likewise.
52604         (R8_LP): Likewise.
52605         (R9_LP): Likewise.
52606         (R10_LP): Likewise.
52607         (R10_LP): Likewise.
52608         (R11_LP): Likewise.
52609         (R12_LP): Likewise.
52610         (R13_LP): Likewise.
52611         (R14_LP): Likewise.
52612         (R15_LP): Likewise.
52614 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
52616         * sysdeps/x86_64/x32/dl-machine.h: New file.
52618 2012-05-14  Andreas Jaeger  <aj@suse.de>
52620         * manual/Makefile (subdir): Remove export of subdir.
52621         (all): Remove target.
52622         (.PHONY): Remove all from list.
52623         (mkinstalldirs): Remove.
52624         (.PHONY): Remove installdirs from list.
52625         ($(inst_infodir)/libc.info): Use make-target-directory.
52626         (installdirs): Remove.
52627         (subdir_%): Remove.
52628         (glibc-targets): Remove.
52629         (lib): Remove.
52630         (stubs): Remove.
52631         ($(objpfx)stubs ../po/manual.pot): Remove.
52632         ($(objpfx)stamp%): Remove.
52633         (make-target-directory): Remove.
52634         (subdir_install): Remove.
52635         (routines): Remove.
52636         (aux): Remove.
52637         (sources): Remove.
52638         (objects): Remove.
52639         (headers): Remove.
52641         [BZ #13750]
52642         * manual/.gitignore: Remove, it's not needed anymore.
52643         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
52644         all files in it.
52645         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
52646         directory.
52647         (texis): Renamed to $(objpfx)texis.
52648         (texis-path): New, contains path to generated files.
52649         (chapters.%): Use texis-path for complete path, add extra argument
52650         libc-texinfo.sh.
52651         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
52652         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
52653         (summary,texi, stamp-summary): Use complete path of
52654         files. Generate files in build dir.
52655         (dir-add.texi): Build in build dir.
52656         (libm-err.texi,stamp-libm-err): Likewise.
52657         (version.texi, stamp-version): Likewise.
52658         (.%c.texi): Likewise.
52659         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
52660         (mostlyclean): Remove target.
52661         (realclean): Remove target.
52662         (generated): Add new variable with contents from mostlyclean and
52663         realclean, remove entries duplicated in common-mostlyclean, add
52664         stamp-libm-err and stamp-version.
52665         (generated-dirs): Add libc directory.
52666         ($(inst_infodir)/libc.info): Install files from build dir.
52668         * manual/install.texi (Configuring and compiling): Adjust since
52669         the info files are not part of the tar ball anymore.
52671 2012-05-14  Andreas Jaeger  <aj@suse.de>
52673         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
52674         variable.
52676 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
52678         [BZ #13717]
52679         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
52680         to 2.2.0 where earlier.
52681         * sysdeps/unix/sysv/linux/configure: Regenerated.
52682         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
52683         Remove conditional code.
52684         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
52685         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
52686         Remove conditional code.
52687         [!__NR_lchown]: Likewise.
52688         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
52689         [__NR_lchown]: Likewise.
52690         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
52691         comment referencing __ASSUME_LCHOWN_SYSCALL.
52692         * sysdeps/unix/sysv/linux/i386/sigaction.c
52693         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
52694         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
52695         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
52696         Remove conditional code.
52697         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
52698         (__protocol_available): Remove #if 0 code.
52699         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
52700         conditional code.
52701         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
52702         * sysdeps/unix/sysv/linux/kernel-features.h
52703         (__ASSUME_GETCWD_SYSCALL): Don't define.
52704         (__ASSUME_REALTIME_SIGNALS): Likewise.
52705         (__ASSUME_PREAD_SYSCALL): Likewise.
52706         (__ASSUME_PWRITE_SYSCALL): Likewise.
52707         (__ASSUME_POLL_SYSCALL): Likewise.
52708         (__ASSUME_LCHOWN_SYSCALL): Likewise.
52709         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
52710         non-SPARC.
52711         (__ASSUME_SIOCGIFNAME): Don't define.
52712         (__ASSUME_MSG_NOSIGNAL): Likewise.
52713         (__ASSUME_SENDFILE): Define unconditionally.
52714         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
52715         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
52716         conditional code.
52717         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
52718         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
52719         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
52720         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
52721         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
52722         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
52723         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
52724         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
52725         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
52726         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
52727         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
52728         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
52729         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
52730         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
52731         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
52732         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
52733         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
52734         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
52735         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
52736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
52737         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
52738         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
52739         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
52740         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
52741         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
52742         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
52743         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
52744         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
52745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
52746         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
52747         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
52748         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
52749         Remove conditional code.
52750         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
52751         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
52752         Remove conditional code.
52753         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
52754         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
52755         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
52756         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
52757         Remove conditional code.
52758         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
52759         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
52760         Remove conditional code.
52761         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
52762         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
52763         Remove conditional code.
52764         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
52765         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
52766         Remove conditional code.
52767         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
52768         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
52769         Remove conditional code.
52770         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
52771         * sysdeps/unix/sysv/linux/sh/pwrite64.c
52772         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
52773         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
52774         * sysdeps/unix/sysv/linux/sigaction.c
52775         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
52776         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
52777         * sysdeps/unix/sysv/linux/sigpending.c
52778         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
52779         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
52780         * sysdeps/unix/sysv/linux/sigprocmask.c
52781         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
52782         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
52783         * sysdeps/unix/sysv/linux/sigsuspend.c
52784         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
52785         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
52786         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
52787         (__libc_missing_rt_sigs): Remove.
52788         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
52789         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
52790         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
52791         Remove conditional code.
52792         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
52793         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
52794         return 1.
52795         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
52796         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
52797         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
52798         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
52800 2012-05-14  Andreas Jaeger  <aj@suse.de>
52802         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
52803         it's not used in glibc.
52804         (__coshm1): Likewise.
52805         (__acosh1p): Likewise.
52806         (__sgn): Likewise.
52808         * manual/string.texi (Copying and Concatenation): Add missing
52809         variable in concat example.
52810         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
52812 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
52814         [BZ #14103]
52815         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
52816         __builtin_clzl with __builtin_clzll.
52818 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
52820         [BZ #14104]
52821         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
52822         libc_freeres_ptr.
52824 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52826         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
52827         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
52828         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
52829         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
52831 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
52833         * NEWS: Update ia64 info.
52835 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
52837         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
52838         used as bcopy.
52840 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
52842         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
52843         * sysdeps/unix/syscalls.list (dup3): Likewise.
52844         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
52845         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
52847 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
52849         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
52850         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
52852 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
52854         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
52855         thread pointer.
52856         (TLS_IE): Use mov/add instead of movq/addq to load thread
52857         pointer.
52858         (TLS_GD_PREFIX): New.
52859         (TLS_GD): Use it.
52861 2012-05-11  David S. Miller  <davem@davemloft.net>
52863         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
52864         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
52865         (_FPU_SETCW): Likewise.
52867 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
52869         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
52870         is 32-byte aligned.
52872 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
52874         [BZ #11837]
52875         * iconvdata/gb18030.c: Update tables.
52876         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
52877         characters specially.
52878         (BODY for TO_LOOP): Add encoding of missing ranges.
52880 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
52882         [BZ #13673]
52883         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
52884         * sysdeps/mach/hurd/dup3.c: Likewise.
52885         * sysdeps/mach/hurd/readlinkat.c: Likewise.
52886         * sysdeps/powerpc/memmove.c:: Likewise.
52888 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
52890         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
52891         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
52893 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
52895         * elf/elf.h (R_X86_64_RELATIVE64): New.
52896         (R_X86_64_NUM): Updated.
52897         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
52898         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
52899         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
52900         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
52901         tst-quad1pie tst-quad2pie
52902         (modules-names): Add tst-quadmod1 tst-quadmod2.
52903         ($(objpfx)tst-quad1): New dependency.
52904         ($(objpfx)tst-quad2): Likewise.
52905         ($(objpfx)tst-quad1pie): Likewise.
52906         ($(objpfx)tst-quad2pie): Likewise.
52907         * sysdeps/x86_64/tst-quad1.c: New file.
52908         * sysdeps/x86_64/tst-quad1pie.c: New file.
52909         * sysdeps/x86_64/tst-quad2.c: Likewise.
52910         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
52911         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
52912         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
52913         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
52914         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
52916 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52918         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
52919         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
52920         * streams/stropts.h (t_scalar_t): Define type.
52922         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
52923         (_PATH_PRESERVE): Set to "/var/lib".
52924         (_PATH_RWHODIR): Set to "/var/spool/rwho".
52926         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
52927         instead of int.
52929         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
52930         if __dir_mkfile succeeded.
52932         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
52933         checking for _hurd_dtablesize.  Unlock it right after having
52934         finished _hurd_dtable allocation.
52936 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
52938         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
52939         * sysdeps/mach/hurd/configure: Regenerated.
52940         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
52941         special-casing to...
52942         * sysdeps/gnu/configure.in: ... this new file.
52943         * sysdeps/unix/sysv/linux/configure: Regenerated.
52944         * sysdeps/gnu/configure: New generated file.
52946         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
52947         for Linux: use nsec instead of usec, as well as:
52948         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
52949         members of type struct timespec.
52950         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
52951         New macros.
52952         (struct stat64): Likewise.
52953         (_STATBUF_ST_NSEC): New macro.
52954         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
52956         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
52957         __strtoul_internal rather than strtoul.
52959 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
52961         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
52962         and reject them.
52964 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52966         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
52967         which preserves existing values.
52968         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
52970 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
52972         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
52973         TIMEOUT values.  Return EINVAL for NFDS values either negative or
52974         greater than FD_SETSIZE.
52976 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52978         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
52979         allocated, call __vm_protect to finish enabling the existing space, and
52980         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
52981         allocate the remainder.
52983 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
52985         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
52986         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
52988 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52990         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
52991         sysdeps/mach/hurd/readlink.c.
52993         * posix/tst-sysconf.c (posix_options): Only use
52994         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
52995         _POSIX_SYNCHRONIZED_IO when they are defined
52996         * sysdeps/mach/hurd/bits/posix_opt.h:
52997         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
52998         (_XOPEN_REALTIME): Undefine macro.
52999         (_XOPEN_REALTIME_THREADS): Undefine macro.
53000         (_XOPEN_SHM): Undefine macro.
53001         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
53002         macro to -1.
53003         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
53004         macro to -1.
53005         (_POSIX_ASYNC_IO): Undefine macro.
53006         (_POSIX_PRIORITIZED_IO): Undefine macro.
53007         (_POSIX_SPIN_LOCKS): Define macro to -1.
53009         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
53010         SA_NODEFER, SA_RESETHAND.
53011         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
53012         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
53013         F_DUPFD_CLOEXEC.
53015 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
53017         * elf/Makefile (pldd-modules): Define unconditionally.
53019 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
53021         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
53023 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53025         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
53026         Return ENOENT when name is empty.
53027         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
53029 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
53031         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
53033         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
53035 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53037         Fix mlock in all cases except non-readable pages.
53038         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
53039         instead of VM_PROT_ALL as parameter to __vm_wire function.
53041         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
53042         (__mkdir): When path is `/', just fail with EEXIST.
53043         * sysdeps/mach/hurd/mkdirat.c: Likewise.
53045 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
53047         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
53048         <sys/uio.h> (for writev).
53049         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
53050         and <sys/param.h> (for MIN).
53052 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
53054         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
53055         REQUESTED_TIME.  Properly set the remaining time and return EINTR
53056         if interrupted.
53058 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
53060         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
53061         Depend on against $(link-rpcuserlibs).
53063 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53065         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
53066         (__libc_stack_end): Do not use attribute_relro.
53067         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
53068         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
53069         to libthread-provided value.
53070         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
53071         attribute_relro.
53073 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
53075         [BZ #3748]
53076         * bits/libc-lock.h (__libc_once_get): New macro.
53077         * sysdeps/mach/bits/libc-lock.h: Likewise.
53078         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
53079         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
53080         instead of using implementation details.
53082         * libio/fileops.c: Unconditionally include <kernel-features.h>.
53083         * libio/freopen.c: Likewise.
53084         * libio/freopen64.c: Likewise.
53085         * misc/syslog.c: Likewise.
53086         * nscd/connections.c: Likewise.
53087         * nscd/netgroupcache.c: Likewise.
53088         * sysdeps/posix/getcwd.c: Likewise.
53090 2012-05-10  Roland McGrath  <roland@hack.frob.com>
53092         * math/w_ilogbf.c: Add #include <limits.h>.
53094 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53096         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
53097         path instead of returning without unlocking.
53099         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
53100         immediate-write ioctls.
53101         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
53103 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
53105         * sysdeps/mach/hurd/i386/init-first.c (init): Use
53106         __builtin_frame_address instead of making assumptions about the
53107         location of the return address relative to DATA.  Force early load of
53108         the return address.
53109         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
53110         __builtin_frame_address.
53112         dup3 for GNU Hurd.
53113         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
53114         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
53115         implement dup3 and do some further code clean-ups.
53116         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
53117         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
53119 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53121         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
53123         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
53124         HURD_CRITICAL_END around holding _hurd_dtable_lock.
53125         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
53126         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
53127         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
53128         d->port.lock.
53130         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
53131         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
53132         when handler == SIG_ERR, not when handler != SIG_ERR.
53134 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
53136         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
53137         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
53138         definitions.
53140         accept4 for GNU Hurd.
53141         * include/sys/socket.h (__libc_accept4): New prototype.
53142         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
53143         to implement __libc_accept4.
53144         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
53145         __libc_accept4.
53146         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
53148         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
53149         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
53150         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
53151         signal-defines.sym.
53153 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53155         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
53157 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
53159         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
53160         assertion on O_CLOEXEC flag.
53161         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
53162         * hurd/intern-fd.c: Likewise.
53163         * hurd/port2fd.c: Likewise.
53165 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53167         [BZ #3906]
53168         * bits/in.h (IPV6_PKTINFO): Define new macro.
53169         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
53171 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53173         [BZ #13954]
53174         [BZ #13955]
53175         [BZ #13956]
53176         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
53177         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
53178         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
53179         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
53180         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
53181         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
53182         * math/libm-test.inc (logb_test) : Additional logb tests.
53184 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
53185             Andreas Jaeger  <aj@suse.de>
53187         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
53188         * configure: Regenerated.
53189         * config.h.in (LINK_OBSOLETE_RPC): New macro.
53190         * config.make.in (link-obsolete-rpc): New substituted variable.
53191         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
53192         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
53193         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
53194         (shared-only-routines): Don't set it under [link-obsolete-rpc],
53195         so that libc.a contains the symbols.
53196         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
53197         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
53198         * sunrpc/auth_none.c: Likewise.
53199         * sunrpc/auth_unix.c: Likewise.
53200         * sunrpc/authdes_prot.c: Likewise.
53201         * sunrpc/authuxprot.c: Likewise.
53202         * sunrpc/clnt_gen.c: Likewise.
53203         * sunrpc/clnt_perr.c: Likewise.
53204         * sunrpc/clnt_raw.c: Likewise.
53205         * sunrpc/clnt_simp.c: Likewise.
53206         * sunrpc/clnt_tcp.c: Likewise.
53207         * sunrpc/clnt_udp.c: Likewise.
53208         * sunrpc/clnt_unix.c: Likewise.
53209         * sunrpc/des_crypt.c: Likewise.
53210         * sunrpc/des_soft.c: Likewise.
53211         * sunrpc/get_myaddr.c: Likewise.
53212         * sunrpc/key_call.c: Likewise.
53213         * sunrpc/key_prot.c: Likewise.
53214         * sunrpc/netname.c: Likewise.
53215         * sunrpc/pm_getmaps.c: Likewise.
53216         * sunrpc/pm_getport.c: Likewise.
53217         * sunrpc/pmap_clnt.c: Likewise.
53218         * sunrpc/pmap_prot.c: Likewise.
53219         * sunrpc/pmap_prot2.c: Likewise.
53220         * sunrpc/pmap_rmt.c: Likewise.
53221         * sunrpc/publickey.c: Likewise.
53222         * sunrpc/rpc_cmsg.c: Likewise.
53223         * sunrpc/rpc_common.c: Likewise.
53224         * sunrpc/rpc_dtable.c: Likewise.
53225         * sunrpc/rpc_prot.c: Likewise.
53226         * sunrpc/rpc_thread.c: Likewise.
53227         * sunrpc/rtime.c: Likewise.
53228         * sunrpc/svc.c: Likewise.
53229         * sunrpc/svc_auth.c: Likewise.
53230         * sunrpc/svc_raw.c: Likewise.
53231         * sunrpc/svc_run.c: Likewise.
53232         * sunrpc/svc_tcp.c: Likewise.
53233         * sunrpc/svc_udp.c: Likewise.
53234         * sunrpc/svc_unix.c: Likewise.
53235         * sunrpc/svcauth_des.c: Likewise.
53236         * sunrpc/xcrypt.c: Likewise.
53237         * sunrpc/xdr.c: Likewise.
53238         * sunrpc/xdr_array.c: Likewise.
53239         * sunrpc/xdr_float.c: Likewise.
53240         * sunrpc/xdr_intXX_t.c: Likewise.
53241         * sunrpc/xdr_mem.c: Likewise.
53242         * sunrpc/xdr_rec.c: Likewise.
53243         * sunrpc/xdr_ref.c: Likewise.
53244         * sunrpc/xdr_sizeof.c: Likewise.
53245         * sunrpc/xdr_stdio.c: Likewise.
53247 2012-05-10  Roland McGrath  <roland@hack.frob.com>
53249         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
53250         change.  Update copyright years.
53252 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
53254         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
53256 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
53257             Joseph Myers  <joseph@codesourcery.com>
53258             Paul Pluzhnikov  <ppluzhnikov@google.com>
53260         [BZ #14012]
53261         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
53262         requiring rpcgen.
53263         [cross-compiling] (extra-libs): Likewise.
53264         [cross-compiling] (extra-libs-others): Likewise.
53265         [cross-compiling] (librpcsvc-routines): Likewise.
53266         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
53267         [cross-compiling] (omit-deps): Likewise.
53268         (sunrpc-CPPFLAGS): New variable.
53269         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
53270         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
53271         (cross-rpcgen-objs): New variable.
53272         (extra-objs): Append $(cross-rpcgen-objs).
53273         ($(cross-rpcgen-objs)): New rule.
53274         ($(objpfx)cross-rpcgen): Likewise.
53275         (rpcgen-cmd): Define to use $(built-program-file).  Expand
53276         comment.
53277         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
53278         ($(objpfx)x%.stmp): Likewise.
53279         * sunrpc/proto.h [IS_IN_build] (_): Define.
53280         [IS_IN_build] (_libc_intl_domainname): Likewise.
53282 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
53284         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
53285         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
53286         and R_X86_64_TPOFF64.
53288 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
53290         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
53291         sysdeps/unix/sysv/syscalls.list.
53292         (stime): Likewise.
53293         (utime): Likewise.
53294         * sysdeps/unix/sysv/syscalls.list: Remove file.
53296 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
53298         [BZ #3440]
53299         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
53300         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
53301         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
53302         (__LC_IDENTIFICATION): Make these macros useful in #if
53303         expressions, as required by C99.
53305 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
53307         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
53308         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
53309         after this.
53311 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
53313         * stdlib/longlong.h: Updated from GCC.
53315 2012-05-09  Andreas Jaeger  <aj@suse.de>
53317         * nscd/nscd.c (run_modes): Make named enum, reorder so that
53318         default is first entry.
53319         (run_mode): Set type.
53320         (main): Remove informal message about syslog.
53321         (options): Fix typo.
53323         [BZ #14053]
53324         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
53325         to asm.
53326         (lrint): Likewise.
53327         (llrintf): Likewise.
53328         (llrint): Likewise.
53329         (rint): Likewise.
53330         (rintf): Likewise.
53331         (nearbyint): Likewise.
53332         (nearbyintf): Likewise.
53334 2012-05-09  Andreas Jaeger  <aj@suse.de>
53335             Pedro Alves  <palves@redhat.com>
53337         * nscd/nscd.c (run_mode): Use enum.
53338         (main): Cleanup coding style issue.
53340 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
53341             Andreas Jaeger  <aj@suse.de>
53343         * nscd/nscd.c (go_background): Replaced with...
53344         (run_mode): ... this.
53345         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
53346         (options): Add -F --foreground.
53347         (main): Implement it.
53348         (parse_opt): Parse it.
53350 2012-05-09  Andreas Jaeger  <aj@suse.de>
53352         [BZ #14083]
53353         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
53354         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
53355         -Wconversion warning.
53356         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
53357         Likewise.
53359 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
53361         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
53362         == 0.
53363         (LC_ALL): Use macro-int-constant.
53364         (LC_COLLATE): Likewise.
53365         (LC_CTYPE): Likewise.
53366         (LC_MESSAGES): Likewise.
53367         (LC_MONETARY): Likewise.
53368         (LC_NUMERIC): Likewise.
53369         (LC_TIME): Likewise.
53370         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
53371         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
53372         [ISO || ISO99 || ISO11] (*_t): Do not allow.
53373         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
53374         Specify type.
53375         [C99-based standards] (float_t): Expect type.
53376         [C99-based standards] (double_t): Expect type.
53377         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
53378         type.
53379         [C99-based standards] (HUGE_VALL): Likewise.
53380         [C99-based standards] (INFINITY): Likewise.
53381         [C99-based standards] (NAN): Likewise.
53382         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
53383         [C99-based standards] (FP_NAN): Likewise.
53384         [C99-based standards] (FP_NORMAL): Likewise.
53385         [C99-based standards] (FP_SUBNORMAL): Likewise.
53386         [C99-based standards] (FP_ZERO): Likewise.
53387         [C99-based standards] (FP_FAST_FMA): Use
53388         optional-macro-int-constant.  Specify type.  Require == 1.
53389         [C99-based standards] (FP_FAST_FMAF): Likewise.
53390         [C99-based standards] (FP_FAST_FMAL): Likewise.
53391         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
53392         [C99-based standards] (FP_ILOGBNAN): Likewise.
53393         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
53394         Specify type.
53395         [C99-based standards] (MATH_ERREXCEPT): Likewise.
53396         [C99-based standards] (math_errhandling): Specify type.
53397         [ISO99 || ISO11] (signgam): Do not allow.
53398         [non-C99-based standards] (copysignf): Do not allow.
53399         [non-C99-based standards] (exp2f): Likewise.
53400         [non-C99-based standards] (log2f): Likewise.
53401         [non-C99-based standards] (modff): Allow.
53402         [non-C99-based standards] (erff): Do not allow.
53403         [non-C99-based standards] (erfcf): Likewise.
53404         [non-C99-based standards] (gammaf): Likewise.
53405         [non-C99-based standards] (hypotf): Likewise.
53406         [non-C99-based standards] (j0f): Likewise.
53407         [non-C99-based standards] (j1f): Likewise.
53408         [non-C99-based standards] (jnf): Likewise.
53409         [non-C99-based standards] (lgammaf): Likewise.
53410         [non-C99-based standards] (tgammaf): Likewise.
53411         [non-C99-based standards] (y0f): Likewise.
53412         [non-C99-based standards] (y1f): Likewise.
53413         [non-C99-based standards] (ynf): Likewise.
53414         [non-C99-based standards] (isnanf): Likewise.
53415         [non-C99-based standards] (acoshf): Likewise.
53416         [non-C99-based standards] (asinhf): Likewise.
53417         [non-C99-based standards] (atanhf): Likewise.
53418         [non-C99-based standards] (cbrtf): Likewise.
53419         [non-C99-based standards] (expm1f): Likewise.
53420         [non-C99-based standards] (ilogbf): Likewise.
53421         [non-C99-based standards] (log1pf): Likewise.
53422         [non-C99-based standards] (logbf): Likewise.
53423         [non-C99-based standards] (nextafterf): Likewise.
53424         [non-C99-based standards] (remainderf): Likewise.
53425         [non-C99-based standards] (rintf): Likewise.
53426         [non-C99-based standards] (scalbf): Likewise.
53427         [non-C99-based standards] (copysignl): Likewise.
53428         [non-C99-based standards] (exp2l): Likewise.
53429         [non-C99-based standards] (log2l): Likewise.
53430         [non-C99-based standards] (modfl): Allow.
53431         [non-C99-based standards] (erfl): Do not allow.
53432         [non-C99-based standards] (erfcl): Likewise.
53433         [non-C99-based standards] (gammal): Likewise.
53434         [non-C99-based standards] (hypotl): Likewise.
53435         [non-C99-based standards] (j0l): Likewise.
53436         [non-C99-based standards] (j1l): Likewise.
53437         [non-C99-based standards] (jnl): Likewise.
53438         [non-C99-based standards] (lgammal): Likewise.
53439         [non-C99-based standards] (tgammal): Likewise.
53440         [non-C99-based standards] (y0l): Likewise.
53441         [non-C99-based standards] (y1l): Likewise.
53442         [non-C99-based standards] (ynl): Likewise.
53443         [non-C99-based standards] (isnanl): Likewise.
53444         [non-C99-based standards] (acoshl): Likewise.
53445         [non-C99-based standards] (asinhl): Likewise.
53446         [non-C99-based standards] (atanhl): Likewise.
53447         [non-C99-based standards] (cbrtl): Likewise.
53448         [non-C99-based standards] (expm1l): Likewise.
53449         [non-C99-based standards] (ilogbl): Likewise.
53450         [non-C99-based standards] (log1pl): Likewise.
53451         [non-C99-based standards] (logbl): Likewise.
53452         [non-C99-based standards] (nextafterl): Likewise.
53453         [non-C99-based standards] (remainderl): Likewise.
53454         [non-C99-based standards] (rintl): Likewise.
53455         [non-C99-based standards] (scalbl): Likewise.
53456         [ISO || ISO99 || ISO11] (*_t): Do not allow.
53457         [non-C99-based standards] (FP_*): Do not allow.
53458         [C99-based standards] (FP_*): Change to
53459         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
53460         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
53461         allow.
53462         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
53463         (SIG_ERR): Likewise.
53464         [X/Open-based standards] (SIG_HOLD): Likewise.
53465         (SIG_IGN): Likewise.
53466         (SIGABRT): Use macro-int-constant.  Specify type.  Require
53467         positive value.
53468         (SIGFPE): Likewise.
53469         (SIGILL): Likewise.
53470         (SIGINT): Likewise.
53471         (SIGSEGV): Likewise.
53472         (SIGTER): Likewise.
53473         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
53474         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
53475         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
53476         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
53477         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
53478         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
53479         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
53480         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
53481         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
53482         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
53483         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
53484         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
53485         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
53486         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
53487         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
53488         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
53489         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
53490         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
53491         [X/Open-based standards] (SIGTRAP): Likewise.
53492         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
53493         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
53494         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
53495         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
53496         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
53497         allow.
53499 2012-05-08  Ian Wienand  <ianw@vmware.com>
53501         [BZ #14080]
53502         * time/tzset.c (__tzset_parse_tz): Update default rules for
53503         daylight time changes in the Energy Policy Act of 2005.
53505 2012-05-09  Andreas Jaeger  <aj@suse.de>
53507         [BZ #13983]
53508         * elf/ldconfig.c (parse_conf): Change string to make clear that
53509         ldconfig only issued a warning if ld.so.conf does not exist.
53511 2012-05-08  David S. Miller  <davem@davemloft.net>
53513         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
53514         movxtod instead of popping the value on the stack.
53516         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53518 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
53520         * config.h.in: Add HAVE_ARM_PCS_VFP.
53522 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
53524         [BZ #13979]
53525         * include/features.h: Warn if user requests __FORTIFY_SOURCE
53526         checking but the checks are disabled for any reason.
53528 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
53530         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
53531         and ELF64_R_TYPE with ELFW(R_TYPE).
53533 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
53535         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
53536         (ulimit): Likewise.
53538         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
53539         (settimeofday): Likewise.
53541 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
53543         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
53544         a struct th_u2 inside the union, and move tu_block/tu_code into
53545         a new th_u3 union of tu_block/tu_code inside of that.  Move
53546         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
53547         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
53548         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
53549         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
53550         (th_stuff): Change to th_u1.tu_stuff.
53551         (th_data): Define.
53552         (th_msg): Change to th_u1.th_u2.tu_data.
53554 2012-05-07  David S. Miller  <davem@davemloft.net>
53556         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53558         [BZ #14074]
53559         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
53560         (SETUP_PIC_REG): Use it.
53561         (SETUP_PIC_REG_LEAF): Use it.
53563 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
53565         [BZ #13885]
53566         [BZ #13923]
53567         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
53568         USE_AS_EXPM1L.
53569         (EXPL_FINITE): Likewise.
53570         (FLDLOG): Likewise.
53571         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
53572         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
53573         e_expl.S.
53574         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
53575         USE_AS_EXPM1L.
53576         (EXPL_FINITE): Likewise.
53577         (FLDLOG): Likewise.
53578         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
53579         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
53580         e_expl.S.
53581         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
53582         test of -max_value argument for long double.
53583         * sysdeps/i386/fpu/libm-test-ulps: Update.
53584         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53586 2012-05-06  David S. Miller  <davem@davemloft.net>
53588         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
53589         quad soft-float symbols whose references which are compiler
53590         generated.
53591         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
53593 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
53595         [BZ #13884]
53596         [BZ #13914]
53597         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
53598         USE_AS_EXP10L.
53599         (EXPL_FINITE): Likewise.
53600         (FLDLOG): Likewise.
53601         (c0): Likewise.
53602         (c1): Likewise.
53603         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
53604         Adjust comments for base varying.
53605         (__expl_finite): Change alias to EXPL_FINITE.
53606         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
53607         e_expl.S.
53608         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
53609         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
53610         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
53611         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
53612         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
53613         USE_AS_EXP10L.
53614         (EXPL_FINITE): Likewise.
53615         (FLDLOG): Likewise.
53616         (c0): Likewise.
53617         (c1): Likewise.
53618         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
53619         Adjust comments for base varying.
53620         (__expl_finite): Change alias to EXPL_FINITE.
53621         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
53622         tests for bugs.
53623         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53625         [BZ #14064]
53626         * math/libm-test.inc (check_float_internal): Correct ulp
53627         calculation for subnormal expected results.
53629 2012-05-06  Andreas Jaeger  <aj@suse.de>
53631         * Makeconfig (+math-flags): New, set to -frounding-math.
53632         (+cflags): Add +math-flags so that all of glibc gets compiled with
53633         it.
53635         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
53637 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
53639         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
53640         Disable one test.
53642         [BZ #13787]
53643         [BZ #13922]
53644         [BZ #14036]
53645         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
53646         (__ieee754_expl): Allow for and saturate large arguments.
53647         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
53648         (u_threshold): Likewise.
53649         (__exp): Call __ieee754_exp before checking for overflow and
53650         underflow.
53651         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
53652         (u_threshold): Likewise.
53653         (__expf): Call __ieee754_expf before checking for overflow and
53654         underflow.
53655         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
53656         (u_threshold): Likewise.
53657         (__expl): Call __ieee754_expl before checking for overflow and
53658         underflow.
53659         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
53660         (__ieee754_expl): Allow for and saturate large arguments.
53661         * math/libm-test.inc (exp_test): Add another test.  Do not allow
53662         missing overflow exception on overflow.
53663         (expm1_test): Do not allow missing overflow exception on overflow.
53665         * sysdeps/i386/fpu/e_expl.c: Move to ...
53666         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
53667         rather than using inline asm.
53668         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
53669         * sysdeps/x86_64/fpu/e_expl.S: Copy from
53670         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
53672         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
53673         (nice): Likewise.
53674         (poll): Likewise.
53675         (signal): Likewise.
53676         (time): Likewise.
53677         (times): Likewise.
53679 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
53681         * sysdeps/unix/syscalls.list (adjtime): Add entry from
53682         sysdeps/unix/common/syscalls.list.
53683         (fchmod): Likewise.
53684         (fchown): Likewise.
53685         (ftruncate): Likewise.
53686         (getrusage): Likewise.
53687         (gettimeofday): Likewise.
53688         (setpgid): Likewise.
53689         (setregid): Likewise.
53690         (setreuid): Likewise.
53691         (sigaction): Likewise.
53692         (truncate): Likewise.
53693         (vhangup): Likewise.
53694         * sysdeps/unix/common/syscalls.list: Remove file.
53695         * sysdeps/unix/bsd/Implies: Don't include unix/common.
53696         * sysdeps/unix/sysv/linux/Implies: Likewise.
53698 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
53700         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
53701         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
53702         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
53703         Moved to ...
53704         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
53705         Here.
53706         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
53707         to ...
53708         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
53709         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
53710         to ...
53711         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
53712         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
53713         to ...
53714         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
53715         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
53716         to ...
53717         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
53718         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
53719         to ...
53720         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
53721         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
53722         to ...
53723         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
53724         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
53725         to ...
53726         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
53727         Here.
53728         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
53729         to ...
53730         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
53731         Here.
53732         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
53733         to ...
53734         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
53735         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
53736         Moved to ...
53737         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
53738         Here.
53739         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
53740         to ...
53741         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
53743 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
53745         * sysdeps/unix/common/bits/dirent.h: Remove file.
53746         * sysdeps/unix/common/bits/fcntl.h: Likewise.
53748         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
53749         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
53750         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
53751         * sysdeps/unix/bsd/isatty.c: Likewise.
53752         * sysdeps/unix/bsd/tcdrain.c: Likewise.
53753         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
53754         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
53756 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53758         [BZ #13563]
53759         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
53760         long double comparison inaccuracies.
53761         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
53762         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53764 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
53766         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
53767         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
53769 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
53771         [BZ #14049]
53772         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
53773         nonzero digits before rounding a hex value.
53774         * stdlib/tst-strtod.c (tests): Add another test.
53776 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53778         * sysdeps/s390/fpu/libm-test-ulps: Update.
53780 2012-05-03  Andreas Jaeger  <aj@suse.de>
53782         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
53783         does not get optimized out.
53784         (malloc_opt_barrier): New.
53786 2012-05-03  Andreas Jaeger  <aj@suse.de>
53787             Roland McGrath  <roland@hack.frob.com>
53789         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
53790         intermediate file deletion.
53791         (generated): Add .symlist files.
53793 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
53795         [BZ #13775]
53796         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
53797         Redirect under this condition.
53798         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
53799         [__USE_GNU] (__dprintf_chk): Not under this condition.
53800         [__USE_GNU] (__vdprintf_chk): Likewise.
53801         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
53802         under this condition.
53803         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
53804         [__USE_XOPEN2K8] (dprintf): Define under this condition.
53805         [__USE_XOPEN2K8] (vdprintf): Likewise.
53806         [__USE_GNU] (__dprintf_chk): Not under this condition.
53807         [__USE_GNU] (__vdprintf_chk): Likewise.
53808         [__USE_GNU] (dprintf): Likewise.
53809         [__USE_GNU] (vdprintf): Likewise.
53811 2012-05-03  Roland McGrath  <roland@hack.frob.com>
53813         * elf/Makefile (common-generated): Set this instead of generated for
53814         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
53815         $(all-built-dso)-derived lists.
53817 2012-05-03  Andreas Jaeger  <aj@suse.de>
53819         * sysdeps/i386/fpu/libm-test-ulps: Update.
53821         * FAQ: Removed.
53822         * FAQ.in: Likewise.
53823         * scripts/gen-FAQ.pl: Likewise.
53824         * manual/install.texi (Installation): Point to online location of
53825         FAQ.
53826         * Makefile (files-for-dist): Remove FAQ.
53827         (FAQ): Remove.
53829 2012-05-02  Allan McRae  <allan@archlinux.org>
53831         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
53832         (LDFLAGS-reldepmod5.so): Likewise.
53833         (LDFLAGS-reldep6mod1.so): Likewise.
53834         (LDFLAGS-reldep6mod4.so): Likewise.
53835         (LDFLAGS-reldep8mod3.so): Likewise.
53836         (LDFLAGS-unload4mod1.so): Likewise.
53837         (LDFLAGS-unload4mod2.so): Likewise.
53838         (LDFLAGS-tst-initorder): Likewise.
53839         (LDFLAGS-tst-initordera2.so): Likewise.
53840         (LDFLAGS-tst-initordera3.so): Likewise.
53841         (LDFLAGS-tst-initordera4.so): Likewise.
53842         (LDFLAGS-tst-initorderb2.so): Likewise.
53843         (LDFLAGS-noload): Likewise.
53844         (LDFLAGS-next): Likewise.
53845         (LDFLAGS-order2mod1.so): Likewise.
53846         (LDFLAGS-order2mod2.so): Likewise.
53847         (LDFLAGS-tst-initorder2): Likewise.
53848         (LDFLAGS-tst-initorder2a.so): Likewise.
53849         (LDFLAGS-tst-initorder2b.so): Likewise.
53850         (LDFLAGS-tst-initorder2c.so): Likewise.
53851         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
53853 2012-05-02  David S. Miller  <davem@davemloft.net>
53855         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53857 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
53859         [BZ #14055]
53860         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
53862 2012-05-02  Andreas Jaeger  <aj@suse.de>
53864         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
53865         since we manipulate rounding mode.
53866         (CPPFLAGS-test-idouble.c): Likewise.
53867         (CPPFLAGS-test-ifloat.c): Likewise.
53868         (CFLAGS-test-ldouble.c): Likewise.
53869         (CFLAGS-test-double.c): Likewise.
53870         (CFLAGS-test-float.c): Likewise.
53871         (CFLAGS-test-misc.c): Likewise.
53872         (CFLAGS-test-test-fenv.c): Likewise.
53874 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53876         [BZ #2550]
53877         [BZ #2570]
53878         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
53879         comparisons to determine direction to adjust input.
53881 2012-05-01  Roland McGrath  <roland@hack.frob.com>
53883         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
53884         output to the target.
53886         * scripts/localplt.awk: New file.
53887         * elf/Makefile ($(objpfx)check-localplt): Target removed.
53888         (check-localplt-CFLAGS): Variable removed.
53889         ($(all-built-dso:=.jmprel)): New static pattern rule.
53890         (generated): Add those targets.
53891         (localplt-built-dso): New variable.
53892         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
53894         * elf/check-localplt.c: File removed.
53896         * scripts/check-execstack.awk: New file.
53897         * elf/Makefile ($(objpfx)check-execstack): Target removed.
53898         (check-execstack-CFLAGS): Variable removed.
53899         ($(objpfx)check-execstack.h): Target removed.
53900         ($(objpfx)execstack-default): New target.
53901         (generated): Add that instead of check-execstack.h.
53902         ($(all-built-dso:=.phdr)): New static pattern rule.
53903         (generated): Add those targets.
53904         * elf/check-execstack.c: File removed.
53906         * scripts/check-textrel.awk: New file.
53907         * elf/Makefile ($(objpfx)check-textrel): Target removed.
53908         (check-textrel-CFLAGS): Variable removed.
53909         (all-built-dso): Use := to define.o
53910         ($(all-built-dso:=.dyn)): New static pattern rule.
53911         (generated): Add those targets.
53912         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
53913         * config.make.in (READELF): New substituted variable.
53914         * elf/check-textrel.c: File removed.
53916 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
53918         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
53919         allow.
53920         * conform/data/ctype.h-data [C99-based standards] (isblank):
53921         Expect function.
53922         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
53923         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
53924         [ISO || ISO99 || ISO11] (*_t): Do not allow.
53925         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
53926         Specify type.  Require positive value.
53927         (EILSEQ): Likewise.
53928         (ERANGE): Likewise.
53929         [ISO || POSIX] (EILSEQ): Do not expect.
53930         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
53931         Specify type.  Require positive value.
53932         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
53933         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
53934         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
53935         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
53936         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
53937         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
53938         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
53939         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
53940         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
53941         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
53942         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
53943         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
53944         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
53945         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
53946         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
53947         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
53948         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
53949         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
53950         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
53951         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
53952         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
53953         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
53954         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
53955         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
53956         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
53957         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
53958         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
53959         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
53960         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
53961         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
53962         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
53963         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
53964         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
53965         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
53966         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
53967         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
53968         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
53969         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
53970         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
53971         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
53972         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
53973         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
53974         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
53975         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
53976         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
53977         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
53978         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
53979         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
53980         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
53981         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
53982         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
53983         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
53984         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
53985         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
53986         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
53987         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
53988         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
53989         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
53990         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
53991         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
53992         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
53993         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
53994         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
53995         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
53996         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
53997         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
53998         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
53999         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
54000         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
54001         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
54002         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
54003         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
54004         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
54005         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
54006         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
54007         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
54008         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
54009         Require >= 2.
54010         (FLT_ROUNDS): Expect as macro, not constant.
54011         (FLT_MANT_DIG): Use macro-int-constant.
54012         (DBL_MANT_DIG): Likewise.
54013         (LDBL_MANT_DIG): Likewise.
54014         (FLT_DIG): Likewise.
54015         (DBL_DIG): Likewise.
54016         (LDBL_DIG): Likewise.
54017         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
54018         (DBL_MIN_EXP): Likewise.
54019         (LDBL_MIN_EXP): Likewise.
54020         (FLT_MAX_EXP): Use macro-int-constant.
54021         (DBL_MAX_EXP): Likewise.
54022         (LDBL_MAX_EXP): Likewise.
54023         (FLT_MAX_10_EXP): Likewise.
54024         (DBL_MAX_10_EXP): Likewise.
54025         (LDBL_MAX_10_EXP): Likewise.
54026         (FLT_MAX): Use macro-constant.
54027         (DBL_MAX): Likewise.
54028         (LDBL_MAX): Likewise.
54029         (FLT_EPSILON): Use macro-constant.  Give upper bound.
54030         (DBL_EPSILON): Likewise.
54031         (LDBL_EPSILON): Likewise.
54032         (FLT_MIN): Likewise.
54033         (DBL_MIN): Likewise.
54034         (LDBL_MIN): Likewise.
54035         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
54036         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
54037         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
54038         [ISO11] (FLT_HAS_SUBNORM): Likewise.
54039         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
54040         [ISO11] (DBL_DECIMAL_DIG): Likewise.
54041         [ISO11] (FLT_DECIMAL_DIG): Likewise.
54042         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
54043         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
54044         [ISO11] (FLT_TRUE_MIN): Likewise.
54045         [ISO11] (LDBL_TRUE_MIN): Likewise.
54046         [ISO || ISO99 || ISO11] (*_t): Do not allow.
54047         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
54048         (SCHAR_MIN): Use macro-int-constant.  Specify type.
54049         (SCHAR_MAX): Likewise.
54050         (UCHAR_MAX): Likewise.
54051         (CHAR_MIN): Likewise.
54052         (CHAR_MAX): Likewise.
54053         (MB_LEN_MAX): Use macro-int-constant.
54054         (SHRT_MIN): Use macro-int-constant.  Specify type.
54055         (SHRT_MAX): Likewise.
54056         (USHRT_MAX): Likewise.
54057         (INT_MAX): Likewise.
54058         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
54059         bound negative.
54060         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
54061         bound with "U".
54062         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
54063         bound with "L".
54064         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
54065         bound negative.  Suffix upper bound with "L".
54066         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
54067         bound with "UL".
54068         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
54069         Specify type.
54070         [C99-based standards] (LLONG_MAX): Likewise.
54071         [C99-based standards] (ULLONG_MAX): Likewise.
54072         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
54073         == 0.
54074         [ISO11] (max_align_t): Require type.
54075         [ISO || ISO99 || ISO11] (*_t): Do not allow.
54077         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
54078         from $CFLAGS, without defining away __attribute__ calls.
54079         (checknamespace): Use $CFLAGS_namespace.
54081         * conform/conformtest.pl (@keywords): Only include C99 keywords
54082         for standards based on C99 or C11.
54084         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
54085         Disable tests.
54086         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
54087         UNIX98]: Likewise.
54089         * conform/conformtest.pl: Handle "macro-int-constant" and test for
54090         usability of symbols in #if.
54092         * conform/conformtest.pl: If macro or constant types start
54093         "promoted:", expect the symbol to be of the following type
54094         promoted by the integer promotions.
54096         * conform/conformtest.pl: Parse all "constant" and "macro" lines
54097         in one place.  Also handle "macro-constant".
54099         * conform/conformtest.pl: Only accept expected macro values with
54100         "==".  Parse all "macro" lines in one place.
54101         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
54103         * conform/conformtest.pl: Handle braced types on "constant" lines
54104         instead of handling "typed-constant".
54105         * conform/data/signal.h-data: Use "constant" instead of
54106         "typed-constant".
54108         * conform/conformtest.pl: Handle "optional-" at start of lines in
54109         one place rather than duplicating several cases.  Handle each
54110         format of "macro" line with initial "optional-".
54112         * conform/conformtest.pl: Only accept expected constant or
54113         optional-constant values with "==".  Parse all "constant" lines in
54114         one place.  Parse all "optional-constant" lines in one place.
54115         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
54116         * conform/data/fmtmsg.h-data: Likewise.
54117         * conform/data/netinet/in.h-data: Likewise.
54118         * conform/data/tar.h-data: Likewise.
54119         * conform/data/limits.h-data: Use "==" form on "constant" and
54120         "optional-constant" lines.
54122         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
54123         Use -std=c99 for XOPEN2K.
54124         (@knownproblems): Remove.
54125         (newtoken): Don't check %isknown.
54127         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
54128         Do not expect macro.
54129         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
54130         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
54131         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
54132         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
54133         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
54134         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
54135         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
54136         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
54137         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
54138         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
54139         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
54140         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
54141         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
54142         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
54143         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
54144         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
54145         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
54146         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
54147         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
54148         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
54149         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
54150         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
54151         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
54152         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
54153         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
54154         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
54155         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
54156         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
54157         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
54158         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
54159         [XPG3] (acosh): Likewise.
54160         [XPG3] (asinh): Likewise.
54161         [XPG3] (atanh): Likewise.
54162         [XPG3] (cbrt): Likewise.
54163         [XPG3] (expm1): Likewise.
54164         [XPG3] (ilogb): Likewise.
54165         [XPG3] (log1p): Likewise.
54166         [XPG3] (logb): Likewise.
54167         [XPG3] (nextafter): Likewise.
54168         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
54169         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
54170         [XPG3] (remainder): Likewise.
54171         [XPG3] (rint): Likewise.
54172         [XPG3 || XPG4 || UNIX98] (round): Likewise.
54173         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
54174         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
54175         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
54176         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
54177         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
54178         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
54179         [UNIX98 || XOPEN2K] (scalb): Expect.
54180         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
54181         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
54182         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
54183         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
54184         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
54185         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
54186         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
54187         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
54188         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
54189         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
54190         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
54191         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
54192         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
54193         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
54194         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
54195         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
54196         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
54197         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
54198         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
54199         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
54200         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
54201         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
54202         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
54203         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
54204         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
54205         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
54206         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
54207         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
54208         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
54209         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
54210         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
54211         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
54212         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
54213         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
54214         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
54215         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
54216         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
54217         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
54218         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
54219         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
54220         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
54221         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
54222         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
54223         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
54224         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
54225         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
54226         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
54227         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
54228         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
54229         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
54230         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
54231         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
54232         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
54233         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
54234         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
54235         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
54236         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
54237         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
54238         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
54239         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
54240         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
54241         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
54242         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
54243         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
54244         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
54245         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
54246         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
54247         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
54248         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
54249         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
54250         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
54251         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
54252         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
54253         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
54254         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
54255         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
54256         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
54257         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
54258         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
54259         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
54260         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
54261         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
54262         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
54263         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
54264         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
54265         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
54266         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
54267         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
54268         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
54269         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
54270         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
54271         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
54272         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
54273         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
54274         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
54275         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
54276         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
54277         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
54278         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
54279         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
54280         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
54281         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
54282         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
54283         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
54284         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
54285         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
54286         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
54287         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
54288         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
54289         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
54290         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
54291         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
54292         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
54293         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
54294         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
54295         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
54296         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
54297         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
54298         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
54299         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
54300         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
54301         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
54302         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
54303         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
54304         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
54305         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
54306         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
54307         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
54308         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
54309         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
54310         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
54311         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
54312         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
54313         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
54314         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
54315         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
54316         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
54318         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
54319         _XOPEN_SOURCE_EXTENDED for XPG4.
54321         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
54323         * Makeconfig (localtime): Remove variable.
54324         (inst_localtime-file): Likewise.
54326 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
54328         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
54329         Update.
54330         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
54331         Update.
54332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
54333         Update.
54334         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
54335         Update.
54336         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
54337         Update.
54338         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
54339         Update.
54340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
54341         Update.
54342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
54343         Update.
54344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
54345         Update.
54347 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
54349         [BZ #2550]
54350         [BZ #2570]
54351         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
54352         comparisons to determine direction to adjust input.
54353         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
54354         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
54355         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
54356         Likewise.
54357         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
54358         Likewise.
54359         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
54360         Likewise.
54361         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
54362         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
54363         Likewise.
54364         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
54365         Likewise.
54366         * math/libm-test.inc (nexttoward_test): Add more tests.
54368 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
54370         [BZ #14040]
54371         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
54372         in version GLIBC_2.1, not GLIBC_2.0.
54373         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
54374         Likewise.
54376 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
54378         [BZ #13942]
54379         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
54380         (1 - x) * (1 + x).
54381         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
54382         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
54383         * math/libm-test.inc (acos_test): Add more tests.
54384         (asin_test): Likewise.
54385         * sysdeps/i386/fpu/libm-test-ulps: Update.
54386         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54388         [BZ #14034]
54389         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
54390         of square root.
54391         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
54392         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
54393         * math/libm-test.inc (acos_test_tonearest): New function.
54394         (acos_test_towardzero): Likewise.
54395         (acos_test_downward): Likewise.
54396         (acos_test_upward): Likewise.
54397         (asin_test_tonearest): Likewise.
54398         (asin_test_towardzero): Likewise.
54399         (asin_test_downward): Likewise.
54400         (asin_test_upward): Likewise.
54401         (main): Call the new functions.
54402         * sysdeps/i386/fpu/libm-test-ulps: Update.
54403         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54405         [BZ #13884]
54406         [BZ #13924]
54407         * math/e_exp10.c: Include <float.h>.
54408         (__ieee754_exp10): Handle underflow here rather than multiplying
54409         large negative argument by M_LN10.
54410         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
54411         of __ieee754_expf.
54412         * math/e_exp10l.c: Include <float.h>.
54413         (__ieee754_exp10l): Handle underflow here rather than multiplying
54414         large negative argument by M_LN10l.
54415         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
54416         spurious overflow exception on underflow.
54418 2012-04-29  Marek Polacek  <polacek@redhat.com>
54420         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
54421         (__fortify_function): New macro.
54422         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
54423         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
54424         __extern_always_inline.
54425         * libio/bits/stdio2.h: Likewise.
54426         * libio/bits/stdio.h: Likewise.
54427         * string/string.h: Likewise.
54428         * string/bits/string3.h: Likewise.
54429         * include/stdio.h: Likewise.
54430         * stdlib/bits/stdlib.h: Likewise.
54431         * stdlib/stdlib.h: Likewise.
54432         * rt/bits/mqueue2.h: Likewise.
54433         * rt/mqueue.h: Likewise.
54434         * posix/bits/unistd.h: Likewise.
54435         * posix/unistd.h: Likewise.
54436         * io/bits/poll2.h: Likewise.
54437         * io/bits/fcntl2.h: Likewise.
54438         * io/fcntl.h: Likewise.
54439         * io/sys/poll.h: Likewise.
54440         * misc/bits/syslog.h: Likewise.
54441         * misc/bits/syslog-ldbl.h: Likewise.
54442         * misc/sys/syslog.h: Likewise.
54443         * socket/bits/socket2.h: Likewise.
54444         * socket/sys/socket.h: Likewise.
54445         * debug/tst-chk1.c: Likewise.
54446         * wcsmbs/bits/wchar2.h: Likewise.
54447         * wcsmbs/bits/wchar-ldbl.h: Likewise.
54448         * wcsmbs/wchar.h: Likewise.
54450 2012-04-29  Andreas Jaeger  <aj@suse.de>
54452         * Makerules (tests): Remove enable-check-abi protection.
54453         (check-abi-warn): Remove.
54454         (check-abi-%): Remove check-abi-warn usage.
54456         * configure.in: Remove check-abi configure option.
54457         * configure: Regenerated.
54458         * config.make.in (enable-check-abi): Remove.
54460 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
54462         [BZ #14033]
54463         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
54464         double functions to double *_finite functions.
54466         [BZ #13941]
54467         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
54468         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
54469         LDBL_MIN_EXP.
54470         * stdio-common/Makefile (tests): Add tst-sprintf3.
54471         * stdio-common/tst-sprintf3.c: New file.
54473         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
54474         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
54476 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
54478         * conform/conformtest.pl: Remove duplicate typed-constant
54479         handling.
54481 2012-04-28  David S. Miller  <davem@davemloft.net>
54483         * Makerules (%.abilist): Add vpath on sysdep_dirs.
54484         (check-abi-%): Remove AWK script prerequisite and explicit
54485         abilist directory.
54486         (check-abi): Rewrite to just diff the symlist with the abilist.
54487         (config-tls, config-abi-config): Delete, no longer used.
54488         (update-abi-%): Remove AWK script and explicit abilist directory.
54489         (update-abi): Rewrite to simply compare and conditionally copy the
54490         symlist and the sysdep abilist file.  Remove update-abi-config
54491         checks.
54492         * abilist/ld.abilist: Remove.
54493         * abilist/libBrokenLocale.abilist: Remove.
54494         * abilist/libanl.abilist: Remove.
54495         * abilist/libcrypt.abilist: Remove.
54496         * abilist/libdl.abilist: Remove.
54497         * abilist/librt.abilist: Remove.
54498         * abilist/libthread_db.abilist: Remove.
54499         * abilist/libutil.abilist: Remove.
54500         * scripts/extract-abilist.awk: Remove.
54501         * scripts/merge-abilist.awk: Remove.
54502         * sysdeps/generic/libcidn.abilist: New file.
54503         * sysdeps/generic/libnss_compat.abilist: New file.
54504         * sysdeps/generic/libnss_db.abilist: New file.
54505         * sysdeps/generic/libnss_dns.abilist: New file.
54506         * sysdeps/generic/libnss_files.abilist: New file.
54507         * sysdeps/generic/libnss_hesiod.abilist: New file.
54508         * sysdeps/generic/libnss_nis.abilist: New file.
54509         * sysdeps/generic/libnss_nisplus.abilist: New file.
54510         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
54511         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
54512         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
54513         file.
54514         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
54515         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
54516         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
54517         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
54518         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
54519         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
54520         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
54521         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
54522         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
54523         file.
54524         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
54525         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
54526         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
54527         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
54528         file.
54529         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
54530         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
54531         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
54532         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
54533         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
54534         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
54535         file.
54536         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
54537         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
54538         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
54539         file.
54540         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
54541         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
54542         New file.
54543         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
54544         New file.
54545         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
54546         New file.
54547         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
54548         New file.
54549         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
54550         New file.
54551         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
54552         New file.
54553         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
54554         New file.
54555         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
54556         New file.
54557         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
54558         New file.
54559         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
54560         New file.
54561         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
54562         New file.
54563         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
54564         New file.
54565         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
54566         New file.
54567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
54568         file.
54569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
54570         New file.
54571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
54572         New file.
54573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
54574         file.
54575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
54576         New file.
54577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
54578         New file.
54579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
54580         file.
54581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
54582         New file.
54583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
54584         New file.
54585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
54586         New file.
54587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
54588         New file.
54589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
54590         New file.
54591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
54592         New file.
54593         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
54594         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
54595         file.
54596         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
54597         New file.
54598         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
54599         file.
54600         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
54601         file.
54602         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
54603         file.
54604         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
54605         file.
54606         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
54607         file.
54608         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
54609         New file.
54610         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
54611         file.
54612         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
54613         file.
54614         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
54615         New file.
54616         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
54617         file.
54618         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
54619         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
54620         file.
54621         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
54622         New file.
54623         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
54624         file.
54625         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
54626         file.
54627         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
54628         file.
54629         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
54630         file.
54631         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
54632         file.
54633         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
54634         New file.
54635         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
54636         file.
54637         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
54638         file.
54639         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
54640         New file.
54641         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
54642         file.
54643         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
54644         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
54645         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
54646         file.
54647         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
54648         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
54649         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
54650         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
54651         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
54652         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
54653         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
54654         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
54655         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
54656         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
54657         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
54658         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
54659         file.
54660         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
54661         New file.
54662         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
54663         file.
54664         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
54665         file.
54666         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
54667         file.
54668         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
54669         file.
54670         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
54671         file.
54672         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
54673         New file.
54674         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
54675         New file.
54676         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
54677         file.
54678         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
54679         New file.
54680         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
54681         file.
54682         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
54683         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
54684         file.
54685         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
54686         New file.
54687         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
54688         file.
54689         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
54690         file.
54691         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
54692         file.
54693         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
54694         file.
54695         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
54696         file.
54697         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
54698         New file.
54699         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
54700         New file.
54701         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
54702         file.
54703         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
54704         New file.
54705         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
54706         file.
54708 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
54710         * conform/conformtest.pl: Fix typo in handling typed-constant from
54711         allow-header.
54713 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
54715         * README: Cut down references to pre-2.6 Linux kernels and
54716         Linuxthreads.  Update lists of configurations in libc and ports
54717         and sort alphabetically.  Say "or newer" with Linux kernel version
54718         requirements.
54720         * config.h.in [IS_IN_build]: Allow compiling without optimization.
54722 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
54724         [BZ #887]
54725         * math/libm-test.inc (logb_test_downward): New test to expose
54726         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
54727         rounding mode.
54729 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
54731         [BZ #14027]
54732         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
54733         to be done.
54734         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
54735         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
54737 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
54739         * sysdeps/unix/i386/brk.S: Remove file.
54740         * sysdeps/unix/i386/dl-brk.S: Likewise.
54741         * sysdeps/unix/i386/pipe.S: Likewise.
54742         * sysdeps/unix/i386/sigreturn.S: Likewise.
54743         * sysdeps/unix/i386/syscall.S: Likewise.
54744         * sysdeps/unix/i386/vfork.S: Likewise.
54745         * sysdeps/unix/i386/wait.S: Likewise.
54747         * sysdeps/unix/common/tcsendbrk.c: Move to ...
54748         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
54750         * configure.in (arm*-none*): Do not allow without
54751         --enable-hacker-mode.
54752         (netbsd*): Remove case setting base_os.
54753         (386bsd*): Likewise.
54754         (freebsd*): Likewise.
54755         (bsdi*): Likewise.
54756         (osf*): Likewise.
54757         (sunos*): Likewise.
54758         (ultrix*): Likewise.
54759         (newsos*): Likewise.
54760         (dynix*): Likewise.
54761         (*bsd*): Likewise.
54762         (sysv*): Likewise.
54763         (isc*): Likewise.
54764         (esix*): Likewise.
54765         (sco*): Likewise.
54766         (minix*): Likewise.
54767         (irix4*): Likewise.
54768         (irix6*): Likewise.
54769         (solaris[2-9]*): Likewise.
54770         (none): Likewise.
54771         * configure: Regenerated.
54773 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54775         [BZ #11521]
54776         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
54777         overflow or cancellation in calculating denominator.
54778         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
54779         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
54780         down expression to avoid unexpected rounding in newer GCCs.
54781         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
54783 2012-04-26  David S. Miller  <davem@davemloft.net>
54785         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
54786         long-double compat symbols.
54787         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
54788         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
54789         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
54790         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
54791         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
54792         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
54793         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
54794         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
54795         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
54796         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
54797         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
54798         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
54799         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
54801 2012-04-25  David S. Miller  <davem@davemloft.net>
54803         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
54804         HWCAP_* values only after the memory barriers have been defined.
54805         (atomic_full_barrier): Define.
54806         (atomic_read_barrier): Define.
54807         (atomic_write_barrier): Define.
54809 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
54811         * shlib-versions: Add libgcc_s version information.
54812         * sysdeps/generic/libgcc_s.h: Remove.
54813         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
54814         libgcc_s.h.
54815         * sysdeps/gnu/unwind-resume.c: Likewise.
54816         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
54818 2012-04-25  David S. Miller  <davem@davemloft.net>
54820         * sysdeps/unix/sparc/brk.S: Delete.
54821         * sysdeps/unix/sparc/dl-brk.S: Delete.
54822         * sysdeps/unix/sparc/pipe.S: Delete.
54823         * sysdeps/unix/sparc/sysdep.S: Delete.
54824         * sysdeps/unix/sparc/sysdep.h: Delete.
54825         * sysdeps/unix/sparc/vfork.S: Delete.
54826         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
54827         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
54828         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
54829         (ret_ERRVAL, r0, r1, MOVE): Define.
54830         (JUMPTARGET): Remove.
54831         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
54832         sysdeps/unix/sparc/sysdep.h
54833         (ENTRY, END): Remove.
54834         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
54836 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
54838         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
54839         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
54840         -DIS_IN_build.
54842         * timezone/README: Update upstream location and email address for
54843         tzcode and tzdata.
54844         * timezone/zdump.c: Update from tzcode 2012b.
54845         * timezone/zic.c: Likewise.
54847         * configure.in (libc_cv_as_needed): Remove test.
54848         * configure: Regenerated.
54849         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
54850         conditional definition.
54851         [$(have-as-needed) != yes] (no-as-needed): Likewise.
54852         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
54853         * config.make.in (have-as-needed): Remove variable.
54855 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
54856             Paul Pluzhnikov  <ppluzhnikov@google.com>
54858         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
54859         strings correctly.
54861 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
54863         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
54864         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
54865         * sysdeps/sh/strlen.S: Likewise.
54867 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
54869         * sysdeps/unix/fork.S: Remove file.
54870         * sysdeps/unix/i386/fork.S: Likewise.
54871         * sysdeps/unix/sparc/fork.S: Likewise.
54873         * sysdeps/unix/system.c: Remove file.
54874         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
54876         * sysdeps/unix/getegid.S: Remove file.
54877         * sysdeps/unix/geteuid.S: Likewise.
54879 2012-04-24  Roland McGrath  <roland@hack.frob.com>
54881         * scripts/check-localplt.awk: New file.
54882         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
54883         of diff.
54884         * scripts/data/localplt-generic.data: Add a comment.
54886         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
54887         NODE when __dir_mkfile failed.
54888         * sysdeps/mach/hurd/symlinkat.c: Likewise.
54889         Reported by Ludovic Courtès <ludo@gnu.org>.
54891 2012-04-24  Andreas Jaeger  <aj@suse.de>
54893         * Makerules (common-clean): Also remove gen-as-const-headers
54894         files.
54896 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
54898         * Makerules (native-compile): Do not change working directory for
54899         build.  Use $(OUTPUT_OPTION) in command.
54900         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
54902 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54904         [BZ #13886]
54905         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
54906         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
54907         * math/libm-test.inc (floor_test): Add more tests.
54908         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
54910 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
54912         * sysdeps/unix/getdents.c: Remove file.
54913         * sysdeps/unix/sysv/getdents.c: Likewise.
54914         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
54916         * sysdeps/unix/syscalls.list (madvise): Add syscall from
54917         sysdeps/unix/mman/syscalls.list.
54918         (mmap): Likewise.
54919         (mprotect): Likewise.
54920         (msync): Likewise.
54921         (munmap): Likewise.
54922         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
54923         * sysdeps/unix/mman/syscalls.list: Remove.
54924         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
54926         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
54927         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
54928         * configure: Regenerated.
54929         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
54930         $(libgcc_s_suffix).
54931         * config.make.in (libgcc_s_suffix): Remove variable.
54933 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
54935         * sysdeps/unix/sysv/gethostname.c: Move to ...
54936         * sysdeps/posix/gethostname.c: ... here.
54938         * sysdeps/unix/execve.S: Remove file.
54940         * sysdeps/unix/_exit.S: Remove file.
54942 2012-04-23  Andreas Jaeger  <aj@suse.de>
54944         [BZ #13739]
54945         * manual/Makefile: Remove make dist support, there's no
54946         need for a stand-alone documentation tar ball.
54947         (TEXI2DVI): Define always, it's not in Makeconfig.
54948         (dist): Removed.
54949         (tar-it): Removed.
54950         (edition): Removed.
54951         (glibc-doc-$(edition).tar): Removed
54952         (%.Z): Removed.
54953         (%.gz): Removed.
54954         (%.uu): Removed.
54955         (ETAGS): Remove, it's in Makeconfig.
54956         (move-if-change): Remove, it's in Makeconfig.
54958 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
54960         [BZ #13970]
54961         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
54962         (strtod, strtof, strtold, strtol, strtoul, strtoq)
54963         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
54964         (strtod_l, strtof_l, strtold_l): Remove __wur.
54965         It is not necessarily an error to ignore strtol's return value.
54966         One can reliably look at the stored endptr to decide whether
54967         the number had valid syntax.
54969 2012-04-21  Andreas Jaeger  <aj@suse.de>
54971         [BZ #13739]
54972         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
54974 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
54976         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
54977         * sysdeps/unix/sysv/Versions: Remove file.
54979 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
54981         [BZ #13927]
54982         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54984 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
54986         [BZ #7064]
54987         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
54988         version from __vm86.
54990 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
54992         * sysdeps/unix/common/lxstat.c: Remove file.
54993         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
54995         * sysdeps/unix/sysv/Makefile: Remove file.
54997         * sysdeps/unix/sysv/direct.h: Remove file.
54999         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
55000         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
55001         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
55002         * sysdeps/unix/sysv/bits/signum.h: Likewise.
55003         * sysdeps/unix/sysv/bits/stat.h: Likewise.
55004         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
55005         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
55007         * sysdeps/unix/sysv/setrlimit.c: Remove file.
55009         * sysdeps/unix/xmknod.c: Remove file.
55010         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
55012         * sysdeps/unix/sysv/settimeofday.c: Remove file.
55014         * sysdeps/unix/sysv/i386/time.S: Remove file.
55016         * sysdeps/unix/fxstat.c: Remove file.
55017         * sysdeps/unix/xstat.c: Likewise.
55018         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
55020         * sysdeps/unix/sysv/sigaction.c: Remove file.
55022         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
55023         (sysdep_headers): Remove variable.
55024         [termio.h not in sysdep_headers] (generated): Likewise.
55025         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
55026         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
55027         * sysdeps/unix/sysv/tcdrain.c: Likewise.
55028         * sysdeps/unix/sysv/tcflow.c: Likewise.
55029         * sysdeps/unix/sysv/tcflush.c: Likewise.
55030         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
55031         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
55032         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
55033         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
55034         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
55036         * sysdeps/unix/siglist.c: Remove file.
55038         * sysdeps/unix/getppid.S: Remove file.
55040         * sysdeps/unix/mkdir.c: Remove file.
55041         * sysdeps/unix/rmdir.c: Likewise.
55043 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
55045         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
55046         ERR_MAX value.
55047         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
55048         errlist-compat value.
55050 2012-04-18  David S. Miller  <davem@davemloft.net>
55052         * sysdeps/generic/memcopy.h (reg_char): Delete.
55053         * debug/strcat_chk.c: Use char, not reg_char.
55054         * debug/strcpy_chk.c: Likewise.
55055         * debug/strncat_chk.c: Likewise.
55056         * debug/strncpy_chk.c: Likewise.
55057         * string/memchr.c: Likewise.
55058         * string/memrchr.c: Likewise.
55059         * string/rawmemchr.c: Likewise.
55060         * string/strcat.c: Likewise.
55061         * string/strchr.c: Likewise.
55062         * string/strchrnul.c: Likewise.
55063         * string/strcmp.c: Likewise.
55064         * string/strcpy.c: Likewise.
55065         * string/strncat.c: Likewise.
55066         * string/strncmp.c: Likewise.
55067         * string/strncpy.c: Likewise.
55069 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
55071         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
55072         __builtin_memcopy is called when src and dest ranges are known to not
55073         overlap.
55075 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
55077         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
55078         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
55079         fwd_align_merge macro call.
55080         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
55081         bwd_align_merge macro call.
55082         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
55084 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
55086         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
55087         bwd_align_merge macros.
55088         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
55089         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
55090         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
55092 2012-04-18  David S. Miller  <davem@davemloft.net>
55094         * sysdeps/sparc/sparc64/memcopy.h: Delete.
55096 2012-04-18  Andreas Jaeger  <aj@suse.de>
55098         [BZ# 6794]
55099         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
55100         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
55101         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
55103         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
55104         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
55105         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
55107         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
55108         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
55109         Adjust for changed ldbl-128 files.
55111         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
55112         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
55113         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
55115 2012-04-17  David S. Miller  <davem@davemloft.net>
55117         * sysdeps/sparc/sparc32/memcopy.h: Delete.
55119 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
55121         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
55122         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
55123         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
55124         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
55125         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
55126         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
55128 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55130         [BZ #6794]
55131         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
55132         * math/libm-test.inc: Add ilogb errno and exception tests.
55133         * math/w_ilogb.c: New file: ilogb wrapper.
55134         * math/w_ilogbf.c: New file: ilogbf wrapper.
55135         * math/w_ilogbl.c: New file: ilogbl wrapper.
55136         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
55137         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
55138         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
55139         exception being thrown with 0.0 as argument.
55140         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
55141         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
55142         exception being thrown with 0.0 as argument.
55143         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
55144         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
55145         exception being thrown with 0.0 as argument.
55146         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
55147         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
55148         exception being thrown with 0.0 as argument.
55149         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
55150         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
55151         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
55152         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
55153         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
55154         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
55155         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
55156         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
55157         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
55159 2012-04-17  Petr Baudis  <pasky@ucw.cz>
55161         * include/sys/uio.h: Change __vector to __iovec to avoid clash
55162         with altivec.
55164 2012-04-16  Marek Polacek  <polacek@redhat.com>
55166         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
55168 2012-04-16  Marek Polacek  <polacek@redhat.com>
55170         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
55171         operands of fdivp instruction.
55173 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
55175         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
55176         * elf/tst-auditmod3b.c: Likewise.
55177         * elf/tst-auditmod4b.c: Likewise.
55178         * elf/tst-auditmod5b.c: Likewise.
55179         * elf/tst-auditmod6b.c: Likewise.
55180         * elf/tst-auditmod6c.c: Likewise.
55181         * elf/tst-auditmod7b.c: Likewise.
55182         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
55183         * sysdeps/x86_64/preconfigure.in: Likewise.
55184         * sysdeps/x86_64/preconfigure: Regenerated.
55186 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
55188         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
55189         __ILP32__.
55191 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
55193         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
55194         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
55196 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
55198         [BZ #13973]
55199         * locale/iso-639.def: Fix gl language name. Spotted by
55200         Yaron Shahrabani.
55202 2012-04-12  Roland McGrath  <roland@hack.frob.com>
55204         [BZ #2074]
55205         * libio/libio.h (__io_write_fn): Update comment.
55207 2012-04-12  Petr Baudis  <pasky@ucw.cz>
55209         [BZ #2074]
55210         * stdio.texi (Hook Functions): The user provided writer function
55211         is not allowed to return -1.
55213 2012-04-11  David S. Miller  <davem@davemloft.net>
55215         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55217 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
55219         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
55220         Add a leading slash to rtkaio.
55222 2012-04-11  Jim Meyering  <meyering@redhat.com>
55224         [BZ #11959]
55225         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
55226         It is not necessarily an error to ignore fwrite's return
55227         value.  One can reliably use ferror to test for errors after
55228         the fact.
55230 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
55232         * bits/types.h (__snseconds_t): New type.
55233         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
55235         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
55236         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
55237         (__SNSECONDS_T_TYPE): Likewise.
55238         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
55239         (__SNSECONDS_T_TYPE): Likewise.
55240         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
55241         (__SNSECONDS_T_TYPE): Likewise.
55243 2012-04-10  Andreas Jaeger  <aj@suse.de>
55245         [BZ #2636]
55246         * manual/time.texi (Processor Time): Return type of times is
55247         elapsed real time since an arbitrary point in the past.
55248         (CPU Time): Move CLK_TCK from here...
55249         (Processor Time): ...to here.  Correct description.
55250         * manual/conf.texi (Constants for Sysconf): Correct description of
55251         _SC_CLK_TCK.
55253 2012-04-10  David S. Miller  <davem@davemloft.net>
55255         [BZ #13967]
55256         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
55257         where the is a gap between DT_REL(A) and DT_JMPREL.
55259 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
55261         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
55262         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
55263         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
55265 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
55267         * elf/dl-support.c (_dl_inhibit_cache): New variable.
55268         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
55269         (dl_main): Handle --inhibit-cache.
55270         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
55271         _dl_inhibit_cache.
55272         * elf/dl-load.c (_dl_map_object): Use it.
55273         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
55275 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
55277         [BZ #13872]
55278         * sysdeps/i386/fpu/e_powl.S (p78): New object.
55279         (__ieee754_powl): Saturate large exponents rather than testing for
55280         overflow of y*log2(x).
55281         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
55282         * math/libm-test.inc (pow_test): Do not permit spurious overflow
55283         exceptions.
55285         [BZ #11521]
55286         * math/s_ctan.c: Include <float.h>.
55287         (__ctan): Avoid internal overflow or cancellation in calculating
55288         denominator.
55289         * math/s_ctanf.c: Likewise.
55290         * math/s_ctanl.c: Likewise.
55291         * math/s_ctanh.c: Likewise.
55292         * math/s_ctanhf.c: Likewise.
55293         * math/s_ctanhl.c: Likewise.
55294         * math/libm-test.inc (ctan_test): Add more tests.
55295         (ctanh_test): Likewise.
55296         * sysdeps/i386/fpu/libm-test-ulps: Update.
55297         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55299 2012-04-09  Andreas Jaeger  <aj@suse.de>
55301         [BZ #6894]
55302         * manual/filesys.texi (Directory Entries): Mention that d_namlen
55303         is an optional BSD extension.
55305         [BZ #10254]
55306         * manual/stdio.texi (Opening Streams): Document additional fopen
55307         parameters.
55309 2012-04-09  Roland McGrath  <roland@hack.frob.com>
55311         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
55312         %eax without telling the compiler.
55314 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
55316         [BZ # 13963]
55317         * manual/install.texi: Use sourceware.org.
55319 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
55321         [BZ #13873]
55322         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
55323         (__ieee754_pow): Generate overflow and underflow using huge*huge
55324         and tiny*tiny rather than just returning constant infinity or zero
55325         for large exponents.
55326         * math/libm-test.inc (pow_test): Require overflow exceptions for
55327         applicable cases of large exponents.
55329         [BZ #706]
55330         * sysdeps/i386/fpu/e_pow.S (p10): New object.
55331         (__ieee754_pow): Use iterative multiplication algorithm only for
55332         integer exponents with absolute value below 1024.  Check for odd
55333         integer exponents when using algorithm for real exponents.
55334         * math/libm-test.inc (pow_test): Add more tests.
55335         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55337 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
55339         [BZ #13705]
55340         * math/libm-test.inc (exp_test): Do not allow overflow exception
55341         on underflow test.
55343 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
55345         [BZ #13705]
55346         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
55347         instead of __kernel_standard_f.
55349 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
55351         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
55352         * sysdeps/x86_64/memset_chk.S: Likewise.
55354 2012-04-08  Andreas Jaeger  <aj@suse.de>
55356         [BZ #10153]
55357         * manual/startup.texi (Environment Access): Describe return value
55358         for putenv and setenv.
55360         [BZ #6895]
55361         * manual/filesys.texi (Directory Entries): Add description for
55362         DT_LNK.
55364         [BZ #6890]
55365         * manual/filesys.texi (Directory Entries): Clarify that it's file
55366         system not operating system in the description of DT_UNKNOWN.
55368         [BZ #6578]
55369         * manual/syslog.texi (closelog): Fix reference, it's openlog.
55371 2012-04-08  Stephen Compall  <s11@member.fsf.org>
55373         [BZ #6649]
55374         * manual/llio.texi (Opening and Closing Files): Add cross
55375         reference to explain mode argument.
55377 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
55379         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
55380         * sysdeps/x86_64/memset_chk.S: Likewise.
55382 2012-04-07  David S. Miller  <davem@davemloft.net>
55384         * elf/elf.h (R_SPARC_WDISP10): Define.
55385         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
55386         R_SPARC_SIZE32.
55387         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
55388         R_SPARC_SIZE64 and R_SPARC_H34.
55390 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
55392         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
55393         conditions and remove no longer applicable assertion.
55395 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
55397         * bits/byteswap.h: Include <features.h>.
55398         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
55399         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
55401 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
55403         * bits/byteswap.h (__bswap_16): Removed.
55404         Include <bits/byteswap-16.h> to get __bswap_16.
55405         * sysdeps/i386/bits/byteswap.h: Likewise.
55406         * sysdeps/s390/bits/byteswap.h: Likewise.
55407         * sysdeps/x86_64/bits/byteswap.h: Likewise.
55408         * bits/byteswap-16.h: New file.
55409         * sysdeps/i386/bits/byteswap-16.h: Likewise.
55410         * sysdeps/s390/bits/byteswap-16.h: Likewise.
55411         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
55412         * string/Makefile (headers): Add bits/byteswap-16.h.
55414 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
55416         [BZ #13895]
55417         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
55418         extra indirection.
55419         * nss/Makefile (tests-static, tests): Add tst-nss-static.
55420         * nss/tst-nss-static.c: New.
55422 2012-04-06  Robert Millan  <rmh@gnu.org>
55424         [BZ #6486]
55425         * manual/llio.texi (File Position Primitive): lseek
55426         refers to WHENCE when it really means OFFSET.
55428 2012-04-06  Andreas Jaeger  <aj@suse.de>
55430         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
55431         strncmp declarations.
55433         * abilist/libc.abilist: Add __poll and __ppoll.
55435 2012-04-05  David S. Miller  <davem@davemloft.net>
55437         * scripts/check-local-headers.sh: Accept a host triplet in the
55438         path matched by the exclude regexp.
55440         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
55441         definition.
55442         * sysdeps/powerpc/powerpc32/dl-machine.h
55443         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
55444         * sysdeps/s390/s390-32/dl-machine.h
55445         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
55446         * sysdeps/sparc/sparc32/dl-machine.h
55447         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
55448         * sysdeps/sparc/sparc64/dl-machine.h
55449         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
55451         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
55452         lazy binding.
55453         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
55454         undefined symbol errors.
55456         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
55457         DT_NEEDED entries.
55459 2012-04-05  Michael Matz  <matz@suse.de>
55461         [BZ #13592]
55462         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
55464 2012-04-05  Andreas Jaeger  <aj@suse.de>
55466         [BZ #13908]
55467         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
55468         comment.
55470 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
55472         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
55473         which ROUND is no valid rounding mode.
55475 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
55477         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
55478         read again.
55479         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
55481 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
55483         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
55484         an exception using FPU order intentionally.
55486 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
55488         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
55489         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
55490         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
55491         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
55493 2012-04-05  Simon Josefsson  <simon@josefsson.org>
55495         [BZ #12340]
55496         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
55497         EINVAL when BUFLEN is too smal.
55499 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
55501         [BZ #13553]
55502         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
55503         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
55505 2012-04-03  Andreas Jaeger  <aj@suse.de>
55507         [BZ #13938]
55508         * manual/setjmp.texi (System V contexts): Fix sentence.
55510         [BZ #13926]
55511         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
55512         New macro for this case.
55513         [!__GNUC__] (__bswap_64): New inline function for this case.
55514         * sysdeps/x86_64/bits/byteswap.h: Likewise.
55515         * bits/byteswap.h: Likewise.
55516         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
55517         ull, guard with __GLIBC_HAVE_LONG_LONG.
55519         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
55520         __GLIBC_HAVE_LONG_LONG.
55522         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
55523         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
55525 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
55527         [BZ #13691]
55528         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
55529         inptr and inend, rather than using last_ch.
55531 2012-04-02  David S. Miller  <davem@davemloft.net>
55533         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
55534         * stdio-common/printf-parse.h (read_int): Change return type to
55535         'int', return -1 on INT_MAX overflow.
55536         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
55537         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
55538         overflows INT_MAX.  Check for overflow of in-format-string precision
55539         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
55540         SIZE_MAX not INT_MAX for integer overflow test.
55541         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
55542         skip the construct in the format string but do not record anything.
55543         * stdio-common/bug22.c: Adjust to test both width/prevision
55544         INT_MAX overflow as well as total length INT_MAX overflow.  Check
55545         explicitly for proper errno values.
55547 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
55549         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
55550         CHAR_MAX.
55551         * string/test-strcmp.c [! WIDE]: Likewise.
55552         * time/tst-mktime2.c: Likewise for INT_MAX.
55553         * string/test-string.h: #include <sys/param.h> for MIN.
55555         * csu/init-first.c (__libc_init_first): Call __ctype_init.
55556         * sysdeps/i386/init-first.c (init): Likewise.
55557         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
55558         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
55559         * sysdeps/sh/init-first.c (init): Likewise.
55561 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
55563         * po/ru.po: Update from translation team.
55564         * po/vi.po: Likewise.
55566 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
55568         * resolv/nss_dns/dns-host.c: Merge copyright years.
55570 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55572         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
55573         Optimize memcpy with prefetch if
55574         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
55575         src, dst pointers have unequal 16 byte alignments.
55577 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
55579         [BZ #13928]
55580         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
55581         from a CNAME entry and return the minimum ttl for the query.
55582         (gaih_getanswer_slice): Likewise.
55584 2012-03-30  Jeff Law  <law@redhat.com>
55586         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
55587         due to long keys.
55588         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
55589         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
55591         * resolv/nss_dns/dns-host.c: Update copyright year.
55593 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
55595         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
55596         requests to save a system call.  Fix check that all bytes are sent.
55598         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
55599         comments for sendmmsg.
55601 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
55603         [BZ #13691]
55604         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
55605         with only 1 character between 0x0041 and 0x01b0.
55606         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
55607         * wcsmbs/tst-mbsnrtowcs.c: New file.
55609 2012-03-29  David S. Miller  <davem@davemloft.net>
55611         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
55612         small copies by hand.
55614 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
55616         [BZ #13761]
55617         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
55618         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
55619         group memberships.
55621 2012-03-28  David S. Miller  <davem@davemloft.net>
55623         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
55624         that branches into memcpy.
55625         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
55626         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
55627         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
55628         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
55629         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
55630         bits.
55631         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
55632         implementation too.
55633         * sysdeps/sparc/mempcpy.S: New file.
55635         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
55636         the IFUNC routine in the libc case.
55637         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
55639         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
55640         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
55641         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
55642         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
55643         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
55644         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
55645         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
55646         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
55648         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
55649         loop to 256 bytes instead of 64 bytes and fix test signedness.
55651         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
55652         * sysdeps/sparc/sparc32/Makefile: rather than here...
55653         * sysdeps/sparc/sparc64/Makefile: and here.
55655 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
55657         * malloc/mallocbug.c: Avoid warnings about unused variables.
55659 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
55661         [BZ #13760]
55662         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
55663         in the right place. Discard and retry query if response is
55664         larger than input buffer size.
55666 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
55668         [BZ #369]
55669         [BZ #2678]
55670         [BZ #3866]
55671         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
55672         x for large integer exponent.
55673         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
55674         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
55675         sign of result as needed afterwards.
55676         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
55677         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
55678         result for underflowing pow the same as for overflow.
55679         (__kernel_standard_l): Handle powl overflow and underflow here
55680         rather than calling __kernel_standard.
55681         * math/libm-test.inc (pow_test): Add more tests.
55683         [BZ #3868]
55684         [BZ #13879]
55685         [BZ #13910]
55686         [BZ #13911]
55687         [BZ #13912]
55688         [BZ #13913]
55689         [BZ #13915]
55690         [BZ #13916]
55691         [BZ #13917]
55692         [BZ #13918]
55693         [BZ #13919]
55694         [BZ #13920]
55695         [BZ #13921]
55696         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
55697         * sysdeps/ieee754/k_standard.c: Include <float.h>.
55698         (__kernel_standard_l): New function.
55699         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
55700         __kernel_standard.
55701         * math/w_acosl.c (__acosl): Likewise.
55702         * math/w_asinl.c (__asinl): Likewise.
55703         * math/w_atan2l.c (__atan2l): Likewise.
55704         * math/w_atanhl.c (__atanhl): Likewise.
55705         * math/w_coshl.c (__coshl): Likewise.
55706         * math/w_exp10l.c (__exp10l): Likewise.
55707         * math/w_exp2l.c (__exp2l): Likewise.
55708         * math/w_fmodl.c (__fmodl): Likewise.
55709         * math/w_hypotl.c (__hypotl): Likewise.
55710         * math/w_j0l.c (__j0l, __y0l): Likewise.
55711         * math/w_j1l.c (__j1l, __y1l): Likewise.
55712         * math/w_jnl.c (__jnl, __ynl): Likewise.
55713         * math/w_lgammal.c (__lgammal): Likewise.
55714         * math/w_log10l.c (__log10l): Likewise.
55715         * math/w_log2l.c (__log2l): Likewise.
55716         * math/w_logl.c (__logl): Likewise.
55717         * math/w_powl.c (__powl): Likewise.
55718         * math/w_remainderl.c (__remainderl): Likewise.
55719         * math/w_scalbl.c (sysv_scalbl): Likewise.
55720         * math/w_sinhl.c (__sinhl): Likewise.
55721         * math/w_sqrtl.c (__sqrtl): Likewise.
55722         * math/w_tgammal.c (__tgammal): Likewise.
55723         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
55724         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
55725         * math/libm-test.inc (acos_test): Add more tests.
55726         (acosh_test): Likewise.
55727         (asin_test): Likewise.
55728         (atanh_test): Likewise.
55729         (exp_test): Likewise.
55730         (exp10_test): Likewise.
55731         (exp2_test): Likewise.
55732         (expm1_test): Likewise.
55733         (lgamma_test): Likewise.
55734         (log_test): Likewise.
55735         (log10_test): Likewise.
55736         (log1p_test): Likewise.
55737         (log2_test): Likewise.
55738         (pow_test): Do not allow some spurious overflow exceptions.
55739         (sqrt_test): Add more tests.
55740         (tgamma_test): Likewise.
55741         (y0_test): Likewise.
55742         (y1_test): Likewise.
55743         (yn_test): Likewise.
55745 2012-03-27  Anton Blanchard  <anton@samba.org>
55747         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
55748         MAP_HUGETLB.
55749         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
55750         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
55751         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
55753 2012-03-27  David S. Miller  <davem@davemloft.net>
55755         * conform/Makefile: Run run-conformtest.sh using $(BASH).
55757         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
55758         have-as-vis3 check.
55760 2012-03-27  Andreas Jaeger  <aj@suse.de>
55762         * sysdeps/x86_64/elf/configure.in: Moved to ...
55763         * sysdeps/x86_64/configure.in: ... here.
55764         * sysdeps/x86_64/elf/start.S: Moved to ...
55765         * sysdeps/x86_64/start.S: ... here.
55766         * sysdeps/x86_64/elf/configure: Delete.
55768         * sysdeps/x86_64/configure.in: Merge contents from
55769         sysdeps/i386/configure.in (without i686 check).
55771         * sysdeps/i386/elf/Versions: Merge into ...
55772         * sysdeps/i386/Versions: ... this.
55773         * sysdeps/i386/elf/Versions: Delete file.
55774         * sysdeps/i386/elf/start.S: Moved to ...
55775         * sysdeps/i386/start.S: ...here.
55776         * sysdeps/i386/elf/configure.in: Merge into...
55777         * sysdeps/i386/configure.in: ...here.
55778         * sysdeps/i386/elf/configure.in: Delete file.
55779         * sysdeps/i386/elf/configure: Delete file.
55781         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
55782         * debug/backtracesyms.c: ... here.
55783         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
55784         * debug/backtracesymsfd.c: ... here.
55785         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
55786         * sysdeps/generic/ifunc-sel.h: ... here.
55788         * sysdeps/unix/i386/start.c: Delete file.
55789         * sysdeps/unix/sparc/start.c: Delete file.
55790         * sysdeps/unix/start.c: Delete file.
55792         * sysdeps/sh/elf/configure.in: Moved to ...
55793         * sysdeps/sh/configure.in: ... here.
55794         * sysdeps/sh/elf/start.S: Moved to ...
55795         * sysdeps/sh/start.S: ... here.
55796         * sysdeps/sh/elf/configure: Delete file.
55798         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
55799         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
55800         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
55801         * sysdeps/powerpc/powerpc64/entry.h: ... here.
55802         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
55803         * sysdeps/powerpc/powerpc64/start.S: here.
55804         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
55805         * sysdeps/powerpc/powerpc64/Makefile: ... this.
55806         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
55807         * sysdeps/powerpc/powerpc64/configure.in: ... this.
55808         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
55810         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
55811         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
55812         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
55813         * sysdeps/powerpc/powerpc32/start.S: ... here.
55814         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
55815         * sysdeps/powerpc/powerpc32/configure.in: ... this.
55816         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
55818         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
55819         * sysdeps/powerpc/ifunc-sel.h: ... here.
55820         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
55821         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
55823         * sysdeps/sparc/elf/configure.in: Moved to ...
55824         * sysdeps/sparc/configure.in: ... here.
55825         * sysdeps/sparc/elf/configure: Delete file.
55826         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
55827         * sysdeps/sparc/sparc32/start.S: ... here.
55828         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
55829         * sysdeps/sparc/sparc64/start.S: ... here.
55830         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
55831         * sysdeps/sparc/sparc32/Makefile: ... this.
55832         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
55833         * sysdeps/sparc/sparc64/Makefile: ... this.
55835         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
55836         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
55837         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
55838         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
55839         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
55840         * sysdeps/s390/s390-32/setjmp.S: ... here.
55841         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
55842         * sysdeps/s390/s390-32/configure.in: ... here.
55843         * sysdeps/s390/s390-32/elf/configure: Delete file.
55844         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
55845         * sysdeps/s390/s390-32/start.S: ... here.
55847         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
55848         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
55849         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
55850         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
55851         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
55852         * sysdeps/s390/s390-64/setjmp.S: ... here.
55853         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
55854         * sysdeps/s390/s390-64/configure.in: ... here
55855         * sysdeps/s390/s390-64/elf/configure: Delete file.
55856         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
55857         * sysdeps/s390/s390-64/start.S: ... here.
55858         * sysdeps/s390/s390-64/elf/configure: Delete.
55860         * configure.in: Remove support for elf directories in sysdeps.
55862         * configure: Regenerated.
55863         * sysdeps/i386/configure: Regenerated.
55864         * sysdeps/powerpc/powerpc32/configure: Regenerated.
55865         * sysdeps/powerpc/powerpc64/configure: Regenerated.
55866         * sysdeps/s390/s390-32/configure: Regenerated.
55867         * sysdeps/s390/s390-64/configure: Regenerated.
55868         * sysdeps/sh/configure: Regenerated.
55869         * sysdeps/sparc/configure: Regenerated.
55870         * sysdeps/x86_64/configure: Regenerated.
55872 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
55874         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55876         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
55877         denormal result into account.
55879 2012-03-25  Roland McGrath  <roland@hack.frob.com>
55881         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
55882         Reported by Allan McRae <allan@archlinux.org>.
55884 2012-03-23  Jeff Law  <law@redhat.com>
55886         * nss/getnssent.c (__nss_getent): Fix typo.
55888 2012-03-23  David S. Miller  <davem@davemloft.net>
55890         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55892 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
55894         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
55895         to pad to uint64_t for each field.
55896         (dl_tls_index): Replace unsigned long with uint64_t.
55898 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
55899         Paul Pluzhnikov  <ppluzhnikov@google.com>
55901         [BZ #6528]
55902         * grp/Makefile (otherlibs): Don't set it.
55903         * inet/Makefile (otherlibs): Likewise.
55904         * login/Makefile (otherlibs): Likewise.
55905         * nscd/Makefile (otherlibs): Likewise.
55906         * posix/Makefile (otherlibs): Likewise.
55907         * pwd/Makefile (otherlibs): Likewise.
55908         * rt/Makefile (otherlibs): Likewise.
55909         * sunrpc/Makefile (otherlibs): Likewise.
55910         * nss/Makefile (otherlibs): Likewise.
55911         Add libnss_files to routines and static-only-routines.
55912         ($(objpfx)getent): Remove rule.
55913         * resolv/Makefile: Add libnss_dns and libresolv to routines and
55914         static-only-routines.
55916 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
55918         [BZ #13892]
55919         * math/s_cexp.c: Include <float.h>.
55920         (__cexp): Handle exp result overflowing not necessarily
55921         overflowing both real and imaginary parts of result.
55922         * math/s_cexpf.c: Likewise.
55923         * math/s_cexpl.c: Likewise.
55924         * math/libm-test.inc (cexp_test): Add more tests.
55925         * sysdeps/i386/fpu/libm-test-ulps: Update.
55926         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55928 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
55930         * include/link.h (ELFW): New macro.
55931         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
55932         Replace ELF64_R_TYPE with ELFW(R_TYPE).
55934 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
55936         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
55937         with uint64_t.
55939 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
55941         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
55942         declaration.
55943         (struct La_x32_retval): Likewise.
55945 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
55947         * sysdeps/x86_64/preconfigure.in: New file.
55948         * sysdeps/x86_64/preconfigure: New generated file.
55950 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
55952         [BZ #13824]
55953         * math/e_exp2l.c: Include <float.h>.
55954         (__ieee754_exp2l): Handle overflow and underflow cases
55955         separately.  Only pass fractional part of argument to
55956         __ieee754_expl.
55957         * math/libm-test.inc (exp2_test): Add more tests.
55959         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
55960         negating x to take absolute value.
55961         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
55962         Likewise.
55963         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
55964         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
55965         Likewise.
55966         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
55967         computing low part if x was negated.
55968         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
55970 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
55972         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
55973         la_x32_gnu_pltexit.
55974         (pltexit): Cast int_retval to ptrdiff_t.
55975         * elf/tst-auditmod3b.c: Likewise.
55976         * elf/tst-auditmod4b.c: Likewise.
55977         * elf/tst-auditmod5b.c: Likewise.
55978         * elf/tst-auditmod6b.c: Likewise.
55979         * elf/tst-auditmod6c.c: Likewise.
55980         * elf/tst-auditmod7b.c: Likewise.
55982         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
55983         and x32_gnu_pltexit.
55985         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
55986         __ELF_NATIVE_CLASS.
55987         (La_x32_regs): New macro.
55988         (La_x32_retval): Likewise.
55989         (la_x32_gnu_pltenter): New function prototype.
55990         (la_x32_gnu_pltexit): Likewise.
55992 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
55994         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
55995         exponent.
55997         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55999         * configure.in (libc_cv_cc_nofma): Check for option to disable
56000         generation of FMA instructions.
56001         * configure: Regenerate.
56002         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
56003         * sysdeps/ieee754/dbl-64/Makefile: New file.
56004         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
56005         Remove brandred-fma4.
56006         (CFLAGS-brandred-fma4.c): Remove.
56007         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
56008         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
56009         define.
56010         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
56011         define.
56013 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
56015         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
56016         LLONG_MAX != LONG_MAX.
56017         (_itoa_word): Use _ITOA_WORD_TYPE on value.
56018         (_fitoa_word): Likewise.
56019         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
56020         LLONG_MAX != LONG_MAX.
56021         * stdio-common/_itowa.h: Include <_itoa.h>.
56022         (_itowa_word): Use _ITOA_WORD_TYPE on value.
56023         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
56024         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
56025         only if not defined.
56026         (_ITOA_WORD_TYPE): Likewise.
56027         (_itoa_word): Use _ITOA_WORD_TYPE on value.
56028         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
56030 2012-03-21  David S. Miller  <davem@davemloft.net>
56032         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56034 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
56036         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
56037         of x86_64 when setting libc_cv_slibdir, libdir and
56038         libc_cv_localedir.
56039         * sysdeps/unix/sysv/linux/configure: Regenerated.
56041 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
56043         * manual/lang.texi (Old Varargs): Remove section.
56044         (How Variadic): Update menu.
56045         (va_start): Do not mention varargs.h.
56047 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
56048             Joseph Myers  <joseph@codesourcery.com>
56050         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
56051         link test.
56052         * configure: Regenerated.
56054 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
56056         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
56057         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
56058         conformtest.pl
56060 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
56062         * NOTES: Remove.
56063         * Makefile (files-for-dist): Remove NOTES.
56064         (NOTES): Remove rule.
56065         * README: Don't refer to NOTES.
56066         * manual/creature.texi: Don't include macros.texi.
56067         * manual/intro.texi (creature.texi): Remove comment referring to
56068         NOTES.
56070         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
56071         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
56072         * configure: Regenerated.
56073         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
56074         LIBC_TRY_CC_OPTION.
56075         (libc_cv_as_i686): Likewise.
56076         (libc_cv_cc_avx): Likewise.
56077         (libc_cv_cc_sse2avx): Likewise.
56078         (libc_cv_cc_fma4): Likewise.
56079         (libc_cv_cc_novzeroupper): Likewise.
56080         * sysdeps/i386/configure: Regenerated.
56082         [BZ #13883]
56083         * sysdeps/i386/fpu/s_cexp.S: Remove.
56084         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
56085         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
56086         * math/libm-test.inc (cexp_test): Add more tests.
56087         * sysdeps/i386/fpu/libm-test-ulps: Update.
56088         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56090 2012-03-21  Allan McRae  <allan@archlinux.org>
56092         * timezone/Makefile: Do not install iso3166.tab and zone.tab
56094 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
56096         [BZ #13871]
56097         * math/w_exp2.c: Do not include <float.h>.
56098         (o_threshold, u_threshold): Remove.
56099         (__exp2): Calculate result before checking finiteness and calling
56100         __kernel_standard.
56101         * math/w_exp2f.c: Likewise.
56102         * math/w_exp2l.c: Likewise.
56103         * math/libm-test.inc (exp2_test): Require overflow exception for
56104         1e6 input.
56106         [BZ #3866]
56107         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
56108         range of signed 64-bit integers before using fistpll.  Remove
56109         checks for whether integers fit in mantissa bits.
56110         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
56111         the range of signed 32-bit integers before using fistpl.  Remove
56112         checks for whether integers fit in mantissa bits.
56113         * sysdeps/i386/fpu/e_powl.S (p64): New object.
56114         (__ieee754_powl): Test for y outside the range of signed 64-bit
56115         integers before using fistpll.  Reduce 64-bit values to 63-bit
56116         ones as needed.
56117         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
56118         divide-by-zero is raised for zero to large negative powers.
56119         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
56120         (__ieee754_powl): Test for y outside the range of signed 64-bit
56121         integers before using fistpll.  Reduce 64-bit values to 63-bit
56122         ones as needed.
56123         * math/libm-test.inc (pow_test): Add more tests.
56125 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
56127         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
56128         <stdio-common/_itoa.h>.
56129         * debug/segfault.c: Likewise.
56130         * elf/dl-cache.c: Likewise.
56131         * elf/dl-minimal.c: Likewise.
56132         * elf/dl-misc.c: Likewise.
56133         * elf/dl-sysdep.c: Likewise.
56134         * elf/dl-version.c: Likewise.
56135         * elf/rtld.c: Likewise.
56136         * hurd/hurdsock.c: Likewise.
56137         * hurd/lookup-retry.c: Likewise.
56138         * malloc/malloc.c: Likewise.
56139         * malloc/mtrace.c: Likewise.
56140         * nscd/nscd_getgr_r.c: Likewise.
56141         * nscd/nscd_getpw_r.c: Likewise.
56142         * nscd/nscd_getserv_r.c: Likewise.
56143         * posix/getopt_init.c: Likewise.
56144         * posix/wordexp.c: Likewise.
56145         * stdio-common/_itoa.c: Likewise.
56146         * stdio-common/printf_fphex.c: Likewise.
56147         * stdio-common/vfprintf.c: Likewise.
56148         * string/_strerror.c: Likewise.
56149         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
56150         * sysdeps/i386/i686/hp-timing.h: Likewise.
56151         * sysdeps/mach/_strerror.c: Likewise.
56152         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
56153         * sysdeps/mach/hurd/sethostid.c: Likewise.
56154         * sysdeps/mach/hurd/xmknodat.c: Likewise.
56155         * sysdeps/mach/xpg-strerror.c: Likewise.
56156         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
56157         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
56158         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
56159         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
56160         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
56161         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
56162         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
56163         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
56164         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
56165         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
56166         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
56167         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
56168         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
56169         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
56170         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
56171         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
56172         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
56173         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
56174         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
56175         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
56176         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
56178         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
56180         * stdio-common/_itoa.h: Moved to ...
56181         * sysdeps/generic/_itoa.h: Here.
56183         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
56185         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
56186         instead of "_itoa.h" and "_itowa.h".
56187         * stdio-common/vfprintf.: Likewise.
56189 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
56191         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
56192         <bits/wordsize.h>.
56193         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
56194         (__signbit): Likwise.
56195         (llrintf): Likwise.
56196         (llrint): Likwise.
56198 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
56200         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
56201         __WORDSIZE != 64.
56203 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
56205         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
56206         OVERFLOW_EXCEPTION_OK.
56207         * math/libm-test.inc ("Philosophy"): Update comment about
56208         exception testing.
56209         (OVERFLOW_EXCEPTION): Define.
56210         (OVERFLOW_EXCEPTION_OK): Likewise.
56211         (INVALID_EXCEPTION_OK): Renumber.
56212         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
56213         (IGNORE_ZERO_INF_SIGN): Likewise.
56214         (test_exceptions): Handle FE_OVERFLOW.
56215         (exp10_test): Expect overflow exceptions.
56216         (exp2_test): Likewise.
56217         (expm1_test): Likewise.
56218         (nextafter_test): Likewise.
56219         (pow_test): Likewise.
56220         (scalbn_test): Likewise.
56221         (scalbln_test): Likewise.
56223 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
56225         * sysdeps/x86_64/bits/atomic.h
56226         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
56227         64bit integer.
56228         (atomic_exchange_acq): Likewise.
56229         (__arch_exchange_and_add_body): Likewise.
56230         (__arch_add_body): Likewise.
56231         (atomic_add_negative): Likewise.
56232         (atomic_add_zero): Likewise.
56234 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
56236         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
56237         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
56239 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
56241         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
56242         Check __x86_64__ instead of __WORDSIZE.
56244 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
56246         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
56248 2012-03-19  David S. Miller  <davem@davemloft.net>
56250         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56252         * sysdeps/sparc/fpu/fenv_private.h: New file.
56253         * sysdeps/sparc/fpu/math_private.h: Use it.
56254         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
56255         Remove.
56256         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
56257         (libc_feholdexcept_setroundl): Remove.
56258         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
56259         Remove.
56260         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
56261         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
56263 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
56265         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
56266         int64_t instead of long int.
56267         (INSERT_WORDS64): Likwise.
56269 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
56271         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
56272         _Unwind_GetCFA return to _Unwind_Ptr first.
56274 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
56276         [BZ #13629]
56277         * math/s_clog.c: Include <float.h>.
56278         (__clog): Scale large or subnormal inputs.
56279         * math/s_clogf.c: Likewise.
56280         * math/s_clogl.c: Likewise.
56281         * math/s_clog10.c: Include <float.h>.
56282         (M_LOG10_2): Define.
56283         (__clog10): Scale large or subnormal inputs.
56284         * math/s_clog10f.c: Likewise.
56285         * math/s_clog10l.c: Likewise.
56286         * math/libm-test.inc (clog_test): Add more tests.
56287         (clog10_test): Likewise.
56288         * sysdeps/i386/fpu/libm-test-ulps: Update.
56289         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56291         [BZ #11451]
56292         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
56293         x and y.
56294         * math/libm-test.inc (atan2_test): Add another test.
56296         * Makerules (common-objdir-compile): Remove.
56297         * sysdeps/unix/Makefile (config-generated): Do not add
56298         $(unix-generated) to variable.
56299         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
56300         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
56301         Remove rule.
56302         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
56303         Likewise.
56304         [generic bits/local_lim.h] (before-compile): Do not append to
56305         variable.
56306         [generic bits/local_lim.h] (common-generated): Likewise.
56307         [generic sys/param.h] (before-compile): Do not append to variable.
56308         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
56309         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
56310         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
56311         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
56312         include.
56313         [generic sys/param.h] (sys/param.h-includes): Remove variable.
56314         [generic sys/param.h] (sys/param.h-includes): Remove rule.
56315         [generic sys/param.h] ($(addprefix
56316         $(common-objpfx),$(sys/param.h-includes))): Likewise.
56317         [generic sys/param.h] (common-generated): Do not append to
56318         variable.
56319         [generic sys/param.h] (sysdep_headers): Likewise.
56320         [generic bits/errno.h] (before-compile): Do not append to
56321         variable.
56322         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
56323         rule.
56324         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
56325         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
56326         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
56327         [generic bits/errno.h] (common-generated): Do not append to
56328         variable.
56329         [generic bits/ioctls.h] (before-compile): Do not append to
56330         variable.
56331         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
56332         rule.
56333         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
56334         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
56335         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
56336         rule.
56337         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
56338         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
56339         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
56340         [generic bits/ioctls.h] (common-generated): Do not append to
56341         variable.
56342         [generic sys/syscall.h] (syscall.h): Remove variable.
56343         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
56344         rule.
56345         [generic sys/syscall.h] (before-compile): Do not append to
56346         variable.
56347         [generic sys/syscall.h] (common-generated): Likewise.
56348         * sysdeps/unix/errnos-tmpl.c: Remove file.
56349         * sysdeps/unix/errnos.awk: Likewise.
56350         * sysdeps/unix/ioctls-tmpl.c: Likewise.
56351         * sysdeps/unix/ioctls.awk: Likewise.
56352         * sysdeps/unix/mk-local_lim.c: Likewise.
56353         * sysdeps/unix/snarf-ioctls: Likewise.
56355 2012-03-19  Richard Henderson  <rth@twiddle.net>
56357         * sysdeps/i386/fpu/fenv_private.h: New file.
56358         * sysdeps/i386/fpu/math_private.h: Use it.
56359         (math_opt_barrier, math_force_eval): Remove.
56360         (libc_feholdexcept_setround_53bit): Remove.
56361         (libc_feupdateenv_53bit): Remove.
56362         * sysdeps/x86_64/fpu/math_private.h: Likewise.
56363         (math_opt_barrier, math_force_eval): Remove.
56364         (libc_feholdexcept): Remove.
56365         (libc_feholdexcept_setround): Remove.
56366         (libc_fetestexcept, libc_fesetenv): Remove.
56367         (libc_feupdateenv_test): Remove.
56368         (libc_feupdateenv, libc_feholdsetround): Remove.
56369         (libc_feresetround): Remove.
56371         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
56372         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
56374         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
56375         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
56376         (libc_feupdateenv_testl): New.
56377         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
56378         (libc_feupdateenv_testf): New.
56379         (libc_feupdateenv): Use libc_feupdateenv_test.
56380         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
56381         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
56383         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
56384         (libc_feholdsetroundf, libc_feholdsetroundl): New.
56385         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
56386         (libc_feresetround_noex): New.
56387         (libc_feresetround_noexf): New.
56388         (libc_feresetround_noexl): New.
56389         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
56390         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
56391         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
56392         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
56393         SET_RESTORE_ROUND.
56394         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
56395         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
56396         (__cos): Likewise.
56397         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
56398         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
56399         SET_RESTORE_ROUND_NOEX.
56400         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
56401         SET_RESTORE_ROUND_NOEXF.
56402         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
56403         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
56404         (libc_feholdsetroundf): New.
56405         (libc_feresetround, libc_feresetroundf): New.
56407         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
56408         (libc_feholdexcept_setround_53bit): Convert from macro to function.
56409         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
56411         * sysdeps/generic/math_private.h: Include <fenv.h>.
56412         (default_libc_feholdexcept): New.
56413         (default_libc_feholdexcept_setround): New.
56414         (default_libc_fesetenv, default_libc_feupdateenv): New.
56415         (libc_feholdexcept): Only define if undefined.
56416         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
56417         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
56418         (libc_feholdexcept_setroundl): Likewise.
56419         (libc_feholdexcept_setround_53bit): Likewise.
56420         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
56421         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
56422         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
56423         (libc_feupdateenv_53bit): Likewise.
56424         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
56425         (libc_feholdexcept): Convert from macro to inline function.
56426         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
56427         (libc_fesetenv, libc_feupdateenv): Likewise.
56429         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
56430         not previously defined.
56431         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
56432         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
56433         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
56434         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
56435         * sysdeps/ieee754/flt-32/math_private.h: New file.
56436         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
56437         math_private.h below SET_FLOAT_WORD.
56438         (__isnan, __isinf_ns, __finite): Remove.
56439         (__isnanf, __isinf_nsf, __finitef): Remove.
56441 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
56443         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56445 2012-03-17  David S. Miller  <davem@davemloft.net>
56447         [BZ #6471]
56448         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
56449         for 2.16.
56451 2012-03-16  David S. Miller  <davem@davemloft.net>
56453         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
56454         warnings.
56456         [BZ #6471]
56457         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
56458         properly.
56459         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
56460         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
56461         sysdep_routines when subdir is sysvipc.
56462         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
56463         __getshmlba helper.
56465         * sysdeps/sparc/fpu/libm-test/ulps: Update.
56467 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
56469         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
56470         [__LP64__].
56472 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
56474         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
56475         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
56476         (__lround): Renamed to ...
56477         (__llround): This.  Replace long int with long long int.
56478         Define lround functions as aliases of llround functions.
56479         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
56481 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
56483         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
56484         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
56485         adresses to uintptr_t.  Replace "long int" and "unsigned long
56486         int" with "greg_t" on va_arg.
56488 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
56490         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
56491         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
56493         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
56494         Move e_machine check before EI_CLASS check.  Handle x32
56495         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
56496         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
56497         SKIP_EM_IA_64 and include
56498         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
56500         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
56501         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
56502         (add_system_dir): New macro.
56504         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
56505         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
56507 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
56509         [BZ #2551]
56510         [BZ #2552]
56511         [BZ #2553]
56512         [BZ #2554]
56513         [BZ #2562]
56514         [BZ #2563]
56515         [BZ #2565]
56516         [BZ #2566]
56517         [BZ #2576]
56518         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
56519         (y0): Likewise.
56520         * math/w_j0f.c (j0f): Likewise.
56521         (y0f): Likewise.
56522         * math/w_j0l.c (__j0l): Likewise.
56523         (__y0l): Likewise.
56524         * math/w_j1.c (j1): Likewise.
56525         (y1): Likewise.
56526         * math/w_j1f.c (j1f): Likewise.
56527         (y1f): Likewise.
56528         * math/w_j1l.c (__j1l): Likewise.
56529         (__y1l): Likewise.
56530         * math/w_jn.c (jn): Likewise.
56531         (yn): Likewise.
56532         * math/w_jnf.c (jnf): Likewise.
56533         (ynf): Likewise.
56534         * math/w_jnl.c (__jnl): Likewise.
56535         (__ynl): Likewise.
56536         * math/libm-test.inc (j0_test): Add more tests.
56537         (j1_test): Likewise.
56538         (jn_test): Likewise.  Add trailing semicolon to existing test.
56539         (y0_test): Likewise.
56540         (y1_test): Likewise.
56541         * sysdeps/i386/fpu/libm-test-ulps: Update.
56542         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56544         [BZ #13851]
56545         [BZ #13854]
56546         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
56547         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
56548         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
56549         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
56550         (__tanl): Set errno for infinite argument.
56551         * sysdeps/i386/fpu/mptan.c: Remove.
56552         * sysdeps/i386/fpu/s_tan.S: Likewise.
56553         * sysdeps/i386/fpu/s_tanl.S: Likewise.
56554         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
56555         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
56556         * math/libm-test.inc (tan_test): Add more tests and enable more
56557         tests for double and long double.
56558         * sysdeps/i386/fpu/libm-test-ulps: Update.
56559         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56561 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
56563         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
56564         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
56566 2012-03-16  Roland McGrath  <roland@hack.frob.com>
56568         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
56569         * configure.in: Use it for both main tree and add-ons.
56570         * configure: Regenerated.
56572 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
56574         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
56576 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
56578         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
56579         in comment.
56581         [BZ #13851]
56582         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
56583         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
56584         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
56585         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
56586         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
56587         infinite argument.
56588         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
56589         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
56590         != 0 for prec == 2.
56591         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
56592         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
56593         * sysdeps/i386/fpu/s_cosl.S: Likewise.
56594         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
56595         * sysdeps/i386/fpu/s_sinl.S: Likewise.
56596         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
56597         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
56598         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
56599         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
56600         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
56601         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
56602         * math/libm-test.inc (cos_test): Add more tests and enable more
56603         tests for long double.
56604         (sin_test): Likewise.
56605         (sincos_test): Likewise.
56606         * sysdeps/i386/fpu/libm-test-ulps: Update.
56607         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56609 2012-03-16  David S. Miller  <davem@davemloft.net>
56611         * sysdeps/sparc/fpu/math_private.h: New file.
56613 2012-03-15  David S. Miller  <davem@davemloft.net>
56615         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
56616         file.
56617         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
56618         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
56619         file.
56620         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
56621         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
56622         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
56623         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
56624         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
56625         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
56626         sysdep routines.
56627         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
56629         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
56630         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
56632         * sysdeps/sparc/sparc-ifunc.h: New file.
56633         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
56634         sparc-ifunc.h
56635         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
56636         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
56637         Likewise.
56638         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
56639         Likewise.
56640         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
56641         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
56642         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
56643         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
56644         Likewise.
56645         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
56646         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
56647         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
56648         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
56649         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
56650         Likewise.
56651         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
56652         Likewise.
56653         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
56654         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
56655         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
56656         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
56657         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
56658         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
56659         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
56660         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
56661         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
56662         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
56663         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
56664         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
56665         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
56666         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
56667         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
56668         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
56669         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
56670         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
56671         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
56672         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
56673         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
56674         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
56675         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
56676         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
56678 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
56680         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
56681         scaling.
56682         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56684 2012-03-15  Andreas Jaeger  <aj@suse.de>
56686         [BZ #13852]
56687         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
56688         ieee754/flt-32 implementation for sin, cos and sincos.
56689         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
56690         * sysdeps/i386/fpu/s_cosf.S: Likewise.
56691         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
56692         * sysdeps/i386/fpu/s_sinf.S: Likewise.
56693         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
56694         ieee754/flt-32 implementation for tan.
56696         * math/libm-test.inc (cos_test): Enable some large input tests for
56697         float as well
56698         (sin_test): Likewise.
56699         (sincos_test): Likewise.
56700         (tan_test): Add tests for large input.
56702         * sysdeps/i386/fpu/libm-test-ulps: Update.
56704 2012-03-15  Andreas Jaeger  <aj@suse.de>
56706         [BZ #13658]
56707         * math/libm-test.inc (cos_test): Add more test cases.
56708         (sin_test): Likewise.
56709         (sincos_test): Likewise.
56711 2012-03-15  Andreas Jaeger  <aj@suse.de>
56713         [BZ #13837]
56714         * math/libm-test.inc (cos_test): Add a test case for large input
56715         value.
56716         (sin_test): Likewise.
56717         (sincos_test): Likewise.
56719 2012-03-15  Andreas Jaeger  <aj@suse.de>
56720             Joseph Myers  <joseph@codesourcery.com>
56722         [BZ #13658]
56723         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
56724         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
56725         * sysdeps/i386/fpu/branred.c: Likewise.
56726         * sysdeps/i386/fpu/dosincos.c: Likewise.
56727         * sysdeps/i386/fpu/mpa.c: Likewise.
56728         * sysdeps/i386/fpu/s_cos.S: Likewise.
56729         * sysdeps/i386/fpu/s_sin.S: Likewise.
56730         * sysdeps/i386/fpu/s_sincos.S: Likewise.
56731         * sysdeps/i386/fpu/sincos32.c: Likewise.
56733         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
56734         Define.
56735         (libc_feupdateenv_53bit): Define.
56736         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
56737         Define.
56738         (libc_feupdateenv_53bit): Define.
56740         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
56741         53 bit (without extend i386 double precision).
56743         * math/libm-test.inc (sincos_test): Add tests for large input.
56744         (sin): Likewise.
56745         (cos): Likewise.
56747         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
56749 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
56751         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56753 2012-03-15  David S. Miller  <davem@davemloft.net>
56755         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
56756         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
56757         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
56758         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
56759         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
56760         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
56761         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
56762         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
56763         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
56764         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
56765         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
56766         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
56767         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
56768         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
56769         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
56770         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
56771         file.
56772         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
56773         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
56774         file.
56775         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
56776         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
56777         file.
56778         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
56779         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
56780         file.
56781         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
56782         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
56783         fmin/fmax sysdep routines.
56784         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
56786 2012-03-14  David S. Miller  <davem@davemloft.net>
56788         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
56789         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
56790         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
56791         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
56792         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
56793         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
56794         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
56795         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
56796         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
56797         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
56798         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
56799         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
56800         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
56801         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
56802         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
56803         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
56804         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
56805         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
56806         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
56807         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
56808         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
56809         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
56810         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
56811         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
56812         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
56813         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
56814         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
56815         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
56816         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
56817         routines.
56818         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
56819         file.
56820         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
56821         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
56822         file.
56823         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
56824         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
56825         file.
56826         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
56827         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
56828         file.
56829         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
56830         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
56831         file.
56832         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
56833         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
56834         file.
56835         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
56836         file.
56837         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
56838         file.
56839         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
56840         file.
56841         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
56842         New file.
56843         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
56844         file.
56845         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
56846         file.
56847         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
56848         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
56849         file.
56850         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
56851         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
56852         file.
56853         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
56854         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
56855         file.
56856         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
56857         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
56858         VIS3 routines.
56860         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
56861         New file.
56863         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56865         * sysdeps/sparc/configure.in: New file.
56866         * sysdeps/sparc/configure: Generate.
56867         * configure.in (libc_cv_sparc_as_vis3): Substitute.
56868         * configure: Regenerate.
56869         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
56870         * config.make.in (have-as-vis3): New.
56871         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
56872         available use -Av9d instead of -Av9a.
56873         * sysdeps/sparc/sparc64/Makefile: Likewise.
56874         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
56875         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
56876         New file.
56877         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
56878         file.
56879         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
56880         New file.
56881         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
56882         file.
56883         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
56884         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
56885         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
56886         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
56887         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
56889         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
56890         fzeros/fnegs to load 0x80000000 into a float register instead of
56891         using the stack.
56892         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
56894 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
56896         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56897         bits/syscall.h.
56898         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
56899         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
56900         ($(inst_includedir)/bits/syscall.h): Remove rule.
56901         ($(objpfx)bits/syscall.d): Include instead of
56902         $(objpfx)syscall-list.d.
56903         (generated): Change syscall-list.h and syscall-list.d to
56904         bits/syscall.h and bits/syscall.d.
56906 2012-03-14  Roland McGrath  <roland@hack.frob.com>
56908         [BZ #13846]
56909         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
56911 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
56913         [BZ #13841]
56914         * math/s_csqrt.c: Include <float.h>.
56915         (__csqrt): Scale large or subnormal inputs.
56916         * math/s_csqrtf.c: Likewise.
56917         * math/s_csqrtl.c: Likewise.
56918         * math/libm-test.inc (csqrt_test): Add more tests.
56919         * sysdeps/i386/fpu/libm-test-ulps: Update.
56920         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56922         [BZ #13840]
56923         * math/libm-test.inc (hypot_test): Add more tests.
56925 2012-03-13  David S. Miller  <davem@davemloft.net>
56927         [BZ #13840]
56928         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
56929         double-precision for the calculation instead of scaling.
56931 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
56933         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
56934         manipulate bits before adding and subtracting TWO52[sx].
56935         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
56936         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
56937         Likewise.
56938         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
56940 2012-03-13  David S. Miller  <davem@davemloft.net>
56942         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
56943         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
56944         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
56945         rtld-global-offsets.h
56946         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
56948         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
56949         large parameters.
56951         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
56953         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
56954         'err' in the ifdef scope in which it is actually used.
56956         * nss/nss_db/db-init.c: Include string.h
56958 2012-03-12  David S. Miller  <davem@davemloft.net>
56960         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
56961         masking out of the most significant byte of random value used.
56962         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
56963         Fix coding style in previous change.
56965         * sysdeps/unix/sysv/linux/kernel-features.h
56966         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
56967         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
56968         expression.
56969         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
56970         later.
56972 2012-03-11  David S. Miller  <davem@davemloft.net>
56974         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
56975         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
56976         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
56977         for 'resultvar' otherwise things get truncated on 64-bit.
56979         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
56980         Fix masking out of the most significant byte of random value used.
56982         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56984 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
56986         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56988 2012-03-09  David S. Miller  <davem@davemloft.net>
56990         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
56991         variables with appropriate CPP guards.
56992         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
56993         from the frame pointer, not the stack pointer.  Correct layout
56994         comments.  Fix test on resulting framesize and the management of
56995         the outregs buffer for pltexit.  Preserve floating point return
56996         values across _dl_call_pltexit call.
56997         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
56998         framesize and the management of the outregs buffer for pltexit.
56999         Preserve floating point return values across _dl_call_pltexit
57000         call.
57001         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
57002         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
57003         (la_sparc64_gnu_pltexit): New functions.
57004         (print_exit): Fix format string for return register value.
57006 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
57008         * sunrpc/Makefile (others): Add rpcgen.
57009         ($(objpfx)rpcgen): Remove special build rule and dependency on
57010         libc.
57011         * sunrpc/rpcgen.c: New file.
57013 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
57015         [BZ #13673]
57016         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
57017         * stdio-common/bug-vfprintf-nargs.c: Likewise.
57018         * sysdeps/i386/crti.S: Likewise.
57019         * sysdeps/i386/crtn.S: Likewise.
57020         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
57021         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
57022         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
57023         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
57024         * sysdeps/sh/crti.S: Likewise.
57025         * sysdeps/sh/crtn.S: Likewise.
57026         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
57028         [BZ #13673]
57029         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
57030         with URL.
57031         * locale/programs/locfile-kw.gperf: Likewise.
57032         * locale/programs/charmap-kw.h: Regenerated.
57033         * locale/programs/locfile-kw.h: Likewise.
57035         [BZ #13673]
57036         * intl/plural.y: Replace FSF snail mail address with URL.
57037         * intl/plural.c: Regenerated.
57039 2012-03-09  Richard Henderson  <rth@twiddle.net>
57041         * include/math_private.h: Remove file.
57042         * math/math_private.h: Move file ...
57043         * sysdeps/generic/math_private.h: ... here.
57045         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
57046         * sysdeps/powerpc/fpu/math_private.h: Likewise.
57047         * sysdeps/x86_64/fpu/math_private.h: Likewise.
57049         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
57050         and <math_private.h>.
57051         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
57052         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
57053         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
57054         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
57055         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
57056         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
57057         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
57058         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57059         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
57060         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
57061         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57062         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
57063         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
57064         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
57065         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
57066         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
57067         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
57068         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
57069         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
57070         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
57071         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57072         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
57073         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
57074         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57075         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
57076         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
57077         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
57078         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
57079         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57080         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
57081         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
57082         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
57083         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
57084         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
57085         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
57086         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
57087         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
57088         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
57089         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
57090         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
57091         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
57092         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
57093         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
57094         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
57095         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
57096         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
57097         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
57098         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
57099         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
57100         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
57101         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
57102         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
57103         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
57104         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
57105         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
57106         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
57107         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
57108         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
57109         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
57110         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
57111         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
57112         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
57113         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
57114         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
57115         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
57116         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
57117         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
57118         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
57119         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
57120         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
57121         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
57122         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
57123         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
57124         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
57125         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
57126         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
57127         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
57128         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
57129         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
57130         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
57131         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
57132         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
57133         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
57134         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
57135         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
57136         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
57137         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
57138         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
57139         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
57140         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
57141         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
57142         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
57143         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
57144         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
57145         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
57146         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
57147         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
57148         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
57149         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
57150         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
57151         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
57152         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
57153         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
57154         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
57155         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
57156         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
57157         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
57158         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
57159         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
57160         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
57161         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
57162         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
57163         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
57164         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
57165         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
57166         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
57167         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
57168         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
57169         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
57170         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
57171         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
57172         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
57173         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
57174         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
57175         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
57176         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
57177         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
57178         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
57179         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
57180         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
57181         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
57182         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
57183         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
57184         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
57185         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
57186         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
57187         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
57188         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
57189         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
57190         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
57191         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
57192         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
57193         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
57194         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
57195         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
57196         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
57197         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
57198         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
57199         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
57200         * sysdeps/ieee754/k_standard.c: Likewise.
57201         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
57202         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
57203         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
57204         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
57205         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
57206         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
57207         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
57208         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
57209         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
57210         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
57211         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
57212         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
57213         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
57214         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
57215         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
57216         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
57217         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
57218         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
57219         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
57220         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
57221         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
57222         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
57223         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
57224         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
57225         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
57226         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
57227         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
57228         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
57229         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
57230         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
57231         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
57232         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
57233         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
57234         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
57235         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
57236         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
57237         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
57238         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
57239         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
57240         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
57241         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
57242         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
57243         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
57244         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
57245         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
57246         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
57247         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
57248         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
57249         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
57250         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
57251         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
57252         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
57253         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
57254         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
57255         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
57256         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
57257         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
57258         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
57259         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
57260         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
57261         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
57262         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
57263         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
57264         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
57265         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
57266         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
57267         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
57268         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
57269         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
57270         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
57271         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
57272         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
57273         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
57274         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
57275         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
57276         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
57277         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
57278         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
57279         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
57280         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
57281         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
57282         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
57283         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
57284         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
57285         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
57286         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
57287         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
57288         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
57289         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
57290         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
57291         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
57292         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
57293         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
57294         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
57295         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
57296         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
57297         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
57298         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
57299         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
57300         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
57301         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
57302         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
57303         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
57304         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
57305         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
57306         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
57307         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
57308         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
57309         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
57310         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
57311         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
57312         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
57313         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
57314         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
57315         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
57316         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
57317         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
57318         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
57319         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
57320         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
57321         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
57322         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
57323         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
57324         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
57325         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
57326         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
57327         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
57328         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
57329         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
57330         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
57331         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
57332         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
57333         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
57334         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
57335         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
57336         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
57337         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
57338         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
57339         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
57340         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
57341         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
57342         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
57343         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
57344         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
57345         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
57346         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
57347         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
57348         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
57349         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
57350         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
57351         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
57352         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
57353         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
57354         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
57355         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
57356         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
57357         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
57358         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
57359         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
57360         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
57361         * sysdeps/ieee754/s_lib_version.c: Likewise.
57362         * sysdeps/ieee754/s_matherr.c: Likewise.
57363         * sysdeps/ieee754/s_signgam.c: Likewise.
57364         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
57365         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
57366         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
57367         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
57368         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
57369         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
57370         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
57371         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
57372         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
57373         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
57374         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
57375         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
57376         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
57377         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
57378         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
57379         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
57380         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
57381         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
57382         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
57383         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
57384         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
57386 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
57388         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
57389         * sunrpc/rpc_main.c: Likewise.
57390         * sunrpc/rpc_svcout.c: Likewise.
57392 2012-03-09  David S. Miller  <davem@davemloft.net>
57394         * include/math_private.h: New file.
57396 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
57398         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
57399         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
57400         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
57401         from <bits/socket_type.h>.
57402         (enum __socket_type): Don't define here.
57403         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
57404         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57405         bits/socket_type.h.
57407         [BZ #13566]
57408         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
57409         checking __USE_GNU.
57411         * Makerules ($(inst_includedir)/%.h): New rule.
57412         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
57413         (install-others): Remove variable setting.
57414         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
57416 2012-03-08  Richard Henderson  <rth@twiddle.net>
57418         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
57419         from macro to inline function; merge with the
57420         !__LIBC_INTERNAL_MATH_INLINES version.
57421         (__ieee754_sqrtf): Likewise.
57423         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
57424         to inline function.
57425         (__rintf, __floor, __floorf): Likewise.
57427         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
57428         macro to inline function.
57429         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
57431         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
57432         not <math/math_private.h>.
57434 2012-03-08  David S. Miller  <davem@davemloft.net>
57436         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
57437         copyright year.
57438         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
57440 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
57442         * resolv/gai_misc.c (handle_requests): Fix struct timespec
57443         normalization.
57444         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
57445         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
57447 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
57449         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
57450         be defined individually, they must be defined as a block.  Define
57451         S for printing a string instead of hidint the different by using a
57452         macro for adding the 'l'.
57453         * stdio-common/tst-fphex-wide.c: Adjust.
57455 2012-03-07  Marek Polacek  <polacek@redhat.com>
57457         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
57459 2012-03-08  Marek Polacek  <polacek@redhat.com>
57461         [BZ #13806]
57462         * stdio-common/Makefile (tests): Add tst-fphex-wide.
57463         * stdio-common/tst-fphex.c: Define a few macros to make the
57464         test reusable.  Use them.
57465         * stdio-common/tst-fphex-wide.c: New file.
57467 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
57469         [BZ #6911]
57470         * manual/macros.texi (gnusystems): New macro.
57471         (nongnusystems): Likewise.
57472         (gnulinuxhurdsystems): Likewise.
57473         (gnuhurdsystems): Likewise..
57474         (gnulinuxsystems): Likewise.
57475         * manual/charset.texi: Use new macros or @theglibc{} to refer to
57476         variants of the GNU system, not "GNU system".
57477         * manual/conf.texi: Likewise.
57478         * manual/errno.texi: Likewise.  Update example of errno macro
57479         expansion.
57480         * manual/filesys.texi: Likewise.
57481         (getumask): Document as specific to GNU/Hurd.
57482         * manual/install.texi: Likewise.  Reword some references to
57483         GNU/Linux.
57484         * manual/intro.texi: Likewise.
57485         * manual/io.texi: Likewise.
57486         (File Name Portability): Detail which constraints are inapplicable
57487         to all GNU systems and which are only inapplicable to GNU/Hurd.
57488         * manual/job.texi: Likewise.
57489         * manual/llio.texi: Likewise.
57490         (O_NOCTTY): Document as present on GNU/Linux.
57491         * manual/maint.texi: Likewise.
57492         * manual/memory.texi: Likewise.
57493         * manual/pattern.texi: Likewise.
57494         * manual/pipe.texi: Likewise.
57495         * manual/process.texi: Likewise.
57496         * manual/resource.texi: Likewise.
57497         (RUSAGE_CHILDREN): Remove statement about specifying a particular
57498         child on GNU/Hurd.
57499         * manual/setjmp.texi: Likewise.
57500         * manual/signal.texi: Likewise.
57501         * manual/startup.texi: Likewise.
57502         * manual/stdio.texi: Likewise.
57503         * manual/terminal.texi: Likewise.
57504         (ONLCR): Document as POSIX.
57505         (OXTABS): Document availability on GNU/Linux as XTABS.
57506         (ONOEOT): Document availability separately from other bits.
57507         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
57508         * manual/time.texi: Likewise.
57509         * manual/users.texi: Likewise.
57510         * INSTALL: Regenerated.
57511         * sysdeps/gnu/errlist.c: Regenerated.
57513         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
57514         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
57515         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
57516         puts.
57517         * configure: Regenerated.
57519 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
57521         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
57522         default includes instead of AC_HEADER_CHECK.
57523         * sysdeps/i386/configure: Regenerated.
57525         [BZ #10716]
57526         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
57527         * math/s_cacoshf.c (__cacoshf): Likewise.
57528         * math/s_cacoshl.c (__cacoshl): Likewise.
57529         * math/s_casinh.c (__casinh): Set signs of result from argument.
57530         * math/s_casinhf.c (__casinhf): Likewise.
57531         * math/s_casinhl.c (__casinhl): Likewise.
57532         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
57533         (casinh_test): Add more tests.
57534         * sysdeps/i386/fpu/libm-test-ulps: Update.
57535         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57537 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
57539         * po/zh_TW.po: Update from translation team.
57541         * login/Makefile (distribute): Remove variable.
57542         * catgets/Makefile: Likewise.
57543         * mach/Makefile: Likewise.
57544         * malloc/Makefile: Likewise.
57545         * misc/Makefile: Likewise.
57546         * iconv/Makefile: Likewise.
57547         * nscd/Makefile: Likewise.
57548         * hurd/Makefile: Likewise.
57549         * manual/Makefile: Likewise.
57550         * locale/Makefile: Likewise.
57551         * intl/Makefile: Likewise.
57552         * conform/Makefile: Likewise.
57553         * nss/Makefile: Likewise.
57554         * time/Makefile: Likewise.
57555         * soft-fp/Makefile: Likewise.
57556         * dirent/Makefile: Likewise.
57557         * gmon/Makefile: Likewise.
57558         * po/Makefile: Likewise.
57559         * rt/Makefile: Likewise.
57560         * socket/Makefile: Likewise.
57561         * math/Makefile: Likewise.
57562         * signal/Makefile: Likewise.
57563         * debug/Makefile: Likewise.
57564         * elf/Makefile: Likewise.
57565         * timezone/Makefile: Likewise.
57566         * stdlib/Makefile: Likewise.
57567         * iconvdata/Makefile: Likewise.
57568         * sunrpc/Makefile: Likewise.
57569         * io/Makefile: Likewise.
57570         * argp/Makefile: Likewise.
57571         * inet/Makefile: Likewise.
57572         * hesiod/Makefile: Likewise.
57573         * grp/Makefile: Likewise.
57574         * csu/Makefile: Likewise.
57575         * wctype/Makefile: Likewise.
57576         * crypt/Makefile: Likewise.
57577         * libio/Makefile: Likewise.
57578         * string/Makefile: Likewise.
57579         * nis/Makefile: Likewise.
57580         * resolv/Makefile: Likewise.
57581         * stdio-common/Makefile: Likewise.
57582         * wcsmbs/Makefile: Likewise.
57583         * dlfcn/Makefile: Likewise.
57584         * posix/Makefile: Likewise.
57586         [BZ #6959]
57587         * timezone/Makefile: Don't install timezone files, just the programs
57588         and scripts.
57590 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
57592         * nss/databases.def: Add missing gshadow entry.
57594         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
57596 2012-03-06  Marek Polacek  <polacek@redhat.com>
57598         [BZ #13726]
57599         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
57600         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
57601         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
57602         * stdio-common/tst-long-dbl-fphex.c: New file.
57604 2012-03-06  David S. Miller  <davem@davemloft.net>
57606         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
57607         (set_obp_int): New function.
57608         (get_obp_int): New function.
57609         (__get_clockfreq_via_dev_openprom): Likewise.
57610         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
57611         Avoid unused variable warnings on 'val' and use builtin_expect.
57612         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
57613         __builtin_expect.
57614         (INLINE_CLONE_SYSCALL): Likewise.
57616 2012-03-05  David S. Miller  <davem@davemloft.net>
57618         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57620 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
57622         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57624         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
57625         only for |x| >= 40.
57626         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
57628 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
57630         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
57631         Replace gettimeofday with __vdso_gettimeofday.
57633         * sysdeps/unix/sysv/linux/x86_64/init-first.c
57634         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
57635         __vdso_clock_gettime and __vdso_getcpu.
57637         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
57638         time with __vdso_time.
57640 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
57642         * manual/lang.texi (size_t): Note types to which size_t may be
57643         equivalent with the GNU C Library, but do not describe when
57644         differences between them are significant.
57646 2012-03-05  Andreas Jaeger  <aj@suse.de>
57648         * sysdeps/i386/fpu/libm-test-ulps: Update.
57650 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
57652         [BZ #3976]
57653         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
57654         (__ieee754_pow): Save and restore rounding mode and use
57655         round-to-nearest for main computations.
57656         * math/libm-test.inc (pow_test_tonearest): New function.
57657         (pow_test_towardzero): Likewise.
57658         (pow_test_downward): Likewise.
57659         (pow_test_upward): Likewise.
57660         (main): Call the new functions.
57661         * sysdeps/i386/fpu/libm-test-ulps: Update.
57662         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57664         [BZ #3976]
57665         * math/libm-test.inc (cosh_test_tonearest): New function.
57666         (cosh_test_towardzero): Likewise.
57667         (cosh_test_downward): Likewise.
57668         (cosh_test_upward): Likewise.
57669         (sinh_test_tonearest): Likewise.
57670         (sinh_test_towardzero): Likewise.
57671         (sinh_test_downward): Likewise.
57672         (sinh_test_upward): Likewise.
57673         (main): Call the new functions.
57674         * sysdeps/i386/fpu/libm-test-ulps: Update.
57675         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57677 2012-03-05  Tom de Vries  <tom@codesourcery.com>
57679         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
57680         default stack guard is set in last bytes.
57681         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
57683 2012-03-05  Kees Cook  <keescook@chromium.org>
57685         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
57687         [BZ #13656]
57688         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
57689         possibly allocate from heap instead of stack.
57690         * stdio-common/bug-vfprintf-nargs.c: New file.
57691         * stdio-common/Makefile (tests): Add nargs overflow test.
57693 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
57695         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57697 2012-03-03  Marek Polacek  <polacek@redhat.com>
57699         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
57700         * math/math_private.h: Likewise.
57701         * stdlib/tst-strtod.c: Likewise.
57702         * sysdeps/i386/i486/bits/atomic.h: Likewise.
57703         * sysdeps/x86_64/bits/atomic.h: Likewise.
57705 2012-03-02  David S. Miller  <davem@davemloft.net>
57707         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
57708         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
57709         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
57710         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
57711         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
57712         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
57713         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
57714         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
57716 2012-03-02  Roland McGrath  <roland@hack.frob.com>
57718         [BZ #13792]
57719         * manual/examples/README: New file, says the example source files
57720         can be used under GPL>=2.
57721         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
57722         line containing just "*/".
57723         * manual/examples/add.c: Add copyright header (GPL>=2).
57724         * manual/examples/argp-ex1.c: Likewise.
57725         * manual/examples/argp-ex2.c: Likewise.
57726         * manual/examples/argp-ex3.c: Likewise.
57727         * manual/examples/argp-ex4.c: Likewise.
57728         * manual/examples/atexit.c: Likewise.
57729         * manual/examples/db.c: Likewise.
57730         * manual/examples/dir.c: Likewise.
57731         * manual/examples/dir2.c: Likewise.
57732         * manual/examples/execinfo.c: Likewise.
57733         * manual/examples/filecli.c: Likewise.
57734         * manual/examples/filesrv.c: Likewise.
57735         * manual/examples/fmtmsgexpl.c: Likewise.
57736         * manual/examples/genpass.c: Likewise.
57737         * manual/examples/inetcli.c: Likewise.
57738         * manual/examples/inetsrv.c: Likewise.
57739         * manual/examples/isockad.c: Likewise.
57740         * manual/examples/longopt.c: Likewise.
57741         * manual/examples/memopen.c: Likewise.
57742         * manual/examples/memstrm.c: Likewise.
57743         * manual/examples/mkfsock.c: Likewise.
57744         * manual/examples/mkisock.c: Likewise.
57745         * manual/examples/mygetpass.c: Likewise.
57746         * manual/examples/pipe.c: Likewise.
57747         * manual/examples/popen.c: Likewise.
57748         * manual/examples/rprintf.c: Likewise.
57749         * manual/examples/search.c: Likewise.
57750         * manual/examples/select.c: Likewise.
57751         * manual/examples/setjmp.c: Likewise.
57752         * manual/examples/sigh1.c: Likewise.
57753         * manual/examples/sigusr.c: Likewise.
57754         * manual/examples/stpcpy.c: Likewise.
57755         * manual/examples/strdupa.c: Likewise.
57756         * manual/examples/strftim.c: Likewise.
57757         * manual/examples/strncat.c: Likewise.
57758         * manual/examples/subopt.c: Likewise.
57759         * manual/examples/swapcontext.c: Likewise.
57760         * manual/examples/termios.c: Likewise.
57761         * manual/examples/testopt.c: Likewise.
57762         * manual/examples/testpass.c: Likewise.
57763         * manual/examples/timeval_subtract.c: Likewise.
57765         [BZ #13792]
57766         * manual/time.texi (Elapsed Time): Move timeval_subtract example
57767         function to ...
57768         * manual/timeval_subtract.c.texi: ... here, new file.
57770 2012-03-02  David S. Miller  <davem@davemloft.net>
57772         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
57774 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
57776         [BZ #3976]
57777         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
57778         (__sin): Save and restore rounding mode and use round-to-nearest
57779         for all computations.
57780         (__cos): Save and restore rounding mode and use round-to-nearest
57781         for all computations.
57782         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
57783         <fenv.h>.
57784         (tan): Save and restore rounding mode and use round-to-nearest for
57785         all computations.
57786         * math/libm-test.inc (cos_test_tonearest): New function.
57787         (cos_test_towardzero): Likewise.
57788         (cos_test_downward): Likewise.
57789         (cos_test_upward): Likewise.
57790         (sin_test_tonearest): Likewise.
57791         (sin_test_towardzero): Likewise.
57792         (sin_test_downward): Likewise.
57793         (sin_test_upward): Likewise.
57794         (tan_test_tonearest): Likewise.
57795         (tan_test_towardzero): Likewise.
57796         (tan_test_downward): Likewise.
57797         (tan_test_upward): Likewise.
57798         (main): Call the new functions.
57799         * sysdeps/i386/fpu/libm-test-ulps: Update.
57800         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57802         [BZ #10135]
57803         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
57804         small n, then large n, before computing and testing k+n.
57805         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
57806         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
57807         Likewise.
57808         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
57809         Likewise.
57810         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
57811         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
57812         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
57813         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
57814         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
57815         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
57816         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
57817         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
57818         * math/libm-test.inc (scalbn_test): Add more tests.
57819         (scalbln_test): Likewise.
57821         * manual/filesys.texi (mode_t): Describe constraints on size and
57822         signedness, not exact equivalence to a particular type.
57823         (ino_t): Likewise.
57824         (ino64_t): Likewise.
57825         (dev_t): Likewise.
57826         (nlink_t): Likewise.
57827         (blkcnt_t): Likewise.
57828         (blkcnt64_t): Likewise.
57829         * manual/llio.texi (off_t): Likewise.
57831         [BZ #3976]
57832         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
57833         (__ieee754_exp): Save and restore rounding mode and use
57834         round-to-nearest for all computations.
57835         * math/libm-test.inc (exp_test_tonearest): New function.
57836         (exp_test_towardzero): Likewise.
57837         (exp_test_downward): Likewise.
57838         (exp_test_upward): Likewise.
57839         (main): Call the new functions.
57840         * sysdeps/i386/fpu/libm-test-ulps: Update.
57841         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57843 2012-03-01  Chris Demetriou  <cgd@google.com>
57845         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
57846         have predictable order.
57848 2012-03-01  David S. Miller  <davem@davemloft.net>
57850         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
57852         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
57853         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
57854         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
57855         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
57857         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
57858         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
57859         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
57860         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
57861         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
57862         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
57863         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
57864         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
57865         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
57867         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57869         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
57870         * sysdeps/sparc/fpu/libm-test-ulps: to here.
57871         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
57873         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
57874         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
57875         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
57876         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
57877         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
57878         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
57879         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
57880         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
57881         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
57882         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
57883         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
57884         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
57885         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
57886         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
57887         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
57888         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
57889         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
57890         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
57891         * sysdeps/sparc/elf/configure: Regenerated.
57893 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
57895         * configure.in (AS, LD): Require binutils 2.20 or later.
57896         * configure: Regenerated.
57897         * manual/install.texi (Tools for Compilation): Give binutils 2.20
57898         as required minimum version.
57899         * INSTALL: Regenerated.
57901         [BZ #2541]
57902         [BZ #4108]
57903         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
57904         before squaring exponent.
57905         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
57906         bottom long double and 27 bits of top long double before squaring
57907         exponent.
57908         * math/libm-test.inc (erfc_test): Add more tests.
57909         * sysdeps/i386/fpu/libm-test-ulps: Update.
57910         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
57911         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57913 2012-03-01  Kai Tietz  <ktietz@redhat.com>
57915         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
57916         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
57917         containing bit-fields.
57918         * soft-fp/extended.h (_FP_UNION_E): Likewise.
57919         * soft-fp/single.h (_FP_UNION_S): Likewise.
57920         * soft-fp/double.h (_FP_UNION_D): Likewise.
57922 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
57924         [BZ #13786]
57925         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
57926         not include ../strcmp.S.
57927         [USE_AS_STRNCASECMP_L]: Likewise.
57928         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
57929         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
57930         * sysdeps/i386/i686/multiarch/strncase_l-c.c
57931         (__strncasecmp_l_ia32): Define as alias to
57932         __strncasecmp_l_nonascii.
57934         [BZ #5794]
57935         * math/libm-test.inc (expm1_test): Add test for bug 5794.
57936         * sysdeps/i386/fpu/libm-test-ulps: Update.
57937         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57939         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
57940         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57942 2012-02-29  Jeff Law  <law@redhat.com>
57944         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
57945         out of bounds read.
57947 2012-02-29  Marek Polacek  <polacek@redhat.com>
57949         [BZ #13706]
57950         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
57951         * elf/Makefile: Add rules to run tst-unused-dep.out.
57953 2012-02-28  David S. Miller  <davem@davemloft.net>
57955         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
57956         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
57957         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
57958         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
57959         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
57960         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
57962 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
57964         * math/libm-test.inc (llround_test): Move one test from
57965         lround_test.  Use TEST_f_L in moved test.
57966         (lround_test): Move misplaced test to llround_test.  Add testcase
57967         from bug 2561.
57969 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
57971         * sysdeps/x86_64/fpu/e_expf.S: New file.
57972         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
57974 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
57976         [BZ #13637]
57977         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
57978         of remain_len that may cause incomplete multi-byte character and
57979         false match.
57980         * posix/bug-regex33.c: New file.
57981         * posix/Makefile (tests): Add bug-regex33.
57983 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
57985         * manual/macros.texi: New file.
57986         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
57987         * manual/libc.texinfo: Include macros.texi.
57988         * manual/creatute.texi: Likewise.
57989         * manual/install.texi: Likewise.
57990         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
57991         @glibcadj{} in references to the GNU C Library.
57992         * manual/charset.texi: Likewise.
57993         * manual/conf.texi: Likewise.
57994         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
57995         when not using those macros.
57996         * manual/creature.texi: Likewise.
57997         * manual/crypt.texi: Likewise.
57998         * manual/errno.texi: Likewise.
57999         * manual/filesys.texi: Likewise.
58000         * manual/header.texi: Likewise.
58001         * manual/install.texi: Likewise.
58002         * manual/intro.texi: Likewise.
58003         * manual/io.texi: Likewise.
58004         * manual/job.texi: Likewise.
58005         * manual/lang.texi: Likewise.
58006         * manual/libc.texiinfo: Likewise.
58007         * manual/llio.texi: Likewise.
58008         * manual/locale.texi: Likewise.
58009         * manual/maint.texi: Likewise.
58010         * manual/math.texi: Likewise.
58011         * manual/memory.texi: Likewise.
58012         * manual/message.texi: Likewise.
58013         * manual/nss.texi: Likewise.
58014         * manual/pattern.texi: Likewise.
58015         * manual/process.texi: Likewise.
58016         * manual/resource.texi: Likewise.
58017         * manual/search.texi: Likewise.
58018         * manual/setjmp.texi: Likewise.
58019         * manual/signal.texi: Likewise.
58020         * manual/socket.texi: Likewise.
58021         * manual/startup.texi: Likewise.
58022         * manual/stdio.texi: Likewise.
58023         * manual/string.texi: Likewise.
58024         * manual/sysinfo.texi: Likewise.
58025         * manual/syslog.texi: Likewise.
58026         * manual/terminal.texi: Likewise.
58027         * manual/time.texi: Likewise.
58028         * manual/users.texi: Likewise.
58029         * INSTALL: Regenerated.
58030         * NOTES: Regenerated.
58031         * sysdeps/gnu/errlist.c: Regenerated.
58033 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
58035         * include/dirent.h: Include <dirstream.h> before
58036         <dirent/dirent.h>.
58038 2012-02-28  David S. Miller  <davem@davemloft.net>
58040         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
58041         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
58042         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
58043         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
58045 2012-02-27  David S. Miller  <davem@davemloft.net>
58047         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
58048         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
58049         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
58050         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
58052         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
58053         frame pointer instead of stack pointer relative arg slot.
58054         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
58055         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
58056         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
58058 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
58060         [BZ #3992]
58061         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
58063 2012-02-27  David S. Miller  <davem@davemloft.net>
58065         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
58066         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
58067         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
58068         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
58069         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
58070         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
58071         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
58072         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
58074 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
58076         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
58077         later.  Allow versions 5-9.
58078         * configure: Regenerated.
58079         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
58080         required minimum version and 4.6 as recommended version.  Do not
58081         mention bugs in GCC 2.7 and 2.8.
58082         * INSTALL: Regenerated.
58084 2012-02-27  David S. Miller  <davem@davemloft.net>
58086         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
58087         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
58088         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
58089         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
58090         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
58091         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
58092         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
58093         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
58095         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
58096         manipulate bits before adding and subtracting TWO112[sx].
58097         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
58099 2012-02-27  Roland McGrath  <roland@hack.frob.com>
58101         [BZ #13775]
58102         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
58103         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
58104         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
58105         being in POSIX, because they are in 1003.1-2008.
58107         * rt/tst-aio.c: Include <fcntl.h>.
58108         * rt/tst-aio7.c: Likewise.
58109         * rt/tst-aio64.c: Likewise.
58111         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
58113 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
58115         * manual/install.texi (--with-headers): Describe headers as
58116         interface headers, not private headers.
58117         (Specific advice for GNU/Linux systems): Describe use of headers
58118         from "make headers_install", not private headers from older
58119         kernels.
58120         * INSTALL: Regenerated.
58121         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
58122         Change to 2.6.19.
58123         * sysdeps/unix/sysv/linux/configure: Regenerated.
58125         * manual/llio.texi (fclean): Remove documentation.
58127         * manual/Makefile (libc-texi-generated): New variable.  Include
58128         version.texi.
58129         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
58130         $(libc-texi-generated), not duplicated list of files.
58131         (version.texi, stamp-version): New rules.
58132         (realclean): Remove $(libc-texi-generated), not individual files
58133         from that list.  Do not remove dir-add.texinfo.
58134         * manual/libc.texinfo: Comment out uses of edition numbers and
58135         references to printed manual.  Remove last-updated dates.
58136         (EDITION): Comment out.
58137         (ISBN): Likewise.
58138         (VERSION, UPDATED): Remove.
58139         (version.texi): Include.
58141 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
58143         * sysdeps/posix/spawni.c: Include <signal.h>.
58144         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
58145         * sysdeps/pthread/aio_fsync.c: Likewise.
58147 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
58149         * conform/Makefile (tests): Run only when not cross-compiling and
58150         when fast-check is not defined.
58152         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
58153         * conform/data/limits.h-data: Fixes for POSIX2008.
58154         * conform/run-conformtest.sh: Run all tests.
58155         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
58156         headers.
58157         * include/bits/dlfcn.h: Likewise.
58158         * include/langinfo.h: Likewise.
58159         * include/monetary.h: Likewise.
58160         * include/sys/poll.h: Likewise.
58162         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
58163         for __USE_GNU.
58164         * posix/spawn.h: Define __need_sigset_t.
58165         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
58166         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
58167         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
58168         to get sigevent_t only.
58169         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
58170         only for __USE_GNU.
58171         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
58172         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
58173         process_vm_writev only for __USE_GNU.
58174         * termios/termios.h: Declare tcgetsid also for POSIX2008.
58176         * conform/Makefile: For now ignore errors from run-conformtest.
58177         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
58178         POSIX to avoid namespace pollution.  Don't prepend headers.
58179         * conform/data/aio.h-data: Fixes for POSIX testing.
58180         * conform/data/fcntl.h-data: Likewise.
58181         * conform/data/glob.h-data: Likewise.
58182         * conform/data/grp.h-data: Likewise.
58183         * conform/data/pthread.h-data: Likewise.
58184         * conform/data/pwd.h-data: Likewise.
58185         * conform/data/signal.h-data: Likewise.
58186         * conform/data/spawn.h-data: Likewise.
58187         * conform/data/stdio.h-data: Likewise.
58188         * conform/data/stdlib.h-data: Likewise.
58189         * conform/data/stropts.h-data: Likewise.
58190         * conform/data/sys/mman.h-data: Likewise.
58191         * conform/data/sys/stat.h-data: Likewise.
58192         * conform/data/sys/types.h-data: Likewise.
58193         * conform/data/sys/wait.h-data: Likewise.
58194         * conform/data/time.h-data: Likewise.
58195         * conform/data/unistd.h-data: Likewise.
58196         * conform/data/utime.h-data: Likewise.
58198         * io/sys/stat.h: fchmod was always in POSIX.
58199         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
58200         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
58201         * rt/aio.h: Define __need_timespec before including <time.h>.
58202         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
58203         struct.  Add forward declaration of pthread_attr_t and use it in
58204         sigevent.
58205         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
58206         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
58207         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
58208         always remove CLK_TCK definition.
58210 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
58212         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
58214 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
58216         * conform/run-conformtest.sh: New file.
58217         * conform/Makefile: Run run-conformtest for tests.
58218         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
58219         support.
58221         * conform/data/uchar.h-data: New file.
58222         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
58223         * conform/data/arpa/inet.h-data: Likewise.
58224         * conform/data/assert.h-data: Likewise.
58225         * conform/data/complex.h-data: Likewise.
58226         * conform/data/cpio.h-data: Likewise.
58227         * conform/data/ctype.h-data: Likewise.
58228         * conform/data/dirent.h-data: Likewise.
58229         * conform/data/dlfcn.h-data: Likewise.
58230         * conform/data/errno.h-data: Likewise.
58231         * conform/data/fcntl.h-data: Likewise.
58232         * conform/data/float.h-data: Likewise.
58233         * conform/data/fmtmsg.h-data: Likewise.
58234         * conform/data/fnmatch.h-data: Likewise.
58235         * conform/data/ftw.h-data: Likewise.
58236         * conform/data/glob.h-data: Likewise.
58237         * conform/data/grp.h-data: Likewise.
58238         * conform/data/iconv.h-data: Likewise.
58239         * conform/data/inttypes.h-data: Likewise.
58240         * conform/data/langinfo.h-data: Likewise.
58241         * conform/data/libgen.h-data: Likewise.
58242         * conform/data/limits.h-data: Likewise.
58243         * conform/data/locale.h-data: Likewise.
58244         * conform/data/math.h-data: Likewise.
58245         * conform/data/monetary.h-data: Likewise.
58246         * conform/data/mqueue.h-data: Likewise.
58247         * conform/data/ndbm.h-data: Likewise.
58248         * conform/data/net/if.h-data: Likewise.
58249         * conform/data/netdb.h-data: Likewise.
58250         * conform/data/netinet/in.h-data: Likewise.
58251         * conform/data/nl_types.h-data: Likewise.
58252         * conform/data/poll.h-data: Likewise.
58253         * conform/data/pthread.h-data: Likewise.
58254         * conform/data/pwd.h-data: Likewise.
58255         * conform/data/regex.h-data: Likewise.
58256         * conform/data/sched.h-data: Likewise.
58257         * conform/data/search.h-data: Likewise.
58258         * conform/data/semaphore.h-data: Likewise.
58259         * conform/data/setjmp.h-data: Likewise.
58260         * conform/data/signal.h-data: Likewise.
58261         * conform/data/spawn.h-data: Likewise.
58262         * conform/data/stdarg.h-data: Likewise.
58263         * conform/data/stdio.h-data: Likewise.
58264         * conform/data/stdlib.h-data: Likewise.
58265         * conform/data/string.h-data: Likewise.
58266         * conform/data/strings.h-data: Likewise.
58267         * conform/data/stropts.h-data: Likewise.
58268         * conform/data/sys/ipc.h-data: Likewise.
58269         * conform/data/sys/mman.h-data: Likewise.
58270         * conform/data/sys/msg.h-data: Likewise.
58271         * conform/data/sys/resource.h-data: Likewise.
58272         * conform/data/sys/select.h-data: Likewise.
58273         * conform/data/sys/sem.h-data: Likewise.
58274         * conform/data/sys/shm.h-data: Likewise.
58275         * conform/data/sys/socket.h-data: Likewise.
58276         * conform/data/sys/stat.h-data: Likewise.
58277         * conform/data/sys/statvfs.h-data: Likewise.
58278         * conform/data/sys/time.h-data: Likewise.
58279         * conform/data/sys/timeb.h-data: Likewise.
58280         * conform/data/sys/times.h-data: Likewise.
58281         * conform/data/sys/types.h-data: Likewise.
58282         * conform/data/sys/uio.h-data: Likewise.
58283         * conform/data/sys/un.h-data: Likewise.
58284         * conform/data/sys/utsname.h-data: Likewise.
58285         * conform/data/sys/wait.h-data: Likewise.
58286         * conform/data/syslog.h-data: Likewise.
58287         * conform/data/tar.h-data: Likewise.
58288         * conform/data/termios.h-data: Likewise.
58289         * conform/data/utime.h-data: Likewise.
58290         * conform/data/utmpx.h-data: Likewise.
58291         * conform/data/varargs.h-data: Likewise.
58292         * conform/data/wchar.h-data: Likewise.
58293         * conform/data/wctype.h-data: Likewise.
58294         * conform/data/wordexp.h-data: Likewise.
58296         * include/stropts.h: New file.
58297         * include/uchar.h: New file.
58298         * include/aio.h: Changes to allow conformtest.pl to use the headers.
58299         * include/assert.h: Likewise.
58300         * include/ctype.h: Likewise.
58301         * include/dirent.h: Likewise.
58302         * include/dlfcn.h: Likewise.
58303         * include/fcntl.h: Likewise.
58304         * include/fnmatch.h: Likewise.
58305         * include/glob.h: Likewise.
58306         * include/grp.h: Likewise.
58307         * include/libio.h: Likewise.
58308         * include/locale.h: Likewise.
58309         * include/math.h: Likewise.
58310         * include/net/if.h: Likewise.
58311         * include/netdb.h: Likewise.
58312         * include/netinet/in.h: Likewise.
58313         * include/pthread.h: Likewise.
58314         * include/pwd.h: Likewise.
58315         * include/regex.h: Likewise.
58316         * include/sched.h: Likewise.
58317         * include/search.h: Likewise.
58318         * include/setjmp.h: Likewise.
58319         * include/signal.h: Likewise.
58320         * include/stdio.h: Likewise.
58321         * include/stdlib.h: Likewise.
58322         * include/string.h: Likewise.
58323         * include/sys/cdefs.h: Likewise.
58324         * include/sys/mman.h: Likewise.
58325         * include/sys/msg.h: Likewise.
58326         * include/sys/resource.h: Likewise.
58327         * include/sys/select.h: Likewise.
58328         * include/sys/socket.h: Likewise.
58329         * include/sys/stat.h: Likewise.
58330         * include/sys/statvfs.h: Likewise.
58331         * include/sys/time.h: Likewise.
58332         * include/sys/times.h: Likewise.
58333         * include/sys/uio.h: Likewise.
58334         * include/sys/utsname.h: Likewise.
58335         * include/sys/wait.h: Likewise.
58336         * include/termios.h: Likewise.
58337         * include/time.h: Likewise.
58338         * include/ulimit.h: Likewise.
58339         * include/unistd.h: Likewise.
58340         * include/utime.h: Likewise.
58341         * include/wchar.h: Likewise.
58342         * include/wctype.h: Likewise.
58343         * include/wordexp.h: Likewise.
58345         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
58347         * time/time.h: TIME_UTC must be a macro.
58348         Make timespec_get available for ISO C11 only as well.
58350 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
58352         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
58353         Reported by Peng Haitao <penght@cn.fujitsu.com>.
58355 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
58357         * configure.in: Use -o not -a in test for unsupported multi-arch.
58359 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
58361         * manual/texinfo.tex: Update to version 2012-01-19.16.
58363 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
58365         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
58367 2012-02-24  Roland McGrath  <roland@hack.frob.com>
58369         [BZ #13738]
58370         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
58371         * manual/fdl-1.3.texi: New file.
58372         * manual/fdl-1.1.texi: File removed.
58374         [BZ #13738]
58375         * manual/libc.texinfo (FDL_VERSION): New @set.
58376         Use it for mention of FDL in cover text.
58377         (Documentation License): Use it in @include file name.
58379 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
58380             Roland McGrath  <roland@hack.frob.com>
58382         [BZ #5461]
58383         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
58384         (not LONG_LONG_MAX and LONG_LONG_MIN.
58385         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
58386         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
58387         name.
58388         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
58390 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
58392         [BZ #2547]
58393         [BZ #11365]
58394         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
58395         manipulate bits before adding and subtracting TWO23[sx].
58396         * math/libm-test.inc (nearbyint_test): Add more tests.
58398 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
58400         [BZ #2548]
58401         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
58402         bits before adding and subtracting TWO23[sx].
58403         * math/libm-test.inc (rint_test): Add more tests.
58404         (rint_test_tonearest): Likewise.
58405         (rint_test_towardzero): Likewise.
58406         (rint_test_downward): Likewise.
58407         (rint_test_upward: Likewise.
58409 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
58411         [BZ #10110]
58412         * include/stdc-predef.h: New file.  Extracted from features.h.
58413         * include/features.h: Include stdc-predef.h.
58414         * Makefile (headers): Add stdc-predef.h.
58415         * CONFORMANCE (Compiler limitations): Update.
58417 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
58419         * manual/libc.texinfo (VERSION, UPDATED): Revert.
58421 2012-02-21  David S. Miller  <davem@davemloft.net>
58423         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
58424         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
58426 2012-02-20  David S. Miller  <davem@davemloft.net>
58428         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
58429         using a normal save/restore sequence, rather than allocating a
58430         dummy stack frame just to store a frame pointer and restore.
58431         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
58433 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
58435         * manual/install.texi: Fix stray word in line-wrapped comment.
58437 2012-02-20  David S. Miller  <davem@davemloft.net>
58439         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
58440         both binutils and gcc support GOTDATA.
58442         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
58443         "rd %pc" in the PIC register setup sequences.
58445         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
58446         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
58447         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
58448         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
58449         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
58450         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
58451         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
58452         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
58453         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
58454         (SYSCALL_ERROR_HANDLER): Likewise.
58455         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
58456         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
58457         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
58458         (SYSCALL_ERROR_HANDLER): Likewise.
58460         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
58461         (HAVE_GCC_GOTDATA): New.
58462         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
58463         relocation support in both binutils and gcc.
58464         * sysdeps/sparc/elf/configure: Regenerate.
58466         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
58467         * sysdeps/sparc/sparc32/elf/configure: Delete.
58468         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
58469         * sysdeps/sparc/sparc64/elf/configure: Delete.
58470         * sysdeps/sparc/elf/configure.in: New file.
58471         * sysdeps/sparc/elf/configure: Generate.
58473         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
58474         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
58475         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
58476         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
58477         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
58479 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
58481         * manual/install.texi: Do not mention specific glibc version
58482         numbers.
58483         * manual/libc.texinfo (VERSION, UPDATED): Update.
58484         (@copying): Use @copyright{} and range of years.
58486 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
58488         [BZ #13695]
58489         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
58490         [crti.S not in sysdirs] (generated): Do not append.
58491         [crti.S not in sysdirs] (omit-deps): Likewise.
58492         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
58493         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
58494         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
58495         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
58496         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
58497         Likewise.
58498         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
58499         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
58500         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
58501         * csu/defs.awk: Remove file.
58502         * sysdeps/generic/initfini.c: Likewise.
58503         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
58504         variable.
58505         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
58506         Likewise.
58508 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
58510         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
58511         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
58512         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
58513         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
58514         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
58515         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
58516         <bits/epoll.h>.
58517         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
58518         (__EPOLL_PACKED): Define to empty if not defined by
58519         <bits/epoll.h>.
58520         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
58521         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58522         bits/epoll.h.
58524 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
58526         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
58527         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
58528         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
58529         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
58530         <bits/timerfd.h>.
58531         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
58532         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58533         bits/timerfd.h.
58535 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
58537         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
58538         in C locale.
58539         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
58540         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
58541         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
58542         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58544 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
58546         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
58547         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
58549 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
58551         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
58552         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
58553         defined.
58554         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
58555         Likewise.
58556         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
58557         entry for 2.16.
58559 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
58561         * math/w_acos.c: Use non-signaling floating-point comparisons.
58562         * math/w_acosf.c: Likewise.
58563         * math/w_acosh.c: Likewise.
58564         * math/w_acoshf.c: Likewise.
58565         * math/w_acoshl.c: Likewise.
58566         * math/w_acosl.c: Likewise.
58567         * math/w_asin.c: Likewise.
58568         * math/w_asinf.c: Likewise.
58569         * math/w_asinl.c: Likewise.
58570         * math/w_atanh.c: Likewise.
58571         * math/w_atanhf.c: Likewise.
58572         * math/w_atanhl.c: Likewise.
58573         * math/w_exp2.c: Likewise.
58574         * math/w_exp2f.c: Likewise.
58575         * math/w_exp2l.c: Likewise.
58576         * math/w_j0.c: Likewise.
58577         * math/w_j0f.c: Likewise.
58578         * math/w_j0l.c: Likewise.
58579         * math/w_j1.c: Likewise.
58580         * math/w_j1f.c: Likewise.
58581         * math/w_j1l.c: Likewise.
58582         * math/w_jn.c: Likewise.
58583         * math/w_jnf.c: Likewise.
58584         * math/w_log.c: Likewise.
58585         * math/w_log10.c: Likewise.
58586         * math/w_log10f.c: Likewise.
58587         * math/w_log10l.c: Likewise.
58588         * math/w_log2.c: Likewise.
58589         * math/w_log2f.c: Likewise.
58590         * math/w_log2l.c: Likewise.
58591         * math/w_logf.c: Likewise.
58592         * math/w_logl.c: Likewise.
58593         * math/w_sqrt.c: Likewise.
58594         * math/w_sqrtf.c: Likewise.
58595         * math/w_sqrtl.c: Likewise.
58596         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
58597         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
58598         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
58599         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
58600         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
58602 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
58604         [BZ #9739]
58605         * manual/string.texi (strnlen): Use correct parameter name in
58606         equivalent expression.
58608 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
58610         [BZ #11174]
58611         * manual/users.texi (seteuid): Consistently use neweuid for
58612         argument name.
58614 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
58616         [BZ #13704]
58617         * manual/nss.texi (Services in the NSS configuration): Correct
58618         list of services in example configuration file.
58620 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
58622         [BZ #11322]
58623         * manual/arith.texi: Remove statements about negative zero
58624         behaving identically to zero.
58626 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
58628         [BZ #5993]
58629         * manual/install.texi: Do not document upgrading from libc5.
58631 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
58633         [BZ #4596]
58634         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
58636 2012-02-18  David S. Miller  <davem@davemloft.net>
58638         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
58639         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
58640         %o7 across the call.
58641         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
58642         instead.
58643         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
58644         SETUP_PIC_REG_LEAF.
58645         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
58646         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
58647         * sysdeps/sparc/crtn.S: Likewise.
58649 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
58651         * aout/Makefile: Remove.
58653 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
58655         [BZ #13058]
58656         * manual/examples/argp-ex1.c (main): Format definition in GNU
58657         style.
58658         * manual/examples/argp-ex2.c (main): Likewise.
58659         * manual/examples/argp-ex3.c (main): Likewise.
58660         * manual/examples/argp-ex4.c (main): Likewise.
58661         * manual/examples/longopt.c (main): Use new-style prototype
58662         definition.
58663         * manual/examples/strncat.c (main): Specify return type and use
58664         (void) for arguments.
58665         * manual/examples/subopt.c (main): Use char **argv argument.
58667 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
58669         [BZ #5077]
58670         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
58671         rounding modes.
58673 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
58675         [BZ #6907]
58676         * manual/string.texi (strchr): Change when strchrnul is
58677         recommended.
58679 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
58681         [BZ #174]
58682         * manual/locale.texi (setlocale): Document LOCPATH.
58684 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
58686         [BZ #10210]
58687         * manual/process.texi (execle): Move @dots{} before last argument.
58689 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
58691         [BZ #12047]
58692         * manual/charset.texi (Generic Charset Conversion): Fix typo
58693         (LC_TYPE -> LC_CTYPE).
58695 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
58697         [BZ #5805]
58698         * manual/arith.texi (scalbn): Use @var{} on parameter names.
58699         (scalbnf): Likewise.
58700         (scalbnl): Likewise.
58701         (scalbln): Likewise.
58702         (scalblnf): Likewise.
58703         (scalblnl): Likewise.
58704         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
58705         (vwarnx): Likewise.
58706         (verr): Likewise.
58707         (verrx): Likewise.
58708         * manual/filesys.texi (telldir): Use braces around return type.
58709         * manual/llio.texi (mmap): Add space after comma.
58710         (mmap64): Likewise.
58711         * manual/math.texi (jn): Use @var{} on parameter names.
58712         (jnf): Likewise.
58713         (jnl): Likewise.
58714         (yn): Likewise.
58715         (ynf): Likewise.
58716         (ynl): Likewise.
58717         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
58718         line.
58719         * manual/resource.texi (ulimit): Use @dots{} instead of literal
58720         "...".
58721         (sched_get_priority_min): Remove semicolon on @deftypefun line.
58722         (sched_get_priority_max): Likewise.
58723         * manual/signal.texi (sigvec): Add space after comma.
58724         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
58725         names.
58726         (if_indextoname): Likewise.
58727         (if_freenameindex): Likewise.
58728         (sendto): Use ',' instead of '.' in prototype.
58729         * manual/startup.texi (syscall): Use @dots{} instead of literal
58730         "...".
58731         * manual/stdio.texi (__fpending): Separate initial words of
58732         paragraph from @deftypefun line.
58733         * manual/syslog.texi (syslog): Use @dots{} instead of literal
58734         "...".
58735         (vsyslog): Use @var{} on parameter names.
58736         * manual/terminal.texi (stty): Use @var{} on parameter names.
58737         * manual/users.texi (getutmp): Use @var{} on parameter names.
58738         (getutmpx): Likewise.
58740 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
58742         [BZ #6884]
58743         * manual/stdio.texi (fopen): Fix typos in description of
58744         ",ccs=STRING".
58746 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
58748         [BZ #4026]
58749         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
58750         get clock_id definition.
58752 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
58754         [BZ #4822]
58755         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
58756         (madvise): Cast every argument to void on its own.
58758 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
58760         [BZ #9902]
58761         * manual/startup.texi (Exit Status): Fix typo.
58763 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
58765         [BZ #10140]
58766         * manual/examples/argp-ex1.c: Include <stdlib.h>.
58767         * manual/examples/argp-ex2.c: Likewise.
58768         * manual/examples/argp-ex3.c: Likewise.
58770 2012-02-16  Richard Henderson  <rth@redhat.com>
58772         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
58773         * sysdeps/s390/s390-32/initfini.c: Remove.
58774         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
58775         * sysdeps/s390/s390-64/initfini.c: Remove.
58777 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
58779         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
58780         compiler output for sysdeps/generic/initfini.c.
58781         * sysdeps/sh/elf/initfini.c: Remove file.
58783 2012-02-16  David S. Miller  <davem@davemloft.net>
58785         [BZ #11494]
58786         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
58788         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
58789         * sysdeps/sparc/crti.S: New file.
58790         * sysdeps/sparc/crtn.S: New file.
58791         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
58792         * sysdeps/sparc/sparc64/Makefile: Likewise.
58794 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
58796         [BZ #3335]
58797         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
58799 2012-02-15  Roland McGrath  <roland@hack.frob.com>
58801         [BZ #4822]
58802         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
58804         * mach/devstream.c (cookie_io_functions_t): Macro removed.
58805         (write, read, close): Likewise.
58806         Patch by Aurelien Jarno <aurelien@aurel32.net>.
58808 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
58810         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
58811         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
58812         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
58813         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
58814         <bits/signalfd.h>.
58815         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
58816         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58817         bits/signalfd.h.
58819 2012-02-14  Marek Polacek  <polacek@redhat.com>
58821         * sysdeps/x86_64/crti.S: New file.
58822         * sysdeps/x86_64/crtn.S: New file.
58823         * sysdeps/x86_64/elf/initfini.c: Remove file.
58825 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
58827         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
58828         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
58829         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
58830         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
58831         <bits/inotify.h>.
58832         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
58833         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58834         bits/inotify.h.
58836 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
58838         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
58839         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
58840         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
58841         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
58842         <bits/eventfd.h>.
58843         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
58844         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58845         bits/eventfd.h.
58847 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
58849         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
58850         __feraiseexcept instead of feraiseexcept.
58852         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
58853         nanosleep invocations.
58854         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
58855         strings, and add error checking for a nanosleep invocations.
58857 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
58859         Replace FSF snail mail address with URLs, as per GNU coding standards.
58860         Most of the snail mail addresses were wrong anyway, and omitting
58861         them makes the source code easier to maintain.  Almost all of the
58862         changes are to license notices and to locale LC_IDENTIFICATION
58863         addresses, except for this one:
58864         * manual/libc.texinfo: In "Published by", give the FSF's URL,
58865         not its snail mail address.
58867 2012-02-09  Richard Henderson  <rth@twiddle.net>
58869         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
58870         of kernel-features.h.
58872         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
58874 2012-02-08  Marek Polacek  <polacek@redhat.com>
58876         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
58877         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
58878         * sysdeps/gnu/_G_config.h: Likewise.
58879         * sysdeps/generic/_G_config.h: Likewise.
58881 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
58883         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
58884         tests.
58885         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58887         * sysdeps/powerpc/powerpc32/crti.S: New file.
58888         * sysdeps/powerpc/powerpc32/crtn.S: New file.
58889         * sysdeps/powerpc/powerpc64/crti.S: New file.
58890         * sysdeps/powerpc/powerpc64/crtn.S: New file.
58892         * Makeconfig (have-initfini): Don't set.
58893         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
58894         * configure.in (nopic_initfini): Don't substitute.
58895         * config.h.in (HAVE_INITFINI): Don't #undef.
58896         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
58897         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
58899 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
58901         Support crti.S and crtn.S provided directly by architectures.
58902         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
58903         [crti.S in sysdirs] (omit-deps): Likewise.
58904         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
58905         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
58906         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
58907         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
58908         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
58909         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
58910         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
58911         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
58912         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
58913         compiler output for sysdeps/generic/initfini.c.
58914         * sysdeps/i386/elf/Makefile: Remove file.
58915         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
58917 2012-02-07  Marek Polacek  <polacek@redhat.com>
58919         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
58920         * sysdeps/gnu/_G_config.h: Likewise.
58921         * sysdeps/mach/hurd/_G_config.h: Likewise.
58923 2012-02-07  Marek Polacek  <polacek@redhat.com>
58925         * math/Makefile (tests): Add tst-CMPLX2.
58926         * math/tst-CMPLX2.c: New file.
58928 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
58930         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
58932         * math/libm-test.inc (jn_test): Add missing L suffix.
58934 2012-02-06  Marek Polacek  <polacek@redhat.com>
58936         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
58937         * sysdeps/i386/fpu/e_powf.S: Likewise.
58938         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
58939         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
58940         * sysdeps/i386/fpu/e_acosh.S: Likewise.
58941         * sysdeps/i386/fpu/e_pow.S: Likewise.
58942         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
58943         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
58944         * sysdeps/i386/fpu/s_expm1.S: Likewise.
58945         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
58946         * sysdeps/i386/fpu/e_log2.S: Likewise.
58947         * sysdeps/i386/fpu/e_log2l.S: Likewise.
58948         * sysdeps/i386/fpu/e_scalb.S: Likewise.
58949         * sysdeps/i386/fpu/e_powl.S: Likewise.
58950         * sysdeps/i386/fpu/s_log1p.S: Likewise.
58951         * sysdeps/i386/fpu/e_log10f.S: Likewise.
58952         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
58953         * sysdeps/i386/fpu/e_logl.S: Likewise.
58954         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
58955         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
58956         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
58957         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
58958         * sysdeps/i386/fpu/e_log2f.S: Likewise.
58959         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
58960         * sysdeps/i386/fpu/e_log.S: Likewise.
58961         * sysdeps/i386/fpu/s_cexp.S: Likewise.
58962         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
58963         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
58964         * sysdeps/i386/fpu/e_logf.S: Likewise.
58965         * sysdeps/i386/fpu/e_log10l.S: Likewise.
58966         * sysdeps/i386/fpu/e_atanh.S: Likewise.
58967         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
58968         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
58969         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
58970         * sysdeps/i386/fpu/e_log10.S: Likewise.
58971         * sysdeps/i386/fpu/s_frexp.S: Likewise.
58972         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
58973         * sysdeps/i386/fpu/s_asinh.S: Likewise.
58974         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
58975         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
58976         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
58977         * sysdeps/i386/asm-syntax.h: Likewise.
58978         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
58979         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
58980         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
58981         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
58982         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
58983         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
58984         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
58985         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
58986         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
58987         * sysdeps/powerpc/sysdep.h: Likewise.
58988         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
58989         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
58991 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
58993         [BZ #411]
58994         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
58996 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
58998         * sysdeps/i386/sysdep.h: Include <features.h>.
58999         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
59000         version.
59002 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
59004         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
59005         Define.
59006         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
59007         LOAD_PIC_REG_STR.
59009 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
59011         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
59012         (SETUP_PIC_REG): Use GET_PC_THUNK.
59013         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
59014         macro.
59016 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
59018         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
59019         for non-PIC compilation.
59020         (SETUP_PIC_REG): Add .p2align directive.
59021         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
59022         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
59023         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
59024         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
59025         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
59026         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
59027         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
59028         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
59029         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
59030         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
59031         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
59032         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
59033         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
59034         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
59035         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
59036         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
59037         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
59038         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
59039         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
59040         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
59041         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
59042         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
59043         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
59044         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
59045         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
59046         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
59047         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
59048         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
59049         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
59050         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
59051         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
59052         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
59053         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
59054         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
59055         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
59056         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
59057         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
59058         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
59059         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
59060         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
59061         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
59063 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
59065         * math/tst-CMPLX.c: Include <stdio.h>.
59067 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
59069         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
59070         float.
59071         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
59072         * sysdeps/sparc/bits/mathdef.h: Likewise.
59074 2012-01-31  Marek Polacek  <polacek@redhat.com>
59076         * libio/libio.h: Don't define _PARAMS.
59077         * locale/programs/config.h: Don't define PARAMS.
59078         * stdlib/strtol_l.c: Likewise.
59079         (__strtol_l): Remove PARAMS from the prototype.
59081 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
59083         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
59084         names.  Just use the correct names.  Remove unnecessary wrapper
59085         functions.
59086         * malloc/arena.c: Likewise.
59087         * malloc/hooks.c: Likewise.
59089         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
59090         ARENA_TEST says not to.  Simplify test for creation of a new arena.
59091         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
59093 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
59095         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
59096         into tail calls.
59097         (update_get_addr): New function.
59098         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
59099         GET_ADDR_MODULE parameter.
59101 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
59103         * crypt/cert.c: Remove __STDC__ conditionals.
59104         * crypt/crypt-entry.c: Likewise.
59105         * crypt/crypt_util.c: Likewise.
59106         * libio/filedoalloc.c: Likewise.
59107         * libio/fileops.c: Likewise.
59108         * libio/genops.c: Likewise.
59109         * libio/iofclose.c: Likewise.
59110         * libio/iofdopen.c: Likewise.
59111         * libio/iofopen.c: Likewise.
59112         * libio/iofopen64.c: Likewise.
59113         * libio/iogetdelim.c: Likewise.
59114         * libio/iopopen.c: Likewise.
59115         * libio/obprintf.c: Likewise.
59116         * libio/oldfileops.c: Likewise.
59117         * libio/oldiofclose.c: Likewise.
59118         * libio/oldiofdopen.c: Likewise.
59119         * libio/oldiofopen.c: Likewise.
59120         * libio/oldiopopen.c: Likewise.
59121         * libio/wfiledoalloc.c: Likewise.
59122         * libio/wgenops.c: Likewise.
59123         * locale/programs/xmalloc.c: Likewise.
59124         * misc/syslog.c: Likewise.
59125         * stdio-common/xbug.c: Likewise.
59126         * string/memchr.c: Likewise.
59127         * string/memcmp.c: Likewise.
59128         * string/memrchr.c: Likewise.
59129         * string/rawmemchr.c: Likewise.
59130         * sysdeps/posix/getcwd.c: Likewise.
59131         * time/strftime_l.c: Likewise.
59133 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
59135         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
59136         * config.make.in (config-cflags-sse2avx): Define.
59137         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
59138         Fix typo.
59140 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
59142         * scripts/config.guess: Update from upstream config git repository.
59143         * scripts/config.sub: Likewise.
59145 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
59147         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
59148         (EM_NUM): Update.
59149         (R_TILEPRO_*, R_TILEGX_*): New macros.
59151         * scripts/firstversions.awk: Fix bug in version range handling.
59153         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
59155         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
59157         * include/sys/epoll.h: New file.
59158         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
59159         libc_hidden_def.
59161 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
59163         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
59164         Avoid unnecessary __WORDSIZE == 64 test.
59165         (fmaxf): Use VEX format if possible.
59166         (fmax): Likewise.
59167         (fminf): Likewise.
59168         (fmin): Likewise.
59170         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
59171         * math/math_private.h: Remove libc_fegetround* and
59172         libc_fesetround*.
59173         * sysdeps/i386/configure.in: Check for -msse2avx.
59174         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
59175         also if SSE2AVX is defined.
59176         Remove libc_fegetround* and libc_fesetround*.
59177         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
59178         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
59179         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
59180         of HAS_YMM_USABLE.
59181         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
59182         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
59183         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
59184         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
59185         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
59187         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
59189 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59191         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
59192         size is not set.
59193         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
59195 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
59197         [BZ #13618]
59198         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
59199         relocation.
59200         * Makeconfig (libm): Define.
59201         * elf/Makefile: Add rules to build and run tst-relsort1.
59202         * elf/tst-relsort1.c: New file.
59203         * elf/tst-relsort1mod1.c: New file.
59204         * elf/tst-relsort1mod2.c: New file.
59206 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
59208         * math/s_ldexp.c: Remove __STDC__ conditionals.
59209         * math/s_ldexpf.c: Likewise.
59210         * math/s_ldexpl.c: Likewise.
59211         * math/s_nextafter.c: Likewise.
59212         * math/s_nexttowardf.c: Likewise.
59213         * math/s_significand.c: Likewise.
59214         * math/s_significandf.c: Likewise.
59215         * math/s_significandl.c: Likewise.
59216         * math/w_jnl.c: Likewise.
59217         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
59218         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
59219         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
59220         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
59221         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
59222         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
59223         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
59224         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
59225         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
59226         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
59227         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
59228         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
59229         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
59230         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
59231         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
59232         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
59233         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
59234         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
59235         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
59236         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
59237         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
59238         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
59239         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
59240         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
59241         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
59242         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
59243         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
59244         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
59245         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
59246         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
59247         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
59248         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
59249         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
59250         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
59251         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
59252         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
59253         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
59254         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
59255         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
59256         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
59257         * sysdeps/ieee754/k_standard.c: Likewise.
59258         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
59259         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
59260         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
59261         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
59262         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
59263         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
59264         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
59265         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
59266         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
59267         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
59268         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
59269         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
59270         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
59271         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
59272         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
59273         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
59274         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
59275         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
59276         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
59277         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
59278         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
59279         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
59280         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
59281         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
59282         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
59283         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
59284         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
59285         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
59286         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
59287         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
59288         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
59289         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
59290         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
59291         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
59292         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
59293         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
59294         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
59295         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
59296         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
59297         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
59298         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
59299         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
59300         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
59301         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
59302         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
59303         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
59304         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
59305         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
59306         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
59307         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
59308         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
59309         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
59310         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
59311         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
59312         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
59313         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
59314         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
59315         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
59316         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
59317         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
59318         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
59319         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
59320         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
59321         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
59322         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
59323         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
59324         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
59325         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
59326         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
59327         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
59328         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
59329         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
59330         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
59331         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
59332         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
59333         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
59334         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
59335         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
59336         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
59337         * sysdeps/ieee754/s_matherr.c: Likewise.
59338         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
59339         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
59340         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
59341         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
59343 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
59345         * crypt/md5.h: Remove __STDC__ conditionals.
59346         * libio/libioP.h: Likewise.
59347         * locale/programs/config.h: Likewise.
59348         * sysdeps/generic/sysdep.h: Likewise.
59349         * sysdeps/i386/asm-syntax.h: Likewise.
59350         * sysdeps/s390/asm-syntax.h: Likewise.
59351         * sysdeps/unix/sysdep.h: Likewise.
59352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
59353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
59355 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
59357         * libio/libio.h: Remove __STDC__ conditionals.
59358         * malloc/obstack.h: Likewise.
59359         * math/complex.h: Likewise.
59360         * math/math.h: Likewise.
59361         * sysdeps/generic/_G_config.h: Likewise.
59362         * sysdeps/gnu/_G_config.h: Likewise.
59363         * sysdeps/mach/hurd/_G_config.h: Likewise.
59364         * sysdeps/powerpc/bits/mathdef.h: Likewise.
59365         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
59366         * sysdeps/sparc/bits/mathdef.h: Likewise.
59368 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
59370         [BZ #13583]
59371         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
59372         Clean up HAS_* macros.
59373         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
59374         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
59375         possible.
59376         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
59377         HAS_AVX.
59378         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
59379         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
59380         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
59381         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
59382         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
59384 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
59386         * elf/tst-unique3.cc (gets): Remove declaration.
59387         * elf/tst-unique3lib.cc (gets): Likewise.
59388         * elf/tst-unique3lib2.cc (gets): Likewise.
59389         * elf/tst-unique4.cc (gets): Likewise.
59391 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
59393         * include/stdio.h: Add C++ protection.  Add gets declarations and
59394         definitions.
59395         * debug/tst-chk1.c: Don't declare gets here.
59396         * stdio-common/tst-gets.c: Likewise.
59398 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
59400         * posix/glob: Remove directory.
59402 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
59404         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
59406 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
59408         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
59409         of the non-standard EPFNOSUPPORT.
59411 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59413         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
59414         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
59415         ANYWHERE set to 1 only on KERN_NO_SPACE error.
59417 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
59419         * wcsmbs/uchar.h: Test __STDC_VERSION__.
59421 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
59423         * nscd/aicache.c (addhstaiX): Do not cache negative results of
59424         transient errors.
59425         * nscd/grpcache.c (cache_addgr): Likewise.
59426         * nscd/hstcache.c (cache_addhst): Likewise.
59427         * nscd/initgrcache.c (addinitgroupsX): Likewise.
59428         * nscd/pwdcache.c (cache_addpw): Likewise.
59429         * nscd/servicescache.c (cache_addserv): Likewise.
59431 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
59433         * malloc/malloc.c: Various cleanups.
59434         * malloc/hooks.c: Likewise.
59436         * stdlib/Makefile (tests): Add bug-fmtmsg1.
59437         * stdlib/bug-fmtmsg1.c: New file.
59439         * stdlib/fmtmsg.c (init): Add missing unlock.
59440         Patch by Peng Haitao <penght@cn.fujitsu.com>.
59442 2012-01-12  Marek Polacek  <polacek@redhat.com>
59444         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
59445         and _GNU_SOURCE.
59447 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
59449         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
59450         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
59451         macro to ensure uniqueness of label name.
59452         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
59453         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
59455 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
59457         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
59459         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
59460         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
59461         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
59462         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
59464 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
59466         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
59468         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
59469         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
59470         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
59472         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
59474         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
59475         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
59476         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
59477         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
59479         * math/bits/math-finite.h: Add ldexp support.
59481 2012-01-10  Marek Polacek  <polacek@redhat.com>
59483         * locale/programs/localedef.h (show_archive_content): Add noreturn
59484         attribute.
59486 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
59488         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
59490 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
59492         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
59494         * io/Makefile (headers): Add bits/poll2.h.
59496 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
59498         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
59499         typo #include statement.
59501 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
59503         * include/sys/cdefs.h: Define __attribute_alloc_size.
59504         * catgets/gencat.c: Add alloc_size attribute and apply consistently
59505         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
59506         * elf/pldd.c: Likewise.
59507         * iconv/iconv_charmap.c: Likewise.
59508         * iconv/iconvconfig.c: Likewise.
59509         * iconv/strtab.c: Likewise.
59510         * locale/programs/locale.c: Likewise.
59511         * locale/programs/localedef.h: Likewise.
59512         * locale/programs/simple-hash.c: Likewise.
59513         * nscd/nscd.h: Likewise.
59514         * nss/makedb.c: Likewise.
59515         * sysdeps/generic/ldconfig.h: Likewise.
59516         * locale/programs/localedef.c: Remove xmalloc prototype.
59517         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
59519 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
59521         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
59522         appropriate.
59524 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
59526         * math/Makefile (tests): Add tst-CMPLX.
59527         * math/tst-CMPLX.c: New file.
59529         * math/complex.h (CMPLXL): Fix typo.
59531         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
59532         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
59533         GLIBC_2.16.
59534         * debug/tst-chk1.c: Add poll and ppoll tests.
59535         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
59536         * include/sys/poll.h: Add hidden proto for ppoll.
59537         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
59538         * sysdeps/mach/hurd/ppoll.c: Likewise.
59539         * io/ppoll.c: Likewise.
59540         * debug/poll_chk.c: New file.
59541         * debug/ppoll_chk.c: New file.
59542         * include/bits/poll2.h: New file.
59543         * io/bits/poll2.h: New file.
59545         [BZ #1350]
59546         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
59548         * configure.in: static is always set to yes.  Remove.
59549         * config.make.in: Don't set build-static.
59550         * Makeconfig: Remove use of build-static.
59551         * dlfcn/Makefile: Likewise.
59552         * elf/Makefile: Likewise.
59553         * math/Makefile: Likewise.
59554         * misc/Makefile: Likewise.
59555         * nptl/Makefile: Likewise.
59556         * sysdeps/mach/hurd/Makefile: Likewise.
59558         * configure.in: PWD_P is not used anymore.
59559         * config.make.in: Remove PWD_P entry.
59561         * configure.in: Remove last remnants of RANLIB.
59562         No need to check for signed size_t anymore.
59563         Don't set libc_commonpagesize and libc_relro_required here for Alpha
59564         and IA-64.
59565         Remove __builtin_expect test because we require at least gcc 3.4.
59566         * aclocal.m4: Likewise.
59568         * wcsmbs/mbrtoc16.c: Implement using towc function.
59569         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
59570         * wcsmbs/wcsmbsload.c: Likewise.
59571         * iconv/gconv_simple.c: Likewise.
59572         * iconv/gconv_int.h: Likewise.
59573         * iconv/gconv_builtin.h: Likewise.
59574         * iconv/iconv_prog.c: Remove CHAR16 handling.
59576         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
59578         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
59580         * configure.in: Remove --with-elf and --enable-bounded options.
59581         Dont set base_machine for ia64.  More non-ELF conditions removed.
59582         Remove testing and setting of leading underscore information.
59583         * config.make.in (build-bounded): Set to no.
59584         * config.h.in: Remove NO_UNDERSCORES entry.
59585         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
59586         them.
59587         * csu/start.c: Remove !NO_UNDERSCORE code.
59588         * locale/localeinfo.h: Likewise.
59589         * sysdeps/generic/machine-gmon.h: Likewise.
59590         * sysdeps/generic/sysdep.h: Likewise.
59591         * sysdeps/i386/sysdep.h: Likewise.
59592         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
59593         * sysdeps/mach/sysdep.h: Likewise.
59594         * sysdeps/s390/s390-32/sysdep.h: Likewise.
59595         * sysdeps/s390/s390-64/sysdep.h: Likewise.
59596         * sysdeps/sh/sysdep.h: Likewise.
59597         * sysdeps/sparc/sparc32/alloca.S: Likewise.
59598         * sysdeps/unix/i386/sysdep.S: Likewise.
59599         * sysdeps/unix/sparc/start.c: Likewise.
59600         * sysdeps/unix/sparc/sysdep.S: Likewise.
59601         * sysdeps/unix/sparc/sysdep.h: Likewise.
59602         * sysdeps/unix/start.c: Likewise.
59603         * sysdeps/unix/x86_64/sysdep.S: Likewise.
59604         * sysdeps/x86_64/sysdep.h: Likewise.
59606 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
59608         [BZ #13553]
59609         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
59610         for non-gcc.
59611         * argp/argp-fmtstream.h: Use const instead __const.
59612         * argp/argp.h: Likewise.
59613         * assert/assert.h: Likewise.
59614         * bits/fenv.h: Likewise.
59615         * bits/sched.h: Likewise.
59616         * bits/sigset.h: Likewise.
59617         * bits/sigthread.h: Likewise.
59618         * catgets/nl_types.h: Likewise.
59619         * conform/data/pthread.h-data: Likewise.
59620         * crypt/crypt-private.h: Likewise.
59621         * crypt/crypt.h: Likewise.
59622         * crypt/crypt_util.c: Likewise.
59623         * ctype/ctype.h: Likewise.
59624         * debug/execinfo.h: Likewise.
59625         * debug/mbsnrtowcs_chk.c: Likewise.
59626         * debug/mbsrtowcs_chk.c: Likewise.
59627         * debug/wcsnrtombs_chk.c: Likewise.
59628         * debug/wcsrtombs_chk.c: Likewise.
59629         * debug/wcstombs_chk.c: Likewise.
59630         * dirent/dirent.h: Likewise.
59631         * dlfcn/dlfcn.h: Likewise.
59632         * elf/neededtest4.c: Likewise.
59633         * grp/grp.h: Likewise.
59634         * gshadow/gshadow.h: Likewise.
59635         * iconv/gconv.h: Likewise.
59636         * iconv/gconv_int.h: Likewise.
59637         * iconv/gconv_simple.c: Likewise.
59638         * iconv/iconv.h: Likewise.
59639         * iconv/loop.c: Likewise.
59640         * iconv/skeleton.c: Likewise.
59641         * include/aio.h: Likewise.
59642         * include/aliases.h: Likewise.
59643         * include/argz.h: Likewise.
59644         * include/arpa/inet.h: Likewise.
59645         * include/assert.h: Likewise.
59646         * include/dirent.h: Likewise.
59647         * include/dlfcn.h: Likewise.
59648         * include/execinfo.h: Likewise.
59649         * include/fcntl.h: Likewise.
59650         * include/fenv.h: Likewise.
59651         * include/glob.h: Likewise.
59652         * include/grp.h: Likewise.
59653         * include/libintl.h: Likewise.
59654         * include/mntent.h: Likewise.
59655         * include/netdb.h: Likewise.
59656         * include/pwd.h: Likewise.
59657         * include/rpc/netdb.h: Likewise.
59658         * include/sched.h: Likewise.
59659         * include/search.h: Likewise.
59660         * include/shadow.h: Likewise.
59661         * include/signal.h: Likewise.
59662         * include/stdio.h: Likewise.
59663         * include/stdlib.h: Likewise.
59664         * include/string.h: Likewise.
59665         * include/sys/socket.h: Likewise.
59666         * include/sys/stat.h: Likewise.
59667         * include/sys/statfs.h: Likewise.
59668         * include/sys/statvfs.h: Likewise.
59669         * include/sys/syslog.h: Likewise.
59670         * include/sys/time.h: Likewise.
59671         * include/sys/uio.h: Likewise.
59672         * include/time.h: Likewise.
59673         * include/unistd.h: Likewise.
59674         * include/utmp.h: Likewise.
59675         * include/wchar.h: Likewise.
59676         * include/wctype.h: Likewise.
59677         * inet/aliases.h: Likewise.
59678         * inet/arpa/inet.h: Likewise.
59679         * inet/netinet/ether.h: Likewise.
59680         * inet/netinet/in.h: Likewise.
59681         * intl/libintl.h: Likewise.
59682         * io/bits/fcntl2.h: Likewise.
59683         * io/fcntl.h: Likewise.
59684         * io/ftw.h: Likewise.
59685         * io/sys/poll.h: Likewise.
59686         * io/sys/stat.h: Likewise.
59687         * io/sys/statfs.h: Likewise.
59688         * io/sys/statvfs.h: Likewise.
59689         * io/utime.h: Likewise.
59690         * libio/bits/stdio.h: Likewise.
59691         * libio/bits/stdio2.h: Likewise.
59692         * libio/libio.h: Likewise.
59693         * libio/libioP.h: Likewise.
59694         * libio/stdio.h: Likewise.
59695         * locale/lc-ctype.c: Likewise.
59696         * locale/locale.h: Likewise.
59697         * login/utmp.h: Likewise.
59698         * malloc/arena.c: Likewise.
59699         * malloc/malloc.c: Likewise.
59700         * malloc/malloc.h: Likewise.
59701         * malloc/mcheck.c: Likewise.
59702         * malloc/mtrace.c: Likewise.
59703         * math/bits/mathcalls.h: Likewise.
59704         * math/fenv.h: Likewise.
59705         * math/math_private.h: Likewise.
59706         * misc/bits/error.h: Likewise.
59707         * misc/bits/syslog.h: Likewise.
59708         * misc/err.h: Likewise.
59709         * misc/error.h: Likewise.
59710         * misc/fstab.h: Likewise.
59711         * misc/mntent.h: Likewise.
59712         * misc/regexp.h: Likewise.
59713         * misc/search.h: Likewise.
59714         * misc/sgtty.h: Likewise.
59715         * misc/sys/mman.h: Likewise.
59716         * misc/sys/syslog.h: Likewise.
59717         * misc/sys/uio.h: Likewise.
59718         * misc/sys/xattr.h: Likewise.
59719         * misc/ttyent.h: Likewise.
59720         * nis/rpcsvc/ypclnt.h: Likewise.
59721         * nss/nss.h: Likewise.
59722         * posix/bits/unistd.h: Likewise.
59723         * posix/fnmatch.h: Likewise.
59724         * posix/glob.h: Likewise.
59725         * posix/sched.h: Likewise.
59726         * posix/spawn.h: Likewise.
59727         * posix/sys/wait.h: Likewise.
59728         * posix/unistd.h: Likewise.
59729         * posix/wordexp.h: Likewise.
59730         * pwd/pwd.h: Likewise.
59731         * resolv/netdb.h: Likewise.
59732         * resource/sys/resource.h: Likewise.
59733         * rt/aio.h: Likewise.
59734         * rt/bits/mqueue2.h: Likewise.
59735         * rt/mqueue.h: Likewise.
59736         * shadow/shadow.h: Likewise.
59737         * signal/signal.h: Likewise.
59738         * socket/send.c: Likewise.
59739         * socket/sendto.c: Likewise.
59740         * socket/sys/socket.h: Likewise.
59741         * stdio-common/printf.h: Likewise.
59742         * stdlib/bits/stdlib.h: Likewise.
59743         * stdlib/fmtmsg.h: Likewise.
59744         * stdlib/monetary.h: Likewise.
59745         * stdlib/stdlib.h: Likewise.
59746         * stdlib/ucontext.h: Likewise.
59747         * streams/stropts.h: Likewise.
59748         * string/argz.h: Likewise.
59749         * string/bits/string2.h: Likewise.
59750         * string/string.h: Likewise.
59751         * string/strings.h: Likewise.
59752         * sunrpc/rpc/auth.h: Likewise.
59753         * sunrpc/rpc/auth_des.h: Likewise.
59754         * sunrpc/rpc/clnt.h: Likewise.
59755         * sunrpc/rpc/netdb.h: Likewise.
59756         * sunrpc/rpc/pmap_clnt.h: Likewise.
59757         * sunrpc/rpc/xdr.h: Likewise.
59758         * sysdeps/generic/inttypes.h: Likewise.
59759         * sysdeps/generic/net/if.h: Likewise.
59760         * sysdeps/generic/sys/swap.h: Likewise.
59761         * sysdeps/gnu/net/if.h: Likewise.
59762         * sysdeps/gnu/utmpx.h: Likewise.
59763         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
59764         * sysdeps/i386/i486/bits/string.h: Likewise.
59765         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
59766         * sysdeps/s390/bits/string.h: Likewise.
59767         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
59768         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
59769         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
59770         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
59771         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
59772         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
59773         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
59774         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
59775         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
59776         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
59777         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
59778         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
59779         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
59780         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
59781         * sysdeps/unix/sysv/linux/readv.c: Likewise.
59782         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
59783         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
59784         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
59785         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
59786         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
59787         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
59788         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
59789         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
59790         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
59791         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
59792         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
59793         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
59794         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
59795         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
59796         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
59797         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
59798         * sysvipc/sys/ipc.h: Likewise.
59799         * sysvipc/sys/msg.h: Likewise.
59800         * sysvipc/sys/sem.h: Likewise.
59801         * sysvipc/sys/shm.h: Likewise.
59802         * termios/termios.h: Likewise.
59803         * time/sys/time.h: Likewise.
59804         * time/time.h: Likewise.
59805         * wcsmbs/bits/wchar2.h: Likewise.
59806         * wcsmbs/uchar.h: Likewise.
59807         * wcsmbs/wchar.h: Likewise.
59808         * wctype/wctype.h: Likewise.
59810         [BZ #13551]
59811         * Makeconfig: Remove all but ELF support including AIX support.
59812         * Makerules: Likewise.
59813         * config.h.in: Likewise.
59814         * config.make.in: Likewise.
59815         * configure: Likewise.
59816         * configure.in: Likewise.
59817         * csu/Makefile: Likewise.
59818         * csu/version.c: Likewise.
59819         * debug/Makefile: Likewise.
59820         * dlfcn/Makefile: Likewise.
59821         * elf/Makefile: Likewise.
59822         * extra-lib.mk: Likewise.
59823         * iconv/Makefile: Likewise.
59824         * include/libc-symbols.h: Likewise.
59825         * include/shlib-compat.h: Likewise.
59826         * resolv/Makefile: Likewise.
59827         * resolv/res_libc.c: Likewise.
59828         * rt/Makefile: Likewise.
59829         * sysdeps/i386/asm-syntax.h: Likewise.
59830         * sysdeps/i386/sysdep.h: Likewise.
59831         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
59832         * sysdeps/mach/sysdep.h: Likewise.
59833         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
59834         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
59835         * sysdeps/s390/asm-syntax.h: Likewise.
59836         * sysdeps/s390/s390-32/sysdep.h: Likewise.
59837         * sysdeps/s390/s390-64/sysdep.h: Likewise.
59838         * sysdeps/sh/sysdep.h: Likewise.
59839         * sysdeps/unix/sparc/sysdep.h: Likewise.
59840         * sysdeps/wordsize-32/divdi3.c: Likewise.
59841         * sysdeps/x86_64/sysdep.h: Likewise.
59843         * argp/Versions: Remove _argp_unlock_xxx.
59845         [BZ #13559]
59846         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
59847         * abilist/libBrokenLocale.abilist: Likewise.
59848         * abilist/libanl.abilist: Likewise.
59849         * abilist/libc.abilist: Likewise.
59850         * abilist/libcrypt.abilist: Likewise.
59851         * abilist/libdl.abilist: Likewise.
59852         * abilist/libm.abilist: Likewise.
59853         * abilist/libnsl.abilist: Likewise.
59854         * abilist/libpthread.abilist: Likewise.
59855         * abilist/libresolv.abilist: Likewise.
59856         * abilist/librt.abilist: Likewise.
59857         * abilist/libthread_db.abilist: Likewise.
59858         * abilist/libutil.abilist: Likewise.
59859         * abilist/libnss_db.abilist: New file.
59861         * scripts/abilist.awk: Add support for indirect functions.
59863         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
59865         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
59867         * shlib-versions: Remove entries for ports architectures.
59869         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
59870         files in ports.
59871         * elf/stackguard-macros.h: Remove support for IA-64.
59872         * elf/tst-auditmod1.c: Likewise.
59873         * sysdeps/generic/ldsodefs.h: Likewise.
59875         * sysdeps/unix/sysv/linux/configure.in: Ports should define
59876         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
59877         configure files.
59879         [BZ #13552]
59880         * configure.in: Remove --enable-omitfp support.
59881         * FAQ.in: Adjust.
59882         * config.make.in: Likewise.
59883         * Makeconfig: Likewise.
59884         * manual/install.texi: Likewise.
59886         In case anyone cares, the IA-64 architecture could move to ports.
59887         * sysdeps/ia64/*: Removed.
59888         * sysdeps/unix/sysv/linux/ia64/*: Removed.
59889         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
59891         [BZ #13555]
59892         * configure.in: Remove entries for unsupported architectures.
59894         [BZ #13533]
59895         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
59896         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
59897         routines.
59898         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
59899         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
59900         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
59901         fall back to using wcrtomb.
59902         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
59903         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
59904         renaming.
59905         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
59906         * wcsmbs/tst-c16c32-1.c: New file.
59908         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
59909         local variable.
59911         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
59913         * elf/tst-unique3.cc: Add explicit declaration of gets.
59914         * elf/tst-unique3lib.cc: Likewise.
59915         * elf/tst-unique3lib2.cc: Likewise.
59916         * elf/tst-unique4.cc: Likewise.
59918         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
59920 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
59922         [BZ #13566]
59923         * assert/assert.h (static_assert): Don't define for C++.
59924         * libio/stdio.h (gets): Do declare for C++ <= C++11.
59925         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
59927 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
59929         * iconv/loop.c (single loop): Fix assertion in storing of
59930         remaining bytes.
59932         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
59934 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
59936         * posix/getconf.c: Update copyright year.
59937         * nss/getent.c: Likewise.
59938         * nss/makedb.c: Likewise.
59939         * iconv/iconvconfig.c: Likewise.
59940         * iconv/iconv_prog.c: Likewise.
59941         * elf/ldconfig.c: Likewise.
59942         * elf/pldd.c: Likewise.
59943         * elf/sotruss.ksh: Likewise.
59944         * catgets/gencat.c: Likewise.
59945         * csu/version.c: Likewise.
59946         * elf/ldd.bash.in: Likewise.
59947         * elf/sprof.c (print_version): Likewise.
59948         * locale/programs/locale.c: Likewise.
59949         * locale/programs/localedef.c: Likewise.
59950         * login/programs/pt_chown.c: Likewise.
59951         * nscd/nscd.c (print_version): Likewise.
59952         * debug/xtrace.sh: Likewise.
59953         * malloc/memusage.sh: Likewise.
59954         * malloc/mtrace.pl: Likewise.
59955         * debug/catchsegv.sh: Likewise.
59957 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
59959         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
59960         pure attribute.
59962 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
59964         [BZ #13533]
59965         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
59966         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
59967         transformations.
59968         * iconv/gconv_int.h: Likewise.
59969         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
59970         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
59971         from libc for GLIBC_2.16.
59972         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
59973         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
59974         * wcsmbs/uchar.h: Really define mbstate_t.
59975         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
59976         * wcsmbs/c16rtomb.c: New file.
59977         * wcsmbs/mbrtoc16.c: New file.
59978         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
59979         for C/POSIX locale.
59980         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
59981         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
59983         * wcsmbs/wchar.h: Add missing __restrict.
59985 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
59987         [BZ #13532]
59988         * time/Makefile (routines): Add timespec_get.
59989         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
59990         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
59991         timespec for ISO C11.
59992         * time/timespec_get.c: New file.
59993         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
59994         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
59996         [BZ #13531]
59997         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
59998         * stdlib/stdlib.h: Declare aligned_alloc.
59999         * Versions.def: Add GLIBC_2.16 for libc.
60000         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
60002         [BZ 13527]
60003         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
60004         ISO C11.
60006         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
60007         code.
60009         [BZ #13528]
60010         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
60012         [BZ #13529]
60013         * assert/assert.h (static_assert): Define.
60015         * version.h: Update for 2.16 development version.
60017         [BZ #13526]
60018         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
60019         _ISOC11_SOURCE.
60021         * version.h (RELEASE): Bump for 2.15 release.
60022         * include/features.h (__GLIBC_MINOR__): Bump to 15.
60024         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
60025         Patch by Marek Polacek <mpolacek@redhat.com>.
60027         * bits/byteswap.h: Protect long long constants with __extension__.
60028         * sysdeps/i386/bits/byteswap.h: Likewise.
60029         * sysdeps/ia64/bits/byteswap.h: Likewise.
60030         * sysdeps/s390/bits/byteswap.h: Likewise.
60031         * sysdeps/x86_64/bits/byteswap.h: Likewise.
60033 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60035         [BZ #13540]
60036         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
60037         destination buffer.
60038         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
60040 2011-12-23  Marek Polacek  <polacek@redhat.com>
60042         * elf/dl-addr.c (determine_info): Add inline keyword.
60043         * elf/tst-auditmod4b.c (check_avx): Likewise.
60044         * elf/tst-auditmod6b.c (check_avx): Likewise.
60045         * elf/tst-auditmod6c.c (check_avx): Likewise.
60046         * elf/tst-auditmod7b.c (check_avx): Likewise.
60048 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
60050         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
60051         !__SSE_MATH__.
60053 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60055         [BZ #13540]
60056         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
60057         processing for last bytes.
60059 2011-08-06  Bruno Haible  <bruno@clisp.org>
60061         [BZ #13061]
60062         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
60063         U+0385, not to U+1FEE.
60065         [BZ #13062]
60066         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
60067         entry for U+00A5 U+0301.
60069 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
60071         [BZ #13166]
60072         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
60073         buffer for the output is too small.
60075         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
60076         optimization.
60078         [BZ #13185]
60079         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
60080         SSE flags if possible.
60082 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60084         [BZ #13540]
60085         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
60086         processing for last bytes.
60088 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
60090         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
60091         (syscall-list-default-options, syscall-list-default-condition)
60092         (syscall-list-includes): Define.
60093         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
60094         list of ABIs and options and #if conditions for each ABI.  Do not
60095         handle common syscalls between ABIs specially.
60096         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
60097         Remove.
60098         (syscall-list-variants, syscall-list-32bit-options)
60099         (syscall-list-32bit-condition, syscall-list-64bit-options)
60100         (syscall-list-64bit-condition): Define.
60101         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
60102         (syscall-list-variants, syscall-list-32bit-options)
60103         (syscall-list-32bit-condition, syscall-list-64bit-options)
60104         (syscall-list-64bit-condition): Define.
60105         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
60106         Remove.
60107         (syscall-list-variants, syscall-list-32bit-options)
60108         (syscall-list-32bit-condition, syscall-list-64bit-options)
60109         (syscall-list-64bit-condition): Define.
60110         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
60111         Remove.
60112         (syscall-list-variants, syscall-list-32bit-options)
60113         (syscall-list-32bit-condition, syscall-list-64bit-options)
60114         (syscall-list-64bit-condition): Define.
60116 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
60118         * locale/iso-639.def: Add brx entry.
60120         [BZ #13328]
60121         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
60122         Proposed by Mariusz_Cukr <marcukr@op.pl>.
60124         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
60125         __feraiseexcept_renamed.
60127 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
60129         [BZ #13538]
60130         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
60131         EPOLLET with unsigned values.
60132         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
60133         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
60135         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
60136         to large cancellation.
60137         * math/s_cacoshf.c: Likewise.
60138         * math/s_cacoshl.c: Likewise.
60140 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
60142         [BZ #13305]
60143         [BZ #12786]
60144         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
60145         * math/s_cacoshf.c: Likewise.
60146         * math/s_cacoshl.c: Likewise.
60148 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
60150         [BZ #13439]
60151         * iconv/gconv.h: Define __GCONV_SWAP.
60152         * iconvdata/unicode.c: The swap bit must be stored in __flags.
60153         * iconvdata/utf-16.c: Likewise.
60154         * iconvdata/utf-32.c: Likewise.
60156 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
60158         [BZ #13524]
60159         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
60160         numerator after shifting it by one limb.
60162 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
60164         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
60165         under [__USE_EXTERN_INLINES].
60167 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
60169         [BZ #13446]
60170         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
60172 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60174         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
60175         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
60176         optimized code.
60177         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
60178         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
60179         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
60180         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
60181         for strncasecmp/strncasecmp_l compilation.
60182         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
60183         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
60185 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
60187         [BZ #13484]
60188         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
60189         of __asm__.
60191 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
60193         [BZ #13506]
60194         * time/tzfile.c (__tzfile_read): Check values from file header.
60196 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
60198         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
60199         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
60200         * powerpc/powerpc32/dl-start.S: Likewise.
60201         * powerpc/powerpc32/elf/start.S: Likewise.
60202         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
60203         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
60204         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
60205         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
60206         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
60207         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
60208         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
60209         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
60210         * powerpc/powerpc32/fpu/s_round.S: Likewise.
60211         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
60212         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
60213         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
60214         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
60215         * powerpc/powerpc32/memset.S: Likewise.
60216         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
60217         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
60218         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
60219         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
60220         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
60221         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
60222         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
60223         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
60224         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
60225         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
60226         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
60227         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
60228         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
60230 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60232         * math/libm-test.inc: Added more nearbyint tests.
60233         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
60234         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
60235         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
60236         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
60238 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
60240         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
60241         FD_CLOEXEC.
60243 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60245         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
60246         Add wcscpy-ssse3 wcscpy-c.
60247         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
60248         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
60249         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
60250         * sysdeps/x86_64/wcschr.S: New file.
60251         * sysdeps/x86_64/wcsrchr.S: New file.
60252         * string/test-strcmp.c: Remove checking of wcscmp function for
60253         wrong alignments.
60254         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
60255         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
60256         wcsrchr-sse2 wcsrchr-c.
60257         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
60258         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
60259         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
60260         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
60261         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
60262         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
60263         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
60264         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
60265         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
60266         * wcsmbc/wcschr.c (WCSCHR): New macro.
60268 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60270         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
60271         * wcsmbs/test-wcsrchr.c: New file.
60272         * string/test-strrchr.c: Add wcsrchr support.
60273         (WIDE): New macro.
60274         * wcsmbs/test-wcscpy.c: New file.
60275         * string/test-strcpy.c: Add wcscpy support.
60276         (WIDE): New macro.
60278 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
60280         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
60281         the inner loop.
60283 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
60285         [BZ #13472]
60286         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
60288 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
60290         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
60291         Minor optimizations.
60293         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
60294         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
60295         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
60297 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
60299         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
60300         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
60301         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
60302         for gcc to avoid warnings.
60303         * inet/Makefile (tests): Add tst-checks.
60304         * inet/tst-checks.c: New file.
60306         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
60307         warning.
60309         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
60310         __wmemcmp_sse2.
60312         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
60313         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
60315         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
60317 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
60319         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
60320         problem.
60322         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
60324 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
60326         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
60327         conditional on GCC version.
60328         (__arch_compare_and_exchange_val_8_acq)
60329         (__arch_compare_and_exchange_val_16_acq)
60330         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
60331         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
60332         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
60334 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
60336         * sysdeps/sh/backtrace.c: New file.
60338 2011-12-02  Andreas Schwab  <schwab@redhat.com>
60340         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
60341         parenthesis.
60343 2011-12-01  Andreas Schwab  <schwab@redhat.com>
60345         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
60346         falling back to utime.
60348 2011-11-30  Andreas Schwab  <schwab@redhat.com>
60350         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
60351         expectations for float.
60353 2011-11-29  Andreas Schwab  <schwab@redhat.com>
60355         * locale/weight.h (findidx): Add parameter len.
60356         * locale/weightwc.h (findidx): Likewise.
60357         * posix/fnmatch_loop.c (FCT): Adjust caller.
60358         * posix/regcomp.c (build_equiv_class): Likewise.
60359         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
60360         * posix/regexec.c (check_node_accept_bytes): Likewise.
60361         * string/strcoll_l.c (STRCOLL): Likewise.
60362         * string/strxfrm_l.c (STRXFRM): Likewise.
60364 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
60366         * Makefile.in: Remove CVSOPT handling.
60367         * configure.in: Remove use of AC_REVISION.
60368         * iconvdata/Makefile (distribute): No need to filter out CVS.
60369         * scripts/list-sources.sh: Remove CVS, subversion and monotone
60370         handling.
60372 2011-11-16  Andreas Schwab  <schwab@redhat.com>
60374         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
60375         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
60376         [USE_AS_STRNCASECMP_L]: Likewise.
60377         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
60378         NO_TLS_DIRECT_SEG_REFS.
60379         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
60380         Fix argument offsets for non-PIC.
60381         [USE_AS_STRNCASECMP_L]: Likewise.
60382         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
60383         NO_TLS_DIRECT_SEG_REFS.
60385 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
60387         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
60388         O_CLOEXEC.
60389         * locale/loadlocale.c (_nl_load_locale): Likewise.
60391 2011-11-15  Andreas Schwab  <schwab@redhat.com>
60393         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
60394         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
60395         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
60396         (SYSCALL_GETTIME): Set errno on error.
60398         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
60399         count references to noai6ai_cached.
60401 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
60403         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
60405         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
60406         FD_CLOEXEC for /proc/self/maps.
60408         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
60409         FD_CLOEXEC for /proc/meminfo.
60411         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
60412         gai.conf.
60414         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
60415         FD_CLOEXEC for given file.
60417         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
60419         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
60420         FD_CLOEXEC for /etc/hosts.
60421         (_gethtent): Likewise.
60423         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
60425         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
60426         cancellation and set FD_CLOEXEC for /etc/netgroup.
60428         * nss/nss_files/files-key.c (search): Don't allow cancellation when
60429         reading /etc/publickey.
60431         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
60432         allow cancellation when reading /etc/group.
60434         * nss/nss_files/files-alias.c (internal_setent): Don't allow
60435         cancellation.
60436         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
60438         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
60439         when using data file.
60441         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
60443         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
60444         (write_nis_obj): Use "c" and "e" in fopen.
60446         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
60448         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
60450         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
60452         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
60454         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
60455         locale.alias.
60457         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
60459         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
60461         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
60463         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
60464         file parsing and set FD_CLOEXEC.
60466 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
60468         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
60470 2011-11-14  Andreas Schwab  <schwab@redhat.com>
60472         * malloc/arena.c (arena_get2): Don't call reused_arena when
60473         _int_new_arena failed.
60475 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
60477         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
60478         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
60479         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
60480         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
60481         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
60482         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
60483         to compile strcasecmp and strncasecmp.
60484         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
60485         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
60487         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
60489 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
60491         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
60492         locale-defines.sym to gen-as-const-headers.
60493         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
60494         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
60495         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
60496         to compile strcasecmp and strncasecmp.
60497         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
60498         strcasecmp_l and strncasecmp_l.
60499         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
60500         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
60501         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
60502         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
60503         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
60504         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
60505         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
60506         * sysdeps/i386/i686/multiarch/strncase.S: New file.
60507         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
60508         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
60509         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
60511 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
60513         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
60514         result of SYSDEP_GETTIME_CPU to retval.
60515         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
60516         parameter list to macro.  Remove trailing semicolon.  Adjust users.
60518         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
60519         variable.
60521         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
60522         mantissa words.
60523         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
60525         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
60526         from unused variable.
60528         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
60529         DWARF definitions.
60530         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
60531         for assembling.
60533         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
60534         over namespaces.
60536         * sunrpc/rpc_prot.c (rejected): Fix case value.
60538         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
60539         unsigned long long int to avoid warnings in shift.
60541         * posix/regex_internal.c (re_string_reconstruct): Actually use result
60542         of use of trans.
60543         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
60544         variable tmp.
60546         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
60547         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
60548         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
60550         * nis/nis_table.c (nis_list): Use variable of correct type for
60551         result of __follow_path call.
60553 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60555         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
60556         of math functions ceil, trunc, floor, round, and sqrt, when
60557         avaliable on the platform.
60558         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
60559         name clash.
60560         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
60561         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
60562         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
60564 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
60566         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
60567         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
60569 2011-11-11  Roland McGrath  <roland@hack.frob.com>
60571         * include/unistd.h: Fix __readlink return type.
60572         Reported by Chris Metcalf <cmetcalf@tilera.com>.
60574 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
60576         * stdlib/ucontext.h: Undo last change for makecontext.
60578 2011-11-11  Andreas Schwab  <schwab@redhat.com>
60580         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
60582         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
60583         * setjmp/setjmp.h: Mark functions as non-leaf.
60584         * setjmp/bits/setjmp2.h: Likewise.
60585         * stdlib/ucontext.h: Likewise.
60587 2011-11-10  Andreas Schwab  <schwab@redhat.com>
60589         * malloc/arena.c (_int_new_arena): Don't increment narenas.
60590         (reused_arena): Don't check arena limit.
60591         (arena_get2): Atomically check arena limit.
60593 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
60595         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
60596         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
60598         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
60599         instructions.
60601 2011-11-07  Andreas Schwab  <schwab@redhat.com>
60603         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
60604         handler when locking.
60606         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
60607         Fix size of allocated buffer.
60609 2011-11-04  Andreas Schwab  <schwab@redhat.com>
60611         [BZ #10103]
60612         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
60613         declarations for long double functions.
60614         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
60616         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
60618 2011-11-03  Andreas Schwab  <schwab@redhat.com>
60620         * nscd/nscd.c (main): Don't start AVC thread until credentials are
60621         installed.
60623         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
60624         is disabled.
60626 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60628         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
60630 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
60632         * include/alloca.h (stackinfo_alloca_round): Define.
60633         (extend_alloca): Use it.
60634         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
60635         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
60636         here.
60638         * scripts/check-local-headers.sh: Ignore libaudit.h.
60640         * nscd/Makefile (extra-objs): Make recursively expanded.
60642 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
60644         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
60645         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
60647         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
60648         * posix/tst-rfc3484-2.c: Likewise.
60649         * posix/tst-rfc3484-3.c: Likewise.
60651         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
60652         process_vm_writev.
60653         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
60654         process_vm_writev.
60655         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
60656         process_vm_writev from libc using GLIBC_2.15 version.
60658         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
60660 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
60662         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
60663         stack usage.
60665 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
60667         [BZ #13367]
60668         * nss/getent.c (initgroups_keys): Show error message in case no group
60669         names are given.
60671         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
60672         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
60673         __bump_nl_timestamp.
60674         * nscd/connections (nscd_init): When host database is served open
60675         netlink socket and request notification about configuration changes.
60676         (main_loop_poll): Track netlink file descriptor and bump timestamp
60677         in case data becomes available.
60678         (main_loop_epoll): Likewise.
60679         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
60680         (database_pers_head): Add extra_data fileds.
60681         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
60682         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
60683         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
60684         Adjust caller.
60685         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
60686         in6ai data, call __free_in6ai.
60687         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
60688         Add -DHAVE_NETLINK.
60689         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
60690         interface information.  Reuse previous data if netlink timestamp
60691         is not changed.
60692         (__bump_nl_timestamp): New function.
60693         (__free_in6ai): New function.
60695 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
60697         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
60698         close_not_cancel_no_status here.
60699         (__check_pf): Reorganize code a bit to not call close twice if OOM.
60701 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
60703         [BZ #13276]
60704         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
60705         return value.
60707         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
60708         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
60709         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
60711 2011-07-03  Andreas Jaeger  <aj@suse.de>
60713         [BZ #10709]
60714         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
60715         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
60716         * math/libm-test.inc (sin_test): Add test case.
60718 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
60720         [BZ #13337]
60721         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
60722         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
60724         * elf/chroot_canon.c (chroot_canon): Cleanups.
60726         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
60728         [BZ #13335]
60729         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
60730         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
60732         * string/test-strchr.c: Make usable for strchrnul testing.
60733         * string/test-strchrnul.c: New file.
60734         * string/Makefile (strop-tests): Add strchrnul.
60736         * po/it.po: Update from translation team.
60737         * po/es.po: Likewise.
60739 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
60741         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
60742         the three constants needed as parameters.  Drop the others.
60743         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
60744         __m128i_strloadu_tolower.
60745         Create and initialize variable zero and use it in all the places
60746         where _mm_setzero_si128 was used.
60748         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
60749         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
60750         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
60751         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
60752         anymore.
60753         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
60754         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
60755         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
60756         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
60757         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
60758         __mpranred, __mptan.
60759         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
60760         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
60761         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
60762         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
60763         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
60764         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
60765         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
60766         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
60767         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
60769 2011-10-28  Andreas Schwab  <schwab@redhat.com>
60771         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
60772         redefine if SHARED.
60773         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
60775         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
60776         wide char related routines to wcsmbs subdir.
60778 2011-10-27  Andreas Schwab  <schwab@redhat.com>
60780         [BZ #13344]
60781         * misc/sys/cdefs.h (__THROWNL): Define.
60782         * posix/unistd.h: Use __THREADNL instead of __THREAD
60783         for memory synchronization functions.
60785 2011-10-26  Roland McGrath  <roland@hack.frob.com>
60787         [BZ #13349]
60788         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
60789         doesn't exist.
60790         * manual/stdio.texi (Obstack Streams): Node removed.
60792 2011-10-26  Andreas Schwab  <schwab@redhat.com>
60794         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
60795         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
60796         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
60798         * math/math_private.h (math_force_eval): Allow non-addressable
60799         arguments.
60800         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
60802 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
60804         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
60805         file is not needed.
60807         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
60808         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
60809         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
60810         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
60811         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
60812         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
60813         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
60814         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
60815         Add AVX variants.
60816         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
60817         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
60818         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
60819         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
60820         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
60821         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
60822         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
60823         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
60824         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
60825         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
60826         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
60827         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
60828         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
60829         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
60830         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
60831         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
60832         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
60833         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
60834         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
60836         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
60837         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
60839         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
60840         place.  Use VEX encoding when compiling for AVX.
60842 2011-10-25  Andreas Schwab  <schwab@redhat.com>
60844         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
60845         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
60847         * string/test-strchr.c (do_test): Don't generate NUL bytes.
60849 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
60851         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
60852         useless if() expression.
60853         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
60854         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
60855         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
60856         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
60857         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
60858         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
60859         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
60860         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
60861         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
60862         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
60863         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
60864         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
60865         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
60866         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
60867         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
60868         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
60869         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
60870         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
60871         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
60873         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
60875 2011-10-25  Andreas Schwab  <schwab@redhat.com>
60877         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
60878         condition.
60879         * elf/dl-fini.c (_dl_sort_fini): Likewise.
60881 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
60883         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
60884         .text section.  Avoid duplicate constants.
60885         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
60886         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
60887         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
60888         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
60889         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
60890         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
60891         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
60892         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
60893         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
60894         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
60895         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
60896         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
60897         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
60898         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
60899         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
60900         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
60901         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
60902         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
60903         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
60904         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
60905         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
60906         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
60907         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
60908         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
60909         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
60910         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
60911         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
60912         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
60913         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
60914         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
60915         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
60916         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
60917         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
60918         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
60919         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
60920         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
60921         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
60922         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
60923         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
60924         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
60925         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
60926         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
60927         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
60928         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
60929         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
60931 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
60933         * sysdeps/x86_64/dla.h: Move to ...
60934         * sysdeps/x86_64/fpu/dla.h: ...here.
60935         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
60936         situations.  Use __builtin_fma only for gcc 4.6 and up.
60938         * config.make.in: Add have-mfma4 entry.
60939         * configure.in: Substitute libc_cv_cc_fma4.
60940         * math/Makefile (dbl-only-routines): Add sincostab.
60941         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
60942         Use __sincostab not sincos.
60943         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
60944         name is a macro.
60945         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
60946         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
60947         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
60948         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
60949         using __copysign.
60950         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
60951         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
60952         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
60953         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
60954         and __inv.
60955         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
60956         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
60957         __copysign.
60958         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
60959         define aliases when function name is a macro.
60960         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
60961         sysdeps/ieee754/dbl-64/sincos.tbl.
60962         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
60963         fma4-enabled routines.
60964         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
60965         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
60966         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
60967         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
60968         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
60969         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
60970         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
60971         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
60972         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
60973         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
60974         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
60975         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
60976         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
60977         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
60978         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
60979         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
60980         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
60981         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
60982         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
60983         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
60984         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
60985         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
60986         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
60987         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
60988         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
60989         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
60990         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
60991         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
60992         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
60993         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
60995         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
60996         rename.
60997         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
60998         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
60999         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
61000         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
61001         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
61002         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
61003         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
61004         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
61006 2011-10-24  Andreas Schwab  <schwab@redhat.com>
61008         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
61010 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
61012         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
61014         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
61015         prediction.
61016         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
61018         * string/strnlen.c: Don't define STRNLEN, reverse logic.
61019         Remove unused variable magic_bits.
61020         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
61022         * string/strnlen.c: Define and use STRNLEN macro.
61023         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
61024         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
61025         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
61026         * wcsmbs/wcslen.c: Define and use WCSLEN.
61027         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
61028         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
61029         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
61030         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
61031         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
61032         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
61033         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
61035 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61037         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61038         strnlen-sse2-no-bsf.
61039         Rename strlen-no-bsf to strlen-sse2-no-bsf.
61040         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
61041         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
61042         Add strnlen support.
61043         (USE_AS_STRNLEN): New macro.
61044         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
61045         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
61046         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
61047         * sysdeps/x86_64/wcslen.S: New file.
61049 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
61051         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
61052         XMM-moves are used for copying on small sizes.
61054 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61056         * wcsmbs/Makefile (strop-tests): Add wcschr.
61057         * wcsmbs/test-wcschr.c: New file.
61058         * string/test-strchr.c: Update.
61059         Add wcschr support.
61060         (WIDE): New macro.
61062 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61064         * wcsmbs/Makefile (strop-tests): Add wcslen.
61065         * wcsmbs/test-wcslen.c: New file.
61066         * string/test-strlen.c: Update.
61067         Add wcslen support.
61068         (WIDE): New macro.
61070 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
61072         * po/it.po: Update from translation team.
61074 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61076         * sysdeps/x86_64/wcscmp.S: Update.
61077         Fix wrong comparison semantics.
61078         wcscmp shall use signed comparison not unsigned.
61079         Don't use substraction to avoid overflow bug.
61080         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
61081         * wcsmbc/wcscmp.c: Likewise.
61082         * string/test-strcmp.c: Likewise.
61083         Add new tests to check cases with negative values.
61085 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
61087         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
61088         * sysdeps/x86_64/dla.h: ...here.  New file.
61089         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
61090         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
61091         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
61092         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
61093         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
61094         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
61095         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
61096         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
61097         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
61099 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
61101         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
61102         __ynl_finite aliases.
61104 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
61106         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61108         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
61109         define DLA_FMA.
61110         [DLA_FMA] (EMULV): Use DLA_FMA.
61111         [DLA_FMA] (MUL12): Use EMULV.
61112         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
61113         that are not needed.
61114         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
61115         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
61116         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
61117         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
61118         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
61119         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
61120         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
61122 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
61124         * math/s_nan.c: Undef __nan.
61125         * math/s_nanf.c: Undef __nanf.
61126         * math/s_nanl.c: Undef __nanl.
61127         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
61128         "math_private.h".
61130 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
61132         * math/s_catan.c: Add branch predictions.
61133         * math/s_catanf.c: Likewise.
61134         * math/s_catanh.c: Likewise.
61135         * math/s_catanhf.c: Likewise.
61136         * math/s_catanhl.c: Likewise.
61137         * math/s_catanl.c: Likewise.
61138         * math/s_cexp.c: Likewise.
61139         * math/s_cexpf.c: Likewise.
61140         * math/s_cexpl.c: Likewise.
61141         * math/s_clog.c: Likewise.
61142         * math/s_clog10.c: Likewise.
61143         * math/s_clog10f.c: Likewise.
61144         * math/s_clog10l.c: Likewise.
61145         * math/s_clogf.c: Likewise.
61146         * math/s_clogl.c: Likewise.
61147         * math/s_csqrt.c: Likewise.
61148         * math/s_csqrtf.c: Likewise.
61149         * math/s_csqrtl.c: Likewise.
61150         * math/s_ctanf.c: Likewise.
61151         * math/s_ctanh.c: Likewise.
61152         * math/s_ctanhf.c: Likewise.
61153         * math/s_ctanhl.c: Likewise.
61154         * math/s_ctanl.c: Likewise.
61156         * math/math_private.h: Define __nan, __nanf, __nanl.
61157         * math/s_cacosh.c: Include <math_private.h>.
61158         * math/s_cacoshl.c: Likewise.
61159         * math/s_casinh.c: Likewise.
61160         * math/s_casinhf.c: Likewise.
61161         * math/s_casinhl.c: Likewise.
61162         * math/s_ccos.c: Rely entire on ccosh.
61163         * math/s_ccosf.c: Rely entire on ccoshf.
61164         * math/s_ccosl.c: Rely entirely on ccoshl.
61165         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
61166         Remove tests for FE_INVALID.
61167         * math/s_ccoshf.c: Likewise.
61168         * math/s_ccoshl.c: Likewise.
61169         * math/s_csin.c: Likewise.
61170         * math/s_csinf.c: Likewise.
61171         * math/s_csinh.c Likewise.
61172         * math/s_csinhf.c: Likewise.
61173         * math/s_csinhl.c: Likewise.
61174         * math/s_csinl.c: Likewise.
61175         * math/s_ctan.c: Likewise.
61176         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
61177         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
61178         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
61180 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
61182         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
61183         compilation problems.
61185         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
61186         __builtin_expect.
61188 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
61190         * sysdeps/i386/configure.in: Test for -mfma4 option.
61191         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
61192         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
61193         COMMON_CPUID_INDEX_80000001.
61194         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
61195         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
61196         use it if FMA3 is not supported.
61197         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
61199         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
61200         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
61202 2011-10-20  Andreas Schwab  <schwab@redhat.com>
61204         [BZ #12892]
61205         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
61206         it would create a cycle with a link time dependency.
61208 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
61210         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
61211         instruction.
61212         * string/Makefile (strop-tests): Add rawmemchr.
61213         * string/test-rawmemchr.c: New file.
61215         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
61216         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
61217         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
61218         when compiling str{,n}casecmp and when AVX is available.  Hook up
61219         new optimized code in initializers.
61221 2011-10-19  Andreas Schwab  <schwab@redhat.com>
61223         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
61224         __feraiseexcept instead of feraiseexcept.
61226 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
61228         * math/math_private.h: Define defaults for libc_fetestexcept and
61229         libc_feupdateenv.
61230         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
61231         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
61232         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
61233         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
61234         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
61235         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
61236         libc_fetestexcept and libc_feupdateenv.
61238         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
61239         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
61240         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
61241         * sysdeps/x86_64/fpu/math_private.h: Define special version of
61242         libc_feholdexcept_setround.
61244         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
61245         Add s_nearbyint-c and s_nearbyintf-c.
61246         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
61247         nearbyintf inlines.
61248         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
61249         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
61250         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
61251         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
61253         * math/math_private.h: Define defaults for libc_fegetround,
61254         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
61255         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
61256         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
61257         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
61258         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
61259         standard functions.
61260         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
61261         Remove comments and hacks for old compiler versions.
61262         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
61263         libc_fegetround, libc_fesetround, libc_feholdexcept, and
61264         libc_feholdexceptl.
61266 2011-10-18  Andreas Schwab  <schwab@redhat.com>
61268         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
61269         (__feraiseexcept_renamed): Add __NTH.
61270         (feraiseexcept): Add __NTH.  Rename local variables to fix
61271         namespace violations.
61273 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
61275         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
61277         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
61279         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
61280         recently added interfaces.
61281         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
61283         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
61284         about macro parameter expansion.
61286         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
61287         __NO_MATH_INLINES is defined.  Cleanups.
61289         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
61290         and __floorf is target has SSE4.1.
61291         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
61292         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
61293         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
61294         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
61296         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
61297         name.
61298         (floorf): Likewise.
61300         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
61302 2011-10-17  Andreas Schwab  <schwab@redhat.com>
61304         * misc/sys/cdefs.h: Fix last change.
61306         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
61307         database lookup.
61309 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
61311         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
61313         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
61314         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
61315         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
61316         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
61317         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
61318         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
61319         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
61320         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
61321         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
61322         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
61323         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
61324         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
61325         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
61326         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
61327         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
61328         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
61329         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
61330         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
61331         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
61332         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
61333         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
61334         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
61336         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
61337         ceil, ceilf, floor, floorf.
61339         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
61340         Perform IRELATIVE relocations last.
61342         * elf/do-rel.h: Add another parameter nrelative, replacing the
61343         local variable with the same name.  Change name of the function
61344         to end in Rel or Rela (uppercase).
61345         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
61346         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
61347         elf_dynamic_do_##reloc function.
61349 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
61351         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
61352         is sufficient, at least on modern CPUs.
61354         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
61356         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
61357         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
61359         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
61360         __expl_finite.
61361         * math/bits/math-finite.h: Add entries for exp.
61362         * math/e_expl.c: Add __*_finite alias.
61363         * sysdeps/i386/fpu/e_exp.S: Likewise.
61364         * sysdeps/i386/fpu/e_expf.S: Likewise.
61365         * sysdeps/i386/fpu/e_expl.c: Likewise.
61366         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
61367         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
61368         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
61369         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
61370         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
61371         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
61372         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
61374         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
61375         is sufficient, at least on modern CPUs.
61377         * ctype/ctype-info.c (__ctype_init): Define.
61378         * include/ctype.h (__ctype_init): Declare.
61379         (__ctype_b_loc): The variable is always initialized.
61380         (__ctype_toupper_loc): Likewise.
61381         (__ctype_tolower_loc): Likewise.
61382         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
61383         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
61385 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
61387         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
61389         * configure.in: Also look in $cxxmachine/include for C++ system
61390         headers.
61392 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61394         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
61395         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
61396         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
61397         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
61398         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
61399         (USE_AS_WMEMCMP): New macro.
61400         Fixing indents.
61401         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
61402         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
61403         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
61404         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
61405         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61406         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
61407         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
61408         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
61409         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
61410         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
61411         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
61412         (USE_AS_WMEMCMP): New macro.
61413         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
61414         * sysdeps/string/test-memcmp.c: Update.
61415         Fix simple_wmemcmp.
61416         Add new tests.
61417         * wcsmbs/wmemcmp.c: Update.
61418         (WMEMCMP): New macro.
61419         Fix overflow bug.
61421 2011-10-12  Andreas Jaeger  <aj@suse.de>
61423         [BZ #13268]
61424         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
61426 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
61428         * libio/iofwide.c (do_length): Avoid warning.
61430         * ctype/ctype.h (__isctype_f): Add missing __THROW.
61432 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
61434         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
61436         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
61437         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
61438         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
61439         * sysdeps/i386/i686/fpu/e_log.S: New file.
61440         * sysdeps/i386/i686/fpu/e_logf.S: New file.
61441         * sysdeps/i386/i686/fpu/e_logl.S: New file.
61443         * ctype/ctype.h: Add support for inlined isXXX functions when
61444         compiling C++ code.
61446 2011-10-14  Andreas Schwab  <schwab@redhat.com>
61448         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
61450         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
61452 2011-10-13  Roland McGrath  <roland@hack.frob.com>
61454         [BZ #13291]
61455         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
61457 2011-10-13  Andreas Schwab  <schwab@redhat.com>
61459         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
61460         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
61461         feraiseexcept.
61463         * sysdeps/x86_64/memrchr.S: Check for zero size.
61465         * string/stratcliff.c: Add memrchr tests.
61467 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61469         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61470         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
61471         rawmemchr-sse2 rawmemchr-sse2-bsf.
61472         * sysdeps/i386/i686/multiarch/memchr.S: New file.
61473         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
61474         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
61475         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
61476         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
61477         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
61478         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
61479         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
61480         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
61481         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
61482         * string/memrchr.c (MEMRCHR): New macro.
61484 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
61486         Add integration with gcc's -ffinite-math-only and optimize wrapper
61487         functions in libm.
61488         * Versions.def: Define GLIBC_2.15 version for libm.
61489         * math/Makefile (headers): Add bits/math-finite.h.
61490         * math/bits/math-finite.h: New file.
61491         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
61492         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
61493         * math/e_acoshl.c: Add __*_finite alias.
61494         * math/e_acosl.c: Likewise.
61495         * math/e_asinl.c: Likewise.
61496         * math/e_atan2l.c: Likewise.
61497         * math/e_atanhl.c: Likewise.
61498         * math/e_coshl.c: Likewise.
61499         * math/e_exp10.c: Likewise.
61500         * math/e_exp10f.c: Likewise.
61501         * math/e_exp10l.c: Likewise.
61502         * math/e_exp2l.c: Likewise.
61503         * math/e_fmodl.c: Likewise.
61504         * math/e_gammal_r.c: Likewise.
61505         * math/e_hypotl.c: Likewise.
61506         * math/e_j0l.c: Likewise.
61507         * math/e_j1l.c: Likewise.
61508         * math/e_jnl.c: Likewise.
61509         * math/e_lgammal_r.c: Likewise.
61510         * math/e_log10l.c: Likewise.
61511         * math/e_log2l.c: Likewise.
61512         * math/e_logl.c: Likewise.
61513         * math/e_powl.c: Likewise.
61514         * math/e_sinhl.c: Likewise.
61515         * math/e_sqrtl.c: Likewise.
61516         * math/e_scalb.c: Completely rewritten and optimized.
61517         * math/e_scalbf.c: Likewise.
61518         * math/e_scalbl.c: Likewise.
61519         * math/w_acos.c: Likewise.
61520         * math/w_acosf.c: Likewise.
61521         * math/w_acosl.c: Likewise.
61522         * math/w_acosh.c: Likewise.
61523         * math/w_acoshf.c: Likewise.
61524         * math/w_acoshl.c: Likewise.
61525         * math/w_asin.c: Likewise.
61526         * math/w_asinf.c: Likewise.
61527         * math/w_asinl.c: Likewise.
61528         * math/w_atan2.c: Likewise.
61529         * math/w_atan2f.c: Likewise.
61530         * math/w_atan2l.c: Likewise.
61531         * math/w_atanh.c: Likewise.
61532         * math/w_atanhf.c: Likewise.
61533         * math/w_atanhl.c: Likewise.
61534         * math/w_exp10.c: Likewise.
61535         * math/w_exp10f.c: Likewise.
61536         * math/w_exp10l.c: Likewise.
61537         * math/w_fmod.c: Likewise.
61538         * math/w_fmodf.c: Likewise.
61539         * math/w_fmodl.c: Likewise.
61540         * math/w_j0.c: Likewise.
61541         * math/w_j0f.c: Likewise.
61542         * math/w_j0l.c: Likewise.
61543         * math/w_j1.c: Likewise.
61544         * math/w_j1f.c: Likewise.
61545         * math/w_j1l.c: Likewise.
61546         * math/w_jn.c: Likewise.
61547         * math/w_jnf.c: Likewise.
61548         * math/w_log.c: Likewise.
61549         * math/w_logf.c: Likewise.
61550         * math/w_logl.c: Likewise.
61551         * math/w_log10.c: Likewise.
61552         * math/w_log10f.c: Likewise.
61553         * math/w_log10l.c: Likewise.
61554         * math/w_log2.c: Likewise.
61555         * math/w_log2f.c: Likewise.
61556         * math/w_log2l.c: Likewise.
61557         * math/w_pow.c: Likewise.
61558         * math/w_powf.c: Likewise.
61559         * math/w_powl.c: Likewise.
61560         * math/w_remainder.c: Likewise.
61561         * math/w_remainderf.c: Likewise.
61562         * math/w_remainderl.c: Likewise.
61563         * math/w_scalb.c: Likewise.
61564         * math/w_scalbf.c: Likewise.
61565         * math/w_scalbl.c: Likewise.
61566         * math/w_sqrt.c: Likewise.
61567         * math/w_sqrtf.c: Likewise.
61568         * math/w_sqrtl.c: Likewise.
61569         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
61570         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
61571         used.
61572         * math/math_private.h: Declare __kernel_standard_f.
61573         * math/w_cosh.c: Remove cruft and optimize a bit.
61574         * math/w_coshf.c: Likewise.
61575         * math/w_coshl.c: Likewise.
61576         * math/w_exp2.c: Likewise.
61577         * math/w_exp2f.c: Likewise.
61578         * math/w_exp2l.c: Likewise.
61579         * math/w_hypot.c: Likewise.
61580         * math/w_hypotf.c: Likewise.
61581         * math/w_hypotl.c: Likewise.
61582         * math/w_lgamma.c: Likewise.
61583         * math/w_lgamma_r.c: Likewise.
61584         * math/w_lgammaf.c: Likewise.
61585         * math/w_lgammaf_r.c: Likewise.
61586         * math/w_lgammal.c: Likewise.
61587         * math/w_lgammal_r.c: Likewise.
61588         * math/w_sinh.c: Likewise.
61589         * math/w_sinhf.c: Likewise.
61590         * math/w_sinhl.c: Likewise.
61591         * math/w_tgamma.c: Likewise.
61592         * math/w_tgammaf.c: Likewise.
61593         * math/w_tgammal.c: Likewise.
61594         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
61595         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
61596         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
61597         Minor optimizations.  Pretty printing.  Remove cruft.
61598         * sysdeps/i386/fpu/e_acosf.S: Likewise.
61599         * sysdeps/i386/fpu/e_acosh.S: Likewise.
61600         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
61601         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
61602         * sysdeps/i386/fpu/e_acosl.c: Likewise.
61603         * sysdeps/i386/fpu/e_asin.S: Likewise.
61604         * sysdeps/i386/fpu/e_asinf.S: Likewise.
61605         * sysdeps/i386/fpu/e_atan2.S: Likewise.
61606         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
61607         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
61608         * sysdeps/i386/fpu/e_atanh.S: Likewise.
61609         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
61610         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
61611         * sysdeps/i386/fpu/e_exp10.S: Likewise.
61612         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
61613         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
61614         * sysdeps/i386/fpu/e_exp2.S: Likewise.
61615         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
61616         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
61617         * sysdeps/i386/fpu/e_fmod.S: Likewise.
61618         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
61619         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
61620         * sysdeps/i386/fpu/e_hypot.S: Likewise.
61621         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
61622         * sysdeps/i386/fpu/e_log.S: Likewise.
61623         * sysdeps/i386/fpu/e_log10.S: Likewise.
61624         * sysdeps/i386/fpu/e_log10f.S: Likewise.
61625         * sysdeps/i386/fpu/e_log10l.S: Likewise.
61626         * sysdeps/i386/fpu/e_log2.S: Likewise.
61627         * sysdeps/i386/fpu/e_log2f.S: Likewise.
61628         * sysdeps/i386/fpu/e_log2l.S: Likewise.
61629         * sysdeps/i386/fpu/e_logf.S: Likewise.
61630         * sysdeps/i386/fpu/e_logl.S: Likewise.
61631         * sysdeps/i386/fpu/e_pow.S: Likewise.
61632         * sysdeps/i386/fpu/e_powf.S: Likewise.
61633         * sysdeps/i386/fpu/e_powl.S: Likewise.
61634         * sysdeps/i386/fpu/e_remainder.S: Likewise.
61635         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
61636         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
61637         * sysdeps/i386/fpu/e_scalb.S: Likewise.
61638         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
61639         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
61640         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
61641         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
61642         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
61643         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
61644         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
61645         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
61646         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
61647         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
61648         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
61649         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
61650         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
61651         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
61652         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
61653         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
61654         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
61655         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
61656         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
61657         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
61658         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
61659         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
61660         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
61661         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
61662         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
61663         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
61664         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
61665         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
61666         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
61667         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
61668         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
61669         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
61670         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
61671         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
61672         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
61673         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
61674         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
61675         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
61676         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
61677         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
61678         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
61679         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
61680         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
61681         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
61682         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
61683         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
61684         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
61685         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
61686         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
61687         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
61688         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
61689         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
61690         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
61691         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
61692         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
61693         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
61694         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
61695         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
61696         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
61697         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
61698         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
61699         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
61700         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
61701         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
61702         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
61703         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
61704         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
61705         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
61706         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
61707         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
61708         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
61709         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
61710         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
61711         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
61712         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
61713         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
61714         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
61715         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
61716         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
61717         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
61718         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
61719         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
61720         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
61721         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
61722         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
61723         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
61724         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
61725         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
61726         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
61727         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
61728         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
61729         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
61730         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
61731         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
61732         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
61733         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
61734         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
61735         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
61736         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
61737         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
61738         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
61739         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
61740         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
61741         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
61742         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
61743         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
61744         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
61745         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
61746         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
61747         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
61748         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
61749         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
61750         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
61751         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
61752         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
61753         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
61754         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
61755         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
61756         (__isnanf): Likewise.
61757         (__isinf_ns): Likewise.
61758         (__isinf_nsf): Likewise.
61759         (__finite): Likewise.
61760         (__finitef): Likewise.
61761         (__ieee754_sqrt): Define as macro.
61762         (__ieee754_sqrtf): Define as macro.
61763         (__ieee754_sqrtl): Define as macro.
61764         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
61765         inlined copy.
61766         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
61767         __FINITE_MATH_ONLY__ consistent.
61768         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
61770 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
61772         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
61773         of rawmemchr.
61775         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
61777 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
61779         * po/ja.po: Update from translation team.
61781 2011-10-08  Roland McGrath  <roland@hack.frob.com>
61783         * locale/programs/locarchive.c (prepare_address_space): New function.
61784         (create_archive, enlarge_archive, open_archive): Use it.
61786         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
61787         inside [SHARED], where it is used.
61789         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
61791         * nss/getent.c (netgroup_keys): Remove unused variable.
61792         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
61794 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
61796         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
61797         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
61798         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
61799         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
61800         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
61801         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
61802         * math/Makefile (libm-calls): Add s_isinf_ns.
61803         * math/divtc3.c: Use __isinf_nsl instead of isinf.
61804         * math/multc3.c: Likewise.
61805         * math/s_casin.c: Likewise.
61806         * math/s_casinf.c: Likewise.
61807         * math/s_casinl.c: Likewise.
61808         * math/s_ccos.c: Likewise.
61809         * math/s_ccosf.c: Likewise.
61810         * math/s_ccosl.c: Likewise.
61811         * math/s_ctan.c: Likewise.
61812         * math/s_ctanf.c: Likewise.
61813         * math/s_ctanh.c: Likewise.
61814         * math/s_ctanhf.c: Likewise.
61815         * math/s_ctanhl.c: Likewise.
61816         * math/s_ctanl.c: Likewise.
61817         * math/w_fmod.c: Likewise.
61818         * math/w_fmodf.c: Likewise.
61819         * math/w_fmodl.c: Likewise.
61820         * math/w_remainder.c: Likewise.
61821         * math/w_remainderf.c: Likewise.
61822         * math/w_remainderl.c: Likewise.
61823         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
61824         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
61825         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
61826         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
61827         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
61828         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
61829         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
61830         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
61832         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
61833         of the number.
61834         * stdio-common/printf_fphex.c: Likewise.
61835         * stdio-common/printf_size.c: Likewise.
61837         * math/e_exp10.c: Include math_private.h using <...> not "...".
61838         * math/e_exp10f.c: Likewise.
61839         * math/e_exp10l.c: Likewise.
61840         * math/e_exp2l.c: Likewise.
61841         * math/e_j0l.c: Likewise.
61842         * math/e_j1l.c: Likewise.
61843         * math/e_jnl.c: Likewise.
61844         * math/e_lgammal_r.c: Likewise.
61845         * math/e_rem_pio2l.c: Likewise.
61846         * math/e_scalb.c: Likewise.
61847         * math/e_scalbf.c: Likewise.
61848         * math/e_scalbl.c: Likewise.
61849         * math/k_cosl.c: Likewise.
61850         * math/k_sinl.c: Likewise.
61851         * math/k_tanl.c: Likewise.
61852         * math/s_cacoshf.c: Likewise.
61853         * math/s_catan.c: Likewise.
61854         * math/s_catanf.c: Likewise.
61855         * math/s_catanh.c: Likewise.
61856         * math/s_catanhf.c: Likewise.
61857         * math/s_catanhl.c: Likewise.
61858         * math/s_catanl.c: Likewise.
61859         * math/s_ccosh.c: Likewise.
61860         * math/s_ccoshf.c: Likewise.
61861         * math/s_ccoshl.c: Likewise.
61862         * math/s_cexp.c: Likewise.
61863         * math/s_cexpf.c: Likewise.
61864         * math/s_cexpl.c: Likewise.
61865         * math/s_clog.c: Likewise.
61866         * math/s_clog10.c: Likewise.
61867         * math/s_clog10f.c: Likewise.
61868         * math/s_clog10l.c: Likewise.
61869         * math/s_clogf.c: Likewise.
61870         * math/s_clogl.c: Likewise.
61871         * math/s_csin.c: Likewise.
61872         * math/s_csinf.c: Likewise.
61873         * math/s_csinh.c: Likewise.
61874         * math/s_csinhf.c: Likewise.
61875         * math/s_csinhl.c: Likewise.
61876         * math/s_csinl.c: Likewise.
61877         * math/s_csqrt.c: Likewise.
61878         * math/s_csqrtf.c: Likewise.
61879         * math/s_csqrtl.c: Likewise.
61880         * math/s_ctan.c: Likewise.
61881         * math/s_ctanf.c: Likewise.
61882         * math/s_ctanh.c: Likewise.
61883         * math/s_ctanhf.c: Likewise.
61884         * math/s_ctanhl.c: Likewise.
61885         * math/s_ctanl.c: Likewise.
61886         * math/s_ldexp.c: Likewise.
61887         * math/s_ldexpf.c: Likewise.
61888         * math/s_ldexpl.c: Likewise.
61889         * math/s_significand.c: Likewise.
61890         * math/s_significandf.c: Likewise.
61891         * math/s_significandl.c: Likewise.
61892         * math/w_acos.c: Likewise.
61893         * math/w_acosf.c: Likewise.
61894         * math/w_acosh.c: Likewise.
61895         * math/w_acoshf.c: Likewise.
61896         * math/w_acoshl.c: Likewise.
61897         * math/w_acosl.c: Likewise.
61898         * math/w_asin.c: Likewise.
61899         * math/w_asinf.c: Likewise.
61900         * math/w_asinl.c: Likewise.
61901         * math/w_atan2.c: Likewise.
61902         * math/w_atan2f.c: Likewise.
61903         * math/w_atan2l.c: Likewise.
61904         * math/w_atanh.c: Likewise.
61905         * math/w_atanhf.c: Likewise.
61906         * math/w_atanhl.c: Likewise.
61907         * math/w_cosh.c: Likewise.
61908         * math/w_coshf.c: Likewise.
61909         * math/w_coshl.c: Likewise.
61910         * math/w_dremf.c: Likewise.
61911         * math/w_exp10.c: Likewise.
61912         * math/w_exp10f.c: Likewise.
61913         * math/w_exp10l.c: Likewise.
61914         * math/w_exp2.c: Likewise.
61915         * math/w_exp2f.c: Likewise.
61916         * math/w_fmod.c: Likewise.
61917         * math/w_fmodf.c: Likewise.
61918         * math/w_fmodl.c: Likewise.
61919         * math/w_hypot.c: Likewise.
61920         * math/w_hypotf.c: Likewise.
61921         * math/w_hypotl.c: Likewise.
61922         * math/w_j0.c: Likewise.
61923         * math/w_j0f.c: Likewise.
61924         * math/w_j0l.c: Likewise.
61925         * math/w_j1.c: Likewise.
61926         * math/w_j1f.c: Likewise.
61927         * math/w_j1l.c: Likewise.
61928         * math/w_jn.c: Likewise.
61929         * math/w_jnf.c: Likewise.
61930         * math/w_jnl.c: Likewise.
61931         * math/w_lgamma.c: Likewise.
61932         * math/w_lgamma_r.c: Likewise.
61933         * math/w_lgammaf.c: Likewise.
61934         * math/w_lgammaf_r.c: Likewise.
61935         * math/w_lgammal.c: Likewise.
61936         * math/w_lgammal_r.c: Likewise.
61937         * math/w_log.c: Likewise.
61938         * math/w_log10.c: Likewise.
61939         * math/w_log10f.c: Likewise.
61940         * math/w_log10l.c: Likewise.
61941         * math/w_log2.c: Likewise.
61942         * math/w_log2f.c: Likewise.
61943         * math/w_log2l.c: Likewise.
61944         * math/w_logf.c: Likewise.
61945         * math/w_logl.c: Likewise.
61946         * math/w_pow.c: Likewise.
61947         * math/w_powf.c: Likewise.
61948         * math/w_powl.c: Likewise.
61949         * math/w_remainder.c: Likewise.
61950         * math/w_remainderf.c: Likewise.
61951         * math/w_remainderl.c: Likewise.
61952         * math/w_scalb.c: Likewise.
61953         * math/w_scalbf.c: Likewise.
61954         * math/w_scalbl.c: Likewise.
61955         * math/w_sinh.c: Likewise.
61956         * math/w_sinhf.c: Likewise.
61957         * math/w_sinhl.c: Likewise.
61958         * math/w_sqrt.c: Likewise.
61959         * math/w_sqrtf.c: Likewise.
61960         * math/w_sqrtl.c: Likewise.
61961         * math/w_tgamma.c: Likewise.
61962         * math/w_tgammaf.c: Likewise.
61963         * math/w_tgammal.c: Likewise.
61965         * po/ja.po: Update from translation team.
61967 2011-09-29  Andreas Jaeger  <aj@suse.de>
61969         [BZ #13179]
61970         * sunrpc/netname.c (netname2host): Fix logic.
61972         [BZ #6779]
61973         [BZ #6783]
61974         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
61975         correctly.
61976         * math/w_remainder.c (__remainder): Likewise.
61977         * math/w_remainderf.c (__remainderf): Likewise.
61978         * math/libm-test.inc (remainder_test): Add test cases.
61980 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61982         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
61983         sdiv_qrnnd.
61985 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
61987         * string/test-memcmp.c: Avoid unncessary #defines.
61988         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
61990 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61992         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
61993         Use new sse2 version for core i3 - i7 as it's faster
61994         than sse42 version.
61995         (bit_Prefer_PMINUB_for_stringop): New.
61996         * sysdeps/x86_64/rawmemchr.S: Update.
61997         Replace with faster SSE2 version.
61998         * sysdeps/x86_64/memrchr.S: New file.
61999         * sysdeps/x86_64/memchr.S: Update.
62000         Replace with faster SSE2 version.
62002 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
62004         * elf/dl-load.c (lose): Add cast to avoid warning.
62006 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
62008         * po/ca.po: Update from translation team.
62010         * inet/getnetgrent_r.c: Hook up nscd.
62011         * nscd/Makefile (routines): Add nscd_netgroup.
62012         (nscd-modules): Add netgroupcache.
62013         (CFLAGS-netgroupcache.c): Define.
62014         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
62015         (cache_search): Add const to second parameter.
62016         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
62017         INNETGR.
62018         (dbs): Add netgrdb entry.
62019         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
62020         (verify_persistent_db): Handle netgrdb.
62021         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
62022         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
62023         GETFDNETGR.
62024         (netgroup_response_header): Define.
62025         (innetgroup_response_header): Define.
62026         (datahead): Add netgroup_response_header and innetgroup_response_header
62027         elements.
62028         * nscd/nscd.conf: Add entries for netgroup cache.
62029         * nscd/nscd.h (dbtype): Add netgrdb.
62030         (_PATH_NSCD_NETGROUP_DB): Define.
62031         (netgroup_iov_disabled): Declare.
62032         (xmalloc, xcalloc, xrealloc): Move declarations here.
62033         (cache_search): Adjust prototype.
62034         Add netgroup-related prototypes.
62035         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
62036         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
62037         (__nscd_innetgr): Declare.
62038         * nscd/selinux.c (perms): Use access_vector_t as element type and
62039         add netgroup-related initializers.
62040         * nscd/netgroupcache.c: New file.
62041         * nscd/nscd_netgroup.c: New file.
62042         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
62043         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
62044         For four parameters use innetgr.
62045         * nss/nss_files/files-init.c: Add definition and callback for netgr.
62046         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
62047         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
62048         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
62050         * nscd/connections.c (register_traced_file): Don't register file
62051         for disabled databases.
62053 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
62055         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
62057         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
62058         from tree and freeing node.
62060 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
62062         * nss/nsswitch.c (__nss_database_lookup): Handle
62063         nss_parse_service_list out of memory case.
62065 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
62067         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
62068         out of memory case.
62070 2011-10-04  Andreas Schwab  <schwab@redhat.com>
62072         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
62073         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
62074         pass it down.
62075         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
62076         elf_machine_rela, elf_machine_lazy_rel.
62077         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
62078         (ELF_DYNAMIC_DO_REL): Likewise.
62079         (ELF_DYNAMIC_DO_RELA): Likewise.
62080         (ELF_DYNAMIC_RELOCATE): Likewise.
62081         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
62082         to ELF_DYNAMIC_DO_REL.
62083         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
62084         (dl_main): In trace mode always set __RTLD_NOIFUNC.
62085         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
62086         elf_machine_rela.
62087         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
62088         skip_ifunc, don't call ifunc function if non-zero.
62089         (elf_machine_rela): Likewise.
62090         (elf_machine_lazy_rel): Likewise.
62091         (elf_machine_lazy_rela): Likewise.
62092         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
62093         (elf_machine_lazy_rel): Likewise.
62094         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
62095         Likewise.
62096         (elf_machine_lazy_rel): Likewise.
62097         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
62098         Likewise.
62099         (elf_machine_lazy_rel): Likewise.
62100         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
62101         (elf_machine_lazy_rel): Likewise.
62102         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
62103         (elf_machine_lazy_rel): Likewise.
62104         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
62105         (elf_machine_lazy_rel): Likewise.
62106         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
62107         (elf_machine_lazy_rel): Likewise.
62108         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
62109         (elf_machine_lazy_rel): Likewise.
62110         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
62111         (elf_machine_lazy_rel): Likewise.
62113 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
62115         * nss/nss_files/files-init.c (_nss_files_init): Use static
62116         initialization for all the *_traced_file variables.
62118 2011-09-28  Andreas Schwab  <schwab@redhat.com>
62120         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
62122 2011-09-27  Roland McGrath  <roland@hack.frob.com>
62124         [BZ #13226]
62125         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
62127 2011-09-27  Andreas Schwab  <schwab@redhat.com>
62129         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
62130         Reread the line before reparsing it.
62132 2011-09-26  Andreas Schwab  <schwab@redhat.com>
62134         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
62136 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
62137             Maxim Kuvyrkov  <maxim@codesourcery.com>
62138             Joseph Myers  <joseph@codesourcery.com>
62140         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
62141         if needed for __stack_chk_guard.
62143 2011-09-19  Roland McGrath  <roland@hack.frob.com>
62145         * sysdeps/posix/spawni.c (script_execute): Always define it.
62146         It will be optimized away if unused.
62147         (maybe_script_execute): New function.
62148         (__spawni): Call it.
62150         * Makerules: Don't include tls.make.
62151         (config-tls): Always set to thread.
62152         * tls.make.c: File removed.
62154 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
62156         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
62157         * config.make.in (CPPFLAGS-config): New substituted variable.
62159 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
62161         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
62163         [BZ #13192]
62164         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
62165         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
62167 2011-09-15  Roland McGrath  <roland@hack.frob.com>
62169         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
62170         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
62171         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
62172         (CALL_FAIL): Likewise.
62173         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
62174         (CALL_FAIL): Macro removed.
62175         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
62177 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
62179         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
62180         for __FINITE_MATH_ONLY__ == 1.
62182 2011-09-15  Andreas Schwab  <schwab@redhat.com>
62184         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
62185         __ieee754_sqrt instead of sqrt.
62186         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
62187         __ieee754_sqrtf instead of sqrtf.
62188         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
62189         __floorf instead of floorf.
62190         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
62191         __floorf, __truncf instead of floorf, truncf.
62193 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
62195         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
62197         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
62198         __extern_always_inline.
62199         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
62200         32-bit.
62202 2011-09-14  Andreas Schwab  <schwab@redhat.com>
62204         * elf/rtld.c (dl_main): Also relocate in dependency order when
62205         doing symbol dependency testing.
62207 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
62209         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
62210         Always define `refsym'.
62212 2011-09-13  Andreas Schwab  <schwab@redhat.com>
62214         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
62215         (__FD_ELT): Renamed from __FDELT.
62216         * misc/bits/select2.h (__FD_ELT): Likewise.
62217         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
62218         __FD_MASK instead of __FDELT, __FDMASK.
62219         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
62220         Likewise.
62221         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
62222         Likewise.
62224         * elf/Makefile (gen-ldd): Fix pattern.
62226         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
62227         (init_tls): Likewise.
62229 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
62231         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
62233 2011-09-12  Andreas Schwab  <schwab@redhat.com>
62235         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
62236         `struct cmsghdr *' instead of `void *'.
62237         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
62238         Likewise.
62240 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
62242         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
62243         if non-absolute.
62244         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
62245         ldd_rewrite_script.
62247 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
62249         * configure.in: Remove --with-tls option.
62250         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
62251         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
62252         out in case it is missing.
62253         * sysdeps/ia64/elf/configure.in: Likewise.
62254         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
62255         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
62256         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
62257         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
62258         * sysdeps/sh/elf/configure.in: Likewise.
62259         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
62260         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
62261         * sysdeps/x86_64/elf/configure.in: Likewise.
62262         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
62263         * sysdeps/mach/hurd/tls.h: Likewise.
62265         [BZ #13067]
62266         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
62268         [BZ #13090]
62269         * configure.in: Fix use of AC_INIT.
62271         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
62273 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
62275         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
62276         __set_errno.
62277         * malloc/hooks.c: Likewise.
62279         [BZ #11929]
62280         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
62281         variables statically.
62282         (narenas): Initialize.
62283         (list_lock): Initialize.
62284         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
62285         initializtion of main_arena and list_lock.  Small cleanups.
62286         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
62287         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
62288         Add initializers to main_arena and mp_.
62289         (malloc_state): Remove pagesize member.  Change all users to use
62290         GLRO(dl_pagesize).
62292         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
62293         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
62294         is always initialized.
62296         * malloc/malloc.c: Removed unused configurations and dead code.
62297         * malloc/arena.c: Likewise.
62298         * malloc/hooks.c: Likewise.
62299         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
62301         * include/tls.h: Removed.  USE___THREAD must always be defined.
62302         * bits/libc-tsd.h: Don't handle !USE___THREAD.
62303         * elf/dl-libc.c: Likewise.
62304         * elf/dl-tsd.c: Likewise.
62305         * include/errno.h: Likewise.
62306         * include/netdb.h: Likewise.
62307         * include/resolv.h: Likewise.
62308         * inet/herrno-loc.c: Likewise.
62309         * inet/herrno.c: Likewise.
62310         * malloc/arena.c: Likewise.
62311         * malloc/hooks.c: Likewise.
62312         * malloc/malloc.c: Likewise.
62313         * resolv/res-state.c: Likewise.
62314         * resolv/res_libc.c: Likewise.
62315         * sysdeps/i386/dl-machine.h: Likewise.
62316         * sysdeps/ia64/dl-machine.h: Likewise.
62317         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
62318         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
62319         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
62320         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
62321         * sysdeps/sh/dl-machine.h: Likewise.
62322         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
62323         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
62324         * sysdeps/unix/i386/sysdep.S: Likewise.
62325         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
62326         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
62327         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
62328         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
62329         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
62330         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
62331         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
62332         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
62333         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
62334         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
62335         * sysdeps/unix/x86_64/sysdep.S: Likewise.
62336         * sysdeps/x86_64/dl-machine.h: Likewise.
62337         * tls.make.c: Likewise.
62339         * configure.in: Remove --with-__thread option.  Make tests for
62340         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
62341         tls_model attribute fail if no support is available.  Remove
62342         USE_IN_LIBIO.
62343         * Makeconfig: Adjust for dropped configure option.  All features are
62344         now mandatory.
62345         * Makerules: Likewise.
62346         * Versions.def: Likewise.
62347         * argp/argp-fmtstream.c: Likewise.
62348         * argp/argp-fmtstream.h: Likewise.
62349         * argp/argp-help.c: Likewise.
62350         * assert/assert.c: Likewise.
62351         * config.h.in: Likewise.
62352         * config.make.in: Likewise.
62353         * configure: Likewise.
62354         * configure.in: Likewise.
62355         * csu/Versions: Likewise.
62356         * csu/init.c: Likewise.
62357         * elf/tst-audit2.c: Likewise.
62358         * elf/tst-tls10.c: Likewise.
62359         * elf/tst-tls10.h: Likewise.
62360         * elf/tst-tls11.c: Likewise.
62361         * elf/tst-tls12.c: Likewise.
62362         * elf/tst-tls14.c: Likewise.
62363         * elf/tst-tlsmod11.c: Likewise.
62364         * elf/tst-tlsmod12.c: Likewise.
62365         * elf/tst-tlsmod13.c: Likewise.
62366         * elf/tst-tlsmod13a.c: Likewise.
62367         * elf/tst-tlsmod14a.c: Likewise.
62368         * elf/tst-tlsmod15b.c: Likewise.
62369         * elf/tst-tlsmod16a.c: Likewise.
62370         * elf/tst-tlsmod16b.c: Likewise.
62371         * elf/tst-tlsmod7.c: Likewise.
62372         * elf/tst-tlsmod8.c: Likewise.
62373         * elf/tst-tlsmod9.c: Likewise.
62374         * gmon/gmon.c: Likewise.
62375         * grp/fgetgrent_r.c: Likewise.
62376         * grp/putgrent.c: Likewise.
62377         * hurd/fopenport.c: Likewise.
62378         * include/libc-symbols.h: Likewise.
62379         * include/tls.h: Likewise.
62380         * intl/gettextP.h: Likewise.
62381         * intl/loadinfo.h: Likewise.
62382         * locale/global-locale.c: Likewise.
62383         * locale/localeinfo.h: Likewise.
62384         * mach/devstream.c: Likewise.
62385         * malloc/arena.c: Likewise.
62386         * malloc/set-freeres.c: Likewise.
62387         * misc/err.c: Likewise.
62388         * misc/getttyent.c: Likewise.
62389         * misc/mntent_r.c: Likewise.
62390         * posix/getopt.c: Likewise.
62391         * posix/wordexp.c: Likewise.
62392         * pwd/fgetpwent_r.c: Likewise.
62393         * resolv/Versions: Likewise.
62394         * resolv/res_hconf.c: Likewise.
62395         * shadow/fgetspent_r.c: Likewise.
62396         * shadow/putspent.c: Likewise.
62397         * stdio-common/printf_fphex.c: Likewise.
62398         * stdio-common/tmpfile.c: Likewise.
62399         * stdlib/abort.c: Likewise.
62400         * stdlib/fmtmsg.c: Likewise.
62401         * sunrpc/auth_unix.c: Likewise.
62402         * sunrpc/clnt_perr.c: Likewise.
62403         * sunrpc/clnt_tcp.c: Likewise.
62404         * sunrpc/clnt_udp.c: Likewise.
62405         * sunrpc/clnt_unix.c: Likewise.
62406         * sunrpc/openchild.c: Likewise.
62407         * sunrpc/svc_simple.c: Likewise.
62408         * sunrpc/svc_tcp.c: Likewise.
62409         * sunrpc/svc_udp.c: Likewise.
62410         * sunrpc/svc_unix.c: Likewise.
62411         * sunrpc/xdr.c: Likewise.
62412         * sunrpc/xdr_array.c: Likewise.
62413         * sunrpc/xdr_rec.c: Likewise.
62414         * sunrpc/xdr_ref.c: Likewise.
62415         * sunrpc/xdr_stdio.c: Likewise.
62417 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
62419         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
62421 2011-07-03  Andreas Jaeger  <aj@suse.de>
62423         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
62424         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
62425         regenerate with gen-libm-tests.pl.
62427 2010-05-12  Petr Baudis  <pasky@suse.cz>
62429         [BZ #11589]
62430         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
62431         around j0() zero points by switching to j1().
62432         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
62433         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
62434         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
62435         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
62437 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
62439         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
62440         instead of 0.
62441         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
62442         instead of 0.
62443         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
62444         Patch in part by Pavel Roskin <proski@gnu.org>.
62446         [BZ #13138]
62447         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
62448         realloc.
62449         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
62450         Free memory block if necessary.
62452         [BZ #12847]
62453         * libio/genops.c (INTDEF): For string streams the _lock pointer can
62454         be NULL.  Don't lock in this case.
62456 2011-09-09  Roland McGrath  <roland@hack.frob.com>
62458         * elf/elf.h (ELFOSABI_GNU): New macro.
62459         (ELFOSABI_LINUX): Define to that.
62461 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
62463         * string/strncat.c (strncat): Undef the symbol in case it has been
62464         defined in bits/string.h.
62466 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
62468         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
62470         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
62471         link map.
62473 2011-08-17  Andreas Jaeger  <aj@suse.de>
62475         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
62477 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
62478             Ian Lance Taylor  <iant@google.com>
62480         * math/libm-test.inc (lround_test): New testcase.
62481         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
62483 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
62485         * Makefile: Remove support for automatic cvs check-ins.
62486         * Makerules: Likewise.
62487         * config.make.in: Likewise.
62488         * configure.in: Likewise.
62489         * intl/Makefile: Likewise.
62490         * locale/Makefile: Likewise.
62491         * po/Makefile: Likewise.
62492         * posix/Makefile: Likewise.
62493         * sysdeps/gnu/Makefile: Likewise.
62494         * sysdeps/mach/hurd/Makefile: Likewise.
62495         * sysdeps/sparc/sparc32/Makefile: Likewise.
62497         [BZ #13118]
62498         * posix/Makefile (bug-regex32-ENV): Define.
62499         Patch by John Stanley <jpsinthemix@verizon.net>.
62501         * misc/Makefile (headers): Add bits/select2.h.
62502         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
62503         * misc/bits/select2.h: New file.
62504         * include/bits/select2.h: New file.
62505         * debug/Makefile (routines): Add fdelt_chk.
62506         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
62507         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
62508         FD_ISSET.
62509         * debug/fdelt_chk.c: New file.
62511         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
62512         * wcsmbs/test-wmemcmp.c: Likewise.
62513         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
62514         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
62516 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62518         * string/Makefile (strop-tests): Add memcmp.
62519         * string/test-wmemcmp.c: New file.
62520         * string/test-memcmp.c: Add wmemcmp support.
62522 2011-09-08  Roland McGrath  <roland@hack.frob.com>
62524         [BZ #13153]
62525         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
62526         2011-07-19 change.
62528         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
62529         garbage value in a __mach_port_mod_refs call in the cases of the
62530         task-self and thread-self ports.
62532 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62534         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
62536 2011-09-08  Andreas Schwab  <schwab@redhat.com>
62538         * elf/dl-load.c (lose): Check for non-null L.
62540 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
62542         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
62544         * elf/dl-libc.c (dlerror_run): Pass back error code from
62545         dl_catch_error.
62547         [BZ #13123]
62548         * elf/dl-load.c (lose): Free l_origin if it is valid.
62550         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
62551         names.
62552         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
62553         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
62554         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
62555         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
62556         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
62557         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
62559 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62561         * sysdeps/powerpc/fpu/e_hypot.c: New file.
62562         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
62563         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
62564         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
62565         * sysdeps/powerpc/fpu/k_cosf.c: New file.
62566         * sysdeps/powerpc/fpu/k_sinf.c: New file.
62567         * sysdeps/powerpc/fpu/s_cosf.c: New file.
62568         * sysdeps/powerpc/fpu/s_sinf.c: New file.
62569         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
62570         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
62572 2011-08-15  Alan Modra  <amodra@gmail.com>
62574         [BZ #13092]
62575         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
62576         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
62577         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
62578         ppc_mcount to static-only-routines.
62579         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
62580         __mcount_internal.
62581         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
62582         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
62584 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
62586         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
62587         for finite and infinity parameters.
62589 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
62591         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
62592         and add nop instructions for throughput optimization.
62593         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
62595 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
62597         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
62598         aligned copy for power7 with vector-scalar instructions.
62599         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
62601 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
62603         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
62604         AVX check.
62606 2011-09-07  Andreas Schwab  <schwab@redhat.com>
62608         [BZ #13144]
62609         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
62610         last change.
62612 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
62614         * sysdeps/unix/sysv/linux/x86_64/init-first.c
62615         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
62616         syscall wrapper around clock_gettime in __vdso_clock_gettime.
62617         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
62618         clock_gettime.
62620 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
62622         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
62623         Forgot to demangle the pointer.
62625         * sysdeps/i386/sysdep.h: Define atom_text_section.
62626         * sysdeps/x86_64/sysdep.h: Likewise.
62627         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
62628         section with atom_text_section.
62629         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
62630         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
62631         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
62632         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
62633         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
62635         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
62636         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
62637         already be defined.  Change to take two parameters and don't assign
62638         result to variable.  Adjust all users.
62639         Define INTERNAL_GETTIME if not already defined.
62640         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
62641         call.
62642         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
62643         HAVE_CLOCK_GETTIME_VSYSCALL.
62644         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
62646         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
62647         gettimeofday vsyscall, just use time.
62649 2011-09-06  Andreas Schwab  <schwab@redhat.com>
62651         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
62652         <errno.h>.
62654 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
62656         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
62657         syscall on x86-64.
62658         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
62659         syscall.
62660         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
62661         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
62662         syscall if possible.
62664 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
62666         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
62667         e_ident.  Don't pass to find_mapsXX.
62668         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
62670 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
62672         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
62673         strchr-sse2-no-bsf strrchr-sse2-no-bsf
62674         * sysdeps/x86_64/multiarch/strchr.S: Update.
62675         Check bit_slow_BSF bit.
62676         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
62677         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
62678         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
62680 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
62682         [BZ #13134]
62683         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
62684         before glibc 2.15.
62685         (tryshell): Define.
62686         (__spawni): Change last parameter to be flag.  Test
62687         SPAWN_XFLAGS_USE_PATH flag to use path or not.
62688         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
62689         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
62690         * posix/spawni.c: Likewise.
62691         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
62692         * posix/spawnp.c: Likewise.  Change normal version to use
62693         SPAWN_XFLAGS_USE_PATH.
62694         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
62695         SPAWN_XFLAGS_TRY_SHELL.
62697         [BZ #13150]
62698         * posix/glob.h: Remove gcc 1.x support.
62700         [BZ #13068]
62701         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
62703 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
62705         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
62706         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
62707         strrchr-sse2-bsf
62708         * sysdeps/i386/i686/multiarch/strchr.S: New file.
62709         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
62710         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
62711         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
62712         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
62713         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
62715 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62717         * sysdeps/x86_64/wcscmp.S: New file.
62719         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
62720         wcscmp-c wcscmp-sse2
62721         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
62722         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
62723         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
62724         * wcsmbs/wcscmp.c: Allow renaming.
62726 2011-09-05  David S. Miller  <davem@davemloft.net>
62728         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
62729         stack slot, rather than the struct return pointer slot.
62730         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
62731         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
62732         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
62733         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
62735 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
62737         * po/ja.po: Update from translation team.
62739         [BZ #13144]
62740         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
62741         kernel in 64-bit binaries.
62743 2011-09-01  David S. Miller  <davem@davemloft.net>
62745         * elf/elf.h (HWCAP_SPARC_*): Move to..
62746         * sysdeps/sparc/sysdep.h: this new file and add new values.
62747         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
62748         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
62749         _DL_HWCAP_COUNT to 24.
62750         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
62751         entries.
62752         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
62753         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
62754         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
62755         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
62756         instead of magic constants.
62757         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
62759 2011-08-31  David S. Miller  <davem@davemloft.net>
62761         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
62762         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
62763         Reimplement to do errno handling inline.
62764         (SYSCALL_ERROR_HANDLER): New macro.
62765         (__SYSCALL_STRING): Do not do errno handling in asm.
62766         (__CLONE_SYSCALL_STRING): Delete.
62767         (__INTERNAL_SYSCALL_STRING): Delete.
62768         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
62769         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
62770         (PSEUDO): Reimplement to do errno handling inline.
62771         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
62772         (SYSCALL_ERROR_HANDLER): New macro.
62773         (__SYSCALL_STRING): Do not do errno handling in asm.
62774         (__CLONE_SYSCALL_STRING): Delete.
62775         (__INTERNAL_SYSCALL_STRING): Delete.
62776         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
62777         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
62778         i386.
62779         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
62780         (inline_syscall*): Add 'err' argument.
62781         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
62782         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
62783         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
62784         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
62786         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
62787         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
62789 2011-08-30  Andreas Schwab  <schwab@redhat.com>
62791         * elf/rtld.c (dl_main): Relocate objects in dependency order.
62793 2011-08-29  Jiri Olsa <jolsa@redhat.com>
62795         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
62796         directive.
62798 2011-08-24  David S. Miller  <davem@davemloft.net>
62800         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
62802 2011-08-24  Andreas Schwab  <schwab@redhat.com>
62804         * elf/Makefile: Add rules to build and run unload8 test.
62805         * elf/unload8.c: New file.
62806         * elf/unload8mod1.c: New file.
62807         * elf/unload8mod1x.c: New file.
62808         * elf/unload8mod2.c: New file.
62809         * elf/unload8mod3.c: New file.
62811         * elf/dl-close.c (_dl_close_worker): Reset private search list if
62812         it wasn't used.
62814 2011-08-23  David S. Miller  <davem@davemloft.net>
62816         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
62817         subtract stack bias.
62818         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
62819         %sp not %fp in calculations.
62820         (_JMPBUF_UNWINDS_ADJ): Likewise.
62822         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
62823         (aio_suspend): Call it to force an exception region around the
62824         AIO_MISC_WAIT() invocation.
62826 2011-08-23  Andreas Schwab  <schwab@redhat.com>
62828         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
62829         backslash.
62831 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
62833         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
62834         protection macro.
62835         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
62836         and <dl-machine.h>.
62837         (Elf64_FuncDesc): Remove.
62839 2011-08-22  David S. Miller  <davem@davemloft.net>
62841         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
62842         sigaltstack check, add missing cfi directives.
62843         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
62844         missing cfi directives, and sigaltstack handling.
62846 2011-08-16  Andreas Schwab  <schwab@redhat.com>
62848         [BZ #11724]
62849         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
62850         object is seen twice.
62851         * elf/dl-fini.c (_dl_sort_fini): Likewise.
62853         * elf/Makefile (distribute): Add tst-initorder2.c.
62854         (tests): Add tst-initorder2.
62855         (modules-names): Add tst-initorder2a tst-initorder2b
62856         tst-initorder2c tst-initorder2d.  Add rules to build them.
62857         ($(objpfx)tst-initorder2.out): New rule.
62858         * elf/tst-initorder2.c: New file.
62859         * elf/tst-initorder2.exp: New file.
62861 2011-08-22  Andreas Schwab  <schwab@redhat.com>
62863         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
62865         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
62866         dependencies back to end of function.
62868         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
62869         $(elfobjdir)/ld.so.
62871 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
62873         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
62874         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
62875         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
62876         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
62877         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
62878         of __vdso_gettimeofday.
62879         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
62880         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
62881         attribute_hidden.
62882         (_libc_vdso_platform_setup): Remove initialization of
62883         __vdso_gettimeofday and __vdso_time.
62885 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
62887         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
62888         and fgetc_unlocked.
62889         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
62890         getc_unlocked.
62892         * elf/dl-open.c (add_to_global): Report additions to the global scope
62893         for LD_DEBUG=scopes.
62894         (dl_open_worker): Also print scope of newly loaded dependencies.
62895         (_dl_show_scope): Indicate if there is no scope.
62897         [BZ #13114]
62898         * stdio-common/Makefile (tests): Add bug24.
62899         * stdio-common/bug24.c: New file.
62901 2011-08-19  Andreas Jaeger  <aj@suse.de>
62903         [BZ #13114]
62904         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
62905         non-existant file when using close-on-exec mode.
62907 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
62909         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
62910         the very first instruction.
62912         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
62913         the CFI state in the end.
62914         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
62915         inclusion of dl-trampoline.h.
62916         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
62918 2011-08-19  Andreas Schwab  <schwab@redhat.com>
62920         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
62921         expectations for long double.
62923         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
62924         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
62926 2011-08-14  David S. Miller  <davem@davemloft.net>
62928         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
62929         artificual limit depends upon the system page size.
62931 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
62933         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
62934         * resolv/Makefile: Define CFLAGS-libresolv.
62936 2011-08-17  Andreas Schwab  <schwab@redhat.com>
62938         * nss/makedb.c (compute_tables): Make variables used in nested
62939         function static.
62941 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
62943         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
62944         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
62945         if buffer was too small.
62947         * elf/pldd.c (main): Attach to all threads in the process.
62948         Rewrite /proc handling to use *at functions.
62950 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
62952         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
62953         specifies first scope to show.
62954         (dl_open_worker): Update callers.  Move printing scope of new
62955         object to before the relocation.
62956         * elf/rtld.c (dl_main): Update _dl_show_scope call.
62957         * sysdeps/generic/ldsodefs.h: Update declaration.
62959         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
62960         string for the scope number.
62962 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
62964         * nscd/servicescache.c (cache_addserv): Make sure written is always
62965         initialized.
62967 2011-08-14  Roland McGrath  <roland@hack.frob.com>
62969         * sysdeps/i386/i486/bits/atomic.h
62970         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
62971         statement expression, so as to suppress "set but not used" warning.
62972         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
62974         * string/strncat.c (STRNCAT): Use prototype definition.
62976         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
62977         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
62978         -Iprograms here.
62979         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
62980         (localedef-modules): Add localedef.
62981         (locale-modules): Add locale.
62983         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
62984         * elf/rtld.c (dl_main): Invert order of assignment in last change,
62985         to avoid a warning.
62987 2011-08-14  David S. Miller  <davem@davemloft.net>
62989         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
62990         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
62992 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
62994         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
62995         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
62996         * elf/rtld.c (dl_main): Set l_name of vDSO.
62997         Call _dl_show_scope when DL_DEBUG_SCOPES.
62998         (process_dl_debug): Recognize scopes flag and also set it for all.
62999         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
63000         Declare _dl_show_scope.
63002         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
63003         (do_dlopen): Pass caller_dlopen to dl_open.
63004         (__libc_dlopen_mode): Initialize caller_dlopen.
63006         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
63007         of libc.  Make tolower call locale-independent.  Optimize a bit by
63008         using isdigit instead of isalnum.
63009         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
63011 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
63013         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
63014         was a dependency or dynamically loaded.
63016 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
63018         * intl/l10nflist.c: Allow architecture-specific pop function.
63019         * sysdeps/x86_64/l10nflist.c: New file.
63021         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
63022         classification.
63024 2011-08-10  Andreas Schwab  <schwab@redhat.com>
63026         * include/dirent.h: Add libc_hidden_proto for scandirat and
63027         scandirat64.  Don't declare __scandirat64.
63028         * dirent/scandirat.c: Add libc_hidden_def.
63029         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
63030         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
63032 2011-08-10  David S. Miller  <davem@davemloft.net>
63034         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
63035         enum.
63036         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
63037         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
63038         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
63040 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
63042         * Versions.def [libc]: Add GLIBC_2.15.
63043         * dirent/Makefile (routines): Add scandirat and scandirat64.
63044         * dirent/Versions [libc]: Export scandirat and scandirat64 for
63045         GLIBC_2.15.
63046         * dirent/dirent.h: Declare scandirat and scandirat64.
63047         * dirent/scandirat.c: New file.
63048         * dirent/scandirat64.c: New file.
63049         * sysdeps/wordsize-64/scandirat.c: New file.
63050         * sysdeps/wordsize-64/scandirat64.c: New file.
63051         * dirent/opendir.c: Define opendirat.
63052         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
63053         using scandirat.
63054         * dirent/scandir64.c: Adjust for scandir.c change.
63055         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
63056         __scandirat64, and __scandir_cancel_handler.
63057         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
63058         additional parameter and use openat instead of open (outside of ld.so).
63059         Add new __opendir as wrapper around __opendirat.
63060         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
63061         here without requiring old scandirat implementation.
63063 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
63065         * dirent/scandir.c (cancel_handler): Renamed to
63066         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
63067         defined.  Adjust users.
63068         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
63069         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
63071 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
63073         * string/test-string.h (IMPL): Use __STRING to expand name and then
63074         stringify it.
63076         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
63077         of cleanups.
63079 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63081         * string/Makefile: Update.
63082         (strop-tests): Append strncat.
63083         * string/test-wcscmp.c: New file.
63084         New comprehensive test for wcscmp.
63085         * string/test-strcmp.c: Update.
63086         (WIDE): New define.
63088 2011-07-22  Andreas Schwab  <schwab@redhat.com>
63090         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
63091         line.
63093 2011-07-26  Andreas Schwab  <schwab@redhat.com>
63095         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
63096         encoding to ACE if AI_IDN.
63098 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
63100         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
63101         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
63103 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
63105         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
63106         Fix overflow bug in strncat.
63107         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
63109         * string/test-strncat.c: Update.
63110         Add new tests for checking overflow bugs.
63112 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
63114         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
63115         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
63116         * sysdeps/i386/i686/multiarch/strcat.S: New file.
63117         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
63118         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
63119         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
63120         * sysdeps/i386/i686/multiarch/strncat.S: New file.
63121         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
63122         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
63124         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
63125         (USE_AS_STRCAT): Define.
63126         Add strcat and strncat support.
63127         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
63129 2011-07-25  Andreas Schwab  <schwab@redhat.com>
63131         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
63132         __n bigger than INT_MAX+1.
63133         (__strncmp_g): Likewise.
63135 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
63137         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
63138         * libio/stido.h: Likewise.
63140         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
63141         (AF_NFC): Define.
63142         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
63143         (AF_NFC): Define.
63145         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
63146         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
63147         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
63148         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
63149         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
63151         [BZ #13021]
63152         * scripts/test-installation.pl: Don't expect libnss_test1 to be
63153         installed.
63155         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
63156         typo.
63157         (_dl_x86_64_save_sse): Likewise.
63159 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
63161         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
63162         OSXSAVE.
63163         (_dl_x86_64_save_sse): Likewise.
63165         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
63167         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
63169 2011-07-21  Andreas Schwab  <schwab@redhat.com>
63171         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
63172         change.
63173         (_dl_x86_64_save_sse): Use correct AVX check.
63175 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63177         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
63178         bug in strncpy/strncat.
63179         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
63181 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
63183         * string/tester.c (test_strcat): Add tests for different alignments
63184         of source and destination.
63185         (test_strncat): Likewise.
63187 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
63189         [BZ #12852]
63190         * posix/glob.c (glob): Check passed in values before using them in
63191         expressions to avoid some overflows.
63192         (glob_in_dir): Likewise.
63194         [BZ #13007]
63195         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
63196         check for AVX enablement so that we don't crash with old kernels and
63197         new hardware.
63198         * elf/tst-audit4.c: Add same checks here.
63199         * elf/tst-audit6.c: Likewise.
63201         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
63203 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
63205         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
63207 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
63209         * po/cs.po: Update from translation team.
63210         * po/bg.po: Likewise.
63212 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
63214         * misc/sys/cdefs.h: Add support for const attribute.
63215         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
63216         to gnu_dev_{major,minor,makedev} functions.
63218 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
63220         * intl/dcigettext.c (get_output_charset): Add missing bracket.
63222 2011-07-20  Andreas Schwab  <schwab@redhat.com>
63224         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
63225         strlen results.
63227 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63229         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
63230         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
63231         register in order to avoid conflicts with the soft frame pointer
63232         being held in r11 when necessary.
63233         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
63234         (INTERNAL_VSYSCALL_NCS): Likewise.
63236 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
63238         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
63239         * elf/dl-fini.c (_dl_fini): Adjust caller.
63240         * elf/dl-close.c (_dl_close_worker): Likewise.
63241         * sysdeps/generic/ldsodefs.h: Adjust declaration.
63243 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
63245         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
63246         "aux_cache->nlibs < 0".
63248         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
63249         in the reload-count case.
63251 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
63253         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
63254         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
63255         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
63256         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
63257         * sysdeps/x86_64/multiarch/strcat.S: New file.
63258         * sysdeps/x86_64/multiarch/strncat.S: New file.
63259         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
63260         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
63261         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
63262         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
63263         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
63264         (USE_AS_STRCAT): Define.
63265         Add strcat and strncat support.
63266         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
63267         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
63268         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
63269         * string/strncat.c: Update.
63270         (USE_AS_STRNCAT): Define.
63271         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63272         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
63273         and i7.
63274         * sysdeps/x86_64/multiarch/init-arch.h
63275         (bit_Prefer_PMINUB_for_stringop): New.
63276         (index_Prefer_PMINUB_for_stringop): Likewise.
63277         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
63278         bit_Prefer_PMINUB_for_stringop.
63280 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
63282         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
63283         buffer64.
63284         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
63285         of casting of buffer.
63286         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
63287         buffer32 and buffer64.
63288         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
63289         writes instead of casting of buffer.
63290         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
63291         buffer32.
63292         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
63293         casting of buffer.
63295 2011-07-19  Andreas Schwab  <schwab@redhat.com>
63297         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
63299 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
63301         * nscd/nscd.c (termination_handler): Don't do anything for a database
63302         if it has not yet been initialized.
63304 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
63306         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
63308 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
63310         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
63312 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
63314         * po/nl.po: Update from translation team.
63315         * po/sv.po: Likewise.
63317 2011-07-16  Roland McGrath  <roland@hack.frob.com>
63319         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
63320         now disallowed by GCC.
63322         * configure.in (use-default-link): Default to yes if a test -shared
63323         link meets our qualifications.
63324         * configure: Regenerated.
63326         * config.make.in (output-format): New variable.
63327         * configure.in: Check for ld --print-output-format support.
63328         * configure: Regenerated.
63329         * Makerules ($(common-objpfx)format.lds)
63330         [$(output-format) != unknown]: Just use $(output-format),
63331         instead of the linker-script munging.
63333 2011-07-14  Roland McGrath  <roland@hack.frob.com>
63335         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
63336         of $(common-objpfx)shlib.lds.
63337         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
63339         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
63340         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
63342         * configure.in (-z relro check): Adjust test code to add a large
63343         writable data section after it.
63344         * configure: Regenerated.
63346 2011-07-11  Roland McGrath  <roland@hack.frob.com>
63348         * configure.in (-z relro check): Fix test code to make the variable
63349         truly const.
63350         * configure: Regenerated.
63352 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
63354         * nscd/nscd.h (struct traced_file): Define.
63355         (struct database_dyn): Remove inotify_descr, reset_res, and filename
63356         elements.  Add traced_files.
63357         (inotify_fd): Declare.
63358         (register_traced_file): Declare.
63359         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
63360         (inotify_fd): Export.
63361         (resolv_conf_descr): Remove.
63362         (nscd_init): Move inotify descriptor creation to main.
63363         Don't register files for notification here.
63364         (register_traced_file): New function.
63365         (invalidate_cache): Don't use reset_res to determine whether to call
63366         res_init, go through the list of registered files.
63367         (main_loop_poll): The inotify descriptors are now stored in the
63368         structures for the traced files.
63369         (main_loop_epoll): Likewise
63370         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
63371         to __nss_disable_nscd.
63372         * nscd/cache.c (prune_cache): There is no single inotify descriptor
63373         for a database anymore.  Check the records for all the registered
63374         files instead.
63375         * nss/Makefile (libnss_files-routines): Add files-init.
63376         (libnss_db-routines): Add db-init.
63377         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
63378         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
63379         * nss/nss_db/db-init.c: New file.
63380         * nss/nss_files/files-init.c: New file.
63381         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
63382         __nss_lookup_function.
63383         (__nss_lookup_function): Call nss_load_library.
63384         (nss_load_all_libraries): New function.
63385         (__nss_disable_nscd): Take parameter with callback function for files
63386         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
63387         used for the cached services.
63388         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
63389         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
63390         options for features to all the files in nscd.
63392         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
63394 2011-07-10  Roland McGrath  <roland@hack.frob.com>
63396         * csu/elf-init.c (__libc_csu_init): Comment typo.
63398 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
63400         * po/pl.po: Update from translation team.
63401         * po/ja.po: Likewise.
63402         * po/ru.po: Likewise.
63403         * po/ko.po: Likewise.
63404         * po/fr.po: Likewise.
63406 2011-07-09  Roland McGrath  <roland@hack.frob.com>
63408         * configure.in (.ctors/.dtors header and trailer check):
63409         Use an empirical test on a built program.
63410         * configure: Regenerated.
63412         * configure.in (-z relro check): Use an empirical test on a built DSO.
63413         Detect, but do not require, on ia64.
63414         * configure: Regenerated.
63416         * configure.in (READELF): Find it with AC_CHECK_TOOL.
63417         Update tests that use readelf to use $READELF instead.
63418         * configure: Regenerated.
63420 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
63422         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
63423         if the result is not used.
63425 2011-07-05  Andreas Jaeger  <aj@suse.de>
63427         [BZ#9696]
63428         * stdlib/tst-strtod.c: Add testcase.
63430 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
63432         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
63433         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
63434         The latter has a higher limit.  Take additional parameter to pass to
63435         the new function.
63436         (__pathconf): Pass file to __statfs_link_max.
63437         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
63438         __statfs_link_max.
63439         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
63440         __statfs_link_max.
63442         [BZ #12868]
63443         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
63444         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
63445         Handle Lustre.
63446         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
63447         (__statfs_filesize_max): Likewise.
63448         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
63450 2011-07-05  Andreas Jaeger  <aj@suse.de>
63452         * resolv/res_comp.c (dn_skipname): Remove unused variable.
63454 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
63456         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
63457         `status' variable.
63458         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
63459         Likewise.
63461 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
63463         * Makefile (strop-tests): Add strncat.
63464         * string/test-strncat.c: New file.
63466 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
63468         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
63470 2011-06-21  Andreas Jaeger  <aj@suse.de>
63472         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
63473         Copy rule from iconvdata/Makefile.
63475 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
63477         [BZ #12922]
63478         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
63479         but no long options are defined, just return 'W'.
63481 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
63483         [BZ #9696]
63484         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
63486 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
63488         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
63489         netgroups to read.
63490         (innetgr): Likewise.
63492 2011-07-05  Roland McGrath  <roland@hack.frob.com>
63494         * config.make.in (install_root): Default to $(DESTDIR).
63496 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
63498         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
63500 2011-07-02  Roland McGrath  <roland@hack.frob.com>
63502         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
63504         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
63505         containing directory rather than embedding absolute directory names.
63507         * scripts/check-local-headers.sh: Rewritten using awk.
63508         Match by word, not by line.  Print error messages for matches.
63509         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
63511         * Makerules [shlib-lds-flags empty]:
63512         ($(common-objpfx)libc_pic.opts): New target.
63513         ($(common-objpfx)libc_pic.os.clean): New target.
63514         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
63516         * config.make.in (OBJCOPY): New variable.
63517         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
63518         * configure: Regenerated.
63520         * config.make.in (use-default-link): New variable.
63521         * configure.in (use_default_link): Grok --with-default-link to set it.
63522         * configure: Regenerated.
63523         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
63524         (shlib-lds, shlib-lds-flags): Define to empty.
63526         * Makerules (shlib-lds): New variable.
63527         (shlib-lds-flags): New variable.
63528         (build-shlib, build-moduile, build-module-asneeded): Use it.
63529         ($(common-objpfx)libc.so): Use $(shlib-lds).
63530         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
63531         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
63533         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
63534         DT_FLAGS/DT_FLAGS_1 with zero flags.
63536         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
63537         linker script munging.
63539 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
63541         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
63542         as 128-bit value.
63543         * crypt/sha512.c (sha512_process_block): Perform total addition using
63544         128-bit if possible.
63545         (__sha512_finish_ctx): Likewise.
63546         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
63547         as 64-bit value.
63548         * crypt/sha256.c (SWAP64): Define.
63549         (sha256_process_block): Perform total addition using 64-bit if
63550         possible.
63551         (__sha256_finish_ctx): Likewise.
63553 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
63555         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
63556         * nscd/initgrcache.c (addinitgroupsX): Likewise.
63557         * nscd/hstcache.c (cache_addhst): Likewise.
63558         * nscd/grpcache.c (cache_addgr): Likewise.
63559         * nscd/aicache.c (addhstaiX): Likewise
63560         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
63562 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
63564         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
63565         * nscd/initgrcache.c (addinitgroupsX): Likewise.
63566         * nscd/hstcache.c (cache_addhst): Likewise.
63567         * nscd/grpcache.c (cache_addgr): Likewise.
63568         * nscd/aicache.c (addhstaiX): Likewise
63570 2011-07-01  Andreas Schwab  <schwab@redhat.com>
63572         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
63573         domain only when needed.
63575 2011-06-30  Andreas Schwab  <schwab@redhat.com>
63577         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
63578         is always restored.
63580 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
63582         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
63583         are re-adding the entry.
63584         * nscd/servicescache.c (cache_addserv): Likewise.
63586 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
63588         * sysdeps/generic/dl-irel.h: fix protection against multiple
63589         inclusions.
63590         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
63592 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
63594         [BZ #12935]
63595         * malloc/memusage.sh: Fix quoting in message.
63596         * debug/xtrace.sh: Likewise.
63598         * configure.in: Remove support for --experimental-malloc option, make
63599         it the default.
63600         * config.make.in: Likewise.
63601         * malloc/Makefile: Likewise.
63603 2011-06-27  Andreas Schwab  <schwab@redhat.com>
63605         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
63606         two-byte characters.
63608 2011-06-27  Roland McGrath  <roland@hack.frob.com>
63610         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
63611         AC_CACHE_CHECK invocation.
63612         * configure: Regenerated.
63614         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
63616 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
63618         [BZ #12350]
63619         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
63620         bit from old_res_options.
63622         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
63624         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
63625         value type for setfct.
63627 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
63629         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
63630         __gettimeofday instead of gettimeofday.
63632 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
63634         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
63636 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
63638         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
63640         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
63641         info.
63643 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
63645         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
63646         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
63647         strcpy-sse2-unaligned strncpy-sse2-unaligned
63648         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
63649         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
63650         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
63651         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
63652         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
63653         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
63654         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
63655         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
63656         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
63657         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
63658         (STRCPY): Support SSE2 and SSSE3 versions.
63660 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
63662         [BZ #12874]
63663         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
63664         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
63665         kernels which artificially limit size of requests.
63667 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
63669         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
63670         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
63671         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
63672         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
63673         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
63674         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
63675         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
63676         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
63677         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
63678         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
63679         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
63680         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
63681         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
63682         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
63683         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
63684         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63685         Enable unaligned load optimization for Intel Core i3, i5 and i7
63686         processors.
63687         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
63688         Define.
63689         (index_Fast_Unaligned_Load): Define.
63690         (HAS_FAST_UNALIGNED_LOAD): Define.
63692 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
63694         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
63696 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
63698         [BZ #12907]
63699         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
63700         until it is clear that the information is realy needed.
63701         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
63703 2011-06-22  Andreas Schwab  <schwab@redhat.com>
63705         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
63707 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
63709         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
63710         /sys/devices/system/cpu/online if it is usable.
63712         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
63713         reading the information from the /proc filesystem to once a second.
63715 2011-06-21  Andreas Jaeger  <aj@suse.de>
63717         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
63718         NULL after inclusion of kernel headers.
63720 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
63722         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
63723         calls to internal_setent.
63725         [BZ #12885]
63726         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
63727         addresses using gethostbyname4_r ignore IPv4 addresses.
63729         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
63730         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
63732         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
63734 2011-06-20  David S. Miller  <davem@davemloft.net>
63736         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
63737         inclusions.
63738         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
63740         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
63741         (elf_irel): Use it.
63742         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
63743         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
63744         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
63745         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
63746         * sysdeps/x86_64/dl-irel.h: Likewise.
63748         * elf/dl-runtime.c: Use elf_ifunc_invoke.
63749         * elf/dl-sym.c: Likewise.
63751 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
63753         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
63754         need to dereference resplen2.
63756 2011-06-14  Andreas Schwab  <schwab@redhat.com>
63758         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
63760 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
63762         * Makeconfig: Define vardbdir and inst_vardbdir.
63763         * nss/Makefile: Add rules to install db-Makefile.
63765         * nss/nss_db/db-XXX.c: Cleanup.
63767         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
63768         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
63769         GLIBC_PRIVATE.
63770         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
63771         * nss/makedb.c: Implement -g option to specify that value strings
63772         are generated and should not be added to table iterated over for
63773         get*ent calls.
63774         * nss/nss_db/db-initgroups.c: New file.
63776         * nss/getent.c: Add support for initgroups lookups through getgrouplist
63777         interface.
63779         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
63780         (internal_getgrouplist): Adjust to name change.
63781         Update use_initgroups_entry if this is not the first call.
63782         * nss/databases.def: Add initgroups entry.
63784         * nss/makedb.c (compute_tables): Check result of multiple hash table
63785         sizes to minimize maximum chain length.
63787 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
63789         * Versions.def: Add entry for libnss_db.
63790         * shlib-versions: Likewise.
63791         * nss/Makefile: Add rules to build libnss_db.
63792         * nss/Versions: Add libnss_db information.  Organize libnss_files
63793         entries better.
63794         * nss/db-Makefile: Add gshadow support.  Change rules for the new
63795         makedb progra.  Some minor improvements to generate smaller files.
63796         * nss/nss_db/nss_db.h: Move NSS database header data structures to
63797         here from...
63798         * nss/makedb.c: ...here.
63799         Improve database format to be smaller and require less memory at
63800         runtime.
63801         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
63802         db anymore.
63803         * nss/nss_db/db-netgrp.c: Likewise.
63804         * nss/nss_db/db-open.c: Likewise.
63805         * nss/nss_files/flies-XXX.x: Adjust comments.
63806         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
63807         * nss/nss_files/files-grp.c: Likewise.
63808         * nss/nss_files/files-hosts.c: Likewise.
63809         * nss/nss_files/files-network.c: Likewise.
63810         * nss/nss_files/files-proto.c: Likewise.
63811         * nss/nss_files/files-pwd.c: Likewise.
63812         * nss/nss_files/files-rpc.c: Likewise.
63813         * nss/nss_files/files-service.c: Likewise.
63814         * nss/nss_files/files-sgrp.c: Likewise.
63815         * nss/nss_files/files-spwd.c: Likewise.
63816         * nss/nss_db/db-alias.c: Removed.
63817         * nss/nss_db/dummy-db.h: Removed.
63819 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
63821         * nss/makedb.c: Rewritten to not use database library.
63822         * nss/Makefile: Update to build new makedb program.
63824 2011-06-14  Andreas Jaeger  <aj@suse.de>
63826         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
63827         memset declaration.
63829 2011-06-10  Andreas Schwab  <schwab@redhat.com>
63831         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
63832         tmpbuf.
63834 2011-06-10  Roland McGrath  <roland@hack.frob.com>
63836         * Makerules (shlib.lds): Fail if the linker script comes out empty.
63837         * elf/Makefile ($(objpfx)ld.so): Likewise.
63839         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
63840         Don't list ld.so twice in dependencies.
63842         * posix/bug-regex31.c: Include <stdlib.h>.
63844         * nscd/hstcache.c (cache_addhst): Remove unused variable.
63846         * nis/nss_compat/compat-spwd.c
63847         (getspent_next_nss_netgr): Remove unused variable.
63848         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
63850         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
63851         nonmembers" output to use the right array.
63853         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
63855         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
63857         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
63858         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
63859         * catgets/gencat.c (read_input_file): Likewise.
63860         * locale/programs/locarchive.c (enlarge_archive): Likewise.
63862         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
63863         variable definition inside #if's controlling its use.
63865         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
63867         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
63869         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
63871         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
63872         unreachable code.
63874         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
63876         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
63877         * configure: Regenerated.
63879         * Makerules: Revert last change.
63880         * elf/Makefile: Likewise.
63882 2011-06-09  Roland McGrath  <roland@hack.frob.com>
63884         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
63885         * elf/Makefile ($(objpfx)librtld.os): Likewise.
63886         (reloc-link): Likewise.
63888 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
63890         * elf/Makefile: Add rules to build pldd.
63891         * elf/pldd.c: New file.
63892         * elf/pldd-xx.c: New file.
63894 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
63896         * version.h: Update for 2.15 development version.
63898 2011-06-07  David S. Miller  <davem@davemloft.net>
63900         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
63901         ifuncs.
63902         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
63903         elf_machine_lazy_rel): Likewise.
63904         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
63905         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
63906         elf_machine_lazy_rel): Likewise.
63907         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
63908         dl_hwcap via passed in argument.
63909         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
63910         Likewise.
63912 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63914         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
63916 2011-06-06  Roland McGrath  <roland@hack.frob.com>
63918         [BZ #12849]
63919         * manual/fdl-1.1.texi: New file, verbatim from:
63920         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
63921         * manual/lgpl-2.1.texi: New file, verbatim from:
63922         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
63923         * manual/Makefile (licenses): New variable, list those new file names.
63924         (texis): Use it.
63925         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
63927         * manual/fdl.texi: File removed.
63928         * manual/lesser.texi: File removed.
63929         * manual/libc.texinfo (Copying, Documentation License):
63930         Use new @include file names, put @appendix directive before @include.
63932 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
63934         [BZ #12841]
63935         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
63936         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
63937         (mq_open): Add __NTH.
63939 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
63941         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63942         Assume Intel Core i3/i5/i7 processor if AVX is available.
63944 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
63946         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
63947         typo.
63949 2011-05-31  Andreas Schwab  <schwab@redhat.com>
63951         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
63952         memory.  Use alloca_account.  Fix memory leak when retrying.
63954 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
63956         * version.h (RELEASE): Bump for 2.14 release.
63957         * include/features.h (__GLIBC_MINOR__): Bump to 14.
63959         * config.make.in (RANLIB): Remove entry.
63961 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
63963         * po/Makefile (po-sed-cmd): Add ksh to extensions.
63964         (libc.pot): Work around missing support for .ksh extension in xgettext.
63966         [BZ #12684]
63967         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
63968         if both request failed.
63969         (send_dg): In case of server errors clear resplen or *resplen2.
63971         [BZ #12454]
63972         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
63973         when there are multiple maps.
63974         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
63975         (_dl_fini): Remove test here.
63977         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
63979 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
63981         [BZ #12350]
63982         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
63983         bit from old_res_options.
63984         (gaih_inet): Likewise.
63986         [BZ #11099]
63987         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
63988         as signed.
63990         * resolv/res_init.c (res_setoptions): Make the code more compact.
63992         [BZ #11558]
63993         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
63994         set RES_USEVC.
63996         [BZ #11634]
63997         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
63999         * malloc/malloc.h: Mark malloc hook variables as deprecated.
64001         [BZ #11781]
64002         * malloc/malloc.h: Declare malloc hook variables as volatile.
64004         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
64005         in last patch.
64007         [BZ #11799]
64008         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
64009         raise in the comment.
64010         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
64011         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
64012         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
64014 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
64016         [BZ #12811]
64017         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
64018         grow the buffers more if it already has to be sufficient.
64019         (build_wcs_upper_buffer): Likewise.
64020         * posix/regexec.c (check_matching): Likewise.
64021         (clean_state_log_if_needed): Likewise.
64022         (extend_buffers): Don't enlarge buffers beyond size of the input
64023         buffer.
64024         Patches mostly by Emil Wojak <emil@wojak.eu>.
64025         * posix/bug-regex32.c: New file.
64026         * posix/Makefile (tests): Add bug-regex32.
64028         * locale/findlocale.c (_nl_find_locale): Return right away if
64029         _nl_explode_name failed.
64030         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
64032         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
64034         * debug/xtrace.sh: Unify messages.
64035         * malloc/memusage.sh: Likewise.
64037         [BZ #12813]
64038         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
64039         time symbol from vDSO.  Substitute with vsyscall if not available.
64040         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
64041         __vdso_time.
64043         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
64044         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
64045         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
64046         Add sendmmsg and internal_sendmmsg.
64047         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
64048         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
64049         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
64051         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
64052         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
64053         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
64055 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
64057         [BZ #12813]
64058         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
64059         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
64060         available.
64061         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
64062         __vdso_getcpu.
64064         [BZ #12814]
64065         * iconvdata/Makefile (tests): Add bug-iconv9.
64066         * iconvdata/bug-iconv9.c: New file.
64068 2011-05-27  Andreas Schwab  <schwab@redhat.com>
64070         [BZ #12814]
64071         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
64073 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
64075         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
64076         (struct user_regs_struct): Change intcs field back to cs.
64078 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
64080         * po/ja.po: Update from translation team.
64082 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
64084         [BZ #12795]
64085         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
64086         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
64088 2011-05-20  Andreas Schwab  <schwab@redhat.com>
64090         * stdlib/longlong.h: Update from GCC.
64092 2011-05-23  Andreas Schwab  <schwab@redhat.com>
64094         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
64095         parameter name.
64096         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
64097         Add parameter name.
64098         (__sysconf): Pass it down.
64100 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
64102         [BZ #12671]
64103         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
64104         some situations.
64105         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
64106         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
64107         add in in __libc_use_alloca calls.  Adjust callers.
64108         (glob): Use malloc in some situations.
64110         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
64111         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
64112         pltexit.
64114 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
64116         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
64117         and CLOCK_BOOTTIME_ALARM.
64119         [BZ #12782]
64120         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
64121         is returned.
64123         * string/_strerror.c (__strerror_r): Print negative errors as signed
64124         numbers.
64126         [BZ #12777]
64127         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
64128         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
64129         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
64131         * configure.in: Fix typo in redirection and correct removal of test
64132         files in two cases.
64134         [BZ #12788]
64135         * locale/setlocale.c (new_composite_name): Fix test to check for
64136         identical name of all categories.
64138         [BZ #12792]
64139         * libio/filedoalloc.c (local_isatty): New function.
64140         (_IO_file_doallocate): Use local_isatty.
64141         * stdio-common/perror.c (perror): In case a new stream is used
64142         forward the stream error.
64143         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
64144         error flag.
64146 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
64148         [BZ #11869]
64149         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
64150         alloca.
64151         * include/alloca.h (extend_alloca_account): Define.
64153         [BZ #11857]
64154         * posix/regex.h: Fix comments with documentation of user-accessible
64155         fields after compilation and describe correct free'ing of pattern
64156         after re_compile_pattern.
64157         Patch by Reuben Thomas <rrt@sc3d.org>.
64159 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
64161         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
64162         and -mno-altivec to prevent the compiler from using Altivec and/or
64163         VSX instructions when the corresponding registers are not available.
64165 2011-05-19  Andreas Schwab  <schwab@redhat.com>
64167         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
64169 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
64171         * libio/freopen.c (freopen): Use __dup2, not dup2.
64172         * libio/freopen64.c (freopen64): Likewise.
64174 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
64176         [BZ #12775]
64177         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
64178         * math/Makefile (tests): Add test-powl.
64179         (CFLAGS-test-powl.c): Define.
64180         * math/test-powl.c: New file.
64182 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
64184         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
64186 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
64188         [BZ #11837]
64189         * iconvdata/gb18030.c: Update to GB18020-2005.
64191 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
64193         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
64194         RE_SYNTAX_POSIX_AWK): Update to match recent development.
64195         Patch by Aharon Robbins <arnold@skeeve.com>.
64197         [BZ #11892]
64198         * stdlib/putenv.c (putenv): Don't always create copy of the variable
64199         on the stack.
64201         [BZ #11895]
64202         * misc/pselect.c (__pselect): Handle timeout value errors hidden
64203         through underflows.
64205         [BZ #12766]
64206         * misc/error.c (error_at_line): Ensure file_name and old_file_name
64207         point to strings before performing equality test for error_one_per_line
64208         mode.
64210         [BZ #11697]
64211         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
64213         [BZ #11820]
64214         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
64215         (struct user_fpregs_struct): Avoid __uint*_t types.
64217         [BZ #6420]
64218         * malloc/mtrace.c (tr_where): Add additional parameter to point to
64219         symbol info.  Use it instead of calling _dl_addr locally.
64220         (lock_and_info): New function.
64221         (tr_freehook): Call lock_and_info and pass symbol info as additional
64222         parameter to tr_where.
64223         (tr_mallochook): Likewise.
64224         (tr_reallochook): Likewise.
64225         (tr_memalignhook): Likewise.
64227         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
64228         used and couldn't be at all thread-safe.
64230 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
64232         * libio/freopen.c (freopen): Don't close old file descriptor
64233         before the new one is opened.  Instead dup the new file descriptor
64234         to the old one after the new stream is created.
64235         * libio/freopen64.c (freopen64): Likewise.
64236         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
64237         * libio/fileops.c (_IO_new_file_close_it): Handle new
64238         _IO_FLAGS2_NOCLOSE flag.
64239         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
64240         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
64241         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
64242         _IO_FLAGS2_NOCLOSE flag.
64243         * include/unistd.h: Add hidden_proto for dup3.
64244         Define __have_dup3.
64245         * io/dup3.c: Define hidden symbol.
64246         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
64248         [BZ #7101]
64249         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
64250         when an incomplete long option is used.
64251         * posix/tst-getopt_long1.c: New file.
64252         * posix/Makefile (tests): Add tst-getopt_long1.
64254         [BZ #10138]
64255         * scripts/config.guess: Update from autoconf-2.68.
64256         * scripts/config.sub: Likewise.
64258         [BZ #10157]
64259         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
64260         tests into ...
64261         (has_cpuclock): ...this.  New function.
64262         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
64263         macro here based on has_cpuclock code.
64265         [BZ #10149]
64266         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
64267         First byte (not low byte) is now always NUL.
64268         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
64270         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
64271         Use non-cancelable interfaces.
64273         [BZ #9809]
64274         * locale/iso-639.def: Add entry for Sorani.
64276         [BZ #11901]
64277         * include/stdlib.h: Move include protection to the right place.
64278         Define abort_msg_s.  Declare __abort_msg with it.
64279         * stdlib/abort.c (__abort_msg): Adjust type.
64280         * assert/assert.c (__assert_fail_base): New function.  Majority
64281         of code from __assert_fail.  Allocate memory for __abort_msg with
64282         mmap.
64283         (__assert_fail): Now call __assert_fail_base.
64284         * assert/assert-perr.c: Remove bulk of implementation.  Use
64285         __assert_fail_base.
64286         * include/assert.hL Declare __assert_fail_base.
64287         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
64288         mmap.
64289         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
64291 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
64293         [BZ #11952]
64294         [BZ #12453]
64295         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
64296         until all modules are registered in the DTV.
64297         * elf/Makefile: Add rules to build and run tst-tls19.
64298         * elf/tst-tls19.c: New file.
64299         * elf/tst-tls19mod1.c: New file.
64300         * elf/tst-tls19mod2.c: New file.
64301         * elf/tst-tls19mod3.c: New file.
64302         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
64304         [BZ #12083]
64305         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
64306         correctly.
64308         [BZ #12601]
64309         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
64310         two-byte sequence errors.
64311         * iconvdata/Makefile (tests): Add bug-iconv8.
64312         * iconvdata/bug-iconv8.c: New file.
64314         [BZ #12626]
64315         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
64316         buf2 definition.
64318         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
64320         [BZ #12432]
64321         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
64322         (dummy_getcfa): New function.
64323         (init): Get _Unwind_GetCFA address, use dummy if not found.
64324         (backtrace_helper): In recursion check, also check whether CFA changes.
64325         (__backtrace): Completely initialize arg.
64327         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
64328         storing incomplete byte sequence in state object.  Avoid testing for
64329         guaranteed too small input if we know there is enough data available.
64331 2011-05-11  Andreas Schwab  <schwab@redhat.com>
64333         * Makeconfig (+link-pie): Indent.
64334         * Rules (binaries-pie): Define if $(have-fpie) and
64335         $(build-shared).
64336         (binaries-shared): Also filter out $(binaries-pie).
64337         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
64338         * nscd/Makefile (others-pie): Add nscd.
64339         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
64340         ($(objpfx)nscd): Remove command override.
64341         * login/Makefile (others-pie): Add pt_chown.
64342         ($(objpfx)pt_chown): Remove command override.
64343         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
64344         remove command overrides.
64346 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
64348         * libio/tst_putwc.c: Fix error messages.
64350         [BZ #12724]
64351         * libio/fileops.c (_IO_new_file_close_it): Always flush when
64352         currently writing and seek to current position when not.
64353         * libio/Makefile (tests): Add bug-fclose1.
64354         * libio/bug-fclose1.c: New file.
64356 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
64358         [BZ #12511]
64359         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
64360         don't set DF_1_NODELETE here.
64361         (do_lookup_x): When entering new entry test for copy relocation
64362         and if necessary set DF_1_NODELETE flag.
64363         * elf/tst-unique4.cc: New file.
64364         * elf/tst-unique4.h: New file.
64365         * elf/tst-unique4lib.cc: New file.
64366         * elf/Makefile: Add rules to build and run tst-unique4.
64367         Patch by Piotr Bury <pbury@goahead.com>.
64369 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
64371         [BZ #12052]
64372         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
64374         [BZ #12625]
64375         * misc/mntent_r.c (addmntent): Flush the stream after the output
64377         [BZ #12393]
64378         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
64379         (is_trusted_path_normalize): Skip initial colon.  Append slash
64380         to empty buffer.  Duplicate is_trusted_path code but allow
64381         constructed patch to be prefix.
64382         (is_dst): Allow $ORIGIN followed by /.
64383         (_dl_dst_substitute): Correct clearing of check_for_trusted.
64384         Correct testing of result of is_trusted_path_normalize
64385         (decompose_rpath): Fix warning.
64387 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
64389         [BZ #11257]
64390         * grp/initgroups.c (internal_getgrouplist): When we found the service
64391         list through the initgroups entry in nsswitch.conf do not always
64392         continue on a successful lookup.  Don't always use the
64393         __nss_group_database value if it is set.
64394         * nss/nsswitch.conf (initgroups): Change action for successful db
64395         lookup to continue for compatibility.
64397 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
64399         [BZ #11532]
64400         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
64401         and CP774 modules.
64402         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
64403         and CP774 modules.
64404         * iconvdata/tst-tables.sh: Likewise.
64405         * iconvdata/cp770.c: New file.
64406         * iconvdata/cp771.c: New file.
64407         * iconvdata/cp772.c: New file.
64408         * iconvdata/cp773.c: New file.
64409         * iconvdata/cp774.c: New file.
64410         * iconvdata/testdata/CP770: New file.
64411         * iconvdata/testdata/CP770..UTF8: New file.
64412         * iconvdata/testdata/CP771: New file.
64413         * iconvdata/testdata/CP771..UTF8: New file.
64414         * iconvdata/testdata/CP772: New file.
64415         * iconvdata/testdata/CP772..UTF8: New file.
64416         * iconvdata/testdata/CP773: New file.
64417         * iconvdata/testdata/CP773..UTF8: New file.
64418         * iconvdata/testdata/CP774: New file.
64419         * iconvdata/testdata/CP774..UTF8: New file.
64421         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
64422         END CHARMAP line.
64423         * iconvdata/gen-8bit-gap.sh: Likewise.
64424         * iconvdata/gen-8bit.sh: Likewise.
64426         * locale/iso-639.def: Add ary entry.
64428         [BZ #11258]
64429         * locale/C-translit.h.in: Add U20A1 transliteration.
64431         [BZ #12178]
64432         * locale/iso-639.def: Add wae entry.
64433         Patch by Kevin Bortis <bortis@translate-wae.ch>.
64435         [BZ #12545]
64436         * locale/programs/localedef.c (construct_output_path): Use ssize_t
64437         for n.
64439         [BZ #12711]
64440         * locale/C-translit.h.in: Add entry for U20B9.
64441         Patch by pravin.d.s@gmail.com.
64443 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
64445         [BZ #12713]
64446         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
64447         ENAMETOOLONG use generic getcwd.
64448         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
64449         in rtld.  Use *stat64.
64450         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
64451         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
64452         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
64453         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
64454         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
64455         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
64456         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
64457         __fstatat64 macros.
64458         * include/dirent.h: Add libc_hidden_proto for rewinddir.
64459         * dirent/rewinddir.c: Add libc_hidden_def.
64460         * sysdeps/mach/hurd/rewinddir.c: Likewise.
64461         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
64463         * include/dirent.h (__alloc_dir): Add flags parameter.
64464         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
64465         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
64466         __alloc_dir.
64467         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
64468         from fdopendir if O_CLOEXEC is already set.
64470 2011-03-15  Alan Modra  <amodra@gmail.com>
64472         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
64473         l_tls_firstbyte_offset non-zero.  Save padding offset in
64474         l_tls_firstbyte_offset for later use.
64475         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
64476         freeing static tls block.
64478 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
64480         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
64481         where #ifdef was intended.  The intent is to prevent ARG_MAX from
64482         being defined by the kernel headers.
64484 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
64486         [BZ #12734]
64487         * resolv/resolv.h: Define RES_NOTLDQUERY.
64488         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
64489         no-tld-query and set RES_NOTLDQUERY.
64490         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
64491         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
64492         modern BIND to search name as TLD unless forbidden.
64494 2011-05-07  Petr Baudis  <pasky@suse.cz>
64495             Ulrich Drepper  <drepper@gmail.com>
64497         [BZ #12393]
64498         * elf/dl-load.c (fillin_rpath): Move trusted path check...
64499         (is_trusted_path): ...to here.
64500         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
64501         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
64502         using is_trusted_path_normalize() in setuid scripts.
64504 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
64506         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
64507         __BEGIN/__END_DECLS.
64509 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
64511         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
64512         NSS_STATUS_NOTFOUND if no record was found.
64514 2011-05-05  Andreas Schwab  <schwab@redhat.com>
64516         * sunrpc/Makefile (headers): Add rpc/netdb.h.
64517         (headers-not-in-tirpc): Remove rpc/netdb.h
64518         * resolv/netdb.h: Revert last change.
64520 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
64522         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
64523         circular dependency between libgcc.a and libc.a.
64525 2011-05-05  Andreas Schwab  <schwab@redhat.com>
64527         * resolv/netdb.h: Don't include <rpc/netdb.h>.
64528         * nis/Makefile: Don't install rpcsvc/*.
64529         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
64530         instead of <rpc/types.h>.
64531         (MAXHOSTNAMELEN): Define.
64533 2011-05-03  Andreas Schwab  <schwab@redhat.com>
64535         * elf/ldconfig.c (add_dir): Don't crash on empty path.
64537 2011-04-28  Maciej Babinski  <mbabinski@google.com>
64539         [BZ #12714]
64540         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
64541         gethostbyname4_r when IPv6 results are possible.
64543 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
64545         [BZ #12723]
64546         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
64547         _PC_PIPE_BUF handling.
64549 2011-04-30  Bruno Haible  <bruno@clisp.org>
64551         [BZ #12717]
64552         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
64553         * resolv/netdb.h (getnameinfo): Change type of flags parameter
64554         to 'int'.
64555         * inet/getnameinfo.c (getnameinfo): Likewise.
64557 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
64559         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
64560         to groups setting in database lookup.
64561         * nss/nsswitch.conf: Add initgroups entry.
64563 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
64565         [BZ #12685]
64566         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
64567         mode string.
64568         Patch by Eric Blake <eblake@redhat.com>.
64570 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
64572         * sunrpc/Makefile (need-export-routines): Add svc_run.
64573         (routines): Remove svc_run.
64574         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
64575         * sunrpc/clnt_perr.c (clnt_perrno): Export.
64576         * sunrpc/svc_run.c (svc_run): Likewise.
64577         * sunrpc/svc_udp.c (svcudp_create): Likewise.
64579 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
64581         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
64582         problem in reallocation in last patch.
64584 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
64586         * sunrpc/Makefile: Move inclusion of Rules.
64588 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
64590         * nss/nss_files/files-initgroups.c: New file.
64591         * nss/Makefile (libnss_files-routines): Add files-initgroups.
64592         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
64593         _nss_files_initgroups_dyn.
64595 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
64597         * elf/elf.h (R_ARM_IRELATIVE): Define.
64599 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
64601         * po/ru.po: Update from translation team.
64603 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
64605         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
64606         dependencies.
64608 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
64610         [BZ #12653]
64611         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
64612         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
64613         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
64614         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
64615         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
64617 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
64619         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
64620         differing bytes.
64621         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
64622         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
64623         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
64625 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
64627         [BZ #12420]
64628         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
64629         storing it.
64630         * stdlib/bug-getcontext.c: New file.
64631         * stdlib/Makefile: Add rules to build and run bug-getcontext.
64633 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64635         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
64636         instructions into .machine "z9-109".
64637         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
64638         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
64640 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64642         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
64643         between environment variables and auxiliary vector.
64645 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
64647         * Makefile: Add rules to build linkobj/libc.so.
64648         * include/libc-symbols.h: Define libc_hidden_nolink.
64649         * include/rpc/auth.h: Mark functions which are to be hidden.
64650         * include/rpc/auth_des.h: Likewise.
64651         * include/rpc/auth_unix.h: Likewise.
64652         * include/rpc/clnt.h: Likewise.
64653         * include/rpc/des_crypt.h: Likewise.
64654         * include/rpc/key_prot.h: Likewise.
64655         * include/rpc/pmap_clnt.h: Likewise.
64656         * include/rpc/pmap_prot.h: Likewise.
64657         * include/rpc/pmap_rmt.h: Likewise.
64658         * include/rpc/rpc_msg.h: Likewise.
64659         * include/rpc/svc.h: Likewise.
64660         * include/rpc/svc_auth.h: Likewise.
64661         * include/rpc/xdr.h: Likewise.
64662         * nis/Makefile: Link all DSOs against linkobj/libc.so.
64663         * nss/Makefile: Likewise.
64664         * sunrpc/Makefile: Don't install headers.  Build library with normal
64665         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
64666         * sunrpc/auth_des.c: Hide exported symbols by default, export some
64667         for the compat linking library.  Remove use of INTDEF/INTUSE.
64668         * sunrpc/auth_none.c: Likewise.
64669         * sunrpc/auth_unix.c: Likewise.
64670         * sunrpc/authdes_prot.c: Likewise.
64671         * sunrpc/authuxprot.c: Likewise.
64672         * sunrpc/clnt_gen.c: Likewise.
64673         * sunrpc/clnt_perr.c: Likewise.
64674         * sunrpc/clnt_raw.c: Likewise.
64675         * sunrpc/clnt_simp.c: Likewise.
64676         * sunrpc/clnt_tcp.c: Likewise.
64677         * sunrpc/clnt_udp.c: Likewise.
64678         * sunrpc/clnt_unix.c: Likewise.
64679         * sunrpc/des_crypt.c: Likewise.
64680         * sunrpc/des_soft.c: Likewise.
64681         * sunrpc/get_myaddr.c: Likewise.
64682         * sunrpc/key_call.c: Likewise.
64683         * sunrpc/key_prot.c: Likewise.
64684         * sunrpc/netname.c: Likewise.
64685         * sunrpc/pm_getmaps.c: Likewise.
64686         * sunrpc/pm_getport.c: Likewise.
64687         * sunrpc/pmap_clnt.c: Likewise.
64688         * sunrpc/pmap_prot.c: Likewise.
64689         * sunrpc/pmap_prot2.c: Likewise.
64690         * sunrpc/pmap_rmt.c: Likewise.
64691         * sunrpc/publickey.c: Likewise.
64692         * sunrpc/rpc_cmsg.c: Likewise.
64693         * sunrpc/rpc_common.c: Likewise.
64694         * sunrpc/rpc_dtable.c: Likewise.
64695         * sunrpc/rpc_prot.c: Likewise.
64696         * sunrpc/rpc_thread.c: Likewise.
64697         * sunrpc/rtime.c: Likewise.
64698         * sunrpc/svc.c: Likewise.
64699         * sunrpc/svc_auth.c: Likewise.
64700         * sunrpc/svc_authux.c: Likewise.
64701         * sunrpc/svc_raw.c: Likewise.
64702         * sunrpc/svc_run.c: Likewise.
64703         * sunrpc/svc_simple.c: Likewise.
64704         * sunrpc/svc_tcp.c: Likewise.
64705         * sunrpc/svc_udp.c: Likewise.
64706         * sunrpc/svc_unix.c: Likewise.
64707         * sunrpc/svcauth_des.c: Likewise.
64708         * sunrpc/xcrypt.c: Likewise.
64709         * sunrpc/xdr.c: Likewise.
64710         * sunrpc/xdr_array.c: Likewise.
64711         * sunrpc/xdr_float.c: Likewise.
64712         * sunrpc/xdr_intXX_t.c: Likewise.
64713         * sunrpc/xdr_mem.c: Likewise.
64714         * sunrpc/xdr_rec.c: Likewise.
64715         * sunrpc/xdr_ref.c: Likewise.
64716         * sunrpc/xdr_sizeof.c: Likewise.
64717         * sunrpc/xdr_stdio.c: Likewise.
64719 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
64721         [BZ #12650]
64722         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
64723         * sysdeps/ia64/dl-tls.h: Likewise.
64724         * sysdeps/powerpc/dl-tls.h: Likewise.
64725         * sysdeps/s390/dl-tls.h: Likewise.
64726         * sysdeps/sh/dl-tls.h: Likewise.
64727         * sysdeps/sparc/dl-tls.h: Likewise.
64728         * sysdeps/x86_64/dl-tls.h: Likewise.
64729         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
64731 2011-03-14  Andreas Schwab  <schwab@redhat.com>
64733         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
64734         rpath element also skip the following colon.
64735         (expand_dynamic_string_token): Add is_path parameter and pass
64736         down to DL_DST_REQUIRED and _dl_dst_substitute.
64737         (decompose_rpath): Call expand_dynamic_string_token with
64738         non-zero is_path.  Ignore empty rpaths.
64739         (_dl_map_object_from_fd): Call expand_dynamic_string_token
64740         with zero is_path.
64742 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
64744         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
64745         Make cancelable.
64747 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
64749         [BZ #12655]
64750         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
64751         Patch by Filipe David Manana <fdmanana@apache.org>.
64753 2011-04-07  Andreas Schwab  <schwab@redhat.com>
64755         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
64756         Maintain aligned stack.
64757         (CHECK_RSP): Remove unused macro.
64759 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
64761         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
64762         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
64764 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
64766         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
64768         * include/features.h: Mention __USE_XOPEN2K8 in comment.
64770 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
64772         [BZ #12518]
64773         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
64774         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
64775         * sysdeps/x86_64/memmove.c: New file.
64776         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
64777         (memcpy): Renamed to ...
64778         (__new_memcpy): This.
64779         (memcpy): Provide GLIBC_2_14 memcpy.
64780         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
64781         (memcpy): Provide GLIBC_2_2_5 memcpy.
64783 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
64785         [BZ #12631]
64786         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
64788 2011-03-30  Andreas Schwab  <schwab@redhat.com>
64790         * misc/syncfs.c: New file.
64791         * misc/Makefile (routines): Add syncfs.
64792         * posix/unistd.h: Declare syncfs.
64793         * sysdeps/unix/syscalls.list: Add syncfs.
64795 2011-04-01  Andreas Schwab  <schwab@redhat.com>
64797         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
64798         open_by_handle_at.
64799         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
64800         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
64801         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
64802         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
64803         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
64804         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
64805         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
64807 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
64809         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
64810         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
64811         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
64812         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
64813         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
64814         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
64815         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
64817         * io/Makefile: Compile fallocate.c, fallocate64.c, and
64818         sync_file_range.c with -fexceptions.
64819         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
64820         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
64821         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
64822         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
64823         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
64824         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
64825         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
64826         sync_file_range as cancellation point
64827         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
64828         now a wrapper around __call_sync_file_range with cancellation handling.
64829         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
64830         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
64831         function name to __call_sync_file_range.
64832         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
64833         Add call_sync_file_range.
64835 2011-04-01  Andreas Schwab  <schwab@redhat.com>
64837         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64838         bits/timex.h.
64840 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
64842         * iconv/iconv.h: Fix typo in comment.
64843         * io/fcntl.h: Likewise.
64844         * libio/stdio.h: Likewise.
64845         * posix/spawn.h: Likewise.
64846         * posix/unistd.h: Likewise.
64847         * stdlib/stdlib.h: Likewise.
64848         * time/time.h: Likewise.
64849         * wcsmbs/wchar.h: Likewise.
64851         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
64852         open_by_handle): Add.
64853         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
64854         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
64855         Augment a few comments.
64856         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
64857         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
64858         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
64859         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
64860         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
64861         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
64862         open_by_handle.
64864         * io/fcntl.h (AT_EMPTY_PATH): Define.
64866 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
64868         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
64869         * sysdeps/unix/sysv/linux/bits/time.h: New file.
64870         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
64871         to...
64872         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
64873         * Versions.def: Add GLIBC_2.14.
64874         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
64875         Export.
64877 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
64879         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
64880         round counter.
64881         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
64883 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
64885         [BZ #12597]
64886         * string/test-strncmp.c (do_page_test): New function.
64887         (check2): Likewise.
64888         (test_main): Call check2.
64889         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
64891 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
64893         [BZ #12587]
64894         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
64895         Handle cache information in CPU leaf 4.
64896         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
64898 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
64900         [BZ #12583]
64901         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
64902         character representation.
64903         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
64905 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
64907         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
64908         END(__isnan) to END(__isnanf) to match function entry point/label
64909         EALIGN(__isnanf,...).
64911 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
64913         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
64915 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
64917         [BZ #12510]
64918         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
64919         copy from the symbol referenced in the relocation to initialize the
64920         used variable.
64921         Patch by Piotr Bury <pbury@goahead.com>.
64922         * elf/Makefile: Add rules to build and tst-unique3.
64923         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
64924         * elf/tst-unique3.cc: New file.
64925         * elf/tst-unique3.h: New file.
64926         * elf/tst-unique3lib.cc: New file.
64927         * elf/tst-unique3lib2.cc: New file.
64929         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
64931 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
64933         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
64934         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
64935         to _start.
64937 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
64939         * elf/dl-load.c (_dl_map_object): If we are looking for the first
64940         to-be-loaded object along a path to loader is ld.so.
64942 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
64943             Ulrich Drepper  <drepper@gmail.com>
64945         * sysdeps/x86_64/memset.S: After aligning destination, code
64946         branches to different locations depending on the value of
64947         misalignment, when multiarch is enabled. Fix this.
64949 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
64951         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
64952         Set _x86_64_preferred_memory_instruction for AMD processsors.
64953         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
64954         Set bit_Prefer_SSE_for_memop for AMD processors.
64956 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
64958         * libio/fmemopen.c (fmemopen): Optimize a bit.
64960 2011-03-03  Andreas Schwab  <schwab@redhat.com>
64962         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
64964 2011-03-03  Roland McGrath  <roland@redhat.com>
64966         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
64968 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
64970         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
64971         __bzero_ultra1 instead of __memset_ultra1.
64973 2011-02-23  Andreas Schwab  <schwab@redhat.com>
64974             Ulrich Drepper  <drepper@gmail.com>
64976         [BZ #12509]
64977         * include/link.h (struct link_map): Add l_orig_initfini.
64978         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
64979         returning unsuccessfully.
64980         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
64981         close of a file loaded at startup, restore the original l_initfini
64982         list.
64983         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
64984         list, store the pointer.
64985         * elf/Makefile ($(objpfx)noload-mem): New rule.
64986         (noload-ENV): Define.
64987         (tests): Add $(objpfx)noload-mem.
64988         * elf/noload.c: Include <memcheck.h>.
64989         (main): Call mtrace.  Close all opened handles.
64991 2011-02-17  Andreas Schwab  <schwab@redhat.com>
64993         [BZ #12454]
64994         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
64995         dependencies are missing.
64997 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64999         Fix __if_freereq crash: Unlike the generic version which uses free,
65000         Hurd needs munmap.
65001         * sysdeps/mach/hurd/ifreq.h: New file.
65003 2011-01-27  Petr Baudis  <pasky@suse.cz>
65004             Ulrich Drepper  <drepper@gmail.com>
65006         [BZ 12445]#
65007         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
65008         to extend_alloca().
65009         * stdio-common/bug23.c: New file.
65010         * stdio-common/Makefile (tests): Add bug23.
65012 2010-09-28  Andreas Schwab  <schwab@redhat.com>
65013             Ulrich Drepper  <drepper@gmail.com>
65015         [BZ #12489]
65016         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
65017         before performing relro protection.  At old place add assertion
65018         to make sure nothing changed.
65020 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
65021             Glauber de Oliveira Costa  <glommer@gmail.com>
65023         * elf/elf.h: Add new ARM TLS relocs.
65025 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
65027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
65028         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
65029         cast from r3.
65030         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
65031         'tests' variable.
65032         * sysdeps/wordsize-64/tst-writev.c: New file.
65034 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
65036         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
65037         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
65038         insns in _dl_start to prevent a TOC reference before relocs are
65039         resolved.
65041 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
65043         [BZ #12469]
65044         * Makeconfig: Remove RANLIB definition.
65045         * Makerules: Don't use RANLIB.
65046         * aclocal.m4: Remove ranlib test.
65047         * configure.in: No need to check for ranlib.
65048         * elf/rtld-Rules: Don't use RANLIB.
65050 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65052         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
65053         protection macro.
65054         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
65055         inclusion protection macro.
65057         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
65058         SIGRTMIN and SIGRTMAX and print information in that case only when
65059         SIGRTMIN is defined.
65061 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
65063         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
65064         arginfo fn returning -1.
65066         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
65067         and thousands string is zero terminated.
65069 2011-02-03  Andreas Schwab  <schwab@redhat.com>
65071         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
65072         sysdeps/unix/sysv/linux/bits/socket.h.
65074 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65076         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
65077         (__CPU_COUNT): Remove old macros.
65078         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
65079         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
65080         (__CPU_ALLOC, __CPU_FREE): Add macros.
65081         (__sched_cpualloc, __sched_cpufree): Add declarations.
65083 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
65085         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
65086         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
65087         * nscd/aicache.c (addhstaiX): Return timeout of added value.
65088         (readdhstai): Return value of addhstaiX call.
65089         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
65090         (addgrbyX): Return value returned by cache_addgr.
65091         (readdgrbyname): Return value returned by addgrbyX.
65092         (readdgrbygid): Likewise.
65093         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
65094         (addpwbyX): Return value returned by cache_addpw.
65095         (readdpwbyname): Return value returned by addhstbyX.
65096         (readdpwbyuid): Likewise.
65097         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
65098         (addservbyX): Return value returned by cache_addserv.
65099         (readdservbyname): Return value returned by addservbyX:
65100         (readdservbyport): Likewise.
65101         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
65102         (addhstbyX): Return value returned by cache_addhst.
65103         (readdhstbyname): Return value returned by addhstbyX.
65104         (readdhstbyaddr): Likewise.
65105         (readdhstbynamev6): Likewise.
65106         (readdhstbyaddrv6): Likewise.
65107         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
65108         (readdinitgroups): Return value returned by addinitgroupsX.
65109         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
65110         (prune_cache): Keep track of timeout value of re-added entries.
65111         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
65112         * nscd/nscd.h: Adjust prototypes of readd* functions.
65114 2011-02-04  Roland McGrath  <roland@redhat.com>
65116         * nis/nis_server.c (nis_servstate): Use the right name for 0.
65117         (nis_stats): Likewise.
65118         * nis/nis_modify.c (nis_modify): Likewise.
65119         * nis/nis_remove.c (nis_remove): Likewise.
65120         * nis/nis_add.c (nis_add): Likewise.
65122         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
65124         * posix/fnmatch_loop.c: Add some consts.
65126         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
65128 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
65130         [BZ #12460]
65131         * config.make.in (config-cflags-novzeroupper): Define.
65132         * configure.in: Substitute libc_cv_cc_novzeroupper.
65133         * elf/Makefile (AVX-CFLAGS): Define.
65134         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
65135         (CFLAGS-tst-auditmod4a.c): Likewise.
65136         (CFLAGS-tst-auditmod4b.c): Likewise.
65137         (CFLAGS-tst-auditmod6b.c): Likewise.
65138         (CFLAGS-tst-auditmod6c.c): Likewise.
65139         (CFLAGS-tst-auditmod7b.c): Likewise.
65140         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
65142 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
65144         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
65145         function to the callback.
65146         Patch partly by Jiri Olsa <jolsa@redhat.com>.
65148 2011-02-02  Andreas Schwab  <schwab@redhat.com>
65150         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
65151         of errno.
65153 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
65155         [BZ #11724]
65156         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
65157         of constructors.
65158         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
65159         of destructors.
65160         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
65162         [BZ #11724]
65163         * elf/Makefile: Add rules to build and run new test.
65164         * elf/tst-initorder.c: New file.
65165         * elf/tst-initorder.exp: New file.
65166         * elf/tst-initordera1.c: New file.
65167         * elf/tst-initordera2.c: New file.
65168         * elf/tst-initordera3.c: New file.
65169         * elf/tst-initordera4.c: New file.
65170         * elf/tst-initorderb1.c: New file.
65171         * elf/tst-initorderb2.c: New file.
65172         * elf/tst-order-a1.c: New file.
65173         * elf/tst-order-a2.c: New file.
65174         * elf/tst-order-a3.c: New file.
65175         * elf/tst-order-a4.c: New file.
65176         * elf/tst-order-b1.c: New file.
65177         * elf/tst-order-b2.c: New file.
65178         * elf/tst-order-main.c: New file.
65179         New test case by George Gensure <werkt0@gmail.com>.
65181 2010-10-01  Andreas Schwab  <schwab@redhat.com>
65183         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
65184         decoding ACE if AI_CANONIDN.
65186 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
65188         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
65190 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
65192         * version.h (RELEASE): Bump for 2.13 release.
65193         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
65195         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
65197         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
65198         MADV_NOHUGEPAGE.
65199         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
65200         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
65201         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
65202         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
65203         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
65204         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
65206         * posix/getconf.c: Update copyright year.
65207         * catgets/gencat.c: Likewise.
65208         * csu/version.c: Likewise.
65209         * debug/catchsegv.sh: Likewise.
65210         * debug/xtrace.sh: Likewise.
65211         * elf/ldconfig.c: Likewise.
65212         * elf/ldd.bash.in: Likewise.
65213         * elf/sprof.c (print_version): Likewise.
65214         * iconv/iconv_prog.c: Likewise.
65215         * iconv/iconvconfig.c: Likewise.
65216         * locale/programs/locale.c: Likewise.
65217         * locale/programs/localedef.c: Likewise.
65218         * malloc/memusage.sh: Likewise.
65219         * malloc/mtrace.pl: Likewise.
65220         * nscd/nscd.c (print_version): Likewise.
65221         * nss/getent.c: Likewise.
65223         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
65224         PF_CAIF, and PF_ALG.
65225         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
65227 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
65229         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
65230         (modules-names): Use them.
65231         (ifunc-test-modules, ifunc-pie-tests): Define.
65232         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
65233         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
65234         (test-extras): Likewise.
65235         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
65236         $(compile-command.c).
65237         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
65238         (all-built-dso): Define.
65239         (check-textrel.out, check-execstack.out): Depend on it.
65241         * configure.in: Don't override --enable-multi-arch.
65243 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
65245         [BZ #6812]
65246         * nscd/hstcache.c (tryagain): Define.
65247         (cache_addhst): Return tryagain not notfound for temporary errors.
65248         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
65249         failed.
65251 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
65253         [BZ #10563]
65254         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
65255         to make the syscall.
65256         * sysdeps/unix/sysv/linux/setgroups.c: New file.
65258         [BZ #12378]
65259         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
65260         and fall back to matching as normal character if the string ends before
65261         the matching ']' is found.  This is what POSIX requires.
65262         * posix/testfnm.c: Adjust test result.
65263         * posix/globtest.sh: Adjust test result.  Add new test.
65264         * posix/tst-fnmatch.input: Likewise.
65265         * posix/tst-fnmatch2.c: Add new test.
65267 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
65269         * elf/Makefile (check-execstack): Revert last change.  Depend on
65270         check-execstack.h.
65271         (check-execstack.h): New target.
65272         (generated): Add check-execstack.h.
65273         * elf/check-execstack.c: Include "check-execstack.h".
65274         (main): Revert last change.
65275         (handle_file): Return zero if GNU_STACK is absent and
65276         DEFAULT_STACK_PERMS doesn't include PF_X.
65278 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
65280         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
65281         in child fails because the descriptor is already closed.
65282         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
65283         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
65284         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
65286         [BZ #12397]
65287         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
65288         syscall.
65290         [BZ #10484]
65291         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
65292         temporary buffer used to handle multi lookups locally.
65293         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
65295 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
65297         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
65298         loader is ld.so.
65300 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
65302         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
65303         alignment for SSE2.
65305 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
65307         [BZ #12394]
65308         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
65309         characters.  When rounding increased number of integer digits recompute
65310         number of groups.
65311         * stdio-common/tst-grouping.c: New file.
65312         * stdio-common/Makefile: Add rules to build and run tst-grouping.
65314 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
65316         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
65317         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
65319         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
65320         void.
65321         * bits/select.h: Likewise.
65323 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
65325         * po/ja.po: Update from translation team.
65327 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
65329         [BZ #11155]
65330         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
65331         implementation just like for lxstat, fxstatat, et al.
65333 2010-12-27  Jim Meyering  <meyering@redhat.com>
65335         [BZ #12348]
65336         * posix/regexec.c (build_trtable): Return failure indication upon
65337         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
65339 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
65341         [BZ #12201]
65342         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
65343         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
65344         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
65345         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
65347         [BZ #12207]
65348         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
65350         [BZ #12204]
65351         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
65352         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
65354 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
65356         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
65357         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
65358         script has SORT_BY_INIT_PRIORITY.
65359         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
65360         NO_CTORS_DTORS_SECTIONS is defined.
65361         * elf/soinit.c: Likewise.
65362         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
65363         NO_CTORS_DTORS_SECTIONS is defined.
65364         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
65365         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
65366         * sysdeps/sh/init-first.c: Likewise.
65367         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
65369 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
65371         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
65372         always use the slow path.
65374 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
65376         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
65377         similar rule which adds the sysdep directories to the header search in
65378         order to pick up the correct platform stackinfo.h.
65379         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
65380         perform test if it is, otherwise return successfully without testing.
65381         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
65382         DEFAULT_STACK_PERMS define in stackinfo.h.
65383         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
65384         defined in stackinfo.h.
65385         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
65386         DEFAULT_STACK_PERMS defined in stackinfo.h.
65387         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
65388         * sysdeps/ia64/stackinfo.h: Likewise.
65389         * sysdeps/s390/stackinfo.h: Likewise.
65390         * sysdeps/sh/stackinfo.h: Likewise.
65391         * sysdeps/sparc/stackinfo.h: Likewise.
65392         * sysdeps/x86_64/stackinfo.h: Likewise.
65393         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
65394         PF_X for powerpc64.  Retain PF_X for powerpc32.
65396 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
65398         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
65399         accurately.
65400         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
65401         GETDENTS_64BIT_ALIGNED.
65403 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
65405         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
65407 2010-12-10  Andreas Schwab  <schwab@redhat.com>
65409         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
65410         _GNU_SOURCE.
65412         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
65413         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
65414         Remove __restrict.
65415         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
65416         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
65418 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
65420         [BZ #11655]
65421         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
65422         are initialized.
65424 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
65426         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
65428 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
65430         * po/it.po: Update from translation team.
65432 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
65434         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
65435         unused codes.
65437 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
65439         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
65441 2010-11-24  Andreas Schwab  <schwab@redhat.com>
65443         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
65444         specially.
65445         (gaih_getanswer_slice): Likewise.
65447 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
65449         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
65451 2010-05-31  Petr Baudis  <pasky@suse.cz>
65453         [BZ #11149]
65454         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
65455         silently even in the chroot mode.
65457 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
65459         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
65460         last patch a bit.  Pretty printing
65462 2010-05-31  Petr Baudis <pasky@suse.cz>
65464         [BZ #10085]
65465         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
65466         initialization of skip_initgroups_dyn.
65468 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
65470         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
65471         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
65473 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
65475         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
65477 2010-11-11  Andreas Schwab  <schwab@redhat.com>
65479         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
65480         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
65481         (tst-fnmatch-ENV): Set MALLOC_TRACE.
65482         ($(objpfx)tst-fnmatch-mem): New rule.
65483         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
65484         * posix/tst-fnmatch.c (main): Call mtrace.
65486 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
65488         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
65489         Support Intel processor model 6 and model 0x2c.
65491 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
65493         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
65494           signed comparison.
65496 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
65498         [BZ #12205]
65499         * string/test-strncasecmp.c (check_result): New function.
65500         (do_one_test): Use it.
65501         (check1): New function.
65502         (test_main): Use it.
65503         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
65504         Support strcasecmp and strncasecmp.
65506 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
65508         [BZ #12194]
65509         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
65510         * sysdeps/x86_64/bits/byteswap.h: Likewise.
65512 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
65514         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
65515         IFUNC support.
65516         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
65517         memset-x86-64.
65518         * sysdeps/x86_64/multiarch/bzero.S: New file.
65519         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
65520         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
65521         * sysdeps/x86_64/multiarch/memset.S: New file.
65522         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
65523         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
65524         Set bit_Prefer_SSE_for_memop for Intel processors.
65525         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
65526         Define.
65527         (index_Prefer_SSE_for_memop): Define.
65528         (HAS_PREFER_SSE_FOR_MEMOP): Define.
65530 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
65532         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
65533         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
65535 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
65537         [BZ #12191]
65538         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
65539         (__x86_64_raw_data_cache_size_half): Likewise.
65540         (__x86_64_raw_shared_cache_size): Likewise.
65541         (__x86_64_raw_shared_cache_size_half): Likewise.
65543         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
65544         (__x86_64_raw_data_cache_size_half): Likewise.
65545         (__x86_64_raw_shared_cache_size): Likewise.
65546         (__x86_64_raw_shared_cache_size_half): Likewise.
65547         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
65548         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
65549         and __x86_64_raw_shared_cache_size_half.  Round
65550         __x86_64_data_cache_size_half, __x86_64_data_cache_size
65551         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
65552         to multiple of 256 bytes.
65554 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
65556         [BZ #12167]
65557         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
65558         of inacessible symlinks.  Verify result of symlink before returning it.
65559         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
65560         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
65562 2010-10-28  Erich Ritz  <erichritz@gmail.com>
65564         * math/math.h (isinf): Fix typo in comment.
65566 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
65568         * po/da.po: Update from translation team.
65570 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
65572         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
65573         is added to the list.
65575 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65576             Ulrich Drepper  <drepper@gmail.com>
65578         * elf/dl-object.c (_dl_new_object): Don't append the new object to
65579         the global list here.  Move code to...
65580         (_dl_add_to_namespace_list): ...here.  New function.
65581         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
65582         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
65583         * elf/dl-load.c (lose): Don't remove the element from the list.
65584         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
65585         (_dl_map_object): Likewise.
65587 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
65589         [BZ #12159]
65590         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
65591         into all bytes of SSE register.
65592         Patch by Richard Li <richardpku@gmail.com>.
65594 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
65596         [BZ #12140]
65597         * malloc/malloc.c (_int_free): Fill correct number of bytes when
65598         perturbing.
65600 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
65602         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
65603         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
65604         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
65605         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
65606         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
65607         submachine.
65608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
65610 2010-10-22  Andreas Schwab  <schwab@redhat.com>
65612         * include/dlfcn.h (__RTLD_SECURE): Define.
65613         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
65614         mode & __RTLD_SECURE instead.
65615         (open_path): Rename preloaded parameter to secure.
65616         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
65617         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
65618         * elf/dl-deps.c (openaux): Likewise.
65619         * elf/rtld.c (struct map_args): Remove is_preloaded.
65620         (map_doit): Don't use it.
65621         (dl_main): Likewise.
65622         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
65623         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
65625 2010-09-09  Andreas Schwab  <schwab@redhat.com>
65627         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
65628         (sysd-rules-targets): Remove duplicates.
65629         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
65630         rtld-%.$o dependency.
65632 2010-10-18  Andreas Schwab  <schwab@redhat.com>
65634         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
65635         _dl_map_object do it.
65637 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
65639         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
65640         fast fma builtins, define the macros in the C99 standard.
65641         (FP_FAST_FMAF): Likewise.
65642         (FP_FAST_FMAL): Likewise.
65643         * sysdeps/x86_64/bits/mathdef.h: Likewise.
65645         * bits/mathdef.h: Update copyright year.
65646         * sysdeps/powerpc/bits/mathdef.h: Likewise.
65648 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
65650         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
65651         builtins, define the macros in the C99 standard.
65652         (FP_FAST_FMAF): Likewise.
65653         (FP_FAST_FMAL): Likewise.
65654         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
65655         multiply/add.
65656         (FP_FAST_FMAF): Likewise.
65658 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
65660         [BZ #3268]
65661         * math/libm-test.inc (fma_test): Some new testcases.
65662         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
65663         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
65664         y and infinite z.  Do multiplication by C already in long double.
65665         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
65666         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
65667         y and infinite z.  Do bitwise or of inexact bit into u.d.
65668         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
65669         * sysdeps/i386/fpu/s_fmaf.S: Removed.
65670         * sysdeps/i386/fpu/s_fma.S: Removed.
65671         * sysdeps/i386/fpu/s_fmal.S: Removed.
65673 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
65675         [BZ #3268]
65676         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
65677         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
65678         computation is not scheduled after fetestexcept.  Fix value
65679         of minimum denormal long double.
65681 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
65683         [BZ #3268]
65684         * math/libm-test.inc (fma_test): Add some more tests.
65685         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
65686         correctly.
65688 2010-10-15  Andreas Schwab  <schwab@redhat.com>
65690         * scripts/data/localplt-s390-linux-gnu.data: New file.
65691         * scripts/data/localplt-s390x-linux-gnu.data: New file.
65693 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
65695         [BZ #3268]
65696         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
65697         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
65698         instead of dbl-64.
65699         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
65700         inlines.
65701         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
65702         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
65703         if one of x and y is very large and the other is subnormal.
65704         * sysdeps/s390/fpu/s_fmaf.c: New file.
65705         * sysdeps/s390/fpu/s_fma.c: New file.
65706         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
65707         * sysdeps/powerpc/fpu/s_fma.S: New file.
65708         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
65709         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
65710         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
65712 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
65714         [BZ #3268]
65715         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
65716         fma tests.
65717         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
65718         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
65719         * sysdeps/i386/i686/multiarch/s_fma.c: Include
65720         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
65721         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
65722         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
65723         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
65725 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
65727         [BZ #12078]
65728         * posix/regcomp.c (parse_branch): One more memory leak plugged.
65729         * posix/bug-regex31.input: Add test case.
65731 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
65733         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
65734         * posix/bug-regex31.input: New file.
65736         [BZ #12078]
65737         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
65738         (parse_sub_exp): Fix last change, use postorder.
65740         * posix/bug-regex31.c: New file.
65741         * posix/Makefile: Add rules to build and run bug-regex31.
65743         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
65745         [BZ #12078]
65746         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
65748         [BZ #12108]
65749         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
65750         to have entries in sys_siglist.
65752         [BZ #12093]
65753         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
65754         be NULL.
65756 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
65758         [BZ #3268]
65759         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
65760         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
65761         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
65762         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
65763         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
65764         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
65765         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
65766         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
65767         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
65768         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
65769         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
65770         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
65771         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
65772         * math/ftestexcept.c (fetestexcept): Likewise.
65773         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
65774         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
65775         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
65776         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
65777         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
65778         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
65779         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
65781 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
65783         [BZ #12107]
65784         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
65785         newline.
65787 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
65789         * string/bug-strstr1.c: New file.
65790         * string/Makefile: Add rules to build and run bug-strstr1.
65792 2010-10-05  Eric Blake  <eblake@redhat.com>
65794         [BZ #12092]
65795         * string/str-two-way.h (two_way_long_needle): Always clear memory
65796         when skipping input due to the shift table.
65798 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
65800         [BZ #12005]
65801         * malloc/mcheck.c: Handle large requests.
65803         [BZ #12077]
65804         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
65805         for strncmp and strncasecmp.
65806         * string/stratcliff.c: Add tests for strcmp and strncmp.
65807         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
65809 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
65811         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
65812         __set_fpscr.
65814 2010-09-30  Andreas Jaeger  <aj@suse.de>
65816         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
65817         (CGROUP_SUPER_MAGIC): Define.
65818         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
65819         Handle btrfs and cgroup file systems.
65820         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
65821         Likewise.
65823 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
65825         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
65826         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
65828 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65830         [BZ #12067]
65831         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
65832         trying to locate the ELF header.
65834 2010-09-27  Andreas Schwab  <schwab@redhat.com>
65836         [BZ #11611]
65837         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
65838         Mask out sign-bit copies when constructing f_fsid.
65840 2010-09-24  Petr Baudis <pasky@suse.cz>
65842         * debug/stack_chk_fail_local.c: Add missing licence exception.
65843         * debug/warning-nop.c: Likewise.
65845 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
65847         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
65848         implementing getdents64 using getdents syscall, set d_type if
65849         __ASSUME_GETDENTS32_D_TYPE.
65851 2010-09-16  Andreas Schwab  <schwab@redhat.com>
65853         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
65854         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
65856 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
65858         [BZ #12037]
65859         * posix/unistd.h: Undo change of feature selection for ftruncate from
65860         2010-01-11.
65862 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
65864         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
65865         detection.
65867 2010-09-20  Andreas Schwab  <schwab@redhat.com>
65869         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
65870         fanotify_mark.
65871         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
65873 2010-09-14  Andreas Schwab  <schwab@redhat.com>
65875         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
65876         variables after CHECK_SP call.
65877         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
65879 2010-09-13  Andreas Schwab  <schwab@redhat.com>
65880             Ulrich Drepper  <drepper@redhat.com>
65882         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
65883         re-relocationg ld.so.
65884         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
65885         _dl_init_paths call.
65886         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
65887         here anymore.
65889 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
65891         * resolv/res_init.c (__res_vinit): Count the default server we added.
65893 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
65894             Ulrich Drepper  <drepper@redhat.com>
65896         [BZ #11968]
65897         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
65898         (____longjmp_chk): Use %ebx for saving value across system call.
65899         Add unwind info.
65901 2010-09-06  Andreas Schwab  <schwab@redhat.com>
65903         * manual/Makefile: Don't mix pattern rules with normal rules.
65905 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
65907         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
65908         operation.
65909         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
65910         * libio/iofopncook.c (_IO_cookie_init): Likewise.
65911         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
65912         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
65913         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
65914         Likewise.
65916 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
65918         [BZ #11979]
65919         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
65920         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
65922 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
65924         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
65925         * sysdeps/x86_64/addmul_1.S: Likewise.
65926         * sysdeps/x86_64/lshift.S: Likewise.
65927         * sysdeps/x86_64/mul_1.S: Likewise.
65928         * sysdeps/x86_64/rshift.S: Likewise.
65929         * sysdeps/x86_64/sub_n.S: Likewise.
65930         * sysdeps/x86_64/submul_1.S: Likewise.
65932 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65934         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
65935         Define __sched_param instead of SCHED_* and sched_param when
65936         <bits/sched.h> is included with __need_schedparam defined.
65937         * bits/sched.h [__need_schedparam]
65938         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
65939         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
65940         (__defined_schedparam): Define to 1.
65941         (__sched_param): New structure, identical to sched_param.
65942         (__need_schedparam): Undefine.
65944 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
65946         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
65947         (epoll_create1): Declare.
65949         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
65951 2010-08-31  Andreas Schwab  <schwab@redhat.com>
65953         [BZ #7066]
65954         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
65955         shifting retval into place.
65957 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
65959         * nis/rpcsvc/nis.h: Update copyright notice.
65960         * nis/rpcsvc/nis.x: Likewise.
65961         * nis/rpcsvc/nis_callback.h: Likewise.
65962         * nis/rpcsvc/nis_callback.x: Likewise.
65963         * nis/rpcsvc/nis_object.x: Likewise.
65964         * nis/rpcsvc/nis_tags.h: Likewise.
65965         * nis/rpcsvc/yp.h: Likewise.
65966         * nis/rpcsvc/yp.x: Likewise.
65967         * nis/rpcsvc/ypupd.h: Likewise.
65968         * nis/yp_xdr.c: Likewise.
65969         * nis/ypupdate_xdr.c: Likewise.
65971         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
65972         mainly the body of pmap_getport.  Add parameters to specify timeouts.
65973         (pmap_getport): Use __libc_rpc_getport.
65974         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
65975         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
65976         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
65978 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
65980         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
65981         fanotify_mark.
65983 2010-08-27  Roland McGrath  <roland@redhat.com>
65985         * sysdeps/i386/i686/multiarch/Makefile
65986         (CFLAGS-varshift.c): New variable.
65988 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
65990         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
65991         * sysdeps/i386/i686/multiarch/varshift.c: New file.
65993         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
65995         * sysdeps/x86_64/strlen.S: Minimal code improvement.
65997 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
65999         * sysdeps/x86_64/strlen.S: Unroll the loop.
66000         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
66001         strlen-sse2 strlen-sse2-bsf.
66002         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
66003         __strlen_no_bsf if bit_Slow_BSF is set.
66004         (__strlen_sse42): Removed.
66005         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
66006         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
66008 2010-08-25  Roland McGrath  <roland@redhat.com>
66010         * sysdeps/x86_64/multiarch/varshift.S: File removed.
66011         * sysdeps/x86_64/multiarch/varshift.c: New file.
66012         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
66013         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
66014         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
66015         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
66017 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
66019         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
66020         strlen-sse2 strlen-sse2-bsf.
66021         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
66022         __strlen_sse2_bsf if bit_Slow_BSF is unset.
66023         (__strlen_sse2): Removed.
66024         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
66025         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
66026         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
66027         bit_Slow_BSF for Atom.
66028         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
66029         (index_Slow_BSF): Define.
66030         (HAS_SLOW_BSF): Define.
66032 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
66034         [BZ #10851]
66035         * resolv/res_init.c (__res_vinit): When no server address at all
66036         is given default to loopback.
66038 2010-08-24  Roland McGrath  <roland@redhat.com>
66040         * configure.in: Remove config-name.h generation.
66041         * configure: Regenerated.
66042         * config-name.in: File removed.
66043         * scripts/config-uname.sh: New file.
66044         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
66045         ($(objdir)config-name.h): New target.
66047         * sunrpc/rpc_parse.h: Avoid nested comment.
66049 2010-08-24  Richard Henderson  <rth@redhat.com>
66050             Ulrich Drepper  <drepper@redhat.com>
66051             H.J. Lu  <hongjiu.lu@intel.com>
66053         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
66054         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
66055         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
66056         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
66057         _mm_alignr_epi8 with _mm_loadu_si128.
66058         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
66059         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
66060         (__m128i_shift_right): Removed.
66061         * sysdeps/i386/i686/multiarch/varshift.h: New file.
66062         * sysdeps/i386/i686/multiarch/varshift.S: New file.
66063         * sysdeps/x86_64/multiarch/varshift.h: New file.
66064         * sysdeps/x86_64/multiarch/varshift.S: New file.
66066 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
66068         * configure.in: Move assembler checks to before sysdep dir checking.
66070 2010-08-20  Petr Baudis  <pasky@suse.cz>
66072         * LICENSES: Sync the sunrpc license.
66074 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
66076         * sunrpc/auth_des.c: Update copyright notice once again.
66077         * sunrpc/auth_none.c: Likewise.
66078         * sunrpc/auth_unix.c: Likewise.
66079         * sunrpc/authdes_prot.c: Likewise.
66080         * sunrpc/authuxprot.c: Likewise.
66081         * sunrpc/bindrsvprt.c: Likewise.
66082         * sunrpc/clnt_gen.c: Likewise.
66083         * sunrpc/clnt_perr.c: Likewise.
66084         * sunrpc/clnt_raw.c: Likewise.
66085         * sunrpc/clnt_simp.c: Likewise.
66086         * sunrpc/clnt_tcp.c: Likewise.
66087         * sunrpc/clnt_udp.c: Likewise.
66088         * sunrpc/clnt_unix.c: Likewise.
66089         * sunrpc/des_crypt.c: Likewise.
66090         * sunrpc/des_soft.c: Likewise.
66091         * sunrpc/get_myaddr.c: Likewise.
66092         * sunrpc/getrpcport.c: Likewise.
66093         * sunrpc/key_call.c: Likewise.
66094         * sunrpc/key_prot.c: Likewise.
66095         * sunrpc/openchild.c: Likewise.
66096         * sunrpc/pm_getmaps.c: Likewise.
66097         * sunrpc/pm_getport.c: Likewise.
66098         * sunrpc/pmap_clnt.c: Likewise.
66099         * sunrpc/pmap_prot.c: Likewise.
66100         * sunrpc/pmap_prot2.c: Likewise.
66101         * sunrpc/pmap_rmt.c: Likewise.
66102         * sunrpc/rpc/auth.h: Likewise.
66103         * sunrpc/rpc/auth_unix.h: Likewise.
66104         * sunrpc/rpc/clnt.h: Likewise.
66105         * sunrpc/rpc/des_crypt.h: Likewise.
66106         * sunrpc/rpc/key_prot.h: Likewise.
66107         * sunrpc/rpc/netdb.h: Likewise.
66108         * sunrpc/rpc/pmap_clnt.h: Likewise.
66109         * sunrpc/rpc/pmap_prot.h: Likewise.
66110         * sunrpc/rpc/pmap_rmt.h: Likewise.
66111         * sunrpc/rpc/rpc.h: Likewise.
66112         * sunrpc/rpc/rpc_des.h: Likewise.
66113         * sunrpc/rpc/rpc_msg.h: Likewise.
66114         * sunrpc/rpc/svc.h: Likewise.
66115         * sunrpc/rpc/svc_auth.h: Likewise.
66116         * sunrpc/rpc/types.h: Likewise.
66117         * sunrpc/rpc/xdr.h: Likewise.
66118         * sunrpc/rpc_clntout.c: Likewise.
66119         * sunrpc/rpc_cmsg.c: Likewise.
66120         * sunrpc/rpc_common.c: Likewise.
66121         * sunrpc/rpc_cout.c: Likewise.
66122         * sunrpc/rpc_dtable.c: Likewise.
66123         * sunrpc/rpc_hout.c: Likewise.
66124         * sunrpc/rpc_main.c: Likewise.
66125         * sunrpc/rpc_parse.c: Likewise.
66126         * sunrpc/rpc_parse.h: Likewise.
66127         * sunrpc/rpc_prot.c: Likewise.
66128         * sunrpc/rpc_sample.c: Likewise.
66129         * sunrpc/rpc_scan.c: Likewise.
66130         * sunrpc/rpc_scan.h: Likewise.
66131         * sunrpc/rpc_svcout.c: Likewise.
66132         * sunrpc/rpc_tblout.c: Likewise.
66133         * sunrpc/rpc_util.c: Likewise.
66134         * sunrpc/rpc_util.h: Likewise.
66135         * sunrpc/rpcinfo.c: Likewise.
66136         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
66137         * sunrpc/rpcsvc/key_prot.x: Likewise.
66138         * sunrpc/rpcsvc/klm_prot.x: Likewise.
66139         * sunrpc/rpcsvc/mount.x: Likewise.
66140         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
66141         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
66142         * sunrpc/rpcsvc/rex.x: Likewise.
66143         * sunrpc/rpcsvc/rstat.x: Likewise.
66144         * sunrpc/rpcsvc/rusers.x: Likewise.
66145         * sunrpc/rpcsvc/sm_inter.x: Likewise.
66146         * sunrpc/rpcsvc/spray.x: Likewise.
66147         * sunrpc/rpcsvc/yppasswd.x: Likewise.
66148         * sunrpc/rtime.c: Likewise.
66149         * sunrpc/svc.c: Likewise.
66150         * sunrpc/svc_auth.c: Likewise.
66151         * sunrpc/svc_authux.c: Likewise.
66152         * sunrpc/svc_raw.c: Likewise.
66153         * sunrpc/svc_run.c: Likewise.
66154         * sunrpc/svc_simple.c: Likewise.
66155         * sunrpc/svc_tcp.c: Likewise.
66156         * sunrpc/svc_udp.c: Likewise.
66157         * sunrpc/svc_unix.c: Likewise.
66158         * sunrpc/svcauth_des.c: Likewise.
66159         * sunrpc/xcrypt.c: Likewise.
66160         * sunrpc/xdr.c: Likewise.
66161         * sunrpc/xdr_array.c: Likewise.
66162         * sunrpc/xdr_float.c: Likewise.
66163         * sunrpc/xdr_mem.c: Likewise.
66164         * sunrpc/xdr_rec.c: Likewise.
66165         * sunrpc/xdr_ref.c: Likewise.
66166         * sunrpc/xdr_sizeof.c: Likewise.
66167         * sunrpc/xdr_stdio.c: Likewise.
66169         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
66170         handling.
66172 2010-08-19  Andreas Schwab  <schwab@redhat.com>
66174         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
66176 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
66178         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
66179         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
66180         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
66181         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
66182         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
66183         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
66184         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
66185         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
66186         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
66187         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
66188         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
66189         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
66190         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
66191         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
66193 2010-07-26  Anton Blanchard  <anton@samba.org>
66195         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
66196         * malloc/arena.c (heap_trim): Likewise.
66198 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
66200         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
66201         here.  Not...
66202         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
66203         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
66205 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
66207         * sysdeps/i386/elf/Makefile: New file.
66209 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
66211         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
66212         from fanotify_init.
66213         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
66214         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
66216 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
66218         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
66219         of strncasecmp_l.
66220         * sysdeps/multiarch/strcmp.S: Likewise.
66222 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
66224         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
66225         strncase_l-nonascii.
66226         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
66227         Add strncase_l-ssse3.
66228         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
66229         * sysdeps/x86_64/strcmp.S: Likewise.
66230         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
66231         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
66232         * sysdeps/x86_64/strncase.S: New file.
66233         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
66234         * sysdeps/x86_64/strncase_l.S: New file.
66235         * string/Makefile (strop-tests): Add strncasecmp.
66236         * string/test-strncasecmp.c: New file.
66238         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
66239         warning.
66241         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
66242         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
66244 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
66246         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
66248 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
66250         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
66251         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
66252         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
66254 2010-05-01  Alan Modra  <amodra@gmail.com>
66256         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
66257         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
66258         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
66259         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
66260         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
66261         tidying.  Don't tail-call __sigjmp_save for static lib.
66262         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
66263         save location.
66264         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
66265         (CALL_MCOUNT): Add eh info, and nop after bl.
66266         (TAIL_CALL_SYSCALL_ERROR): New macro.
66267         (PSEUDO_RET): Use it.
66268         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
66269         Correct save location of integer regs and cr.
66270         (_dl_profile_resolve): Correct cr save location.  Delete nops
66271         after bl when SHARED.  Reduce cfi size a little by better
66272         placement of cfi directives.
66273         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
66274         make a stack frame.  Instead use parm save area as a temp.
66275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
66276         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
66277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
66278         Don't make a stack frame for parent, use parm save area.
66279         Increase child stack frame to 112 bytes.  Don't save unused reg,
66280         and adjust reg usage.  Set up cfi on error recovery and
66281         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
66282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
66283         (__makecontext): Add dummy nop after jump to exit.
66284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
66285         Use correct parm save area and cr save, reduce stack frame.
66286         Correct cfi for possible PSEUDO_RET frame setup.
66287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
66288         Branch to local label emitted by PSEUDO_RET rather than
66289         __syscall_error.
66291 2010-08-12  Andreas Schwab  <schwab@redhat.com>
66293         [BZ #11904]
66294         * locale/programs/locale.c (print_assignment): New function.
66295         (show_locale_vars): Use it.
66297 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
66299         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
66300         field.
66301         (struct statfs64): Likewise.
66302         (_STATFS_F_FLAGS): Define.
66303         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
66304         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
66305         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
66306         (ST_VALID): Define locally.
66307         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
66308         __statvfs_getflags, use the provided value.
66309         * sysdeps/unix/sysv/linux/kernel-features.h: Define
66310         __ASSUME_STATFS_F_FLAGS.
66312         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
66314         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
66315         Add sys/fanotify.h.
66316         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
66317         fanotify_mask for GLIBC_2.13.
66318         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
66319         fanotify_init and fanotify_mark.
66320         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
66321         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
66323         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
66324         Add prlimit.
66325         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
66326         prlimit64 for GLIBC_2.13.
66327         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
66328         prlimit64.
66329         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
66330         syscall.
66331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
66332         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
66333         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
66334         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
66335         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
66336         add prlimit alias.
66337         * sysdeps/unix/sysv/linux/prlimit.c: New file.
66339         [BZ #11903]
66340         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
66341         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
66343         * nss/Makefile: Add rules to build and run tst-nss-test1.
66344         * shlib-versions: Add entry for libnss_test1.
66345         * nss/nss_test1.c: New file.
66346         * nss/tst-nss-test1.c: New file.
66348         * nss/nsswitch.c (__nss_database_custom): Define new variable.
66349         (__nss_configure_lookup): Set appropriate entry in
66350         __nss_configure_lookup to true.
66351         * nss/nsswitch.h: Define enum with indeces of databases in
66352         databases and __nss_database_custom arrays.  Declare
66353         __nss_database_custom.
66354         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
66355         to avoid using nscd when custom rules are installed.
66356         * nss/getXXbyYY_r.c: Likewise.
66357         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
66359         * nss/nss_files/files-parse.c: Whitespace fixes.
66361 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
66363         [BZ #11883]
66364         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
66365         * posix/fnmatch_loop.c: Likewise.
66367 2010-07-17  Andi Kleen  <ak@linux.intel.com>
66369         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
66370         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
66371         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
66372         * Versions.def [GLIBC_2.13]: Add.
66374 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
66376         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
66377         Also fail if tpwd after pwuid call is NULL.
66379 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66381         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
66382         when converting to ms.
66384 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66386         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
66387         EOPNOTSUPP errors with ENOTTY.
66388         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
66389         EOPNOTSUPP errors with ENOTTY.
66391 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
66393         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
66394         Add strcasecmp_l-ssse3.
66395         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
66396         strcasecmp.
66397         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
66398         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
66399         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
66401 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
66403         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
66405         * string/Makefile (strop-tests): Add strcasecmp.
66406         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
66407         strcasecmp_l-nonascii.
66408         (gen-as-const-headers): Add locale-defines.sym.
66409         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
66410         * sysdeps/x86_64/strcasecmp.S: New file.
66411         * sysdeps/x86_64/strcasecmp_l.S: New file.
66412         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
66413         * sysdeps/x86_64/locale-defines.sym: New file.
66414         * string/test-strcasecmp.c: New file.
66416         * string/test-strcasestr.c: Test both ends of the range of characters.
66417         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
66419 2010-07-29  Roland McGrath  <roland@redhat.com>
66421         [BZ #11856]
66422         * manual/locale.texi (Yes-or-No Questions): Fix example code.
66424 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
66426         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
66427         for ld.so.
66429 2010-07-27  Andreas Schwab  <schwab@redhat.com>
66431         * manual/memory.texi (Malloc Tunable Parameters): Document
66432         M_PERTURB.
66434 2010-07-26  Roland McGrath  <roland@redhat.com>
66436         [BZ #11840]
66437         * configure.in (-fgnu89-inline check): Set and substitute
66438         gnu89_inline, not libc_cv_gnu89_inline.
66439         * configure: Regenerated.
66440         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
66442 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
66444         * string/test-strnlen.c: New file.
66445         * string/Makefile (strop-tests): Add strnlen.
66446         * string/tester.c (test_strnlen): Add a few more test cases.
66447         * string/tst-strlen.c: Better error reporting.
66449         * sysdeps/x86_64/strnlen.S: New file.
66451 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
66453         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
66454         lower-latency instructions.
66456 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
66458         * string/test-strcasestr.c: New file.
66459         * string/test-strstr.c: New file.
66460         * string/Makefile (strop-tests): Add strstr and strcasestr.
66461         * string/str-two-way.h: Don't undefine MAX.
66462         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
66464 2010-07-21  Andreas Schwab  <schwab@redhat.com>
66466         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
66467         strcasestr-nonascii.
66468         (CFLAGS-strcasestr-nonascii.c): Define.
66469         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
66470         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
66471         Remove unused attribute.
66473 2010-07-20  Roland McGrath  <roland@redhat.com>
66475         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
66476         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
66477         ld.so.cache was broken.  With it, there is no way to disable dsocaps
66478         like LD_HWCAP_MASK can disable hwcaps.
66480 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
66482         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
66484 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
66486         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
66487         call in strcasestr.
66488         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
66489         __strcasestr_sse42_nonascii.
66490         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
66491         strcasestr-nonascii.c.
66492         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
66494 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
66496         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
66497         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
66498         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
66499         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
66501 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
66503         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
66504         fcntl.
66506 2010-07-06  Andreas Schwab  <schwab@redhat.com>
66508         [BZ #11577]
66509         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
66510         dl_signal_cerror.
66512 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
66514         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
66515         _PC_PIPE_BUF using F_GETPIPE_SZ.
66517 2010-07-05  Roland McGrath  <roland@redhat.com>
66519         * manual/arith.texi (Rounding Functions): Fix rint description
66520         implicit in round description.
66522 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
66524         * elf/Makefile: Fix linking for a few tests to make recent linker
66525         happy.
66527 2010-06-30  Andreas Schwab  <schwab@redhat.com>
66529         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
66530         $(common-objpfx)libc_nonshared.a.
66532 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
66534         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
66535         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
66536         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
66537         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
66538         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
66539         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
66540         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
66541         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
66542         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
66543         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
66544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
66545         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
66546         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
66547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
66548         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
66549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
66550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
66551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
66552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
66553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
66554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
66555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
66556         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
66557         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
66558         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
66559         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
66560         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
66561         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
66562         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
66563         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
66564         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
66565         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
66566         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
66567         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
66568         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
66569         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
66570         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
66571         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
66572         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
66573         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
66574         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
66575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
66576         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
66577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
66578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
66579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
66580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
66581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
66583 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
66585         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
66586         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
66587         * string/memmove.c (memmove): Renamed to ...
66588         (MEMMOVE): ...this.  Default to memmove.
66589         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
66590         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
66591         (END_CHK): Define.
66592         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
66593         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
66594         mempcpy-ssse3-back memmove-ssse3-back.
66595         * sysdeps/x86_64/multiarch/bcopy.S: New file .
66596         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
66597         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
66598         * sysdeps/x86_64/multiarch/memcpy.S: New file.
66599         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
66600         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
66601         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
66602         * sysdeps/x86_64/multiarch/memmove.c: New file.
66603         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
66604         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
66605         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
66606         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
66607         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
66608         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
66609         Define.
66610         (index_Fast_Copy_Backward): Define.
66611         (HAS_ARCH_FEATURE): Define.
66612         (HAS_FAST_REP_STRING): Define.
66613         (HAS_FAST_COPY_BACKWARD): Define.
66615 2010-06-21  Andreas Schwab  <schwab@redhat.com>
66617         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
66618         Restore proper fallback handling.
66620 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
66622         [BZ #11701]
66623         * posix/group_member.c (__group_member): Correct checking loop.
66625         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
66626         OOM in getpwuid_r correctly.  Return error number when the caller
66627         should return, otherwise -1.
66628         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
66629         call returning > 0 value.
66630         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
66632 2010-06-07  Andreas Schwab  <schwab@redhat.com>
66634         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
66635         libc_nonshared.a from targets in modules-names.
66637 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
66639         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
66640         requires it.
66642 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
66644         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
66645         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
66646         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
66647         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
66649 2010-06-02  Andreas Schwab  <schwab@redhat.com>
66651         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
66653 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
66655         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
66656         and F_GETPIPE_SZ.
66657         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
66658         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
66659         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
66660         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
66661         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
66662         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
66664 2010-06-14  Roland McGrath  <roland@redhat.com>
66666         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
66668 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
66670         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
66671         __REDIRECT followed by __THROW.
66672         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
66673         * posix/getopt.h (getopt): Likewise.
66675 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
66677         * hurd/lookup-at.c (__file_name_lookup_at): Accept
66678         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
66679         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
66680         in AT_FLAGS.
66681         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
66682         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
66684 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
66686         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
66688 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
66690         [BZ #11640]
66691         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
66692         Properly check family and model.
66694 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
66696         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
66698 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
66700         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
66702 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
66704         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
66705         symbol reference.
66707 2010-05-19  Andreas Schwab  <schwab@redhat.com>
66709         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
66710         symbol reference.
66712 2010-05-21  Andreas Schwab  <schwab@redhat.com>
66714         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
66715         and internal_recvmmsg.
66716         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
66717         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
66718         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
66719         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
66721         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
66722         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
66723         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
66725 2010-05-20  Andreas Schwab  <schwab@redhat.com>
66727         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
66729 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
66731         POWER7 optimizations.
66732         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
66733         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
66735 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
66737         * version.h: Update for 2.13 development version.
66739 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
66741         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
66742         exceptions.  Return 0.
66744 2010-05-07  Roland McGrath  <roland@redhat.com>
66746         * elf/ldconfig.c (main): Add a const.
66748 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
66750         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
66751         (args_options): Add no-idn option.
66752         (ahosts_keys_int): Add idn_flags to ai_flags.
66753         (parse_option): Handle 'i' option to clear idn_flags.
66755         * malloc/malloc.c (_int_free): Possible race in the most recently
66756         added check.  Only act on the data if no current modification
66757         happened.
66759 See ChangeLog.17 for earlier changes.