Fix lrint, llrint missing exceptions close to overflow threshold (bug 19094).
[glibc.git] / ChangeLog
blob0bfe5f56a49f19e0cbf21d115c53411116b7bae5
1 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
3         [BZ #19094]
4         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
5         <limits.h>.
6         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
7         when result overflows but exception would not result from cast.
8         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
9         <limits.h>.
10         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
11         when result overflows but exception would not result from cast.
12         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
13         <limits.h>.
14         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
15         when result overflows but exception would not result from cast.
16         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
17         <limits.h>.
18         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
19         when result overflows but exception would not result from cast.
20         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
21         <limits.h>.
22         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
23         when result overflows but exception would not result from cast.
24         * math/libm-test.inc (lrint_test_data): Add more tests.
25         (llrint_test_data): Likewise.
27 2015-10-08  Roland McGrath  <roland@hack.frob.com>
29         [BZ #18872]
30         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
31         Move out from under [$(run-built-tests) = yes] conditional.
32         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
33         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
35 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
37         [BZ #18589]
38         * string/Makefile (tests): Add bug-strcoll2.
39         (LOCALES): Add cs_CZ.UTF-8.
41         [BZ #18589]
42         * string/bug-strcoll2.c: New file.
43         * locale/categories.def: Revert commit
44         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
45         * locale/langinfo.h: Likewise.
46         * locale/localeinfo.h: Likewise.
47         * locale/C-collate.c: Likewise.
48         * locale/programs/ld-collate.c (collate_output): Likewise.
49         * string/strcoll_l.c (STRDIFF): Likewise.
50         (STRCOLL): Likewise.
51         * wcsmbs/wcscoll_l.c: Likewise.
53 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
55         * math/libm-test.inc (lround_test_data): Do not expect the absence
56         of "inexact" for some tests with non-integer arguments.
57         (llround_test_data): Likewise.
59         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
60         test.
61         (libc_cv_cc_sse2avx): Likewise.
62         * sysdeps/i386/configure: Regenerated.
63         * sysdeps/i386/i686/multiarch/Makefile
64         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
65         [$(subdir) = math].
66         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
67         code unconditional.
68         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
69         Likewise.
70         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
71         Likewise.
72         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
73         Likewise.
74         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
75         test.
76         (libc_cv_cc_sse2avx): Likewise.
77         * sysdeps/x86_64/configure: Regenerated.
78         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
79         unconditional.
80         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
81         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
82         unconditional.
83         (_dl_runtime_profile)
84         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
85         conditional code.
86         * sysdeps/x86_64/fpu/multiarch/Makefile
87         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
88         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
89         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
90         * sysdeps/x86_64/fpu/multiarch/e_exp.c
91         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
92         * sysdeps/x86_64/fpu/multiarch/e_log.c
93         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
94         * sysdeps/x86_64/fpu/multiarch/s_atan.c
95         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
96         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
97         Likewise.
98         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
99         Likewise.
100         * sysdeps/x86_64/fpu/multiarch/s_sin.c
101         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
102         * sysdeps/x86_64/fpu/multiarch/s_tan.c
103         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
104         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
105         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
106         (HAVE_SSE2AVX_SUPPORT): Likewise.
108 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
110         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
111         instead of #pragma optimize.
113 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
115         [BZ #17195]
116         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
117         as is similarly done in systrim and _int_free already.
119 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
121         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
123 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
125         [BZ #19088]
126         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
127         <limits.h>.
128         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
129         overflows but exception would not result from cast.
130         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
131         and <limits.h>.
132         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
133         overflows but exception would not result from cast.
134         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
135         <limits.h>.
136         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
137         overflows but exception would not result from cast.
138         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
139         <limits.h>.
140         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
141         overflows but exception would not result from cast.
142         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
143         <limits.h>.
144         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
145         overflows but exception would not result from cast.
146         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
147         <limits.h>.
148         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
149         overflows but exception would not result from cast.
150         * math/libm-test.inc (lround_test_data): Add more tests.
151         (llround_test_data): Likewise.
153 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
155         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
156         (CFLAGS-ialloc.c): Ditto.
157         (CFLAGS-scheck.c): Ditto.
159 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
161         [BZ #19086]
162         * manual/filesys.texi (Storage Allocation): Fix argument order for
163         posix_fallocate64.
165 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
167         [BZ #19085]
168         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
169         exponent below 48 inside case for non-overflowing exponent.
170         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
172 2015-10-07  Florian Weimer  <fweimer@redhat.com>
174         * iconvdata/cp737.h (from_idx): Add const.
175         * iconvdata/cp775.h (from_idx): Likewise.
177 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
179         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
180         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
181         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
183         [BZ #19079]
184         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
185         file, conditioned on [!_LP64].
186         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
187         [!_LP64] (__lround): Do not define as function or alias.
188         [!_LP64] (lround): Likewise.
189         [!_LP64] (__lroundl): Likewise.
190         [!_LP64] (lroundl): Likewise.
191         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
192         macro.
193         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
194         Likewise.
196 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
198         * math/libm-test.inc (lrint_test_data): Add more tests.
199         (llrint_test_data): Likewise.
200         (lround_test_data): Likewise.
201         (llround_test_data): Likewise.
203         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
204         (llrint_test_data): Add tests used for lrint.
206         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
207         test.
208         * sysdeps/i386/configure: Regenerated.
209         * sysdeps/i386/i686/multiarch/Makefile
210         [$(config-cflags-sse4) = yes]: Make code unconditional.
211         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
212         Likewise.
213         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
214         Likewise.
215         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
216         test.
217         * sysdeps/x86_64/configure: Regenerated.
218         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
219         Make code unconditional.
220         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
221         Likewise.
222         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
223         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
225         * scripts/rpm2dynsym.sh: Remove file.
227 2015-10-06  Florian Weimer  <fweimer@redhat.com>
229         * configure.ac (libc_cv_cxx_thread_local): Define.
230         * configure: Regenerate.
231         * config.make.in (have-cxx-thread_local): Define.
232         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
233         (LDLIBS-tst-thread_local1): Define.
234         (tests): Add tst-thread_local1.
235         [have-cxx-thread_local != yes] (tests-unsupported): Add
236         tst-thread_local1.
237         * nptl/tst-thread_local1.cc: New file.
239 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
241         [BZ #19078]
242         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
243         (u_thres): Likewise.
244         (__expl): Determine whether to call __kernel_standard_l based on
245         value of result, not argument.
247         * math/libm-test.inc (scalb_test_data): Add more expectations for
248         the "inexact" exception.
250         [BZ #19077]
251         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
252         0.0L for argument 1.0L.
254         [BZ #19076]
255         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
256         constant 0.0L when computing infinite result.
258 2015-10-06  Florian Weimer  <fweimer@redhat.com>
260         [BZ #10432]
261         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
262         malloc_usable_size.
264 2015-10-06  Florian Weimer  <fweimer@redhat.com>
266         [BZ #19018]
267         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
268         Mangle function pointer before storing it.
269         (__call_tls_dtors): Demangle function pointer before calling it.
271 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
273         [BZ #19012]
274         * iconv/gconv_db.c (gen_steps): Check for additional errors.
275         Clean up on failure.
277 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
279         [BZ #19071]
280         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
281         long int variable to store possibly incremented high part of
282         mantissa.
283         * math/libm-test.inc (lround_test_data): Add tests used for
284         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
285         for tests requiring 64-bit long.  Do not condition tests on
286         [TEST_FLOAT] unnecessarily.
287         (llround_test_data): Add tests used for lround.  Add another
288         expectation for the "inexact" exception.  Do not condition tests
289         on [TEST_FLOAT] unnecessarily.
291         [BZ #887]
292         [BZ #19049]
293         [BZ #19050]
294         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
295         * sysdeps/ieee754/dbl-64/e_log10.c: Include
296         <fix-int-fp-convert-zero.h>.
297         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
298         * sysdeps/ieee754/dbl-64/e_log2.c: Include
299         <fix-int-fp-convert-zero.h>.
300         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
301         * sysdeps/ieee754/dbl-64/s_erf.c: Include
302         <fix-int-fp-convert-zero.h>.
303         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
304         * sysdeps/ieee754/dbl-64/s_logb.c: Include
305         <fix-int-fp-convert-zero.h>.
306         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
307         * sysdeps/ieee754/flt-32/e_log10f.c: Include
308         <fix-int-fp-convert-zero.h>.
309         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
310         * sysdeps/ieee754/flt-32/e_log2f.c: Include
311         <fix-int-fp-convert-zero.h>.
312         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
313         * sysdeps/ieee754/flt-32/s_erff.c: Include
314         <fix-int-fp-convert-zero.h>.
315         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
316         * sysdeps/ieee754/flt-32/s_logbf.c: Include
317         <fix-int-fp-convert-zero.h>.
318         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
319         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
320         <fix-int-fp-convert-zero.h>.
321         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
322         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
323         <fix-int-fp-convert-zero.h>.
324         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
325         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
326         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
327         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
328         file.
329         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
331 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
333         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
335 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
337         [BZ #19059]
338         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
339         overflowing computation.
340         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
341         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
342         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
343         Likewise.
344         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
345         Likewise.
346         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
347         Likewise.
348         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
349         Likewise.
350         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
351         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
352         Likewise.
353         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
354         Likewise.
355         * math/libm-test.inc (nexttoward_test_data): Add more tests.
357         * nss/rewrite_field.c (__nss_rewrite_field): Use
358         internal_function.
359         * nss/valid_field.c (__nss_valid_field): Likewise.
360         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
362 2015-10-02  Florian Weimer  <fweimer@redhat.com>
364         [BZ #18724]
365         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
366         (__nss_invalid_field_characters, __nss_valid_field)
367         (__nss_valid_list_field, __nss_rewrite_field): Declare.
368         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
369         tst-field.c: New file.
370         * nss/Makefile (routines): Add valid_field, rewrite_field.
371         (tests-static): Define unconditionally.
372         (tests): Include tests-static.
373         [build-static-nss] (tests-static): Use append.
374         [build-static-nss] (tests): Remove modification.
375         * nss/getent.c (print_group): Call putgrent.  Report error.
376         (print_gshadow): Call putsgent.  Report error.
377         (print_passwd): Call putpwent.  Report error.
378         (print_shadow): Call putspent.  Report error.
379         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
380         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
381         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
382         name, password, directory, shell fields for valid syntax.  Rewrite
383         GECOS field to match syntax.
384         * pwd/Makefile (tests): Add tst-putpwent.
385         * pwd/tst-putpwent.c: New file.
386         * grp/putgrent.c (putgrent): Convert to ISO function definition.
387         Check grName, grpasswd, gr_mem fields for valid syntax.
388         Change loop variable i to size_t.
389         * grp/Makefile (tests): Add tst-putgrent.
390         * grp/tst-putgrent.c: New file.
391         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
392         valid syntax.
393         * shadow/Makefile (tests): Add tst-putspent.
394         * shadow/tst-putspent.c: New file.
395         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
396         sg_mem fields for valid syntax.
397         * gshadow/Makefile (tests): Add tst-putsgent.
398         * gshadow/tst-putsgent.c: New file.
400 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
402         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
403         assembly instructions.
405 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
407         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
408         prefix from operands.
410 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
412         [BZ #16347]
413         [BZ #19046]
414         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
415         <libc-internal.h>.
416         (MAXLGM): Do not use diagnostic control macros.
417         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
418         threshold for ldbl-128ibm.
419         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
420         instead of multiplying by log then subtracting.
421         * math/auto-libm-test-in: Add more tests of lgamma.
422         * math/auto-libm-test-out: Regenerated.
424         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
425         (TYPE_HEX_DIG): Likewise.
426         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
427         precisions when printing floating-point numbers.
428         (check_float_internal): Likewise.
430 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
432         [BZ #16620]
433         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
434         of log (10) rounded downward to 48 bits.
435         (log10_low): Use corresponding low part of log (10).
437         [BZ #19032]
438         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
439         compute result as (x - x) / (x - x) not as 0 / 0.
440         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
441         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
443         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
444         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
445         and expm1.
446         * math/auto-libm-test-out: Regenerated.
447         * math/libm-test.inc (acos_test_data): Add more tests.
448         (asin_test_data): Likewise.
449         (asinh_test_data): Likewise.
450         (atan_test_data): Likewise.
451         (atanh_test_data): Likewise.
452         (atan2_test_data): Likewise.
453         (cbrt_test_data): Likewise.
454         (ceil_test_data): Likewise.
455         (copysign_test_data): Likewise.
456         (cos_test_data): Likewise.
457         (cosh_test_data): Likewise.
458         (erf_test_data): Likewise.
459         (erfc_test_data): Likewise.
460         (exp_test_data): Likewise.
461         (exp10_test_data): Likewise.
462         (exp2_test_data): Likewise.
463         (expm1_test_data): Likewise.
464         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
466 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
468         [BZ #19006]
469         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
470         to ...
471         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
472         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
473         to ...
474         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
475         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
476         to ...
477         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
478         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
479         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
480         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
481         to ...
482         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
483         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
484         Moved to ...
485         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
486         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
487         Moved to ...
488         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
489         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
490         to ...
491         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
492         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
493         Moved to ...
494         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
495         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
496         to ...
497         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
498         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
499         Removed.
500         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
501         Likewise.
502         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
503         Likewise.
504         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
505         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
506         Likewise.
507         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
508         Likewise.
509         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
510         Likewise.
511         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
512         Likewise.
513         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
514         Likewise.
515         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
516         Likewise.
517         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
518         Likewise.
519         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
520         Likewise.
521         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
522         Likewise.
523         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
524         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
525         Likewise.
526         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
527         Likewise.
528         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
529         Likewise.
530         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
531         Likewise.
532         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
533         Likewise.
534         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
535         Replace ../i486/pthread_cond_timedwait.S with
536         ../pthread_cond_timedwait.S.
538 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
540         * math/libm-test.inc (acos_test_data): Refine expectations for
541         errno and "inexact" exceptions.
542         (acosh_test_data): Likewise.
543         (asin_test_data): Likewise.
544         (asinh_test_data): Likewise.
545         (atan_test_data): Likewise.
546         (atanh_test_data): Likewise.
547         (atan2_test_data): Likewise.
548         (cbrt_test_data): Likewise.
549         (ceil_test_data): Likewise.
550         (copysign_test_data): Likewise.
551         (cosh_test_data): Likewise.
552         (erf_test_data): Likewise.
553         (erfc_test_data): Likewise.
554         (exp_test_data): Likewise.
555         (exp10_test_data): Likewise.
556         (exp2_test_data): Likewise.
557         (expm1_test_data): Likewise.
558         (fabs_test_data): Likewise.
559         (floor_test_data): Likewise.
560         (fma_test_data): Likewise.
561         (fmax_test_data): Likewise.
562         (fmin_test_data): Likewise.
563         (fmod_test_data): Likewise.
564         (fpclassify_test_data): Likewise.
565         (frexp_test_data): Likewise.
566         (hypot_test_data): Likewise.
567         (ilogb_test_data): Likewise.
568         (isgreater_test_data): Likewise.
569         (isgreaterequal_test_data): Likewise.
570         (isinf_test_data): Likewise.
571         (isless_test_data): Likewise.
572         (islessequal_test_data): Likewise.
573         (islessgreater_test_data): Likewise.
574         (isnan_test_data): Likewise.
575         (isnormal_test_data): Likewise.
576         (issignaling_test_data): Likewise.
577         (isunordered_test_data): Likewise.
578         (j0_test_data): Likewise.
579         (j1_test_data): Likewise.
580         (jn_test_data): Likewise.
581         (lgamma_test_data): Likewise.
582         (lrint_test_data): Likewise.
583         (llrint_test_data): Likewise.
584         (log_test_data): Likewise.
585         (log10_test_data): Likewise.
586         (log1p_test_data): Likewise.
587         (log2_test_data): Likewise.
588         (logb_test_data): Likewise.
589         (lround_test_data): Likewise.
590         (llround_test_data): Likewise.
591         (modf_test_data): Likewise.
592         (nearbyint_test_data): Likewise.
593         (nextafter_test_data): Likewise.
594         (nexttoward_test_data): Likewise.
595         (pow_test_data): Likewise.
596         (remainder_test_data): Likewise.
597         (remquo_test_data): Likewise.
598         (rint_test_data): Likewise.
599         (round_test_data): Likewise.
600         (signbit_test_data): Likewise.
601         (sinh_test_data): Likewise.
602         (sqrt_test_data): Likewise.
603         (tanh_test_data): Likewise.
604         (tgamma_test_data): Likewise.
605         (trunc_test_data): Likewise.
606         (y0_test_data): Likewise.
607         (y1_test_data): Likewise.
608         (yn_test_data): Likewise.
609         (significand_test_data): Likewise.
611 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
613         * manual/filesys.texi (Storage Allocation): Document that
614         posix_fallocate emulation fails when fd is open with O_WRONLY.
616 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
618         [BZ #19016]
619         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
620         allow more cases with X^2 + Y^2 >= 0.5.
621         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
622         normal element in sum instead of special-casing based on values of
623         arguments.
624         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
625         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
626         -1 as normal element in sum instead of special-casing based on
627         values of arguments.
628         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
629         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
630         (__x2y2m1): Update comment.
631         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
632         as normal element in sum instead of special-casing based on values
633         of arguments.
634         * math/s_clog.c (__clog): Handle more cases using log1p without
635         hypot.
636         * math/s_clog10.c (__clog10): Likewise.
637         * math/s_clog10f.c (__clog10f): Likewise.
638         * math/s_clog10l.c (__clog10l): Likewise.
639         * math/s_clogf.c (__clogf): Likewise.
640         * math/s_clogl.c (__clogl): Likewise.
641         * math/auto-libm-test-in: Add more tests of clog and clog10.
642         * math/auto-libm-test-out: Regenerated.
643         * sysdeps/i386/fpu/libm-test-ulps: Update.
644         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
646 2015-09-28  Martin Sebor  <msebor@redhat.com>
648         [BZ #18969]
649         * string/Makefile (LOCALES): Define.
650         (gen-locales.mk): Include.
651         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
652         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
653         * string/tst-strxfrm2.c (do_test): Print the name of the locale
654         on setlocale failure.
656 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
658         [BZ #18985]
659         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
660         (__strftime_internal): Likewise.
661         * time/tst-strftime.c (do_bz18985): New test.
662         (do_test): Call it.
664 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
666         [BZ #18956]
667         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
668         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
669         extracting high part.
670         * math/auto-libm-test-in: Add another test of pow.
671         * math/auto-libm-test-out: Regenerated.
672         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
674 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
676         [BZ #18825]
677         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
678         New macro.
679         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
680         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
681         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
682         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
683         DBL_NARROW_EVAL, reloading the PIC register as needed.
684         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
685         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
686         FLT_NARROW_EVAL.  Use separate return path for case when first
687         argument is NaN.
688         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
689         DEFINE_LDBL_MIN.
690         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
691         PIC register.
692         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
693         math_check_force_underflow_nonneg.
694         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
695         underflow for subnormal result.
696         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
697         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
698         math_check_force_underflow_nonneg.
699         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
700         math_check_force_underflow.
701         * sysdeps/x86_64/fpu/x86_64-math-asm.h
702         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
703         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
704         DEFINE_LDBL_MIN.
705         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
706         * math/auto-libm-test-in: Add more tests of pow.
707         * math/auto-libm-test-out: Regenerated.
709 2015-09-25  Florian Weimer  <fweimer@redhat.com>
711         * nss/bug17079.c (init_test_items): Add diagnostic for
712         inconsistent entries.
713         (test_buffer_size): Skip inconsistent entries.
715 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
717         [BZ #13304]
718         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
719         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
720         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
722         [BZ #13304]
723         * sysdeps/microblaze/s_fma.c: New file.
724         * sysdeps/microblaze/s_fmaf.c: Likewise.
725         * sysdeps/microblaze/sfp-machine.h: Likewise.
727 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
729         [BZ #17250]
730         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
731         member.
733 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
735         [BZ #18803]
736         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
737         (MO): New macro.
738         (__ieee754_hypot) [PIC]: Load PIC register.
739         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
740         DBL_NARROW_EVAL.
741         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
742         math_check_force_underflow_nonneg in case where result might be
743         tiny.
744         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
745         Likewise.
746         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
747         Likewise.
748         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
749         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
750         * math/auto-libm-test-in: Add more tests of hypot.
751         * math/auto-libm-test-out: Regenerated.
753 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
755         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
757 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
759         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
760         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
761         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
762         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
763         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
764         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
765         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
767         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
768         LOAD_PIC_REG.
770         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
771         (FLT_CHECK_FORCE_UFLOW): Likewise.
772         (DBL_CHECK_FORCE_UFLOW): Likewise.
773         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
774         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
775         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
776         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
777         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
778         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
779         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
780         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
781         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
782         (dbl_min): Replace with use of DEFINE_DBL_MIN.
783         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
784         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
785         (flt_min): Replace with use of DEFINE_FLT_MIN.
786         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
787         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
788         (dbl_min): Replace with use of DEFINE_DBL_MIN.
789         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
790         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
791         (flt_min): Replace with use of DEFINE_FLT_MIN.
792         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
793         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
794         (dbl_min): Replace with use of DEFINE_DBL_MIN.
795         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
796         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
797         (flt_min): Replace with use of DEFINE_FLT_MIN.
798         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
799         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
800         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
801         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
802         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
803         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
804         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
805         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
806         (dbl_min): Replace with use of DEFINE_DBL_MIN.
807         (__atan): Use DBL_CHECK_FORCE_UFLOW.
808         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
809         (flt_min): Replace with use of DEFINE_FLT_MIN.
810         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
811         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
812         (dbl_min): Replace with use of DEFINE_DBL_MIN.
813         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
814         main computation.
815         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
816         (flt_min): Replace with use of DEFINE_FLT_MIN.
817         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
818         main computation.
819         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
820         (dbl_min): Replace with use of DEFINE_DBL_MIN.
821         (MO): New macro.
822         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
823         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
824         (flt_min): Replace with use of DEFINE_FLT_MIN.
825         (MO): New macro.
826         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
827         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
828         (__log1pl): Use MO.
830         [BZ #19003]
831         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
832         $(config-cflags-nofma).
834 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
836         * sysdeps/aarch64/libm-test-ulps: Regenerated.
838 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
840         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
841         (TWO127): Likewise.
843         * sysdeps/generic/math_private.h (fabs_tg): New macro.
844         (min_of_type): Likewise.
845         (math_check_force_underflow): Likewise.
846         (math_check_force_underflow_nonneg): Likewise.
847         (math_check_force_underflow_complex): Likewise.
848         * math/e_exp2l.c (__ieee754_exp2l): Use
849         math_check_force_underflow_nonneg.
850         * math/k_casinh.c (__kernel_casinh): Likewise.
851         * math/k_casinhf.c (__kernel_casinhf): Likewise.
852         * math/k_casinhl.c (__kernel_casinhl): Likewise.
853         * math/s_catan.c (__catan): Use
854         math_check_force_underflow_complex.
855         * math/s_catanf.c (__catanf): Likewise.
856         * math/s_catanh.c (__catanh): Likewise.
857         * math/s_catanhf.c (__catanhf): Likewise.
858         * math/s_catanhl.c (__catanhl): Likewise.
859         * math/s_catanl.c (__catanl): Likewise.
860         * math/s_ccosh.c (__ccosh): Likewise.
861         * math/s_ccoshf.c (__ccoshf): Likewise.
862         * math/s_ccoshl.c (__ccoshl): Likewise.
863         * math/s_cexp.c (__cexp): Likewise.
864         * math/s_cexpf.c (__cexpf): Likewise.
865         * math/s_cexpl.c (__cexpl): Likewise.
866         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
867         * math/s_clog10.c (__clog10): Likewise.
868         * math/s_clog10f.c (__clog10f): Likewise.
869         * math/s_clog10l.c (__clog10l): Likewise.
870         * math/s_clogf.c (__clogf): Likewise.
871         * math/s_clogl.c (__clogl): Likewise.
872         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
873         * math/s_csinf.c (__csinf): Likewise.
874         * math/s_csinh.c (__csinh): Likewise.
875         * math/s_csinhf.c (__csinhf): Likewise.
876         * math/s_csinhl.c (__csinhl): Likewise.
877         * math/s_csinl.c (__csinl): Likewise.
878         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
879         * math/s_csqrtf.c (__csqrtf): Likewise.
880         * math/s_csqrtl.c (__csqrtl): Likewise.
881         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
882         * math/s_ctanf.c (__ctanf): Likewise.
883         * math/s_ctanh.c (__ctanh): Likewise.
884         * math/s_ctanhf.c (__ctanhf): Likewise.
885         * math/s_ctanhl.c (__ctanhl): Likewise.
886         * math/s_ctanl.c (__ctanl): Likewise.
887         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
888         instead of volatile.
889         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
890         math_check_force_underflow.
891         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
892         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
893         volatile when forcing underflow.
894         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
895         math_check_force_underflow_nonneg.
896         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
897         Likewise.
898         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
899         math_check_force_underflow.
900         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
901         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
902         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
903         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
904         math_check_force_underflow_nonneg.
905         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
906         math_check_force_underflow.
907         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
908         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
909         instead of volatile.
910         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
911         math_check_force_underflow.
912         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
913         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
914         math_check_force_underflow_nonneg.
915         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
916         math_check_force_underflow.
917         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
918         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
919         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
920         math_check_force_underflow_nonneg.
921         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
922         Likewise.
923         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
924         math_check_force_underflow.
925         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
926         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
927         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
928         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
929         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
930         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
931         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
932         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
933         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
934         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
935         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
936         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
937         Likewise.
938         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
939         math_check_force_underflow_nonneg.
940         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
941         Likewise.
942         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
943         math_check_force_underflow.
944         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
945         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
946         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
947         Likewise.
948         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
949         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
950         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
951         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
952         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
953         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
954         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
955         instead of volatile.
956         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
957         math_check_force_underflow.
958         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
959         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
960         math_check_force_underflow.
961         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
962         Likewise.
963         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
964         Use math_check_force_underflow_nonneg.
965         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
966         math_check_force_underflow.
967         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
968         Likewise.
969         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
970         Likewise.
971         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
972         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
973         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
974         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
975         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
976         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
977         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
978         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
979         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
980         math_check_force_underflow_nonneg.
981         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
982         math_check_force_underflow.
983         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
984         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
985         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
986         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
987         math_check_force_underflow_nonneg.
988         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
989         math_check_force_underflow.
990         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
991         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
992         instead of volatile.
993         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
994         math_check_force_underflow.
996         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
997         * stdlib/strtod_l.c: Include <math_private.h>.
998         (overflow_value): Use math_narrow_eval.
999         (underflow_value): Likewise.
1000         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
1001         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
1002         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
1003         (__ieee754_gamma_r): Likewise.
1004         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
1005         Likewise.
1006         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
1007         Likewise.
1008         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
1009         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
1010         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
1011         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
1012         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
1013         (__ieee754_gammaf_r): Likewise.
1014         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
1015         Likewise.
1016         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
1017         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
1018         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
1019         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
1020         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
1021         volatile.
1022         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
1023         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
1024         math_narrow_eval.
1025         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
1026         Likewise.
1027         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
1028         Likewise.
1029         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
1030         Likewise.
1031         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
1032         volatile.
1033         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
1034         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
1035         math_narrow_eval.
1036         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
1037         Likewise.
1038         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
1039         Likewise.
1041 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
1043         * nptl/Versions: Remove ignored symbols.
1045 2015-09-22  Florian Weimer  <fweimer@redhat.com>
1047         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
1048         * nss/Makefile (tests): Update.
1050 2015-09-22  Florian Weimer  <fweimer@redhat.com>
1052         * nss/bug18287.c: New file.
1053         * nss/Makefile (tests): Add bug18287.
1055 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1057         * mach/Versions (__mach_host_self_): Add symbol.
1059 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1061         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
1062         vm_page_size.
1064 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1066         Really fix sysdeps/i386/fpu/s_scalbn.S build
1068         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
1069         (libc: GLIBC_2_22): Remove unused version set.
1071 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
1073         * config.make.in (enable-timezone-tools): New variable.
1074         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
1075         (enable_timezone_tools): Export to generated files.
1076         * configure: Regenerate.
1077         * INSTALL: Regenerate.
1078         * manual/install.texi (--disable-timezone-tools): Document new flag.
1079         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
1080         ifeq ($(enable-timezone-tools),yes) check.
1082 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
1084         * timezone/Makefile: Revert previous change.
1086         [BZ #18980]
1087         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
1088         (DEFINE_DBL_MIN): Likewise.
1089         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
1090         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
1091         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
1092         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
1093         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
1094         (dbl_min): Replace with use of DEFINE_DBL_MIN.
1095         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
1096         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
1097         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
1098         (dbl_min): Replace with use of DEFINE_DBL_MIN.
1099         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
1100         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
1101         (flt_min): Replace with use of DEFINE_FLT_MIN.
1102         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
1103         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
1104         (dbl_min): Replace with use of DEFINE_DBL_MIN.
1105         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
1106         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
1107         (flt_min): Replace with use of DEFINE_FLT_MIN.
1108         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
1109         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
1110         (flt_min): Replace with use of DEFINE_FLT_MIN.
1111         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
1112         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
1113         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
1114         (__ieee754_hypot): Use DBL_NARROW_EVAL.
1115         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
1116         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
1117         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
1118         (__ieee754_pow): Use DBL_NARROW_EVAL.
1119         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
1120         (__ieee754_powf): Use FLT_NARROW_EVAL.
1121         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
1122         (__ieee754_expf_sse2): Convert double-precision result to single
1123         precision.
1124         * sysdeps/i386/fpu/libm-test-ulps: Update.
1126 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
1128         * timezone/Makefile: Ignore unused variable errors due to private.h
1129         (time_t_min) and (time_t_max).
1130         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
1131         Likewise.
1133 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
1135         [BZ #18981]
1136         * sysdeps/i386/fpu/i386-math-asm.h: New file.
1137         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
1138         (__ieee754_scalb): Use DBL_NARROW_EVAL.
1139         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
1140         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
1141         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
1142         (__scalbn): Use DBL_NARROW_EVAL.
1143         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
1144         (__scalbnf): Use FLT_NARROW_EVAL.
1146 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
1148         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
1149         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
1150         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
1151         * stdio-common/printf_fp.c (___printf_fp):
1152         Use signbit to get the sign. Use isinf macro to allow inlining.
1153         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
1154         * stdio-common/printf_size.c (__printf_size): Likewise.
1156 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
1158         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
1160 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
1162         [BZ #18980]
1163         * sysdeps/generic/math_private.h: Include <float.h>.
1164         (math_narrow_eval): New macro.
1165         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
1166         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
1167         math_narrow_eval on overflowing return value.
1168         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
1169         Likewise.
1170         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
1171         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
1172         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
1173         Likewise.
1174         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
1176 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
1178         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
1179         * math/Makefile: Remove isinf_ns.c.
1180         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
1181         * math/multc3.c (__multc3): Likewise.
1182         * math/s_casin.c (__casin): Likewise.
1183         * math/s_casinf.c (__casinf): Likewise.
1184         * math/s_casinl.c (__casinl): Likewise.
1185         * math/s_cproj.c (__cproj): Likewise.
1186         * math/s_cprojf.c (__cprojf): Likewise.
1187         * math/s_cprojl.c (__cprofl): Likewise.
1188         * math/s_ctan.c (__ctan): Likewise.
1189         * math/s_ctanf.c (__ctanf): Likewise.
1190         * math/s_ctanh.c (__ctanh): Likewise.
1191         * math/s_ctanhf.c (__ctanhf): Likewise.
1192         * math/s_ctanhl.c (__ctanhl): Likewise.
1193         * math/s_ctanl.c (__ctanl): Likewise.
1194         * math/w_fmod.c (__fmod): Likewise.
1195         * math/w_fmodf.c (__fmodf): Likewise.
1196         * math/w_fmodl.c (_fmodl): Likewise.
1197         * math/w_remainder.c (__remainder): Likewise.
1198         * math/w_remainderf.c (__remainderf): Likewise.
1199         * math/w_remainderl.c (__remainderl): Likewise.
1200         * math/w_scalb.c (__scalb): Likewise.
1201         * math/w_scalbf.c (__scalbf): Likewise.
1202         * math/w_scalbl.c (__scalbl): Likewise.
1203         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
1204         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
1205         with isinf.
1206         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
1207         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
1208         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
1209         __isinf_nsf with isinf.
1210         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
1211         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
1212         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
1213         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
1214         with isinf.
1215         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
1216         __isinf_nsl with isinf.
1217         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
1218         with isinf.
1219         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
1220         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
1221         __isinf_nsl with isinf.
1222         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
1223         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
1224         with isinf.
1226 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
1228         * resolv/base64.c (rcsid): Remove unused static.
1229         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
1230         static.  (tqpi1): Likewise.
1231         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
1232         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
1233         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
1234         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
1235         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
1236         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
1237         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
1238         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
1239         Likewise.
1241 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
1243         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
1244         <nptl/pthreadP.h>.
1245         (_longjmp_unwind): Use __libc_ptf_call.
1246         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
1248 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
1250         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
1251         * sysdeps/arm/__longjmp.S: Likewise
1253 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
1255         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
1256         Use __builtin_signbit.
1257         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
1258         Use __builtin_signbitf.
1259         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
1260         Use __builtin_signbitl.
1261         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
1262         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
1264 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
1266         [BZ #15367]
1267         [BZ #17441]
1269         * math/Makefile: Build test-snan.c with -fsignaling-nans.
1270         * math/math.h (fpclassify): Use __builtin_fpclassify when
1271         available.  (signbit): Use __builtin_signbit(f/l).
1272         (isfinite): Use__builtin_isfinite.  (isnormal): Use
1273         __builtin_isnormal.  (isnan): Use __builtin_isnan.
1274         (isinf): Use __builtin_isinf_sign.
1276 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
1278         * benchtests/Makefile: Add bench-math-inlines, link with libm.
1279         * benchtests/bench-math-inlines.c: New benchmark.
1280         * benchtests/bench-util.h: New file.
1281         * benchtests/bench-util.c: New file.
1282         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
1284 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
1286         * elf/tst-dlmopen1.c: Define TEST_SO.
1287         (do_test): Use TEST_SO.
1289         * elf/dl-load.c: Include libc-internal.h.
1290         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
1292 2015-09-18  Vincent Bernat  <vincent@bernat.im>
1294         [BZ #17887]
1295         * time/strptime_l.c (__strptime_internal): Make %z accept
1296         [+-]HH:MM time zones.
1298 2015-09-18  Vincent Bernat  <vincent@bernat.im>
1300         [BZ #17886]
1301         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
1302         valid time zone.
1304 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
1306         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
1307         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
1308         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1309         (__ASSUME_FDATASYNC): Delete.
1311 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
1313         * conform/linknamespace.pl: Require weak undefined symbols to be
1314         in the standard namespace.
1315         (%strong_syms): Rename to %seen_syms.
1316         (%strong_seen): Rename to %seen_where.
1318 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
1320         [BZ #18970]
1321         * misc/error.c (error): Replace pthread_setcancelstate with
1322         __pthread_setcancelstate.
1323         (error_at_line): Likewise.
1324         * posix/wordexp.c (parse_comm): Likewise.
1325         * stdlib/fmtmsg.c (fmtmsg): Likewise.
1326         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
1327         (__pthread_setcancelstate): This.
1328         (pthread_setcancelstate): Add an alias.
1329         * nptl/nptl-init.c (pthread_functions): Replace
1330         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
1331         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
1332         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
1333         hidden_proto.
1334         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
1335         it with hidden_def.
1336         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
1337         (pthread_setcancelstate): Renamed to ...
1338         (__pthread_setcancelstate): This.
1339         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
1340         __libc_ptf_call with __pthread_setcancelstate.
1342 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
1343             Andreas Schwab  <schwab@suse.de>
1345         [BZ #17118]
1346         * math/s_ctan.c (__ctan): Determine sign of zero real part of
1347         result when imaginary part of argument is infinite using sine and
1348         cosine.
1349         * math/s_ctanf.c (__ctanf): Likewise.
1350         * math/s_ctanl.c (__ctanl): Likewise.
1351         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
1352         of result when real part of argument is infinite using sine and
1353         cosine.
1354         * math/s_ctanhf.c (__ctanhf): Likewise.
1355         * math/s_ctanhl.c (__ctanhl): Likewise.
1356         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
1357         (ctanh_test_data): Add more tests of ctanh.
1359 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
1361         [BZ #15384]
1362         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
1363         bit-mask as in subtraction.
1364         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
1365         Likewise.
1366         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
1367         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
1368         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
1370         [BZ #18951]
1371         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
1372         underflow exception for small results.
1373         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
1374         Likewise.
1375         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
1376         Likewise.
1377         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
1378         Likewise.
1379         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
1380         Likewise.
1381         * math/auto-libm-test-in: Add more tests of tgamma.
1382         * math/auto-libm-test-out: Regenerated.
1384 2015-09-17  Andreas Schwab  <schwab@suse.de>
1386         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
1388 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
1390         [BZ #18977]
1391         * math/bits/mathcalls.h
1392         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
1393         not declare.
1394         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
1395         Likewise.
1396         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
1397         Likewise.
1398         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
1399         Likewise.
1400         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
1401         Likewise.
1402         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
1403         Likewise.
1404         * conform/data/math.h-data
1405         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
1406         function.
1407         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
1408         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
1409         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
1410         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
1411         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
1412         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
1413         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
1414         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
1415         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
1416         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
1417         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
1419         [BZ #6803]
1420         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
1421         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
1422         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
1423         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
1424         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
1425         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
1426         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
1427         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
1428         [NO_LONG_DOUBLE] (scalbnl): Likewise.
1429         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
1430         Likewise.
1431         [NO_LONG_DOUBLE] (scalbnl): Likewise.
1432         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
1433         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
1434         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
1435         long_double_symbol calls.
1436         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
1437         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
1438         strong alias of __ldexpl.
1439         (scalbnl): Define using long_double_symbol.
1440         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
1441         Remove alias.
1442         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
1443         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
1444         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
1445         (scalbln_test_data): Add more errno expectations.
1447 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
1449         Cache the host port like we cache the task port.  This way we do not
1450         need to call the kernel just to get the port.  Furthermore, we no
1451         longer increase the reference count on every invocation of
1452         `mach_host_self'.
1454         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
1455         Protect declarations against the macro expansion.
1456         * mach/mach_init.c (__mach_host_self_): New variable.
1457         (mach_init): Initialize `__mach_host_self_'.
1458         * mach/mach_init.h (__mach_host_self_): New declaration.
1459         (__mach_host_self, mach_host_self): New macros.
1460         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
1461         Release reference.
1463 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
1465         [BZ #4404]
1466         * po/de.po: Update from Translation Project.
1468         [BZ #16415]
1469         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
1470         (__expm1l): Remove code to handle positive infinity and overflow.
1471         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
1472         variable.
1473         (__expm1l): Remove code to handle positive infinity and overflow.
1475 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
1476             Paul Pluzhnikov  <ppluzhnikov@google.com>
1478         [BZ #18872]
1479         * stdio-common/Makefile (tst-printf-bz18872): New test.
1480         (tst-printf-bz18872-mem.out): Likewise.
1481         * stdio-common/tst-printf-bz18872.sh: Generate new test.
1482         * stdio-common/vfprintf.c: Fix memory leaks.
1484 2015-09-16  Andreas Schwab  <schwab@suse.de>
1486         [BZ #17244]
1487         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
1488         Remove extra va_start/va_end calls.
1490         [BZ #17243]
1491         * posix/execl.c (execl): Add missing va_end.
1492         * posix/execle.c (execle): Likewise.
1493         * posix/execlp.c (execlp): Likewise.
1495 2015-09-15  Roland McGrath  <roland@hack.frob.com>
1497         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
1498         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
1500 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
1502         [BZ #18967]
1503         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
1504         undefine around includes of <bits/mathcalls.h>.
1505         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
1506         not declare function.
1507         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
1508         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
1509         (scalb): Likewise.
1510         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
1511         not define macro.
1512         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
1513         variable.
1514         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
1515         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
1516         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
1518         [BZ #18857]
1519         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
1520         return non-finite argument without doing ordered comparisons on
1521         it.
1523         [BZ #16296]
1524         * math/fenv.h (fegetround): Use __attribute_pure__.
1525         * include/fenv.h (__fegetround): Likewise.
1527         [BZ #18595]
1528         * math/s_ctan.c (__ctan): Force underflow exception for results
1529         whose real or imaginary part has small absolute value.
1530         * math/s_ctanf.c (__ctanf): Likewise.
1531         * math/s_ctanh.c (__ctanh): Likewise.
1532         * math/s_ctanhf.c (__ctanhf): Likewise.
1533         * math/s_ctanhl.c (__ctanhl): Likewise.
1534         * math/s_ctanl.c (__ctanl): Likewise.
1535         * math/auto-libm-test-in: Do not allow missing underflow for ctan
1536         and ctanh.  Add more tests of ctan and ctanh.
1538         [BZ #15918]
1539         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
1540         handling of cases where one argument is an infinity.
1542         [BZ #18875]
1543         [BZ #18966]
1544         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
1545         (MO): New macro.
1546         (__ieee754_exp10): For small results, force underflow exception
1547         and remove excess range and precision from return value.
1548         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
1549         (MO): New macro.
1550         (__ieee754_exp10f): For small results, force underflow exception
1551         and remove excess range and precision from return value.
1552         * math/auto-libm-test-in: Add more tests of exp10.
1553         * math/auto-libm-test-out: Regenerated.
1555 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
1557         [BZ #18875]
1558         [BZ #18961]
1559         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
1560         (MO): New macro.
1561         (__ieee754_exp): For small results, force underflow exception and
1562         remove excess range and precision from return value.
1563         (__exp_finite): Likewise.
1564         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
1565         (MO): New macro.
1566         (__ieee754_expf): For small results, force underflow exception and
1567         remove excess range and precision from return value.
1568         (__expf_finite): Likewise.
1569         * math/auto-libm-test-in: Add more tests of exp.
1570         * math/auto-libm-test-out: Regenerated.
1572         [BZ #16521]
1573         [BZ #18875]
1574         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
1575         small results.
1576         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
1577         (MO): New macro.
1578         (__ieee754_exp2): For small results, force underflow exception and
1579         remove excess range and precision from return value.
1580         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
1581         (MO): New macro.
1582         (__ieee754_exp2f): For small results, force underflow exception
1583         and remove excess range and precision from return value.
1584         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
1585         (MO): New macro.
1586         (__ieee754_exp2l): Force underflow exception for small results.
1587         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
1588         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
1589         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
1590         (MO): New macro.
1591         (__ieee754_exp2l): Force underflow exception for small results.
1592         * math/auto-libm-test-in: Add more tests or exp2.
1593         * math/auto-libm-test-out: Regenerated.
1595 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
1597         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
1599         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
1600         /dev/null.
1602 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1604         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
1605         io fs process)): Drop spurious backslash.
1607 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
1609         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
1610         Use sysinfo system call instead of parsing /proc/meminfo.
1611         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
1612         Likewise.
1614 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
1616         [BZ #16985]
1617         * programs/localedef.c (main): Display argv[remaining] when
1618         output_path is NULL.
1620 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
1622         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
1623         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
1624         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
1625         tanh.
1626         * math/auto-libm-test-out: Regenerated.
1627         * sysdeps/i386/fpu/libm-test-ulps: Update.
1628         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
1629         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1630         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1632 2015-09-11  Roland McGrath  <roland@hack.frob.com>
1634         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
1635         Use 'override' keyword to freeze the value here, preventing
1636         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
1638 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
1640         [BZ #14912]
1641         * sysdeps/aarch64/bits/atomic.h: Move to ...
1642         * sysdeps/aarch64/atomic-machine.h: ...here.
1643         (_AARCH64_BITS_ATOMIC_H): Rename macro to
1644         _AARCH64_ATOMIC_MACHINE_H.
1645         * sysdeps/alpha/bits/atomic.h: Move to ...
1646         * sysdeps/alpha/atomic-machine.h: ...here.
1647         * sysdeps/arm/bits/atomic.h: Move to ...
1648         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
1649         * bits/atomic.h: Move to ...
1650         * sysdeps/generic/atomic-machine.h: ...here.
1651         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
1652         * sysdeps/i386/bits/atomic.h: Move to ...
1653         * sysdeps/i386/atomic-machine.h: ...here.
1654         * sysdeps/ia64/bits/atomic.h: Move to ...
1655         * sysdeps/ia64/atomic-machine.h: ...here.
1656         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
1657         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
1658         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
1659         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
1660         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
1661         * sysdeps/microblaze/bits/atomic.h: Move to ...
1662         * sysdeps/microblaze/atomic-machine.h: ...here.
1663         * sysdeps/mips/bits/atomic.h: Move to ...
1664         * sysdeps/mips/atomic-machine.h: ...here.
1665         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
1666         * sysdeps/powerpc/bits/atomic.h: Move to ...
1667         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
1668         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
1669         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
1670         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
1671         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
1672         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
1673         <atomic-machine.h> instead of <bits/atomic.h>.
1674         * sysdeps/s390/bits/atomic.h: Move to ...
1675         * sysdeps/s390/atomic-machine.h: ...here.
1676         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
1677         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
1678         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
1679         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
1680         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
1681         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
1682         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
1683         * sysdeps/tile/bits/atomic.h: Move to ...
1684         * sysdeps/tile/atomic-machine.h: ...here.
1685         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
1686         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
1687         <sysdeps/tile/atomic-machine.h> instead of
1688         <sysdeps/tile/bits/atomic.h>.
1689         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
1690         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
1691         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
1692         <sysdeps/tile/atomic-machine.h> instead of
1693         <sysdeps/tile/bits/atomic.h>.
1694         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
1695         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
1696         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
1697         <sysdeps/arm/atomic-machine.h> instead of
1698         <sysdeps/arm/bits/atomic.h>.
1699         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
1700         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
1701         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
1702         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
1703         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
1704         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
1705         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
1706         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
1707         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
1708         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
1709         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
1710         * sysdeps/x86_64/bits/atomic.h: Move to ...
1711         * sysdeps/x86_64/atomic-machine.h: ...here.
1712         * include/atomic.h: Include <atomic-machine.h> instead of
1713         <bits/atomic.h>.
1715         * sysdeps/mips/mips32/libm-test-ulps: Update.
1716         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1718         [BZ #18952]
1719         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
1720         not convert non-integer negative arguments to int to determine the
1721         value of signgam.
1722         * math/auto-libm-test-in: Add more tests of lgamma.
1723         * math/auto-libm-test-out: Regenerated.
1725         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
1726         cosh, csqrt, erfc, expm1 and lgamma.
1727         * math/auto-libm-test-out: Regenerated.
1728         * sysdeps/i386/fpu/libm-test-ulps: Update.
1729         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1731 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
1733         [BZ #2542]
1734         [BZ #2543]
1735         [BZ #2558]
1736         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
1737         __lgamma_neg for arguments from -28.0 to -2.0.
1738         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
1739         __lgamma_negf for arguments from -15.0 to -2.0.
1740         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
1741         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
1742         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
1743         Call __lgamma_negl for arguments from -33.0 to -2.0.
1744         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
1745         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
1746         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
1747         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
1748         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
1749         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
1750         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
1751         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
1752         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
1753         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
1754         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
1755         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
1756         (__lgamma_neg): Likewise.
1757         (__lgamma_negl): Likewise.
1758         (__lgamma_product): Likewise.
1759         (__lgamma_productl): Likewise.
1760         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
1761         * math/auto-libm-test-in: Add more tests of lgamma.
1762         * math/auto-libm-test-out: Regenerated.
1763         * sysdeps/i386/fpu/libm-test-ulps: Update.
1764         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1766 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
1768         [BZ #18675]
1769         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
1771 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
1773         [BZ #14912]
1774         * bits/libc-lock.h: Move to ...
1775         * sysdeps/generic/libc-lock.h: ...here.
1776         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
1777         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
1778         * sysdeps/mach/hurd/libc-lock.h: ...here.
1779         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
1780         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
1781         * sysdeps/mach/bits/libc-lock.h: Move to ...
1782         * sysdeps/mach/libc-lock.h: ...here.
1783         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
1784         * sysdeps/nptl/bits/libc-lock.h: Move to ...
1785         * sysdeps/nptl/libc-lock.h: ...here.
1786         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
1787         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
1788         * sysdeps/nptl/libc-lockP.h: ...here.
1789         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
1790         * crypt/crypt_util.c: Include <libc-lock.h> instead of
1791         <bits/libc-lock.h>.
1792         * dirent/scandir-tail.c: Likewise.
1793         * dlfcn/dlerror.c: Likewise.
1794         * elf/dl-close.c: Likewise.
1795         * elf/dl-iteratephdr.c: Likewise.
1796         * elf/dl-lookup.c: Likewise.
1797         * elf/dl-open.c: Likewise.
1798         * elf/dl-support.c: Likewise.
1799         * elf/dl-writev.h: Likewise.
1800         * elf/rtld.c: Likewise.
1801         * grp/fgetgrent.c: Likewise.
1802         * gshadow/fgetsgent.c: Likewise.
1803         * gshadow/sgetsgent.c: Likewise.
1804         * iconv/gconv_conf.c: Likewise.
1805         * iconv/gconv_db.c: Likewise.
1806         * iconv/gconv_dl.c: Likewise.
1807         * iconv/gconv_int.h: Likewise.
1808         * iconv/gconv_trans.c: Likewise.
1809         * include/link.h: Likewise.
1810         * inet/getnameinfo.c: Likewise.
1811         * inet/getnetgrent.c: Likewise.
1812         * inet/getnetgrent_r.c: Likewise.
1813         * intl/bindtextdom.c: Likewise.
1814         * intl/dcigettext.c: Likewise.
1815         * intl/finddomain.c: Likewise.
1816         * intl/gettextP.h: Likewise.
1817         * intl/loadmsgcat.c: Likewise.
1818         * intl/localealias.c: Likewise.
1819         * intl/textdomain.c: Likewise.
1820         * libidn/idn-stub.c: Likewise.
1821         * libio/libioP.h: Likewise.
1822         * locale/duplocale.c: Likewise.
1823         * locale/freelocale.c: Likewise.
1824         * locale/newlocale.c: Likewise.
1825         * locale/setlocale.c: Likewise.
1826         * login/getutent_r.c: Likewise.
1827         * login/getutid_r.c: Likewise.
1828         * login/getutline_r.c: Likewise.
1829         * login/utmp-private.h: Likewise.
1830         * login/utmpname.c: Likewise.
1831         * malloc/mtrace.c: Likewise.
1832         * misc/efgcvt.c: Likewise.
1833         * misc/error.c: Likewise.
1834         * misc/fstab.c: Likewise.
1835         * misc/getpass.c: Likewise.
1836         * misc/mntent.c: Likewise.
1837         * misc/syslog.c: Likewise.
1838         * nis/nis_call.c: Likewise.
1839         * nis/nis_callback.c: Likewise.
1840         * nis/nss-default.c: Likewise.
1841         * nis/nss_compat/compat-grp.c: Likewise.
1842         * nis/nss_compat/compat-initgroups.c: Likewise.
1843         * nis/nss_compat/compat-pwd.c: Likewise.
1844         * nis/nss_compat/compat-spwd.c: Likewise.
1845         * nis/nss_nis/nis-alias.c: Likewise.
1846         * nis/nss_nis/nis-ethers.c: Likewise.
1847         * nis/nss_nis/nis-grp.c: Likewise.
1848         * nis/nss_nis/nis-hosts.c: Likewise.
1849         * nis/nss_nis/nis-network.c: Likewise.
1850         * nis/nss_nis/nis-proto.c: Likewise.
1851         * nis/nss_nis/nis-pwd.c: Likewise.
1852         * nis/nss_nis/nis-rpc.c: Likewise.
1853         * nis/nss_nis/nis-service.c: Likewise.
1854         * nis/nss_nis/nis-spwd.c: Likewise.
1855         * nis/nss_nisplus/nisplus-alias.c: Likewise.
1856         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
1857         * nis/nss_nisplus/nisplus-grp.c: Likewise.
1858         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
1859         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
1860         * nis/nss_nisplus/nisplus-network.c: Likewise.
1861         * nis/nss_nisplus/nisplus-proto.c: Likewise.
1862         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
1863         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
1864         * nis/nss_nisplus/nisplus-service.c: Likewise.
1865         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
1866         * nis/ypclnt.c: Likewise.
1867         * nptl/libc_pthread_init.c: Likewise.
1868         * nss/getXXbyYY.c: Likewise.
1869         * nss/getXXent.c: Likewise.
1870         * nss/getXXent_r.c: Likewise.
1871         * nss/nss_db/db-XXX.c: Likewise.
1872         * nss/nss_db/db-netgrp.c: Likewise.
1873         * nss/nss_db/nss_db.h: Likewise.
1874         * nss/nss_files/files-XXX.c: Likewise.
1875         * nss/nss_files/files-alias.c: Likewise.
1876         * nss/nsswitch.c: Likewise.
1877         * posix/regex_internal.h: Likewise.
1878         * posix/wordexp.c: Likewise.
1879         * pwd/fgetpwent.c: Likewise.
1880         * resolv/res_hconf.c: Likewise.
1881         * resolv/res_libc.c: Likewise.
1882         * shadow/fgetspent.c: Likewise.
1883         * shadow/lckpwdf.c: Likewise.
1884         * shadow/sgetspent.c: Likewise.
1885         * socket/opensock.c: Likewise.
1886         * stdio-common/reg-modifier.c: Likewise.
1887         * stdio-common/reg-printf.c: Likewise.
1888         * stdio-common/reg-type.c: Likewise.
1889         * stdio-common/vfprintf.c: Likewise.
1890         * stdio-common/vfscanf.c: Likewise.
1891         * stdlib/abort.c: Likewise.
1892         * stdlib/cxa_atexit.c: Likewise.
1893         * stdlib/fmtmsg.c: Likewise.
1894         * stdlib/random.c: Likewise.
1895         * stdlib/setenv.c: Likewise.
1896         * string/strsignal.c: Likewise.
1897         * sunrpc/auth_none.c: Likewise.
1898         * sunrpc/bindrsvprt.c: Likewise.
1899         * sunrpc/create_xid.c: Likewise.
1900         * sunrpc/key_call.c: Likewise.
1901         * sunrpc/rpc_thread.c: Likewise.
1902         * sysdeps/arm/backtrace.c: Likewise.
1903         * sysdeps/generic/ldsodefs.h: Likewise.
1904         * sysdeps/generic/stdio-lock.h: Likewise.
1905         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
1906         * sysdeps/i386/backtrace.c: Likewise.
1907         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
1908         * sysdeps/m68k/backtrace.c: Likewise.
1909         * sysdeps/mach/hurd/cthreads.c: Likewise.
1910         * sysdeps/mach/hurd/dirstream.h: Likewise.
1911         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
1912         * sysdeps/nptl/malloc-machine.h: Likewise.
1913         * sysdeps/nptl/stdio-lock.h: Likewise.
1914         * sysdeps/posix/dirstream.h: Likewise.
1915         * sysdeps/posix/getaddrinfo.c: Likewise.
1916         * sysdeps/posix/system.c: Likewise.
1917         * sysdeps/pthread/aio_suspend.c: Likewise.
1918         * sysdeps/s390/s390-32/backtrace.c: Likewise.
1919         * sysdeps/s390/s390-64/backtrace.c: Likewise.
1920         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
1921         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
1922         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
1923         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
1924         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
1925         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
1926         * sysdeps/unix/sysv/linux/system.c: Likewise.
1927         * sysdeps/x86_64/backtrace.c: Likewise.
1928         * time/alt_digit.c: Likewise.
1929         * time/era.c: Likewise.
1930         * time/tzset.c: Likewise.
1931         * wcsmbs/wcsmbsload.c: Likewise.
1932         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
1933         instead of <bits/libc-lock.h> in comment.
1935 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
1937         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
1938         Only use .set mips2 if the current ISA is below mips2.
1939         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
1940         Likewise.
1941         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
1942         mips32r2 if the current ISA is below mips32r2.
1943         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
1944         (TLS_IE): Updated to use the TLD_RDHWR macro.
1945         (TLS_LE): Likewise.
1946         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
1947         __ASSEMBLER__ condition.
1949 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1951         Fix parallel build of before-compile targets.
1953         * sysdeps/mach/Makefile ($(patsubst
1954         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
1955         mach-before-compile target.
1956         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
1957         io fs process)): Move rule to dedicated hurd-before-compile target.
1959 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1961         Fix rules generating headers in hurd/ and mach/ when initial make call
1962         has subdir= explicitly set.
1964         * sysdeps/mach/Makefile ($(patsubst
1965         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
1966         calling $(MAKE).
1967         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
1968         io fs process)): Force subdir to hurd when calling $(MAKE).
1969         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
1970         subdir to mach when calling $(MAKE).
1972 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
1974         Check sysheaders when looking for Mach and Hurd headers
1976         * sysdeps/mach/configure.ac: Add sysheaders check.
1977         * sysdeps/mach/configure: Regenerate.
1978         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
1979         * sysdeps/mach/hurd/configure: Regenerate.
1981 2015-09-04  Roland McGrath  <roland@hack.frob.com>
1983         [BZ #18921]
1984         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
1985         Fix inverted sense of test of 'o_directory_works' value.
1986         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
1987         Bernhard Voelker <mail@bernhard-voelker.de>.
1989 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
1991         [BZ #14912]
1992         * bits/linkmap.h: Move to ...
1993         * sysdeps/generic/linkmap.h: ...here.
1994         * sysdeps/aarch64/bits/linkmap.h: Move to ...
1995         * sysdeps/aarch64/linkmap.h: ...here.
1996         * sysdeps/arm/bits/linkmap.h: Move to ...
1997         * sysdeps/arm/linkmap.h: ...here.
1998         * sysdeps/hppa/bits/linkmap.h: Move to ...
1999         * sysdeps/hppa/linkmap.h: ...here.
2000         * sysdeps/ia64/bits/linkmap.h: Move to ...
2001         * sysdeps/ia64/linkmap.h: ...here.
2002         * sysdeps/mips/bits/linkmap.h: Move to ...
2003         * sysdeps/mips/linkmap.h: ...here.
2004         * sysdeps/s390/bits/linkmap.h: Move to ...
2005         * sysdeps/s390/linkmap.h: ...here.
2006         * sysdeps/sh/bits/linkmap.h: Move to ...
2007         * sysdeps/sh/linkmap.h: ...here.
2008         * sysdeps/x86/bits/linkmap.h: Move to ...
2009         * sysdeps/x86/linkmap.h: ...here.
2010         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
2012 2015-09-04  Andreas Schwab  <schwab@suse.de>
2014         [BZ #18635]
2015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
2016         (__makecontext): Terminate FDE before return label.
2017         (__novec_makecontext): Likewise.
2019 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
2021         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
2022         first member of struct sv in syscall macro.
2024 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
2026         [BZ #14912]
2027         * bits/stdio-lock.h: Move to ...
2028         * sysdeps/generic/stdio-lock.h: ...here.
2029         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
2030         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
2031         * sysdeps/nptl/stdio-lock.h: ...here.
2032         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
2033         * include/libio.h: Include <stdio-lock.h> instead of
2034         <bits/stdio-lock.h>.
2035         * sysdeps/nptl/fork.c: Likewise.
2036         * sysdeps/pthread/flockfile.c: Likewise.
2037         * sysdeps/pthread/ftrylockfile.c: Likewise.
2038         * sysdeps/pthread/funlockfile.c: Likewise.
2040         [BZ #14912]
2041         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
2042         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
2043         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
2044         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
2045         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
2046         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
2047         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
2049 2015-09-03  Roland McGrath  <roland@hack.frob.com>
2051         * elf/Makefile (test-xfail-tst-protected1a): New variable.
2052         (test-xfail-tst-protected1b): New variable.
2054 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
2056         [BZ #14912]
2057         * bits/libc-tsd.h: Move to ...
2058         * sysdeps/generic/libc-tsd.h: ...here.
2059         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
2060         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
2061         * sysdeps/mach/hurd/libc-tsd.h: ...here.
2062         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
2063         * include/ctype.h: Include <libc-tsd.h> instead of
2064         <bits/libc-tsd.h>.
2065         * include/rpc/rpc.h: Likewise.
2066         * locale/localeinfo.h: Likewise.
2067         * sunrpc/rpc_thread.c: Likewise.
2068         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
2069         * sysdeps/nptl/malloc-machine.h: Likewise.
2071         * Makefile (headers): Remove bits/libc-lock.h.
2072         * libio/Makefile (headers): Remove bits/stdio-lock.h.
2074         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
2075         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
2076         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
2077         <bits/stdio-lock.h>.
2078         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
2079         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
2081 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
2083         [BZ #18757]
2084         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
2085         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
2086         BZ #18757.
2088 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
2090         * malloc/mtrace.pl: Filter out NULL entries.
2092 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
2094         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
2095         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
2096         macro.
2098         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
2099         (TCP_CC_INFO): Likewise.
2100         (TCP_SAVE_SYN): Likewise.
2101         (TCP_SAVED_SYN): Likewise.
2103 2015-08-31  Brett Neumeier <brett@neumeier.us>
2105         [BZ #18870]
2106         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
2108 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
2110         [BZ #18873]
2111         Fix broken overflow check in posix_fallocate
2112         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
2113         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
2114         Fix parenthesization typo.
2116 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
2118         [BZ #18887]
2119         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
2120         tst-mntent-blank-passno.
2121         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
2122         * misc/tst-mntent-blank-corrupt.c: New test.
2123         * misc/tst-mntent-blank-passno.c: New test ripped from ...
2124         * misc/tst-mntent.c (do_test): ... here.
2126 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
2128         [BZ #4404]
2129         * po/de.po: Fix SIGALRM typo.
2131 2015-08-28  James Perkins  <james@loowit.net>
2133         * time/tst-strptime2.c (tests): Replace short list of test
2134         strings for strptime %z specifier with code which exhaustively
2135         tests every combination of sign and 0 to 5 digits. Tests for
2136         rejection of invalid strings.
2138 2015-08-28  James Perkins  <james@loowit.net>
2140         [BZ #16141]
2141         * time/strptime_l.c (__strptime_internal): Fix %z minutes
2142         calculation, removing incorrect decimal time rounding, so that
2143         all minute values result in a valid seconds value.
2144         * time/strptime_l.c (__strptime_internal): Extend %z time zone
2145         offset range limits to UTC-99:59 through UTC+99:59 to parse
2146         current and historical use cases.
2147         * time/tst-strptime2.c (tests): Modify and add tests for the
2148         strptime %z input field descriptor, specifically conversion of
2149         minutes to seconds and validating an offset range of -9959 to
2150         +9959.
2152 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2153             Dmitry V. Levin  <ldv@altlinux.org>
2155         [BZ #18877]
2156         * posix/Makefile (tests): Add tst-mmap-offset.
2157         * posix/tst-mmap.c: New file.
2158         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
2159         offset calculation for negative values.
2161 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
2163         * sysdeps/i386/init-arch.h: New file.
2164         * sysdeps/i386/i586/init-arch.h: Likewise.
2165         * sysdeps/i386/i686/init-arch.h: Likewise.
2166         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
2167         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
2168         * sysdeps/x86/cpu-features.h (bit_I586): New.
2169         (bit_I686): Likewise.
2170         (bit_CX8): Likewise.
2171         (bit_CMOV): Likewise.
2172         (index_CX8): Likewise.
2173         (index_CMOV): Likewise.
2174         (index_I586): Likewise.
2175         (index_I686): Likewise.
2176         (reg_CX8): Likewise.
2177         (reg_CMOV): Likewise.
2178         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
2179         available at compile-time.
2180         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
2181         available at compile-time.
2182         * sysdeps/x86/init-arch.h (USE_I586): New macro.
2183         (USE_I686): Likewise.
2185 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
2187         * sysdeps/i386/bcopy.S: New file.
2188         * sysdeps/i386/bzero.S: Likewise.
2189         * sysdeps/i386/memcpy.S: Likewise.
2190         * sysdeps/i386/memmove.S: Likewise.
2191         * sysdeps/i386/mempcpy.S: Likewise.
2192         * sysdeps/i386/memset.S: Likewise.
2193         * sysdeps/i386/bzero.c: Removed.
2194         * sysdeps/i386/memset.c: Likewise.
2195         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
2196         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
2197         * sysdeps/i386/i586/memset_chk.S: Likewise.
2198         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
2199         * sysdeps/i386/memcpy_chk.S: Here.
2200         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
2201         * sysdeps/i386/memmove_chk.S: Here.
2202         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
2203         * sysdeps/i386/mempcpy_chk.S: Likewise.
2204         * sysdeps/i386/i686/memset_chk.S: Moved to ...
2205         * sysdeps/i386/memset_chk.S: Likewise.
2207 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
2209         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
2210         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
2211         file, move DIAG_POP_NEEDS_COMMENT to end of file.
2212         * soft-fp/fmadf4.c: Ditto.
2213         * soft-fp/fmatf4.c: Ditto.
2215 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
2217         * sysdeps/i386/i586/Implies: Removed.
2218         * sysdeps/i386/i686/Implies: Likewise.
2220 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
2222         * sysdeps/i386/i486/strlen.S: Moved to ...
2223         * sysdeps/i386/strlen.S: Here.
2225 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
2227         * sysdeps/i386/i486/strcat.S: Moved to ...
2228         * sysdeps/i386/strcat.S: Here.
2230 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
2232         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
2233         * sysdeps/i386/pthread_spin_trylock.S: Here.
2234         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
2235         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
2237 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
2239         * sysdeps/i386/i486/string-inlines.c: Moved to ...
2240         * sysdeps/i386/string-inlines.c: Here.
2242 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
2244         * sysdeps/i386/i486/htonl.S: Moved ...
2245         * sysdeps/i386/htonl.S: here.
2247 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
2249         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
2250         * sysdeps/i386/bits/atomic.h: Here.
2252 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
2254         * sysdeps/i386/i486/Versions: Removed.
2256 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
2258         [BZ #2898]
2259         * misc/mktemp.c: Add mkdtemp to the link_warning message.
2260         Based on patch by Aurelien Jarno.
2262 2015-08-26  Stan Shebs  <stanshebs@google.com>
2264         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
2265         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
2267 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
2269         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
2270         * sysdeps/powerpc/dl-procinfo.c:
2271         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
2272         feature so it shows when LD_SHOW_AUXV=1.
2274 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2276         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
2277         (__arch_compare_and_exchange_val_32_acq): Remove and use common
2278         definition.  ISA 2.07B no longer requires full sync.
2280 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
2282         [BZ #18863]
2283         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
2284         (si_call_addr): Define.
2285         (si_syscall): Define.
2286         (si_arch): Define.
2288 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
2290         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
2291         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
2292         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
2293         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
2294         (__memset_zero_constant_len_parameter): New.
2295         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
2296         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
2297         (__memset_zero_constant_len_parameter): Don't define if
2298         __memset_chk or USE_AS_BZERO are defined.
2300         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
2301         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
2302         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
2304         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
2305         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
2306         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
2307         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
2308         comments.
2309         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
2310         -mno-mmx for $(all-rtld-routines).
2311         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
2312         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
2313         i386.
2315 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
2317         * sysdeps/generic/unwind.h
2318         (_Unwind_Word): Use __mode__(__unwind_word__)
2319         instead of __mode__(__word__).
2320         (_Unwind_Sword): Likewise.
2322         * sysdeps/s390/s390-64/utf8-utf16-z9.c
2323         (MAX_NEEDED_INPUT): New define.
2324         (MAX_NEEDED_OUTPUT): New define.
2326         * NEWS: New item for IBM z13 string optimizations.
2328         * sysdeps/s390/multiarch/memrchr-c.c: New File.
2329         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
2330         * sysdeps/s390/multiarch/memrchr.c: Likewise.
2331         * sysdeps/s390/multiarch/Makefile
2332         (sysdep_routines): Add memrchr functions.
2333         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
2334         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
2336         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
2337         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
2338         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
2339         * sysdeps/s390/multiarch/Makefile
2340         (sysdep_routines): Add wmemcmp functions.
2341         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
2342         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
2343         * benchtests/bench-wmemcmp.c: New File.
2344         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
2346         * sysdeps/s390/multiarch/wmemset-c.c: New File.
2347         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
2348         * sysdeps/s390/multiarch/wmemset.c: Likewise.
2349         * sysdeps/s390/multiarch/Makefile
2350         (sysdep_routines): Add wmemset functions.
2351         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
2352         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
2353         * wcsmbs/wmemset.c: Use WMEMSET if defined.
2354         * string/test-memset.c: Add wmemset support.
2355         * wcsmbs/test-wmemset.c: New File.
2356         * wcsmbs/Makefile (strop-tests): Add wmemset.
2357         * benchtests/bench-memset.c: Add wmemset support.
2358         * benchtests/bench-wmemset.c: New File.
2359         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
2361         * sysdeps/s390/multiarch/memccpy-c.c: New File.
2362         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
2363         * sysdeps/s390/multiarch/memccpy.c: Likewise.
2364         * sysdeps/s390/multiarch/Makefile
2365         (sysdep_routines): Add memccpy functions.
2366         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
2367         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
2368         * string/memccpy.c: Use MEMCCPY if defined.
2370         * sysdeps/s390/multiarch/memchr-vx.S: New File.
2371         * sysdeps/s390/multiarch/memchr.c: Likewise.
2372         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
2373         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
2374         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
2375         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
2376         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
2377         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
2378         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
2379         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
2380         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
2381         and rawmemchr functions.
2382         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
2383         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
2384         and wmemchr.
2385         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
2386         * string/test-memchr.c: Add wmemchr support.
2387         * wcsmbs/test-wmemchr.c: New File.
2388         * wcsmbs/Makefile (strop-tests): Add wmemchr.
2389         * benchtests/bench-memchr.c: Add wmemchr support.
2390         * benchtests/bench-wmemchr.c: New File.
2391         * benchtests/Makefile (wcsmbs-bench): wmemchr.
2393         * sysdeps/s390/multiarch/strcspn-c.c: New File.
2394         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
2395         * sysdeps/s390/multiarch/strcspn.c: Likewise.
2396         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
2397         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
2398         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
2399         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
2400         wcscspn functions.
2401         * sysdeps/s390/multiarch/ifunc-impl-list.c
2402         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
2403         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
2404         * string/test-strcspn.c: Add wcscspn support.
2405         * wcsmbs/test-wcscspn.c: New File.
2406         * wcsmbs/Makefile (strop-tests): Add wcscspn.
2407         * benchtests/bench-strcspn.c: Add wcscspn support.
2408         * benchtests/bench-wcscspn.c: New File.
2409         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
2411         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
2412         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
2413         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
2414         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
2415         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
2416         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
2417         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
2418         wcspbrk functions.
2419         * sysdeps/s390/multiarch/ifunc-impl-list.c
2420         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
2421         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
2422         * string/test-strpbrk.c: Add wcspbrk support.
2423         * wcsmbs/test-wcspbrk.c: New File.
2424         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
2425         * benchtests/bench-strpbrk.c: Add wcspbrk support.
2426         * benchtests/bench-wcspbrk.c: New File.
2427         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
2429         * sysdeps/s390/multiarch/strspn-c.c: New File.
2430         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
2431         * sysdeps/s390/multiarch/strspn.c: Likewise.
2432         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
2433         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
2434         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
2435         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
2436         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
2437         wcsspn functions.
2438         * sysdeps/s390/multiarch/ifunc-impl-list.c
2439         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
2440         * string/test-strspn.c: Add wcsspn support.
2441         * wcsmbs/test-wcsspn.c: New File.
2442         * wcsmbs/Makefile (strop-tests): Add wcsspn.
2443         * benchtests/bench-strspn.c: Add wcsspn support.
2444         * benchtests/bench-wcsspn.c: New File.
2445         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
2447         * sysdeps/s390/multiarch/strrchr-c.c: New File.
2448         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
2449         * sysdeps/s390/multiarch/strrchr.c: Likewise.
2450         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
2451         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
2452         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
2453         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
2454         wcsrchr functions.
2455         * sysdeps/s390/multiarch/ifunc-impl-list.c
2456         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
2457         * benchtests/bench-wcsrchr.c: New File.
2458         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
2460         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
2461         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
2462         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
2463         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
2464         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
2465         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
2466         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
2467         wcschrnul functions.
2468         * sysdeps/s390/multiarch/ifunc-impl-list.c
2469         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
2470         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
2471         * string/test-strchr.c: Add wcschrnul support.
2472         * wcsmbs/test-wcschrnul.c: New File.
2473         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
2474         * benchtests/bench-strchr.c: Add wcschrnul support.
2475         * benchtests/bench-wcschrnul.c: New File.
2476         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
2478         * sysdeps/s390/multiarch/strchr-c.c: New File.
2479         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
2480         * sysdeps/s390/multiarch/strchr.c: Likewise.
2481         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
2482         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
2483         * sysdeps/s390/multiarch/wcschr.c: Likewise.
2484         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
2485         wcschr functions.
2486         * sysdeps/s390/multiarch/ifunc-impl-list.c
2487         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
2488         * string/strchr.c (STRCHR): Define and use macro.
2489         * benchtests/bench-wcschr.c: New File.
2490         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
2492         * sysdeps/s390/multiarch/strncmp-c.c: New File.
2493         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
2494         * sysdeps/s390/multiarch/strncmp.c: Likewise.
2495         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
2496         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
2497         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
2498         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
2499         wcsncmp functions.
2500         * sysdeps/s390/multiarch/ifunc-impl-list.c
2501         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
2502         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
2503         * benchtests/bench-strncmp.c: Add wcsncmp support.
2504         * benchtests/bench-wcsncmp.c: New File.
2505         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
2507         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
2508         * sysdeps/s390/multiarch/strcmp.c: Likewise.
2509         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
2510         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
2511         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
2512         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
2513         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
2514         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
2515         wcscmp functions.
2516         * sysdeps/s390/multiarch/ifunc-impl-list.c
2517         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
2518         * string/strcmp.c (STRCMP): Define and use macro.
2519         * benchtests/bench-wcscmp.c: New File.
2520         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
2521         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
2522         instead of _HAVE_STRING_ARCH_memchr.
2524         * sysdeps/s390/multiarch/strncat-c.c: New File.
2525         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
2526         * sysdeps/s390/multiarch/strncat.c: Likewise.
2527         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
2528         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
2529         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
2530         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
2531         wcsncat functions.
2532         * sysdeps/s390/multiarch/ifunc-impl-list.c
2533         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
2534         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
2535         * string/test-strncat.c: Add wcsncat support.
2536         * wcsmbs/test-wcsncat.c: New File.
2537         * wcsmbs/Makefile (strop-tests): Add wcsncat.
2538         * benchtests/bench-strncat.c: Add wcsncat support.
2539         * benchtests/bench-wcsncat.c: New File.
2540         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
2542         * sysdeps/s390/multiarch/strcat-c.c: New File.
2543         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
2544         * sysdeps/s390/multiarch/strcat.c: Likewise.
2545         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
2546         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
2547         * sysdeps/s390/multiarch/wcscat.c: Likewise.
2548         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
2549         wcscat functions.
2550         * sysdeps/s390/multiarch/ifunc-impl-list.c
2551         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
2552         * string/strcat.c (STRCAT): Define and use macro.
2553         * wcsmbs/wcscat.c: Use WCSCAT if defined.
2554         * string/test-strcat.c: Add wcscat support.
2555         * wcsmbs/test-wcscat.c: New File.
2556         * wcsmbs/Makefile (strop-tests): Add wcscat.
2557         * benchtests/bench-strcat.c: Add wcscat support.
2558         * benchtests/bench-wcscat.c: New File.
2559         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
2561         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
2562         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
2563         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
2564         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
2565         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
2566         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
2567         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
2568         wcpncpy functions.
2569         * sysdeps/s390/multiarch/ifunc-impl-list.c
2570         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
2571         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
2572         * string/test-stpncpy.c: Add wcpncpy support.
2573         * wcsmbs/test-wcpncpy.c: New File.
2574         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
2575         * benchtests/bench-stpncpy.c: Add wcpncpy support.
2576         * benchtests/bench-wcpncpy.c: New File.
2577         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
2579         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
2580         * sysdeps/s390/multiarch/strncpy.c: Likewise.
2581         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
2582         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
2583         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
2584         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
2585         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
2586         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
2587         wcsncpy functions.
2588         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
2589         * sysdeps/s390/multiarch/ifunc-impl-list.c
2590         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
2591         * string/test-strncpy.c: Add wcsncpy support.
2592         * wcsmbs/test-wcsncpy.c: New File.
2593         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
2594         * benchtests/bench-strncpy.c: Add wcsncpy support.
2595         * benchtests/bench-wcsncpy.c: New File.
2596         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
2598         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
2599         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
2600         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
2601         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
2602         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
2603         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
2604         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
2605         wcpcpy functions.
2606         * string/stpcpy.c: Use STPCPY if defined.
2607         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
2608         * sysdeps/s390/multiarch/ifunc-impl-list.c
2609         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
2610         * string/test-stpcpy.c: Add wcpcpy support.
2611         * wcsmbs/test-wcpcpy.c: New File.
2612         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
2613         * benchtests/bench-stpcpy.c: Add wcpcpy support.
2614         * benchtests/bench-wcpcpy.c: New File.
2615         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
2617         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
2618         * sysdeps/s390/multiarch/strcpy.c: Likewise.
2619         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
2620         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
2621         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
2622         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
2623         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
2624         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
2625         wcscpy functions.
2626         * sysdeps/s390/multiarch/ifunc-impl-list.c
2627         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
2628         * benchtests/bench-wcscpy.c: New File.
2629         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
2631         * sysdeps/s390/multiarch/strnlen-c.c: New File.
2632         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
2633         * sysdeps/s390/multiarch/strnlen.c: Likewise.
2634         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
2635         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
2636         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
2637         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
2638         wcsnlen functions.
2639         * sysdeps/s390/multiarch/ifunc-impl-list.c
2640         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
2641         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
2642         * string/test-strnlen.c: Add wcsnlen support.
2643         * wcsmbs/test-wcsnlen.c: New File.
2644         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
2645         * benchtests/bench-strnlen.c: Add wcsnlen support.
2646         * benchtests/bench-wcsnlen.c: New File.
2647         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
2649         * sysdeps/s390/multiarch/Makefile: New File.
2650         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
2651         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
2652         * sysdeps/s390/multiarch/strlen.c: Likewise.
2653         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
2654         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
2655         * sysdeps/s390/multiarch/wcslen.c: Likewise.
2656         * string/strlen.c (STRLEN): Define and use macro.
2657         * sysdeps/s390/multiarch/ifunc-impl-list.c
2658         (IFUNC_VX_IMPL): New macro function.
2659         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
2660         * benchtests/Makefile (wcsmbs-bench): New variable.
2661         (string-bench-all): Added wcsmbs-bench.
2662         * benchtests/bench-wcslen.c: New File.
2664         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
2665         s390_vx_libc_ifunc2): New macro function.
2667         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
2668         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
2669         assembler support.
2670         * sysdeps/s390/configure: Regenerated.
2672         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
2673         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
2675         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
2676         * sysdeps/s390/dl-procinfo.h: Add vector capability.
2677         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
2679         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
2680         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
2681         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
2682         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
2683         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
2684         (memcmp, bcmp): Use __memcmp_default as alias source.
2685         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
2686         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
2687         Rename to __memcmp_default.
2688         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
2689         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
2690         (memcpy): Use __memcpy_default as alias source.
2691         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
2692         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
2693         Rename to __memcpy_default.
2694         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
2695         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
2696         (memset): Use __memset_default as alias source.
2697         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
2698         * sysdeps/s390/s390-32/memset.S (__memset_g5):
2699         Rename to __memset_default.
2700         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
2701         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
2702         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
2703         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
2704         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
2705         (memcmp, bcmp): Use __memcmp_default as alias source.
2706         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
2707         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
2708         Rename to __memcmp_default.
2709         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
2710         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
2711         (memcpy): Use __memcpy_default as alias source.
2712         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
2713         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
2714         Rename to __memcpy_default.
2715         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
2716         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
2717         (memset): Use __memset_default as alias source.
2718         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
2719         * sysdeps/s390/s390-64/memset.S (__memset_z900):
2720         Rename to __memset_default.
2721         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
2722         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
2724         [BZ #18610]
2725         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
2726         __ieee_instruction_pointer to __unused.
2727         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
2728         __ieee_instruction_pointer.
2729         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
2730         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
2731         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
2732         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
2733         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
2734         Mark dxc-field as reserved.
2736 2015-08-25  Roland McGrath  <roland@hack.frob.com>
2738         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
2739         if the weak reference is not null.
2741 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
2743         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
2745         [BZ #11214]
2746         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
2748 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2750         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
2751         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
2752         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
2753         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
2754         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
2755         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
2756         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
2757         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
2758         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
2759         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
2760         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
2761         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
2762         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
2763         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
2764         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
2765         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
2766         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
2767         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
2769 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2771         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
2772         register other than r0 for tabort, it has special meaning.
2773         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise
2774         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
2775         transaction before starting syscall.
2777 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2779         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
2781 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
2783         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
2785         * sysdeps/x86_64/rtld-memcmp.c: Removed.
2786         * sysdeps/x86_64/rtld-memset.S: Likewise.
2787         * sysdeps/x86_64/rtld-strchr.S: Likewise.
2788         * sysdeps/x86_64/rtld-strlen.S: Likewise.
2789         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
2790         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
2792         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
2794 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
2796         * debug/strcpy_chk.c: Improve performance.
2797         * debug/stpcpy_chk.c: Likewise.
2798         * sysdeps/x86_64/strcpy_chk.S: Remove.
2799         * sysdeps/x86_64/stpcpy_chk.S: Remove.
2801         [BZ #18240]
2802         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
2804 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
2806         [BZ #15128]
2807         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
2808         ifuncmain8.
2809         (modules-names): Add ifuncmod8.
2810         ($(objpfx)ifuncmain8): New rule.
2811         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
2812         <cpuid.h>.
2813         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
2814         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
2815         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
2816         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
2817         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
2818         * sysdeps/x86_64/dl-trampoline.h: Likewise.
2819         * sysdeps/x86_64/ifuncmain8.c: New file.
2820         * sysdeps/x86_64/ifuncmod8.c: Likewise.
2821         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
2822         Removed.
2823         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
2824         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
2825         Change rtld_savespace_sse to __glibc_unused2.
2826         (RTLD_CHECK_FOREIGN_CALL): Removed.
2827         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
2828         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
2829         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
2831 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
2833         * sysdeps/aarch64/bzero.S (__bzero): Remove.
2835 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
2837         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
2838         Unconditionally set __fpcr to avoid uninialized warning.
2839         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
2841 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
2843         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
2844         is corrupt.
2846         * malloc/arena.c (arena_get2): Drop unused argument.
2847         (arena_lock): Adjust.
2848         (arena_get_retry): Likewise.
2850 2015-08-24  Andreas Schwab  <schwab@suse.de>
2852         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
2853         Don't define.
2854         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
2855         (__ASSUME_IPC64): Don't undef.
2856         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
2857         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
2858         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
2859         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
2860         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
2861         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
2862         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
2863         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
2864         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
2865         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
2866         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
2867         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
2868         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
2869         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
2870         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
2871         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
2872         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
2873         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
2874         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
2875         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
2876         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
2878 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
2880         * manual/Makefile (install): Only build manual when perl is available.
2882 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
2884         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
2885         '#undef memcpy' by '#undef memchr'.
2887 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
2889         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
2890         memchr not point to the internal __GI_memchr implementation.
2892 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
2894         * timezone/Makefile (CFLAGS-zdump.c): Remove
2895         -Wno-strict-prototypes.
2896         (CFLAGS-zic.c): Likewise.
2897         (CFLAGS-ialloc.c): Likewise.
2898         (CFLAGS-scheck.c): Likewise.
2900         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
2901         -Wno-error=undef.
2903 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
2905         * i386/i686/multiarch/strcasestr-c.c: Removed.
2906         * x86_64/multiarch/strcasestr.c: Likewise.
2907         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2908         Remove strcasestr.
2910 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
2912         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
2914         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
2915         variables for high and low parts before possibly modifying them.
2917 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
2919         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
2920         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
2921         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
2922         of "multiarch/init-arch.h".
2923         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
2924         * sysdeps/x86/init-arch.h: This.
2926 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
2928         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
2929         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
2931 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
2933         [BZ #17787]
2934         * manual/macros.texi: Add twoexp macro.
2935         * manual/filesys.texi: Fix exponents.
2936         * manual/llio.texi: Likewise.
2937         * manual/stdio.texi: Likewise.
2939 2015-08-20  Florian Weimer  <fweimer@redhat.com>
2941         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
2942         incorrect use.
2944 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
2946         [BZ #18370]
2947         * math/s_csqrt.c (__csqrt): Force underflow exception for results
2948         whose real or imaginary part has small absolute value.
2949         * math/s_csqrtf.c (__csqrtf): Likewise.
2950         * math/s_csqrtl.c (__csqrtl): Likewise.
2951         * math/auto-libm-test-in: Add more tests of csqrt.
2952         * math/auto-libm-test-out: Regenerated.
2953         * sysdeps/i386/fpu/libm-test-ulps: Update.
2955 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2957         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
2958         __ppc_set_ppr_very_low): New functions.
2959         * manual/platform.texi: Add documentation about
2960         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
2962 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
2964         * string/stpncpy.c (stpncpy): Improve performance using
2965         __strnlen/memcpy/memset.
2967 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
2969         [BZ #18796]
2970         * scripts/test-installation.pl: Don't add -lmvec to build options if
2971         libmvec wasn't built.
2973 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
2975         [BZ #14341]
2976         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
2977         case when there is a gap between DT_REL and DT_JMPREL sections.
2978         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
2979         (LDFLAGS-tst-split-dynreloc): New.
2980         (tst-split-dynreloc-ENV): Likewise.
2981         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
2982         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
2984 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
2986         [BZ #18822]
2987         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
2988         attribute_hidden.
2989         (__xstat64_conv): Likewise.
2990         (__xstat32_conv): Likewise.
2992 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
2994         [BZ #18822]
2995         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
2996         Don't load %ebx when calling __setcontext.  Call __setcontext
2997         with HIDDEN_JUMPTARGET.
2998         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
2999         libc_hidden_def.
3001 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
3003         * sysdeps/i386/i686/Makefile
3004         [$(subdir) == string] (sysdep_routines): Moved to ...
3005         * sysdeps/i386/Makefile: Here.
3006         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
3007         * sysdeps/i386/cacheinfo.c: Here.
3008         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
3009         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
3010         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
3011         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
3013 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
3015         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
3016         __i586__ is defined.
3017         (HAS_I686): Defined to 1 if __i686__ is defined.
3019 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
3021         * elf/Makefile [$(have-z-execstack) = yes]
3022         (CPPFLAGS-tst-execstack.c): New variable.
3024         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
3025         conditional to [defined UTMPX || _HAVE_UT_TYPE].
3026         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
3027         UTMPX || _HAVE_UT_TV].
3028         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
3029         UTMPX || _HAVE_UT_TV - 0].
3031 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
3033         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
3034         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
3035         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
3037 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
3039         * sysdeps/powerpc/dl-procinfo.c:
3040         (_dl_powerpc_cap_flags): Added missing strings for some
3041         hwcap features.
3042         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
3044 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
3046         Port the 0x7efe...feff pattern to GCC 6.
3047         See Steve Ellcey's bug report in:
3048         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
3049         * string/memrchr.c (MEMRCHR):
3050         * string/rawmemchr.c (RAWMEMCHR):
3051         * string/strchr.c (strchr):
3052         * string/strchrnul.c (STRCHRNUL):
3053         Rewrite code to avoid issues with signed shift overflow.
3055 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
3057         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
3058         whether cpuid is available only if HAS_CPUID is 0.
3059         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
3060         (HAS_I586): Likewise.
3061         (HAS_I686): Likewise.
3063 2015-08-18  Zack Weinberg  <zackw@panix.com>
3065         * misc/Versions (libc): Add GLIBC_2.23.
3067 2015-08-18  Alan Modra  <amodra@gmail.com>
3069         [BZ #18421]
3070         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
3071         .Lp__global.
3072         (_start): Load %dp via .Lp__global.
3073         [!SHARED]: Use .section .rodata.
3075 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
3077         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
3078         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
3080 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
3082         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
3083         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
3085 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
3087         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
3088         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
3090 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
3092         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
3093         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
3095 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
3097         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
3098         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
3100 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
3102         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
3103         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
3105 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
3107         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
3109 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
3111         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
3112         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
3113         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3114         (__ASSUME_LWS_CAS): Delete.
3116 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
3118         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
3119         * sysdeps/hppa/configure: Regenerated.
3120         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
3121         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
3122         * sysdeps/hppa/nptl/tls.h: Likewise.
3124 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
3126         [BZ #18823]
3127         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
3128         for scaling up small arguments.
3129         * math/s_csqrtf.c (__csqrtf): Likewise.
3130         * math/s_csqrtl.c (__csqrtl): Likewise.
3131         * math/auto-libm-test-in: Add more tests of csqrt.
3132         * math/auto-libm-test-out: Regenerated.
3134 2015-08-17  Andreas Schwab  <schwab@suse.de>
3136         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
3137         version set GLIBC_2.19.
3139 2015-08-16  Zack Weinberg  <zackw@panix.com>
3141         [BZ #18681]
3142         * misc/regexp.h: This interface is no longer supported.
3143         Remove all contents, leaving only an #error directive.
3144         * misc/regexp.c (loc1, loc2, locs, step, advance):
3145         Demote to compatibility symbols.
3147 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
3149         [BZ #18084]
3150         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
3151         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
3152         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
3153         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
3154         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
3155         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
3156         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
3157         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
3158         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
3160 2015-08-15  Zack Weinberg  <zackw@panix.com>
3162         [BZ #18795]
3163         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
3164         buffer length is known to be too large, not if it's known to be
3165         small enough.
3166         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
3167         overflow at runtime, involving a length parameter, twice: once
3168         with a compile-time constant length parameter, once without.
3170 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
3172         [BZ #18824]
3173         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
3174         scaling x * y up instead of down.
3175         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3176         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3177         * math/auto-libm-test-in: Add more tests of fma.
3178         * math/auto-libm-test-out: Regenerated.
3180 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
3182         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3184 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
3186         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
3187         unnecessary movq.
3188         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
3189         Likewise.
3191 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
3193         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
3194         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
3195         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
3196         and tgamma.
3197         * math/auto-libm-test-out: Regenerated.
3198         * sysdeps/i386/fpu/libm-test-ulps: Update.
3199         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3201         [BZ #16520]
3202         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
3203         (__tanh): Force underflow exception for arguments with small
3204         absolute value.
3205         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
3206         (__tanhf): Force underflow exception for arguments with small
3207         absolute value.
3208         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
3209         (__tanhl): Force underflow exception for arguments with small
3210         absolute value.
3211         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
3212         (__tanhl): Force underflow exception for arguments with small
3213         absolute value.
3214         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
3215         (__tanhl): Force underflow exception for arguments with small
3216         absolute value.
3217         * math/auto-libm-test-in: Add more tests of tanh.
3218         * math/auto-libm-test-out: Regenerated.
3219         * sysdeps/i386/fpu/libm-test-ulps: Update.
3221 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
3223         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
3224         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
3226 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
3228         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
3229         <cpuid.h>.
3231 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
3233         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
3234         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
3236 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
3238         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
3239         Remove $(objpfx)init-arch.o.
3240         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
3241         init-arch.
3242         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
3243         (INIT_ARCH_EXT): Defined as empty.
3244         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
3245         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
3246         __init_cpu_features call.  Replace HAS_XXX with
3247         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
3248         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
3249         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
3250         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
3251         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
3252         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
3253         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
3254         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
3255         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
3256         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
3257         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
3258         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
3259         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
3260         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
3261         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
3262         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
3263         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
3264         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
3265         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
3266         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
3267         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
3268         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
3269         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
3270         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
3271         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
3272         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
3273         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
3274         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
3275         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
3276         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
3277         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
3278         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
3279         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
3280         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
3281         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
3282         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
3284 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
3286         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
3287         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
3288         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
3289         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
3290         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
3291         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
3292         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
3293         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
3294         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
3295         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
3296         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
3297         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
3298         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
3299         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3300         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3301         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3302         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3303         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3304         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3305         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3306         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3307         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3308         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3309         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3310         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3311         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3312         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3313         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3314         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3315         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3316         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3317         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3318         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3319         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3320         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3321         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3322         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3323         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3324         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3325         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3326         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3327         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3328         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3330 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
3332         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
3333         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
3334         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
3335         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
3336         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
3337         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
3338         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
3339         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
3340         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
3341         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
3342         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
3343         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
3344         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
3345         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
3346         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
3347         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
3348         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
3349         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
3350         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
3351         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
3352         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
3353         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
3354         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
3355         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
3356         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
3357         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
3358         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
3359         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
3360         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
3361         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
3362         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3363         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3364         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3365         * sysdeps/x86_64/multiarch/memset.S: Likewise.
3366         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3367         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
3368         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
3369         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3370         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
3371         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
3372         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
3373         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
3374         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
3376 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
3378         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
3379         (dl_platform_init): Call init_cpu_features.
3380         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
3381         * sysdeps/i386/i686/cacheinfo.c
3382         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
3383         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
3384         * sysdeps/i386/i686/multiarch/Versions: Removed.
3385         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
3386         Removed.
3387         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
3388         * sysdeps/unix/sysv/linux/x86/Makefile
3389         (libpthread-sysdep_routines): Remove init-arch.
3390         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
3391         <sysdeps/x86_64/dl-procinfo.c> instead of
3392         sysdeps/generic/dl-procinfo.c>.
3393         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
3394         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
3395         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
3396         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
3397         [$(subdir) == elf] (tests-static): Add
3398         tst-get-cpu-features-static.
3399         * sysdeps/x86/Versions: New file.
3400         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
3401         * sysdeps/x86/cpu-features.c: Likewise.
3402         * sysdeps/x86/cpu-features.h: Likewise.
3403         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
3404         * sysdeps/x86/libc-start.c: Likewise.
3405         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
3406         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
3407         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
3408         * sysdeps/x86_64/dl-procinfo.c: Likewise.
3409         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
3410         Assume USE_MULTIARCH is defined and don't check it.
3411         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
3412         (is_amd): Likewise.
3413         (max_cpuid): Likewise.
3414         (intel_check_word): Likewise.
3415         (__cache_sysconf): Don't call __init_cpu_features.
3416         (__x86_preferred_memory_instruction): Removed.
3417         (init_cacheinfo): Don't call __init_cpu_features. Replace
3418         __cpu_features with GLRO(dl_x86_cpu_features).
3419         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
3420         (dl_platform_init): Call init_cpu_features.
3421         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
3422         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
3423         * sysdeps/x86_64/multiarch/Versions: Removed.
3424         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
3425         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
3426         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
3427         Removed.
3428         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
3430 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
3432         [BZ #18820]
3433         * libio/Makefile (test-fmemopen-mem): New test.
3434         * libio/test-fmemopen.c (do_bz18820): New test.
3435         * libio/fmemopen.c (__fmemopen): Fix memory leak.
3436         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
3438 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
3440         [BZ #16734]
3441         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
3442         (FREE_BUF): Delete.
3443         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
3444         * libio/genops.c (_IO_setb): Use malloc and free directly.
3445         (_IO_default_doallocate, _IO_default_finish): Likewise.
3446         ( _IO_unbuffer_all): Likewise.
3447         ( libc_freeres_fn): Likewise.
3448         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
3449         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
3450         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
3451         (_IO_wdefault_doallocate): Likewise.
3453 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
3455         [BZ #18086]
3456         * sysdeps/posix/nice.c (nice): Restore old errno.
3457         * posix/tst-nice.c (do_test): Add test for BZ #18086.
3459 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
3461         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
3463 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3465         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
3466         __bcopy and add a weak_alias to bcopy.
3467         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
3468         for static build.
3470         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
3471         cleanup macro usage.
3472         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
3473         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
3474         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
3475         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
3476         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
3477         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
3478         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
3479         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
3480         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
3481         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
3482         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
3483         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
3484         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
3485         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
3486         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
3487         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
3488         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
3489         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
3490         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
3492         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
3493         libc_hidden_def.
3494         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
3496         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
3497         (sysdep_routines): Add strstr-ppc64.
3498         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
3500 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
3502         [BZ #18778]
3503         * elf/Makefile (tests): Add Add tst-nodelete2.
3504         (modules-names): Add tst-nodelete2mod.
3505         (tst-nodelete2mod.so-no-z-defs): New.
3506         ($(objpfx)tst-nodelete2): Likewise.
3507         ($(objpfx)tst-nodelete2.out): Likewise.
3508         (LDFLAGS-tst-nodelete2): Likewise.
3509         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
3510         out of loop through all loaded libraries.
3511         * elf/tst-nodelete2.c: New file.
3512         * elf/tst-nodelete2mod.c: Likewise.
3513         * elf/tst-znodelete-zlib.cc: Delete.
3515 2015-08-11  Andreas Schwab  <schwab@suse.de>
3517         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
3518         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
3519         (__openat64_nocancel): Likewise.
3521 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
3523         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
3524         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
3525         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
3526         * math/auto-libm-test-out: Regenerated.
3527         * sysdeps/i386/fpu/libm-test-ulps: Update.
3528         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3530 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
3532         [BZ #18790]
3533         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
3534         threshold for returning +/- 1.
3535         * math/auto-libm-test-in: Add more tests of tanh.
3536         * math/auto-libm-test-out: Regenerated.
3537         * sysdeps/i386/fpu/libm-test-ulps: Update.
3539 2015-08-10  Andreas Schwab  <schwab@suse.de>
3541         [BZ #18781]
3542         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
3543         MORE_OFLAGS to oflag.
3544         * io/test-lfs.c (do_test): Test openat64.
3546 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
3548         [BZ #18789]
3549         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
3550         smaller threshold for returning the argument.
3551         * math/auto-libm-test-in: Add more tests of sinh.
3552         * math/auto-libm-test-out: Regenerated.
3553         * sysdeps/i386/fpu/libm-test-ulps: Update.
3555 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
3557         [BZ #18674]
3558         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
3559         break.
3561 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
3563         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
3564         (generated): Don't add $(addprefix z.,$(tzfiles)).
3566 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
3568         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
3569         * scripts/sysd-rules.awk: Likewise.
3571 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
3573         * iconvdata/tst-tables.sh: Change echo -n to printf.
3574         * nss/db-Makefile: Likewise.
3575         * posix/tst-getconf.sh: Likewise.
3576         * stdio-common/tst-unbputc.sh: Likewise.
3578 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
3580         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
3581         MADV_*_PAGES defines behind this feature check.
3583 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
3585         [BZ #18480]
3586         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
3587         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
3588         Define.
3589         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
3590         LOAD_REGS_5, LOAD_REGS_6): Update.
3591         (INTERNAL_SYSCALL): Update using new LOAD defines.
3592         (INTERNAL_SYSCALL_NCS): Likewise.
3593         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
3595 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
3597         [BZ #16734]
3598         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
3600 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
3602         [BZ #17905]
3603         * catgets/Makefile (tst-catgets-mem): New test.
3604         * catgets/catgets.c (catopen): Don't use unbounded alloca.
3605         * catgets/open_catalog.c (__open_catalog): Likewise.
3606         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
3608 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
3610         [BZ #18787]
3611         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
3612         clobber registers.
3613         (atomic_compare_and_exchange_val_acq): Use register asms to assign
3614         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
3615         Cast return to __typeof (oldval).
3617 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
3619         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
3620         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
3621         and delete sys/syscall.h include.
3623 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
3625         [BZ #16517]
3626         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
3627         (tan): Force underflow exception for arguments with small absolute
3628         value.
3629         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
3630         (__kernel_tanf): Force underflow exception for arguments with
3631         small absolute value.
3632         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
3633         (__kernel_tanl): Force underflow exception for arguments with
3634         small absolute value.
3635         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
3636         (__kernel_tanl): Force underflow exception for arguments with
3637         small absolute value.
3638         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
3639         (__kernel_tanl): Force underflow exception for arguments with
3640         small absolute value.
3641         * math/auto-libm-test-in: Add more tests of tan.
3642         * math/auto-libm-test-out: Regenerated.
3644 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3646         Fix sysdeps/i386/fpu/s_scalbn.S build
3648         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
3650 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
3652         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
3654 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3656         Fix gcrt0.o compilation
3658         When static-start-installed-name is different from
3659         start-installed-name, we must not use the shared objects.
3661         * csu/Makefile
3662         (extra-objs): Add gmon-start.o when building shared library and
3663         $(static-start-installed-name) is different from
3664         $(start-installed-name).
3665         $(objpfx)g$(static-start-installed-name): When building shared
3666         library and $(static-start-installed-name) is different from
3667         $(static-start-installed-name), revert to non-shared rule,
3668         i.e. using $(objpfx)% and gmon-start.o.
3670 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
3672         [BZ #16519]
3673         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
3674         (__ieee754_sinh): Force underflow exception for arguments with
3675         small absolute value.
3676         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
3677         (__ieee754_sinhf): Force underflow exception for arguments with
3678         small absolute value.
3679         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
3680         (__ieee754_sinhl): Force underflow exception for arguments with
3681         small absolute value.
3682         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
3683         (__ieee754_sinhl): Force underflow exception for arguments with
3684         small absolute value.
3685         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
3686         (__ieee754_sinhl): Force underflow exception for arguments with
3687         small absolute value.
3688         * math/auto-libm-test-in: Add more tests of sinh.
3689         * math/auto-libm-test-out: Regenerated.
3690         * sysdeps/i386/fpu/libm-test-ulps: Update.
3692 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
3694         * libio/oldfileops.c: Include unistd.h.
3696 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
3698         * stdlib/isomac.c: Include ctype.h.
3700 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
3702         * dirent/tst-seekdir.c (main): Converted to ...
3703         (do_test): ... this.
3704         (TEST_FUNCTION): New macro.
3705         Include test-skeleton.c.
3706         * elf/tst-dlmodcount.c (main): Converted to ...
3707         (do_test): ... this.
3708         (TEST_FUNCTION): New macro.
3709         Include test-skeleton.c.
3710         * elf/tst-order-main.c (main): Converted to ...
3711         (do_test): ... this.
3712         (TEST_FUNCTION): New macro.
3713         Include test-skeleton.c.
3714         * elf/tst-pie2.c (main): Converted to ...
3715         (do_test): ... this.
3716         (TEST_FUNCTION): New macro.
3717         Include test-skeleton.c.
3718         * inet/tst-ether_aton.c (main): Converted to ...
3719         (do_test): ... this.
3720         (TEST_FUNCTION): New macro.
3721         Include test-skeleton.c.
3722         * misc/tst-mntent.c (main): Converted to ...
3723         (do_test): ... this.
3724         (TEST_FUNCTION): New macro.
3725         Include test-skeleton.c.
3726         * misc/tst-tsearch.c (main): Converted to ...
3727         (do_test): ... this.
3728         (TEST_FUNCTION): New macro.
3729         Include test-skeleton.c.
3730         * posix/tst-regexloc.c (main): Converted to ...
3731         (do_test): ... this.
3732         (TEST_FUNCTION): New macro.
3733         Include test-skeleton.c.
3734         * resolv/tst-aton.c (main): Converted to ...
3735         (do_test): ... this.
3736         (TEST_FUNCTION): New macro.
3737         Include test-skeleton.c.
3738         * stdio-common/test-fwrite.c (main): Converted to ...
3739         (do_test): ... this.
3740         (TEST_FUNCTION): New macro.
3741         Include test-skeleton.c.
3742         * stdio-common/tst-ferror.c (main): Converted to ...
3743         (do_test): ... this.
3744         (TEST_FUNCTION): New macro.
3745         Include test-skeleton.c.
3746         * stdio-common/tst-printf.c (main): Converted to ...
3747         (do_test): ... this.
3748         (TEST_FUNCTION): New macro.
3749         Include test-skeleton.c.
3750         * stdio-common/tst-printfsz.c (main): Converted to ...
3751         (do_test): ... this.
3752         (TEST_FUNCTION): New macro.
3753         Include test-skeleton.c.
3754         * stdlib/tst-strtod.c (main): Converted to ...
3755         (do_test): ... this.
3756         (TEST_FUNCTION): New macro.
3757         Include test-skeleton.c.
3758         * string/tst-strlen.c (main): Converted to ...
3759         (do_test): ... this.
3760         (TEST_FUNCTION): New macro.
3761         Include test-skeleton.c.
3762         * string/tst-svc.c (main): Converted to ...
3763         (do_test): ... this.
3764         (TEST_FUNCTION): New macro.
3765         Include test-skeleton.c.
3766         * time/tst-strptime.c (main): Converted to ...
3767         (do_test): ... this.
3768         (TEST_FUNCTION): New macro.
3769         Include test-skeleton.c.
3770         * timezone/tst-timezone.c (main): Converted to ...
3771         (do_test): ... this.
3772         (TEST_FUNCTION): New macro.
3773         Include test-skeleton.c.
3775 2015-08-05  Zack Weinberg  <zackw@panix.com>
3777         * misc/regexp.h: Update comments.
3779 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
3781         [BZ #18635]
3782         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
3783         before return label.
3785 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
3787         [BZ #18661]
3788         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
3789         when calling __errno_location.
3790         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
3791         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
3793 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
3795         [BZ #18661]
3796         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
3797         (__lll_timedwait_tid): Align stack to 16 bytes when calling
3798         __gettimeofday.
3800 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
3802         [BZ #18661]
3803         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
3804         (__start_context): Don't use pop to restore %rdi so that stack
3805         is aligned to 16 bytes when calling __setcontext.
3807 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
3809         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
3810         only for libc.
3811         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
3813 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
3815         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
3816         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
3817         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
3819 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
3821         * string/memccpy.c (memccpy):
3822         Improve performance by using memchr/memcpy/__mempcpy.
3824 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
3826         * string/strncpy.c (strncpy):
3827         Improve performance by using __strnlen/memcpy.
3829 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
3831         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
3832         Optimize to avoid an unnecessary FPCR read.
3834 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
3836         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
3837         Optimize to reduce FPCR/FPSR accesses.
3839 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
3841         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
3842         dead->data[category] != NULL.
3844 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
3846         [BZ #18647]
3847         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
3848         and |x| close to 1, use absolute value of x when computing log.
3849         * math/auto-libm-test-in: Add more tests of pow.
3850         * math/auto-libm-test-out: Regenerated.
3852 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3854         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
3855         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
3856         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
3858 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
3860         [BZ #18525]
3861         * locales/km_KH: Remove timezone definition.
3862         * locales/lo_LA: Likewise.
3863         * locales/my_MM: Likewise.
3864         * locales/nan_TW@latin: Likewise.
3865         * locales/th_TH: Likewise.
3866         * locales/uk_UA: Likewise.
3868 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
3870         [BZ #18265]
3871         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
3872         (wcsncat): Likewise.
3873         (wcscmp): Likewise.
3874         (wcsncmp): Likewise.
3876 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
3878         * test-skeleton.c (usage): New function.
3879         (main): Call usage when opt is '?'.
3881 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
3883         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
3884         before first use.
3886 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
3888         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
3889         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
3890         in there too.
3892 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
3894         * version.h (RELEASE): Set to "development".
3895         (VERSION): Set to "2.22.90"
3897         * version.h (RELEASE): Set to "stable".
3898         (VERSION): Set to "2.22"
3899         * include/features.h (__GLIBC_MINOR__): Set to 22.
3901 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
3903         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
3904         Restructure macro to avoid "value computed is not used" warning.
3905         (atomic_compare_and_exchange_val_acq): Likewise.
3907 2015-08-04  Andreas Schwab  <schwab@suse.de>
3909         [BZ #18635]
3910         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
3911         ret.
3912         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
3914 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
3916         * po/pl.po: Updated translation.
3917         * po/uk.po: Likewise.
3918         * po/fi.po: Likewise.
3919         * po/ko.po: Likewise.
3920         * po/ru.po: Likewise.
3921         * po/vi.po: Likewise.
3923 2015-07-31  Zack Weinberg  <zackw@panix.com>
3925         [BZ #18681]
3926         * regexp.h: Add unconditional #warning stating that this header
3927         will be removed soon.  Revise banner comment to match.
3928         (compile): Consistently use ERROR instead of RETURN to report
3929         errors (partial fix for bz#18681).
3930         * regexp.c: Don't include regexp.h. Remove some unnecessary
3931         declarations.
3933 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
3935         * po/libc.pot: Regenerated.
3937 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
3939         [BZ #18740]
3940         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
3941         float-vlen4-arch-ext-cflags): Removed.
3942         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
3943         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
3945 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
3947         [BZ #14113]
3948         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
3949         aligned to __aligned__.
3950         (pthread_cond_t, pthread_rwlock_t): Likewise.
3952 2015-07-30  Torvald Riegel  <triegel@redhat.com>
3954         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
3956 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
3958         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
3959         (struct sigaction): Change sa_flags from a long to an int, and add
3960         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
3962 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
3964         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
3965         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
3966         sysdeps/generic/sysdep.h include.
3967         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
3968         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
3969         sysdeps/hppa/sysdep.h.
3970         (ENTRY, PSEUDO): Undefine before defining.
3972 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
3974         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
3975         from scratch to use INTERNAL_SYSCALL.
3977 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
3979         [BZ #18078]
3980         * scripts/check-localplt.awk: Support alternate relocations.
3981         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
3982         sections.
3983         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
3984         malloc entries with + REL R_386_GLOB_DAT.
3985         * sysdeps/x86_64/localplt.data: New file.
3987 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
3989         [BZ #18731]
3990         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
3991         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3992         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3994 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
3996         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
3998 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
4000         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
4001         directly in terms of __sync_fetch_and_add and delete (int) cast.
4003 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
4005         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
4006         the -D_ASM_IA64_CURRENT_H flag.
4008 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
4010         [BZ #18641]
4011         * pwd/pwd.h (putpwent): Delete __nonnull markings.
4013 2015-07-27  Andreas Schwab  <schwab@suse.de>
4015         * conform/conformtest.pl (checknamespace): Filter out string
4016         literals while tokenizing.
4018 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
4020         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
4021         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
4022         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
4024 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
4026         * nptl/tst-join7mod.c: Add #include <string.h>.
4028 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
4030         * sysdeps/nios2/libm-test-ulps: Update.
4032 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
4034         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
4035         Fix order of arguments to the rt_sigprocmask syscall.
4036         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
4037         Likewise.
4039 2015-07-24  Roland McGrath  <roland@hack.frob.com>
4041         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
4043 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
4045         [BZ #18457]
4046         * nptl/Makefile (tests): New test case tst-join7.
4047         (modules-names): New test case module tst-join7mod.
4048         * nptl/tst-join7.c: New file.
4049         * nptl/tst-join7mod.c: New file.
4050         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
4051         all translation units in libc.so, libpthread.so and rtld.
4053 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4055         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4057 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
4059         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
4060         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
4061         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
4062         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
4063         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
4064         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
4065         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
4066         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
4067         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
4068         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
4069         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
4070         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
4071         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
4072         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
4073         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
4074         implementation.
4076 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4078         [BZ #17711]
4079         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
4080         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
4081         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
4082         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
4083         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
4084         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
4086 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
4088         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
4089         instead of just saying load lock in the comments.
4091 2015-07-23  Roland McGrath  <roland@hack.frob.com>
4093         * sysdeps/unix/Subdirs: Moved ...
4094         * sysdeps/posix/Subdirs: ... here.
4095         * login/pty.h (struct termios, struct winsize): Add forward decls.
4096         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
4097         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
4098         * sysdeps/arm/nacl/libc.abilist: Updated.
4099         * sysdeps/nacl/libutil.abilist: New file.
4101         * bits/signum.h: Update comments to mention 1003.1-2013 too.
4102         (SIGWINCH): New macro.
4104         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
4105         * sysdeps/arm/nacl/libc.abilist: Add it.
4107 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
4109         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
4111 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
4113         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
4114         Swap __glibc_reserved0 and sa_flags order.
4116 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
4118         [BZ #18657]
4119         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
4120         are pending TLS destructor calls.
4121         * include/link.h (struct link_map): Add concurrency note for
4122         L_TLS_DTOR_COUNT.
4123         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
4124         Don't touch the link map flag.  Atomically increment
4125         l_tls_dtor_count.
4126         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
4127         Avoid taking the load lock and don't touch the link map flag.
4128         * stdlib/tst-tls-atexit-nodelete.c: New test case.
4129         * stdlib/Makefile (tests): Use it.
4130         * stdlib/tst-tls-atexit.c (do_test): dlopen
4131         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
4132         to allow tst-tls-atexit-nodelete test case to use it.
4134 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
4136         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
4137         to bits/types.h.
4138         (msgqnum_t): New typedef.
4139         (msglen_t): Likewise.
4140         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
4141         and msg_qbytes type to msglen_t.
4143 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
4145         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
4146         pad0 to __glibc_reserved0.
4147         (struct stat64): Likewise.
4149 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
4151         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
4152         Change sa_flags from a long to an int and add __glibc_reserved0 before
4153         it for padding.
4155 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
4157         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
4158         anonymous by deleting "siginfo" name.
4160 2015-07-21  Roland McGrath  <roland@hack.frob.com>
4162         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
4163         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
4164         rather than __nacl_irt_filename.
4165         * sysdeps/nacl/xstat.c (__xstat): Likewise.
4167         * NEWS: New item for arm-nacl port.
4168         * sysdeps/arm/nacl/libc.abilist: New file.
4169         * sysdeps/nacl/ld.abilist: New file.
4170         * sysdeps/nacl/libBrokenLocale.abilist: New file.
4171         * sysdeps/nacl/libanl.abilist: New file.
4172         * sysdeps/nacl/libcrypt.abilist: New file.
4173         * sysdeps/nacl/libdl.abilist: New file.
4174         * sysdeps/nacl/libm.abilist: New file.
4175         * sysdeps/nacl/libpthread.abilist: New file.
4176         * sysdeps/nacl/libresolv.abilist: New file.
4177         * sysdeps/nacl/librt.abilist: New file.
4179 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
4181         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
4182         __startcontext to initialize the new context.
4183         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
4184         up CFI directive to forbid further backtracing.
4186 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
4188         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
4189         reference.
4190         * charmaps/ANSI_X3.4-1968: Likewise.
4191         * charmaps/BS_4730: Likewise.
4192         * charmaps/BS_VIEWDATA: Likewise.
4193         * charmaps/CP1250: Likewise.
4194         * charmaps/CP1251: Likewise.
4195         * charmaps/CP1252: Likewise.
4196         * charmaps/CP1253: Likewise.
4197         * charmaps/CP1254: Likewise.
4198         * charmaps/CP1255: Likewise.
4199         * charmaps/CP1256: Likewise.
4200         * charmaps/CSN_369103: Likewise.
4201         * charmaps/EBCDIC-DK-NO: Likewise.
4202         * charmaps/GB_1988-80: Likewise.
4203         * charmaps/GREEK-CCITT: Likewise.
4204         * charmaps/GREEK7: Likewise.
4205         * charmaps/INIS-8: Likewise.
4206         * charmaps/ISIRI-3342: Likewise.
4207         * charmaps/ISO_2033-1983: Likewise.
4208         * charmaps/ISO_5427-EXT: Likewise.
4209         * locales/POSIX: Likewise.
4210         * locales/ar_SA: Likewise.
4211         * locales/be_BY: Likewise.
4212         * locales/be_BY@latin: Likewise.
4213         * locales/ca_ES: Likewise.
4214         * locales/cs_CZ: Likewise.
4215         * locales/da_DK: Likewise.
4216         * locales/de_BE: Likewise.
4217         * locales/de_CH: Likewise.
4218         * locales/de_LU: Likewise.
4219         * locales/en_AU: Likewise.
4220         * locales/en_BW: Likewise.
4221         * locales/en_CA: Likewise.
4222         * locales/en_DK: Likewise.
4223         * locales/en_GB: Likewise.
4224         * locales/en_IE: Likewise.
4225         * locales/en_NZ: Likewise.
4226         * locales/en_ZA: Likewise.
4227         * locales/en_ZW: Likewise.
4228         * locales/es_AR: Likewise.
4229         * locales/es_BO: Likewise.
4230         * locales/es_CL: Likewise.
4231         * locales/es_CO: Likewise.
4232         * locales/es_DO: Likewise.
4233         * locales/es_EC: Likewise.
4234         * locales/es_ES: Likewise.
4235         * locales/es_HN: Likewise.
4236         * locales/es_MX: Likewise.
4237         * locales/es_PA: Likewise.
4238         * locales/es_PE: Likewise.
4239         * locales/es_PY: Likewise.
4240         * locales/es_SV: Likewise.
4241         * locales/es_US: Likewise.
4242         * locales/es_UY: Likewise.
4243         * locales/es_VE: Likewise.
4244         * locales/et_EE: Likewise.
4245         * locales/fa_IR: Likewise.
4246         * locales/fo_FO: Likewise.
4247         * locales/fr_CA: Likewise.
4248         * locales/fr_CH: Likewise.
4249         * locales/gv_GB: Likewise.
4250         * locales/he_IL: Likewise.
4251         * locales/hr_HR: Likewise.
4252         * locales/id_ID: Likewise.
4253         * locales/is_IS: Likewise.
4254         * locales/it_CH: Likewise.
4255         * locales/iw_IL: Likewise.
4256         * locales/kl_GL: Likewise.
4257         * locales/ko_KR: Likewise.
4258         * locales/kw_GB: Likewise.
4259         * locales/lg_UG: Likewise.
4260         * locales/lt_LT: Likewise.
4261         * locales/lv_LV: Likewise.
4262         * locales/mi_NZ: Likewise.
4263         * locales/nhn_MX: Likewise.
4264         * locales/nl_BE: Likewise.
4265         * locales/pl_PL: Likewise.
4266         * locales/sk_SK: Likewise.
4267         * locales/sl_SI: Likewise.
4268         * locales/sv_FI: Likewise.
4269         * locales/tl_PH: Likewise.
4270         * locales/tr_TR: Likewise.
4271         * locales/vi_VN: Likewise.
4273 2015-07-21  Khem Raj  <raj.khem@gmail.com>
4275         [BZ #17475]
4276         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
4277         of tu_IN and bh_IN.
4279 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
4281         [BZ #18694]
4282         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
4283         bits/wordsize.h.
4284         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
4286 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
4288         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
4289         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
4290         (spawn_thread): New function.
4291         (load): Rename to reg_dtor_and_close.  Move dlopen to...
4292         (do_test): ... here.  Use IS_LOADED to test for its
4293         availability.
4295 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
4297         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
4299 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
4301         [BZ #18696]
4302         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
4303         si_addr_bnd.
4304         (si_lower): New.
4305         (si_upper): Likewise.
4307 2015-07-16  David S. Miller  <davem@davemloft.net>
4309         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
4311 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4313         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
4314         buffer.
4315         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
4316         fail output information.
4318 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4320         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
4321         and strstr-ppc64..
4322         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
4323         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
4324         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
4325         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
4326         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
4328 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
4330         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
4331         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
4332         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
4333         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
4335 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
4337         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
4338         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
4339         rtld_hidden_proto.
4340         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
4342 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
4344         * tst-nodelete-opened.c (do_test): Add comment to clarify how
4345         the test can fail.
4347         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
4349         [BZ #18676]
4350         * elf/tst-nodelete-opened.c: New test case.
4351         * elf/tst-nodelete-opened-lib.c: New test case module.
4352         * elf/Makefile (tests, modules-names): Use them.
4353         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
4354         early.
4356 2015-07-15  David S. Miller  <davem@davemloft.net>
4358         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
4359         futex-intenal.h
4360         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
4361         * sysdeps/sparc/sparc64/Makefile: Likewise.
4362         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
4363         Remove space from macro define.
4364         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
4366 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
4368         [BZ #17475]
4369         * locale/iso-639.def: Update Bhili and Tulu language codes as
4370         per iso639-3.
4372 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
4374         * elf/tst-leaks1.c (main): Converted to ...
4375         (do_test): ... this.
4376         (TEST_FUNCTION): New macro.
4377         Include test-skeleton.c.
4378         * localedata/tst-langinfo.c (main): Converted to ...
4379         (do_test): ... this.
4380         (TEST_FUNCTION): New macro.
4381         Include test-skeleton.c.
4382         * math/test-fpucw.c (main): Converted to ...
4383         (do_test): ... this.
4384         (TEST_FUNCTION): New macro.
4385         Include test-skeleton.c.
4386         * math/test-tgmath.c (main): Converted to ...
4387         (do_test): ... this.
4388         (TEST_FUNCTION): New macro.
4389         Include test-skeleton.c.
4390         * math/test-tgmath2.c (main): Converted to ...
4391         (do_test): ... this.
4392         (TEST_FUNCTION): New macro.
4393         Include test-skeleton.c.
4394         * setjmp/tst-setjmp.c (main): Converted to ...
4395         (do_test): ... this.
4396         (TEST_FUNCTION): New macro.
4397         Include test-skeleton.c.
4398         * stdio-common/tst-sscanf.c (main): Converted to ...
4399         (do_test): ... this.
4400         (TEST_FUNCTION): New macro.
4401         Include test-skeleton.c.
4402         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
4403         (do_test): ... this.
4404         (TEST_FUNCTION): New macro.
4405         Include test-skeleton.c.
4407         * elf/tst-audit9.c (main): Converted to ...
4408         (do_test): ... this.
4409         (TEST_FUNCTION): New macro.
4410         Include test-skeleton.c.
4412 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
4414         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
4416 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
4418         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
4419         New variable.
4421 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
4423         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
4425 2015-07-14  Roland McGrath  <roland@hack.frob.com>
4427         * sysdeps/generic/dl-fileid.h: New file.
4428         * sysdeps/posix/dl-fileid.h: New file.
4429         * sysdeps/nacl/dl-fileid.h: New file.
4430         * include/link.h: Include <dl-fileid.h>.
4431         (struct link_map): Replace l_dev and l_ino with l_file_id.
4432         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
4433         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
4434         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
4436 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
4438         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
4440 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4442         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
4443         Add iff $CXX is set.
4444         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
4445         Likewise.
4446         (tst-nodelete-zmodiff): Likewise.
4447         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
4449 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
4451         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
4453 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
4455         * sysdeps/aarch64/fpu/math_private.h
4456         (define math_opt_barrier): Add AArch64 version.
4457         (math_force_eval): Likewise.
4459 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
4461         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
4463 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
4465         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
4466         %ld with %jd and cast to intmax_t.
4467         (do_test_length_zero): Likewise.
4469 2015-07-10  Roland McGrath  <roland@hack.frob.com>
4471         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
4473 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
4475         * sysdeps/tile/libm-test-ulps: Regenerated.
4477         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
4478         Comment out the whole function, not just its body.
4480 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
4482         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
4483         locks.
4485         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
4487 2015-07-10  Torvald Riegel  <triegel@redhat.com>
4489         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
4490         (sem_assume_only_signals_cause_futex_EINTR): Remove.
4492 2015-07-10  Torvald Riegel  <triegel@redhat.com>
4494         * sysdeps/nptl/futex-internal.h: New file.
4495         * sysdeps/nacl/futex-internal.h: New file.
4496         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
4497         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
4498         error checking.
4499         (setxid_unmark_thread): Likewise.
4500         (__nptl_setxid): Likewise.
4501         (__wait_lookup_done): Likewise.
4502         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
4503         * nptl/nptl-init.c (sighandler_setxid): Likewise.
4504         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
4505         * nptl/pthread_once.c (clear_once_control): Likewise.
4506         (__pthread_once_slow): Likewise.
4507         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
4508         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
4509         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
4510         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
4511         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
4512         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
4513         Likewise.
4514         (__pthread_rwlock_rdlock): Likewise.
4515         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
4516         Likewise.
4517         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
4518         Likewise.
4519         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
4520         Likewise.
4521         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
4522         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
4523         Likewise.
4524         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
4525         __ASSUME_PRIVATE_FUTEX check.
4526         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
4527         Check that shared futexes are supported.
4528         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
4529         wrappers with error checking.
4530         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
4531         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
4532         * nptl/pthread_barrierattr_setpshared.c
4533         (pthread_barrierattr_setpshared): Check that shared futexes are
4534         supported.
4535         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
4536         Likewise.
4537         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
4538         Likewise.
4539         * nptl/sem_init.c (futex_private_if_supported): Remove.
4540         (__new_sem_init): Adapt and check that shared futexes are supported.
4541         * nptl/sem_open.c (sem_open): Likewise.
4542         * nptl/sem_post.c (futex_wake): Remove.
4543         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
4544         (do_futex_wait): Use futex wrappers with error checking.
4545         * nptl/sem_wait.c: Include lowlevellock.h.
4546         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
4547         Use futex_supports_pshared.
4548         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
4549         Use futex wrappers with error checking.
4550         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
4551         Likewise.
4552         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
4553         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
4554         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
4555         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
4556         (futex_wake): Likewise.
4557         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
4558         (do_futex_wait): Use futex wrappers with error checking.
4559         (__new_sem_wait_slow): Update EINTR handling.
4560         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
4562 2015-07-09  Martin Sebor  <msebor@redhat.com>
4564         [BZ #18435]
4565         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
4566         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
4567         * nptl/Makefile (test-xfail-tst-once5): Define.
4569 2015-07-09  Roland McGrath  <roland@hack.frob.com>
4571         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
4572         * elf/dl-minimal.c: For readability, reorder some definitions and
4573         introduce more page breaks.  Include <stdio.h>.
4574         (__libc_fatal): New function.
4576         * include/unistd.h: Add rtld_hidden_proto for _exit.
4577         * posix/_exit.c: Add rtld_hidden_def.
4578         * sysdeps/mach/hurd/_exit.c: Likewise.
4579         * sysdeps/nacl/_exit.c: Likewise.
4580         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
4581         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
4583 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
4585         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
4586         bndmov encoding with zero displacement.
4588 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
4589             H.J. Lu  <hongjiu.lu@intel.com>
4591         [BZ #18134]
4592         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
4593         * sysdeps/i386/configure: Regenerated.
4594         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
4595         (_dl_runtime_profile): Save and restore Intel MPX return bound
4596         registers when calling _dl_call_pltexit.  Add
4597         PRESERVE_BND_REGS_PREFIX before return.
4598         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
4599         (LRV_BND1_OFFSET): Likewise.
4600         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
4601         lrv_bnd1.
4602         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
4603         typo in bndmov encoding.
4604         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
4605         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
4606         branch instructions to preserve bounds.
4608 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
4611         [GLIBC_2.22]: Add fmemopen.
4613 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4615         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
4616         returns an error, also try to use host port from __mach_host_self for
4617         the __vm_wire call.
4618         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
4620 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4622         [BZ #18400]
4623         [BZ #18648]
4624         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
4625         Fix pr_uid and pr_gid members.
4626         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
4627         definition to elf_greg_t.
4629 2015-07-08  Roland McGrath  <roland@hack.frob.com>
4631         [BZ #18383]
4632         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
4633         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
4634         * sysdeps/arm/configure: Regenerated.
4635         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
4636         (test-xfail-tst-tlsalign-static): Variable removed.
4638         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
4639         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
4640         rather than explicit 'ln -s'.
4642         * resolv/rpc/netdb.h: New file.
4643         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
4645 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4647         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
4648         length buffers.
4649         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
4650         test-skeleton.c.
4652         [BZ #6544]
4653         [BZ #11216]
4654         [BZ #12836]
4655         [BZ #13151]
4656         [BZ #13152]
4657         [BZ #14292]
4658         * include/stdio.h (fmemopen): Remove hidden prototype.
4659         (__fmemopen): Add new hidden prototype.
4660         * libio/Makefile: Add oldfmemopen object.
4661         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
4662         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
4663         compliance.
4664         * libio/oldfmemopen.c: New file: old fmemopen implementation for
4665         symbol compatibility.
4666         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
4667         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
4668         fmemopen.
4669         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
4670         on append and read mode.
4671         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
4672         fmemopen.
4673         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
4674         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
4675         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
4676         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
4677         Likewise.
4678         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
4679         [GLIBC_2.22]: Likewise.
4680         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
4681         Likewise.
4682         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
4683         Likewise.
4684         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
4685         [GLIBC_2.22]: Likewise.
4686         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
4687         [GLIBC_2.22]: Likewise.
4688         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
4689         [GLIBC_2.22]: Likewise.
4690         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
4691         [GLIBC_2.22]: Likewise.
4692         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
4693         [GLIBC_2.22]: Likewise.
4694         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
4695         [GLIBC_2.22]: Likewise.
4696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
4697         [GLIBC_2.22]: Likewise.
4698         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
4699         Likewise.
4700         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
4701         Likewise.
4702         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
4703         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
4704         [GLIBC_2.22]: Likewise.
4705         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
4706         [GLIBC_2.22]: Likewise.
4707         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
4708         [GLIBC_2.22]: Likewise.
4709         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
4710         [GLIBC_2.22]: Likewise.
4711         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
4712         Likewise.
4713         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
4714         Likewise.
4715         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
4716         Likewise.
4717         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
4718         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
4720 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
4722         [BZ #18643]
4723         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
4724         IPV6_PATHMTU, and IPV6_DONTFRAG.
4726 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
4728         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
4729         and _IO_UNBUFFERED.
4730         * libio/oldfileops.c: Likewise.
4731         * libio/wfileops.c: Likewise.
4733 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
4735         * nscd/selinux.c: Delete selinux/flask.h include.
4737 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
4739         [BZ #18641]
4740         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
4741         (putpwent): Likewise.
4742         (getpwnam): Likewise.
4743         (getpwent_r): Likewise.
4744         (getpwuid_r): Likewise.
4745         (getpwnam_r): Likewise.
4746         (fgetpwent_r): Likewise.
4748 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
4750         [BZ #18557]
4751         * inet/rcmd.c (__validuser2_sa): Check user first to
4752         short-circuit host check.
4754 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
4755             Mikhail Ilin  <m.ilin@samsung.com>
4757         [BZ #17833]
4758         * elf/Makefile (tests): Add tst-nodelete.
4759         (modules-names): Add tst-nodelete-uniquemod.
4760         (tst-nodelete-uniquemod.so-no-z-defs): New.
4761         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
4762         (tst-nodelete-zmod.so-no-z-defs): Likewise.
4763         ($(objpfx)tst-nodelete): Likewise.
4764         ($(objpfx)tst-nodelete.out): Likewise.
4765         (LDFLAGS-tst-nodelete): Likewise.
4766         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
4767         * elf/dl-close.c (_dl_close_worker): Add a parameter to
4768         implement forced object deletion.
4769         (_dl_close): Pass false to _dl_close_worker.
4770         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
4771         * elf/tst-nodelete.cc: New file.
4772         * elf/tst-nodeletelib.cc: Likewise.
4773         * elf/tst-znodeletelib.cc: Likewise.
4774         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
4776 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
4778         [BZ #18508]
4779         * stdlib/Makefile ($(objpfx)tst-makecontext3):
4780         Depend on $(libdl).
4781         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
4782         is not called infinitely times.
4783         (backtrace_helper): New function.
4784         (trace_arg): New struct.
4785         (st1): Enlarge stack size.
4786         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
4787         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
4788         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
4789         Likewise.
4791 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
4793         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
4795 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
4797         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
4798         Include sys/types.h instead of bits/types.h.
4799         Remove inclusion of bits/wordsize.h.
4801 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
4803         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
4804         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
4805         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
4806         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
4807         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
4808         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
4810 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
4812         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
4813         link-defines.sym.
4814         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
4815         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
4816         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
4817         and LR_SIZE.
4818         * sysdeps/i386/link-defines.sym: New file.
4820 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
4822         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
4823         (modules-names): Add tst-auditmod3a tst-auditmod3b.
4824         ($(objpfx)tst-audit3): New rule.
4825         ($(objpfx)tst-audit3.out): Likewise.
4826         * sysdeps/i386/tst-audit3.c: New file.
4827         * sysdeps/i386/tst-audit3.h: Likewise.
4828         * sysdeps/i386/tst-auditmod3a.c: Likewise.
4829         * sysdeps/i386/tst-auditmod3b.c: Likewise.
4831 2015-07-07  Torvald Riegel  <triegel@redhat.com>
4833         [BZ #18633]
4834         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
4835         pointer in C code.
4836         (__strcat_c): Likewise.
4837         (__strcat_g): Likewise.
4839 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
4841         [BZ #18592]
4842         * misc/sbrk.c: Set errno to ENOMEM on overflow.
4844 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
4846         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
4847         New function.  (__ieee754_sqrtf): New function.
4848         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
4849         New function.
4850         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
4851         New function.
4853 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
4855         * sysdeps/ieee754/support.c: Remove unused file.
4857 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4859         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
4860         registers instead of d ones so the layout is kernel abi compatible.
4861         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
4862         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
4863         Likewise.
4865 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4867         * sysdeps/aarch64/libm-test-ulps: Regenerated.
4869 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
4871         [BZ #18619]
4872         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
4873         and return argument in case of subnormal argument.
4875 2015-07-01  Martin Sebor  <msebor@redhat.com>
4877         [BZ #18435]
4878         * nptl/Makefile: Add tst-once5.cc.
4879         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
4880         Remove macro redefinitions.
4881         * nptl/tst-once5.cc: New test.
4883 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
4885         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4887         * sysdeps/arm/libm-test-ulps: Regenerated.
4889         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
4890         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4892 2015-06-30  Torvald Riegel  <triegel@redhat.com>
4894         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
4895         lll_lock_wait_private and lll_futex_wake probes.
4897         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
4898         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
4899         Likewise.
4900         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
4901         atomic_spin_nop.
4902         * sysdeps/x86_64/bits/atomic.h: Likewise.
4903         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
4904         to atomic_spin_nop and move ...
4905         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
4906         ... here and ...
4907         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
4908         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
4909         atomic_spin_nop instead of BUSY_WAIT_NOP.
4910         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
4911         Likewise.
4912         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
4913         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
4914         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
4915         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
4916         instead of atomic_delay.
4918 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
4920         [BZ #18613]
4921         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
4922         X_ADJ not X when adjusting exponent.
4923         (__ieee754_gamma_r): Do intermediate computations in
4924         round-to-nearest then adjust overflowing and underflowing results
4925         as needed.
4926         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
4927         of X_ADJ not X when adjusting exponent.
4928         (__ieee754_gammaf_r): Do intermediate computations in
4929         round-to-nearest then adjust overflowing and underflowing results
4930         as needed.
4931         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
4932         log of X_ADJ not X when adjusting exponent.
4933         (__ieee754_gammal_r): Do intermediate computations in
4934         round-to-nearest then adjust overflowing and underflowing results
4935         as needed.  Use 1.0L not 1.0f as numerator of division.
4936         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
4937         log of X_ADJ not X when adjusting exponent.
4938         (__ieee754_gammal_r): Do intermediate computations in
4939         round-to-nearest then adjust overflowing and underflowing results
4940         as needed.  Use 1.0L not 1.0f as numerator of division.
4941         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
4942         of X_ADJ not X when adjusting exponent.
4943         (__ieee754_gammal_r): Do intermediate computations in
4944         round-to-nearest then adjust overflowing and underflowing results
4945         as needed.  Use 1.0L not 1.0f as numerator of division.
4946         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
4947         to auto-libm-test-in.
4948         (tgamma_test): Use ALL_RM_TEST.
4949         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
4950         tests of tgamma with spurious-overflow.
4951         * math/auto-libm-test-out: Regenerated.
4952         * math/gen-libm-have-vector-test.sh: Do not check for START.
4953         * sysdeps/i386/fpu/libm-test-ulps: Update.
4954         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4956         [BZ #18612]
4957         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
4958         arguments, just return 0.5 times the argument, with underflow
4959         forced as needed.
4960         * math/auto-libm-test-in: Add more tests of j1.
4961         * math/auto-libm-test-out: Regenerated.
4963         [BZ #16559]
4964         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
4965         (__ieee754_j1): Force underflow exception for small results.
4966         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
4967         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
4968         (__ieee754_j1f): Force underflow exception for small results.
4969         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
4970         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
4971         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
4972         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
4973         (__ieee754_j1l): Force underflow exception for small results.
4974         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
4975         * math/auto-libm-test-in: Add more tests of j1 and jn.
4976         * math/auto-libm-test-out: Regenerated.
4978         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
4979         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
4980         (PF_MPLS): Likewise.
4981         (AF_IB): Likewise.
4982         (AF_MPLS): Likewise.
4983         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
4984         value and macro.
4985         (MS_RMT_MASK): Include MS_LAZYTIME.
4987 2015-06-26  Mel Gorman  <mgorman@suse.de>
4989         [BZ #18502]
4990         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
4991         already minimal.
4993 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
4995         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
4996         (DT_MIPS_NUM): Update.
4997         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
4998         DT_MIPS_RLD_MAP_REL.
5000 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
5002         [BZ #16559]
5003         [BZ #18602]
5004         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
5005         round-to-nearest internally then recompute results that
5006         underflowed to zero in the original rounding mode.
5007         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
5008         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
5009         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
5010         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
5011         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
5012         * sysdeps/i386/fpu/libm-test-ulps: Update.
5013         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5015 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
5017         * NEWS: Fixed description of link with vector math library.
5019 2015-06-25  Andreas Schwab  <schwab@suse.de>
5021         [BZ #18549]
5022         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
5023         * libio/test-fmemopen.c (do_test): Add test for it.
5025 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
5027         [BZ #17841]
5028         * Makeconfig (no-pie-ldflag): New.
5029         (+link): Set to $(+link-pie) if default to PIE.
5030         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
5031         * config.make.in (build-pie-default): New.
5032         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
5033         is default.  AC_SUBST.
5034         * configure: Regenerated.
5035         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
5037 2015-06-24  Roland McGrath  <roland@hack.frob.com>
5039         * nptl/descr.h (struct pthread): Change type of field setxid_futex
5040         to 'unsigned int'.
5042         * resolv/gai_misc.h (struct waitlist): Change type of field
5043         counterp to 'volatile unsigned int *'.
5044         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
5045         FUTEXADDR and OLDVAL.
5046         * resolv/getaddrinfo_a.c (getaddrinfo_a):
5047         Give local variable TOTAL type 'volatile unsigned int'.
5048         (struct async_waitlist): Change type of field counter to 'unsigned int'.
5049         * resolv/gai_suspend.c (gai_suspend):
5050         Give local variable CNTR type 'unsigned int'.
5052         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
5053         counterp to 'volatile unsigned int *'.
5054         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
5055         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
5056         (aio_suspend): Give local variable CNTR type 'unsigned int'.
5057         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
5058         Give local variable TOTAL type 'volatile unsigned int'.
5059         (struct async_waitlist): Change type of field counter to 'unsigned int'.
5061 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
5063         [BZ #18383]
5064         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
5065         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
5066         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
5067         comment for i386/x86-64.
5068         (test-xfail-tst-tlsalign-extern-static): Removed.
5070 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
5072         * math/test-double.h: New file.
5073         * math/test-float.h: Likewise.
5074         * math/test-ldouble.h: Likewise.
5075         * math/test-math-inline.h: Likewise.
5076         * math/test-math-no-inline.h: Likewise.
5077         * math/test-math-scalar.h: Likewise.
5078         * math/test-math-vector.h: Likewise.
5079         * math/test-vec-loop.h: Remove file.  Contents moved into
5080         test-math-vector.h.
5081         * math/libm-test.inc (MATHCONST): Do not document macro.
5082         * math/test-double.c: Include test-double.h, test-math-no-inline.h
5083         and test-math-scalar.h.
5084         (FUNC): Remove macro.
5085         (FUNC_TEST): Likewise.
5086         (FLOAT): Likewise.
5087         (MATHCONST): Likewise.
5088         (PRINTF_EXPR): Likewise.
5089         (PRINTF_XEXPR): Likewise.
5090         (PRINTF_NEXPR): Likewise.
5091         (TEST_DOUBLE): Likewise.
5092         (TEST_MATHVEC): Likewise.
5093         (__NO_MATH_INLINES): Likewise.
5094         * math/test-float.c: Include test-float.h, test-math-no-inline.h
5095         and test-math-scalar.h.
5096         (FUNC): Remove macro.
5097         (FUNC_TEST): Likewise.
5098         (FLOAT): Likewise.
5099         (MATHCONST): Likewise.
5100         (PRINTF_EXPR): Likewise.
5101         (PRINTF_XEXPR): Likewise.
5102         (PRINTF_NEXPR): Likewise.
5103         (TEST_FLOAT): Likewise.
5104         (TEST_MATHVEC): Likewise.
5105         (__NO_MATH_INLINES): Likewise.
5106         * math/test-idouble.c: Include test-double.h, test-math-inline.h
5107         and test-math-scalar.h.
5108         (FUNC): Remove macro.
5109         (FUNC_TEST): Likewise.
5110         (FLOAT): Likewise.
5111         (MATHCONST): Likewise.
5112         (PRINTF_EXPR): Likewise.
5113         (PRINTF_XEXPR): Likewise.
5114         (PRINTF_NEXPR): Likewise.
5115         (TEST_DOUBLE): Likewise.
5116         (TEST_MATHVEC): Likewise.
5117         (TEST_INLINE): Likewise.
5118         (__NO_MATH_INLINES): Likewise.
5119         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
5120         test-math-scalar.h.
5121         (FUNC): Remove macro.
5122         (FUNC_TEST): Likewise.
5123         (FLOAT): Likewise.
5124         (MATHCONST): Likewise.
5125         (PRINTF_EXPR): Likewise.
5126         (PRINTF_XEXPR): Likewise.
5127         (PRINTF_NEXPR): Likewise.
5128         (TEST_FLOAT): Likewise.
5129         (TEST_MATHVEC): Likewise.
5130         (TEST_INLINE): Likewise.
5131         (__NO_MATH_INLINES): Likewise.
5132         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
5133         and test-math-scalar.h.
5134         (FUNC): Remove macro.
5135         (FUNC_TEST): Likewise.
5136         (FLOAT): Likewise.
5137         (MATHCONST): Likewise.
5138         (PRINTF_EXPR): Likewise.
5139         (PRINTF_XEXPR): Likewise.
5140         (PRINTF_NEXPR): Likewise.
5141         (TEST_LDOUBLE): Likewise.
5142         (TEST_MATHVEC): Likewise.
5143         (TEST_INLINE): Likewise.
5144         (__NO_MATH_INLINES): Likewise.
5145         * math/test-ldouble.c: Include test-ldouble.h,
5146         test-math-no-inline.h and test-math-scalar.h.
5147         (FUNC): Remove macro.
5148         (FUNC_TEST): Likewise.
5149         (FLOAT): Likewise.
5150         (MATHCONST): Likewise.
5151         (PRINTF_EXPR): Likewise.
5152         (PRINTF_XEXPR): Likewise.
5153         (PRINTF_NEXPR): Likewise.
5154         (TEST_LDOUBLE): Likewise.
5155         (TEST_MATHVEC): Likewise.
5156         (__NO_MATH_INLINES): Likewise.
5157         * math/test-double-vlen2.h: Include test-double.h,
5158         test-math-no-inline.h and test-math-vector.h.
5159         (FLOAT): Remove macro.
5160         (FUNC): Likewise.
5161         (MATHCONST): Likewise.
5162         (PRINTF_EXPR): Likewise.
5163         (PRINTF_XEXPR): Likewise.
5164         (PRINTF_NEXPR): Likewise.
5165         (TEST_DOUBLE): Likewise.
5166         (TEST_MATHVEC): Likewise.
5167         (__NO_MATH_INLINES): Likewise.
5168         (CNCT): Likewise.
5169         (CONCAT): Likewise.
5170         (WRAPPER_NAME): Likewise.
5171         (WRAPPER_DECL): Likewise.
5172         (WRAPPER_DECL_ff): Likewise.
5173         (WRAPPER_DECL_fFF): Likewise.
5174         (VECTOR_WRAPPER): Likewise.
5175         (VECTOR_WRAPPER_ff): Likewise.
5176         (VECTOR_WRAPPER_fFF): Likewise.
5177         (VEC_LEN): New macro.
5178         * math/test-double-vlen4.h: Include test-double.h,
5179         test-math-no-inline.h and test-math-vector.h.
5180         (FLOAT): Remove macro.
5181         (FUNC): Likewise.
5182         (MATHCONST): Likewise.
5183         (PRINTF_EXPR): Likewise.
5184         (PRINTF_XEXPR): Likewise.
5185         (PRINTF_NEXPR): Likewise.
5186         (TEST_DOUBLE): Likewise.
5187         (TEST_MATHVEC): Likewise.
5188         (__NO_MATH_INLINES): Likewise.
5189         (CNCT): Likewise.
5190         (CONCAT): Likewise.
5191         (WRAPPER_NAME): Likewise.
5192         (WRAPPER_DECL): Likewise.
5193         (WRAPPER_DECL_ff): Likewise.
5194         (WRAPPER_DECL_fFF): Likewise.
5195         (VECTOR_WRAPPER): Likewise.
5196         (VECTOR_WRAPPER_ff): Likewise.
5197         (VECTOR_WRAPPER_fFF): Likewise.
5198         (VEC_LEN): New macro.
5199         * math/test-double-vlen8.h: Include test-double.h,
5200         test-math-no-inline.h and test-math-vector.h.
5201         (FLOAT): Remove macro.
5202         (FUNC): Likewise.
5203         (MATHCONST): Likewise.
5204         (PRINTF_EXPR): Likewise.
5205         (PRINTF_XEXPR): Likewise.
5206         (PRINTF_NEXPR): Likewise.
5207         (TEST_DOUBLE): Likewise.
5208         (TEST_MATHVEC): Likewise.
5209         (__NO_MATH_INLINES): Likewise.
5210         (CNCT): Likewise.
5211         (CONCAT): Likewise.
5212         (WRAPPER_NAME): Likewise.
5213         (WRAPPER_DECL): Likewise.
5214         (WRAPPER_DECL_ff): Likewise.
5215         (WRAPPER_DECL_fFF): Likewise.
5216         (VECTOR_WRAPPER): Likewise.
5217         (VECTOR_WRAPPER_ff): Likewise.
5218         (VECTOR_WRAPPER_fFF): Likewise.
5219         (VEC_LEN): New macro.
5220         * math/test-float-vlen4.h: Include test-float.h,
5221         test-math-no-inline.h and test-math-vector.h.
5222         (FLOAT): Remove macro.
5223         (FUNC): Likewise.
5224         (MATHCONST): Likewise.
5225         (PRINTF_EXPR): Likewise.
5226         (PRINTF_XEXPR): Likewise.
5227         (PRINTF_NEXPR): Likewise.
5228         (TEST_FLOAT): Likewise.
5229         (TEST_MATHVEC): Likewise.
5230         (__NO_MATH_INLINES): Likewise.
5231         (CNCT): Likewise.
5232         (CONCAT): Likewise.
5233         (WRAPPER_NAME): Likewise.
5234         (WRAPPER_DECL): Likewise.
5235         (WRAPPER_DECL_ff): Likewise.
5236         (WRAPPER_DECL_fFF): Likewise.
5237         (VECTOR_WRAPPER): Likewise.
5238         (VECTOR_WRAPPER_ff): Likewise.
5239         (VECTOR_WRAPPER_fFF): Likewise.
5240         (VEC_LEN): New macro.
5241         * math/test-float-vlen8.h: Include test-float.h,
5242         test-math-no-inline.h and test-math-vector.h.
5243         (FLOAT): Remove macro.
5244         (FUNC): Likewise.
5245         (MATHCONST): Likewise.
5246         (PRINTF_EXPR): Likewise.
5247         (PRINTF_XEXPR): Likewise.
5248         (PRINTF_NEXPR): Likewise.
5249         (TEST_FLOAT): Likewise.
5250         (TEST_MATHVEC): Likewise.
5251         (__NO_MATH_INLINES): Likewise.
5252         (CNCT): Likewise.
5253         (CONCAT): Likewise.
5254         (WRAPPER_NAME): Likewise.
5255         (WRAPPER_DECL): Likewise.
5256         (WRAPPER_DECL_ff): Likewise.
5257         (WRAPPER_DECL_fFF): Likewise.
5258         (VECTOR_WRAPPER): Likewise.
5259         (VECTOR_WRAPPER_ff): Likewise.
5260         (VECTOR_WRAPPER_fFF): Likewise.
5261         (VEC_LEN): New macro.
5262         * math/test-float-vlen16.h: Include test-float.h,
5263         test-math-no-inline.h and test-math-vector.h.
5264         (FLOAT): Remove macro.
5265         (FUNC): Likewise.
5266         (MATHCONST): Likewise.
5267         (PRINTF_EXPR): Likewise.
5268         (PRINTF_XEXPR): Likewise.
5269         (PRINTF_NEXPR): Likewise.
5270         (TEST_FLOAT): Likewise.
5271         (TEST_MATHVEC): Likewise.
5272         (__NO_MATH_INLINES): Likewise.
5273         (CNCT): Likewise.
5274         (CONCAT): Likewise.
5275         (WRAPPER_NAME): Likewise.
5276         (WRAPPER_DECL): Likewise.
5277         (WRAPPER_DECL_ff): Likewise.
5278         (WRAPPER_DECL_fFF): Likewise.
5279         (VECTOR_WRAPPER): Likewise.
5280         (VECTOR_WRAPPER_ff): Likewise.
5281         (VECTOR_WRAPPER_fFF): Likewise.
5282         (VEC_LEN): New macro.
5283         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
5284         test-vec-loop.h.
5285         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
5286         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
5287         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
5288         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
5289         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
5290         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
5291         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
5293 2015-06-24  Roland McGrath  <roland@hack.frob.com>
5295         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
5296         (__getlogin_r): ... this.
5298 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
5300         [BZ #18594]
5301         * math/s_ccosh.c (__ccosh): Compare with least normal value
5302         instead of comparing class with FP_SUBNORMAL.
5303         * math/s_ccoshf.c (__ccoshf): Likewise.
5304         * math/s_ccoshl.c (__ccoshl): Likewise.
5305         * math/s_cexp.c (__cexp): Likewise.
5306         * math/s_cexpf.c (__cexpf): Likewise.
5307         * math/s_cexpl.c (__cexpl): Likewise.
5308         * math/s_csin.c (__csin): Likewise.
5309         * math/s_csinf.c (__csinf): Likewise.
5310         * math/s_csinh.c (__csinh): Likewise.
5311         * math/s_csinhf.c (__csinhf): Likewise.
5312         * math/s_csinhl.c (__csinhl): Likewise.
5313         * math/s_csinl.c (__csinl): Likewise.
5314         * math/s_ctan.c (__ctan): Likewise.
5315         * math/s_ctanf.c (__ctanf): Likewise.
5316         * math/s_ctanh.c (__ctanh): Likewise.
5317         * math/s_ctanhf.c (__ctanhf): Likewise.
5318         * math/s_ctanhl.c (__ctanhl): Likewise.
5319         * math/s_ctanl.c (__ctanl): Likewise.
5320         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
5321         csin, csinh, ctan and ctanh.
5322         * math/auto-libm-test-out: Regenerated.
5323         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
5324         * sysdeps/i386/fpu/libm-test-ulps: Update.
5325         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5327 2015-06-24  Roland McGrath  <roland@hack.frob.com>
5329         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
5330         return value is wrong, print the expected value too.
5332 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
5334         [BZ #18585]
5335         * elf/readlib.c (is_gdb_python_file): New.
5336         (process_file): Don't issue errors on filenames with -gdb.py
5337         suffix.
5339 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
5341         * math/auto-libm-test-in: Add more tests of csin and csinh.
5342         * math/auto-libm-test-out: Regenerated.
5343         * math/libm-test.inc (csin_test_data): Remove tests moved to
5344         auto-libm-test-in.
5345         (csinh_test_data): Likewise.
5347         [BZ #18593]
5348         * math/s_csin.c (__csin): Negate before rather than after possibly
5349         overflowing multiplication.
5350         * math/s_csinf.c (__csinf): Likewise.
5351         * math/s_csinh.c (__csinh): Likewise.
5352         * math/s_csinhf.c (__csinhf): Likewise.
5353         * math/s_csinhl.c (__csinhl): Likewise.
5354         * math/s_csinl.c (__csinl): Likewise.
5355         * math/auto-libm-test-in: Add some tests of csin and csinh.
5356         * math/auto-libm-test-out: Regenerated.
5357         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
5358         (csinh_test_data): Likewise.
5359         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5361         [BZ #18586]
5362         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
5363         underflow exception for small results.
5365 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
5367         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
5368         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
5369         variable and included header.
5370         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
5371         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
5372         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
5373         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
5374         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
5375         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
5376         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
5377         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
5378         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
5379         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
5380         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
5381         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
5382         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
5383         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
5384         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
5385         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
5387 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
5389         [BZ #16526]
5390         [BZ #16538]
5391         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
5392         (__sin): Force underflow exception for arguments with small
5393         absolute value.
5394         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
5395         (__kernel_sinf): Force underflow exception for arguments with
5396         small absolute value.
5397         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
5398         (__kernel_sincosl): Force underflow exception for arguments with
5399         small absolute value.
5400         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
5401         (__kernel_sinl): Force underflow exception for arguments with
5402         small absolute value.
5403         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
5404         (__kernel_sincosl): Force underflow exception for arguments with
5405         small absolute value.
5406         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
5407         (__kernel_sinl): Force underflow exception for arguments with
5408         small absolute value.
5409         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
5410         (__kernel_sinl): Force underflow exception for arguments with
5411         small absolute value.
5412         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
5413         (__kernel_sinf): Force underflow exception for arguments with
5414         small absolute value.
5415         * math/auto-libm-test-in: Add more tests of sin and sincos.
5416         * math/auto-libm-test-out: Regenerated.
5418         [BZ #18245]
5419         [BZ #18583]
5420         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
5421         (__kernel_standard_l): Use feholdexcept and fesetenv around
5422         conversion to double instead of special-casing overflow and
5423         underflow.
5424         * math/libm-test.inc (fmod_test_data): Add more tests.
5425         (remainder_test_data): Likewise.
5426         (sqrt_test_data): Likewise.
5428 2015-06-23  Torvald Riegel  <triegel@redhat.com>
5430         [BZ #17403]
5431         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
5432         atomic_read_barrier, atomic_write_barrier): Define.
5433         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
5434         atomic_read_barrier, atomic_write_barrier): Define.
5436 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
5438         * math/Makefile [$(PERL) != no]
5439         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
5440         dependency on libm-test.stmp below the inclusion of Rules.
5442 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
5444         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
5445         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
5446         and included header.
5447         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
5448         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
5449         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
5450         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
5451         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
5452         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
5453         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
5454         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
5455         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
5456         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
5457         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
5458         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
5459         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
5460         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
5461         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
5462         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
5463         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
5464         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
5465         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
5467 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
5469         [BZ #18371]
5470         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
5471         intermediate but not final result might underflow.
5472         * math/s_csqrtf.c (__csqrtf): Likewise.
5473         * math/s_csqrtl.c (__csqrtl): Likewise.
5474         * math/auto-libm-test-in: Add more tests of csqrt.
5475         * math/auto-libm-test-out: Regenerated.
5476         * sysdeps/i386/fpu/libm-test-ulps: Update.
5478         [BZ #18219]
5479         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
5480         threshold on absolute value of exponent for which scaling is used.
5481         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
5482         * math/auto-libm-test-in: Add more tests of exp2.
5483         * math/auto-libm-test-out: Regenerated.
5485 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
5487         [BZ #17977]
5488         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
5489         when initializing interface list, based on the bug analysis
5490         and the patch proposed by Eric Newton.
5491         * resolv/tst-res_hconf_reorder.c: New test.
5492         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
5493         tst-res_hconf_reorder.
5494         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
5495         and $(shared-thread-library).
5496         (tst-res_hconf_reorder-ENV): New variable.
5498         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
5499         in comment.
5501 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
5503         [BZ #16353]
5504         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
5505         (__expm1): Force underflow exception for arguments with small
5506         absolute value.
5507         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
5508         (__expm1f): Force underflow exception for arguments with small
5509         absolute value.
5510         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
5511         (__expm1): Force underflow exception for arguments with small
5512         absolute value.
5513         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
5514         (__expm1f): Force underflow exception for arguments with small
5515         absolute value.
5516         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
5517         Check for small arguments before calling __expm1.
5518         * math/auto-libm-test-in: Do not mark underflow exceptions as
5519         possibly missing for bug 16353.
5520         * math/auto-libm-test-out: Regenerated.
5522 2015-06-22  Andreas Schwab  <schwab@suse.de>
5524         [BZ #18513]
5525         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
5526         PTR queries.
5528 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
5530         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
5532         * string/strcoll_l.c: Remove unused struct element idxnow.
5534 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
5536         [BZ #18569]
5537         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
5538         underflow and return argument in case of subnormal argument.
5539         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
5540         Likewise.
5541         * math/auto-libm-test-in: Add more tests of expm1.
5542         * math/auto-libm-test-out: Regenerated.
5544         [BZ #16361]
5545         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
5546         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
5547         tiny results.
5548         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
5549         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
5550         tiny results.
5551         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
5552         mark underflow exceptions as possibly missing for bug 16361.
5553         * math/auto-libm-test-out: Regenerated.
5555 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
5557         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
5558         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
5559         Remove variable.
5560         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
5561         (test-xfail-XOPEN2K8/utmpx.h/conform).
5563         * conform/conformtest.pl ($xerrors): New variable.
5564         (note_error): New function.
5565         (compiletest): New argument $xfail.  Use not_error.
5566         (runtest): Likewise.
5567         (top level): Handle xfail- lines.  Update calls to compiletest and
5568         runtest.  Handle xfail- and optional- in headers listed with
5569         allow-header.
5570         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
5571         (O_EXEC): Likewise.
5572         (O_SEARCH): Likewise.
5573         * conform/data/stropts.h-data (ioctl): Likewise.
5574         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
5575         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
5576         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
5577         (msghdr.msg_controllen): Likewise.
5578         (cmsghdr.cmsg_len): Likewise.
5579         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
5580         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
5581         variable.
5582         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
5583         (test-xfail-XPG4/stropts.h/conform): Likewise.
5584         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
5585         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
5586         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
5587         (test-xfail-UNIX98/stropts.h/conform): Likewise.
5588         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
5589         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
5590         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
5591         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
5592         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
5593         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
5594         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
5595         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
5596         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
5597         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
5598         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
5599         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
5600         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
5601         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
5602         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
5604 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
5606         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
5607         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
5608         definitions for proper unfolding of __MATHDECL_VEC.
5610 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
5612         * benchtests/bench-strcoll.c:
5613         Include string.h.
5614         (main): Remove unused variable res.
5616 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
5618         * timezone/Makefile (%/UTC %/Universal):
5619         Generate test-result files for UTC and Universal.
5621 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
5623         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
5625 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
5627         [BZ #16350]
5628         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
5629         for arguments with small absolute value.
5630         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
5631         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
5632         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
5633         (__asinh): Force underflow exception for arguments with small
5634         absolute value.
5635         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
5636         (__asinhf): Force underflow exception for arguments with small
5637         absolute value.
5638         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
5639         (__asinhl): Force underflow exception for arguments with small
5640         absolute value.
5641         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
5642         (__asinhl): Force underflow exception for arguments with small
5643         absolute value.
5644         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
5645         (__asinhl): Force underflow exception for arguments with small
5646         absolute value.
5647         * math/auto-libm-test-in: Do not mark underflow exceptions as
5648         possibly missing for bug 16350.
5649         * math/auto-libm-test-out: Regenerated.
5651         * include/bits/ipc.h: Remove file.
5652         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
5653         variable.
5654         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
5655         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
5656         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
5657         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
5658         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
5659         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
5660         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
5661         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
5662         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
5664         * math/auto-libm-test-in: Remove spurious underflow allowance for
5665         tests of cexp.
5666         * math/auto-libm-test-out: Regenerated.
5668         [BZ #18558]
5669         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
5670         unconditional definition.
5671         (MCAST_BLOCK_SOURCE): Likewise.
5672         (MCAST_UNBLOCK_SOURCE): Likewise.
5673         (MCAST_LEAVE_GROUP): Likewise.
5674         (MCAST_JOIN_SOURCE_GROUP): Likewise.
5675         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
5676         (MCAST_MSFILTER): Likewise.
5677         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
5678         Remove variable.
5679         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
5680         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
5681         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
5682         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
5683         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
5685 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
5687         * NEWS: Mention addition of x86_64 vector sincosf.
5688         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
5689         * math/test-float-vlen4.h: Likewise.
5690         * math/test-float-vlen8.h: Likewise.
5691         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
5692         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
5693         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5694         * sysdeps/x86_64/fpu/Versions: New versions added.
5695         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5696         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
5697         Added build of SSE, AVX2 and AVX512 IFUNC versions.
5698         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
5699         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
5700         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
5701         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
5702         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
5703         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
5704         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
5705         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
5706         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
5707         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
5708         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
5709         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
5710         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
5711         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
5712         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
5713         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
5714         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
5715         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
5716         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
5717         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
5718         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
5720         * NEWS: Mention addition of x86_64 vector sincos.
5721         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
5722         * math/math.h (__MATHDECL_VEC): New macro.
5723         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
5724         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
5725         declaration under condition.
5726         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
5727         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
5728         TEST_VEC_LOOP change.
5729         * math/test-double-vlen4.h: Likewise.
5730         * math/test-double-vlen8.h: Likewise.
5731         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
5732         * math/test-float-vlen4.h: Likewise.
5733         * math/test-float-vlen8.h: Likewise.
5734         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
5735         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
5736         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5737         * sysdeps/x86_64/fpu/Versions: New versions added.
5738         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5739         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
5740         Added build of SSE, AVX2 and AVX512 IFUNC versions.
5741         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
5742         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
5743         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
5744         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
5745         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
5746         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
5747         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
5748         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
5749         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
5750         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
5751         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
5752         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
5753         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
5754         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
5755         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
5756         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
5757         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
5758         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
5759         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
5760         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
5761         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
5763         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
5764         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
5765         redirections for powf.
5766         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5767         * sysdeps/x86_64/fpu/Versions: New versions added.
5768         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5769         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
5770         Added build of SSE, AVX2 and AVX512 IFUNC versions.
5771         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
5772         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
5773         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
5774         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
5775         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
5776         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
5777         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
5778         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
5779         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
5780         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
5781         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
5782         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
5783         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
5784         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
5785         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
5786         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
5787         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
5788         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
5789         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
5790         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
5791         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
5792         * math/test-float-vlen16.h: Fixed 2 argument macro.
5793         * math/test-float-vlen4.h: Likewise.
5794         * math/test-float-vlen8.h: Likewise.
5795         * NEWS: Mention addition of x86_64 vector powf.
5797 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
5799         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5800         and redefine.
5801         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5802         and redefine.
5803         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
5804         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
5805         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
5807         [BZ #18553]
5808         * resource/getpriority.c (getpriority): Rename to __getpriority
5809         and define as weak alias of __getpriority.
5810         * resource/setpriority.c (setpriority): Rename to __setpriority
5811         and define as weak alias of __setpriority.
5812         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
5813         __getpriority and define as weak alias of __getpriority.
5814         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
5815         __setpriority and define as weak alias of __setpriority.
5816         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
5817         strong name.
5818         (setpriority): Use __setpriority as strong name.
5819         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
5820         __getpriority and define as weak alias of __getpriority.
5821         * include/sys/resource.h (__getpriority): Declare.  Use
5822         libc_hidden_proto.
5823         (__setpriority): Likewise.
5824         (getpriority): Don't use libc_hidden_proto.
5825         (setpriority): Likewise.
5826         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
5827         getpriority.  Call __setpriority instead of setpriority.
5828         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
5829         Remove variable.
5831         [BZ #18547]
5832         * misc/getttyent.c (getttynam): Rename to __getttynam and define
5833         as weak alias of __getttynam.  Use prototype function definition.
5834         Call __setttyent, __getttyent and __endttyent instead of
5835         setttyent, getttyent and endttyent.
5836         (getttyent): Rename to __getttyent and define as weak alias of
5837         __getttyent.  Call __setttyent instead of setttyent.  Call
5838         __fgets_unlocked instead of fgets_unlocked.
5839         (setttyent): Rename to __setttyent and define as weak alias of
5840         __setttyent.
5841         (endttyent): Rename to __endttyent and define as weak alias of
5842         __endttyent.
5843         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
5844         (__setttyent): Likewise.
5845         (__endttyent): Likewise.
5846         (getttyent): Don't use libc_hidden_proto.
5847         (setttyent): Likewise.
5848         (endttyent): Likewise.
5849         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
5850         __endttyent instead of setttyent, getttyent and endttyent.
5851         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
5852         Remove variable.
5854         [BZ #18546]
5855         * socket/recv.c (__recv): Use libc_hidden_def.
5856         * socket/socket.c (__socket): Likewise.
5857         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
5858         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
5859         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
5860         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
5861         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
5862         libc_hidden_def.
5863         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
5864         libc_hidden_weak.
5865         * include/sys/socket.h (__socket): Do not use attribute_hidden.
5866         Use libc_hidden_proto.
5867         (__recv): Likewise.
5868         * socket/Versions (libc): Export __recv and __socket at version
5869         GLIBC_PRIVATE.
5870         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
5871         instead of recv.
5872         (init_mq_netlink): Call __socket instead of socket.
5873         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
5874         Remove variable.
5876         [BZ #18545]
5877         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
5878         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
5879         hidden_weak.
5880         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
5881         define as alias of __mq_timedsend.  Use hidden_weak.
5882         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
5883         __mq_timedsend as strong name.
5884         (mq_timedreceive): Use __mq_timedreceive as strong name.
5885         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
5886         (__mq_timedreceive): Likewise.
5887         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
5888         __mq_timedreceive instead of mq_timedreceive.
5889         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
5890         instead of mq_timedsend.
5891         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
5892         Remove variable.
5894         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
5895         hidden_def and hidden_weak instead of libc_hidden_def and
5896         libc_hidden_weak.
5897         (top level): Refer to hidden_def in comment.
5898         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
5899         macro.  Use it instead of libc_hidden_def.
5900         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
5901         specify __GI_* name explicitly.
5902         (mq_timedreceive): Likewise.
5903         (mq_setattr): Likewise.
5905         [BZ #18544]
5906         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
5907         __pthread_barrier_init and define as weak alias of
5908         __pthread_barrier_init.
5909         * sysdeps/sparc/nptl/pthread_barrier_init.c
5910         (pthread_barrier_init): Likewise.
5911         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
5912         __pthread_barrier_wait and define as weak alias of
5913         __pthread_barrier_wait.
5914         * sysdeps/sparc/nptl/pthread_barrier_wait.c
5915         (pthread_barrier_wait): Likewise.
5916         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
5917         (pthread_barrier_wait): Likewise.
5918         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
5919         (pthread_barrier_wait): Likewise.
5920         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
5921         (pthread_barrier_wait): Likewise.
5922         * nptl/Versions (libpthread): Export __pthread_barrier_init and
5923         __pthread_barrier_wait at version GLIBC_PRIVATE.
5924         * include/pthread.h (__pthread_barrier_init): Declare.
5925         (__pthread_barrier_wait): Likewise.
5926         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
5927         Call __pthread_barrier_wait instead of pthread_barrier_wait.
5928         (helper_thread): Likewise.
5929         (init_mq_netlink): Call __pthread_barrier_init instead of
5930         pthread_barrier_init.
5932         [BZ #18542]
5933         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
5934         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
5935         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
5936         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
5937         vswscanf.
5938         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
5939         Remove variable.
5941         [BZ #18540]
5942         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
5943         strong alias of _IO_fflush.  Use libc_hidden_def.
5944         * libio/iofflush_u.c (fflush_unlocked): Rename to
5945         __fflush_unlocked and define as weak alias of __fflush_unlocked.
5946         Use libc_hidden_weak.
5947         * include/stdio.h (__fflush_unlocked): Declare.  Use
5948         libc_hidden_proto.
5949         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
5950         fflush_unlocked.
5951         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
5952         Remove variable.
5954         [BZ #18539]
5955         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
5956         define as weak alias of __addseverity.
5957         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
5958         Remove variable.
5959         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
5960         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
5961         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
5963         [BZ #18536]
5964         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
5965         (__tfind): Likewise.
5966         (__tdelete): Likewise.
5967         (__twalk): Likewise.
5968         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
5969         __twalk to GLIBC_PRIVATE.
5970         * include/search.h (__tsearch): Use libc_hidden_proto.
5971         (__tfind): Likewise.
5972         (__tdelete): Likewise.
5973         (__twalk): Likewise.
5974         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
5975         Call __tdelete instead of tdelete.
5976         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
5977         tfind.  Call __tsearch instead of tsearch.
5978         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
5979         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
5980         Remove variable.
5981         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
5983         [BZ #18534]
5984         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
5985         (dprintf): Define as a weak alias of __dprintf, not a strong
5986         alias.
5987         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
5988         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
5989         dprintf.
5990         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
5991         Remove variable.
5992         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
5993         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
5995         [BZ #18533]
5996         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
5997         not a strong alias.
5998         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
5999         Remove variable.
6001         [BZ #18532]
6002         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
6003         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
6004         (in6addr_loopback): Rename to __in6addr_loopback and define as
6005         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
6006         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
6007         libc_hidden_proto.
6008         (__in6addr_any): Likewise.
6009         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
6010         in6addr_any.
6011         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
6012         variable.
6013         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
6015 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
6017         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
6018         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
6019         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
6020         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
6021         redirections for pow.
6022         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
6023         * sysdeps/x86_64/fpu/Versions: New versions added.
6024         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
6025         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
6026         build of SSE, AVX2 and AVX512 IFUNC versions.
6027         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
6028         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
6029         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
6030         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
6031         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
6032         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
6033         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
6034         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
6035         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
6036         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
6037         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
6038         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
6039         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
6040         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
6041         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
6042         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
6043         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
6044         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
6045         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
6046         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
6047         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
6048         * NEWS: Mention addition of x86_64 vector pow.
6050         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
6051         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
6052         redirections for expf.
6053         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
6054         * sysdeps/x86_64/fpu/Versions: New versions added.
6055         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
6056         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
6057         build of SSE, AVX2 and AVX512 IFUNC versions.
6058         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
6059         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
6060         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
6061         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
6062         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
6063         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
6064         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
6065         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
6066         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
6067         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
6068         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
6069         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
6070         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
6071         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
6072         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
6073         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
6074         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
6075         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
6076         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
6077         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
6078         * NEWS: Mention addition of x86_64 vector expf.
6080         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
6081         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
6082         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
6083         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
6084         redirections for exp.
6085         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
6086         * sysdeps/x86_64/fpu/Versions: New versions added.
6087         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
6088         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
6089         build of SSE, AVX2 and AVX512 IFUNC versions.
6090         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
6091         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
6092         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
6093         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
6094         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
6095         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
6096         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
6097         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
6098         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
6099         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
6100         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
6101         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
6102         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
6103         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
6104         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
6105         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
6106         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
6107         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
6108         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
6109         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
6110         * NEWS: Mention addition of x86_64 vector exp.
6112         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
6113         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
6114         redirections for logf.
6115         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
6116         * sysdeps/x86_64/fpu/Versions: New versions added.
6117         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
6118         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
6119         build of SSE, AVX2 and AVX512 IFUNC versions.
6120         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
6121         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
6122         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
6123         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
6124         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
6125         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
6126         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
6127         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
6128         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
6129         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
6130         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
6131         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
6132         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
6133         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
6134         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
6135         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
6136         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
6137         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
6138         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
6139         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
6140         * NEWS: Mention addition of x86_64 vector logf.
6142         * bits/libm-simd-decl-stubs.h: Added stubs for log.
6143         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
6144         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
6145         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
6146         redirections for log.
6147         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
6148         * sysdeps/x86_64/fpu/Versions: New versions added.
6149         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
6150         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
6151         build of SSE, AVX2 and AVX512 IFUNC versions.
6152         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
6153         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
6154         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
6155         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
6156         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
6157         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
6158         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
6159         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
6160         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
6161         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
6162         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
6163         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
6164         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
6165         test.
6166         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
6167         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
6168         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
6169         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
6170         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
6171         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
6172         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
6173         * NEWS: Mention addition of x86_64 vector log.
6175 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6177         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
6178         cfi_adjust_cfa_offset argument.
6179         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
6180         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
6182         [BZ #18034]
6183         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
6184         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
6185         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
6186         ordering using ldar.
6187         (_dl_tlsdesc_dynamic): Likewise.
6188         (_dl_tlsdesc_return_lazy): Likewise.
6189         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
6190         relaxed atomics instead of volatile and synchronize with release store.
6191         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
6192         volatile.
6193         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
6195 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
6197         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
6198         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
6199         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
6200         * sysdeps/x86_64/fpu/Versions: New versions added.
6201         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
6202         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
6203         build of SSE, AVX2 and AVX512 IFUNC versions.
6204         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
6205         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
6206         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
6207         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
6208         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
6209         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
6210         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
6211         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
6212         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
6213         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
6214         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
6215         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
6216         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
6217         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
6218         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
6219         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
6220         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
6221         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
6222         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
6223         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
6224         * NEWS: Mention addition of x86_64 vector sinf.
6226 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
6228         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
6229         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
6230         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
6231         Remove variable.
6232         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
6233         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
6235 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
6237         [BZ #18530]
6238         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
6239         strong alias of _IO_fputs.  Use libc_hidden_def.
6240         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
6241         and define as weak alias of __fputs_unlocked.  Use
6242         libc_hidden_weak.
6243         * include/stdio.h (__fputs_unlocked): Declare.  Use
6244         libc_hidden_proto.
6245         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
6246         fputs_unlocked.
6248         [BZ #18529]
6249         * resolv/netdb.h [__USE_POSIX]: Change condition to
6250         [__USE_XOPEN2K].
6251         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
6252         not expect.
6253         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
6254         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
6255         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
6256         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
6257         [XPG4 || UNIX98] (AI_ALL): Likewise.
6258         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
6259         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
6260         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
6261         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
6262         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
6263         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
6264         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
6265         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
6266         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
6267         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
6268         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
6269         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
6270         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
6271         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
6272         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
6273         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
6274         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
6275         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
6276         [XPG4 || UNIX98] (gai_strerror): Likewise.
6277         [XPG4 || UNIX98] (getaddrinfo): Likewise.
6278         [XPG4 || UNIX98] (getnameinfo): Likewise.
6280         [BZ #18528]
6281         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
6282         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
6283         __USE_XOPEN2K8].
6284         (getgrent): Likewise.
6285         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
6286         expect.
6287         [XPG3 || POSIX2008] (endgrent): Likewise.
6288         [XPG3] (setgrent): Likewise.
6289         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
6290         variable.
6291         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
6293         [BZ #18527]
6294         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
6295         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
6296         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
6297         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
6298         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
6299         * include/unistd.h (__getlogin_r): Declare.  Use
6300         libc_hidden_proto.
6301         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
6302         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
6303         variable.
6304         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
6305         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
6306         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
6308 2015-06-12  Martin Sebor  <msebor@redhat.com>
6310         [BZ #18512]
6311         * Makerules (check-install-supported): New target.
6312         (install): Add check-install-supported as a dependency.
6313         * manual/install.texi (Installing the C Library): Document
6314         that overriding prefix and exec_prefix is not supported.
6315         Mention DESTDIR.
6316         * INSTALL: Regenerate from the above.
6318 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
6320         [BZ #18519]
6321         * posix/Versions (libc): Export __libc_pread at version
6322         GLIBC_PRIVATE.
6323         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
6324         instead of pread.
6325         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
6326         variable.
6328         [BZ #18522]
6329         * misc/efgcvt_r.c
6330         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
6331         (cvt_symbol): Use weak_alias instead of strong_alias.
6332         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
6333         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
6334         Remove variable.
6335         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
6336         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
6338         [BZ #18520]
6339         * inet/herrno.c (h_errno): Rename to __h_errno.
6340         (__libc_h_errno): Define as alias of __h_errno not h_errno.
6341         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
6342         to __h_errno instead of h_errno.
6343         * nptl/herrno.c (h_errno): Rename to __h_errno.
6344         (__h_errno_location): Refer to __h_errno not h_errno.
6345         * resolv/Versions (h_errno): Rename to __h_errno.
6346         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
6347         Remove variable.
6348         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
6350 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
6352         * configure.ac: More strict check for AVX512 assembler support.
6353         * configure: Regenerated.
6355         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
6356         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
6357         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
6358         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
6359         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
6360         * sysdeps/x86_64/fpu/Versions: New versions added.
6361         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
6362         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
6363         Added build of SSE, AVX2 and AVX512 IFUNC versions.
6364         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
6365         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
6366         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
6367         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
6368         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
6369         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
6370         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
6371         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
6372         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
6373         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
6374         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
6375         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
6376         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
6377         test.
6378         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
6379         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
6380         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
6381         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
6382         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
6383         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
6384         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
6385         * NEWS: Mention addition of x86_64 vector sin.
6387 2015-06-11  Florian Weimer  <fweimer@redhat.com>
6389         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
6390         comment.
6392 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
6394         [BZ #18479]
6395         * nptl/pt-interp.c: New file.
6396         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
6397         Add pt-interp.
6398         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
6399         $(common-objpfx)runtime-linker.h.
6401 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
6403         * Makeconfig (+interp): Remove unused variable.
6404         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
6405         only.  Depend on $(common-objpfx)runtime-linker.h instead of
6406         $(elf-objpfx)runtime-linker.h.
6407         ($(elf-objpfx)runtime-linker.h): Rename to
6408         $(common-objpfx)runtime-linker.h and move ...
6409         * Makerules [$(build-shared) = yes]: ... here.
6410         * elf/interp.c: Include <runtime-linker.h> instead of
6411         <elf/runtime-linker.h>.
6413 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6415         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
6416         (__gettimeofday_syscall): Remove vsyscall fallback.
6417         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
6418         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
6419         Add syscall fallback function.
6420         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
6421         if vDSO is not present.
6422         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
6423         fallback function.
6424         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
6425         present.
6426         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
6427         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
6429 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
6431         [BZ #18497]
6432         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
6433         of wcscmp.
6434         (wcscmp): Define as weak alias of WCSCMP.
6435         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
6436         wcscoll.
6437         (USE_HIDDEN_DEF): Define.
6438         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
6439         __wcscoll.  Don't use libc_hidden_weak.
6440         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
6441         wcscmp.
6442         * sysdeps/i386/i686/multiarch/wcscmp-c.c
6443         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
6444         __GI_wcscmp.
6445         (weak_alias): Undefine and redefine.
6446         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
6447         __wcscmp and define as weak alias of __wcscmp.
6448         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
6449         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
6450         (__wcscoll): Likewise.
6451         (wcscmp): Don't use libc_hidden_proto.
6452         (wcscoll): Likewise.
6453         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
6454         wcscoll.
6455         * posix/regexec.c (check_node_accept_bytes): Likewise.
6456         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
6457         variable.
6458         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
6459         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
6461         [BZ #18507]
6462         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
6463         __fstatvfs and define as weak alias of __fstatvfs.  Use
6464         libc_hidden_weak.
6465         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
6466         and define as weak alias of __statvfs.  Use libc_hidden_weak.
6467         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
6468         Define as alias of __fstatvfs, not fstatvfs.
6469         (fstatvfs64): Likewise.
6470         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
6471         Define as alias of __statvfs, not statvfs.
6472         (statvfs64): Likewise.
6473         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
6474         Remove variable.
6476 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6478         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6479         (HAVE_GETCPU_VSYSCALL): Define.
6480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
6481         (HAVE_GETCPU_VSYSCALL): Likewise.
6482         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
6483         * sysdeps/unix/sysv/linux/sched_getcpu.c
6484         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
6485         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
6486         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
6487         prototype.
6488         * sysdeps/unix/sysv/linux/x86_64/init-first.c
6489         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
6490         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
6491         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
6492         Define.
6493         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
6494         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
6495         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
6496         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
6498 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
6500         * sysdeps/x86_64/fpu/Makefile: New file.
6501         * sysdeps/x86_64/fpu/Versions: New file.
6502         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
6503         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
6504         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
6505         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
6506         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
6507         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
6508         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
6509         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
6510         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
6511         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
6512         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
6513         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
6514         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
6515         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
6516         Added build of SSE, AVX2 and AVX512 IFUNC versions.
6517         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
6518         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
6519         * sysdeps/x86_64/configure.ac: Options for libmvec build.
6520         * sysdeps/x86_64/configure: Regenerated.
6521         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
6522         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
6523         * manual/install.texi (Configuring and compiling): Document
6524         --disable-mathvec.
6525         * INSTALL: Regenerated.
6526         * NEWS: Mention addition of libmvec and x86_64 vector cos.
6528         * math/Makefile: Added rules for vector tests.
6529         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
6530         declaration under condition.
6531         * math/test-double-vlen2.h: New file.
6532         * math/test-double-vlen4.h: New file.
6533         * math/test-double-vlen8.h: New file.
6534         * math/test-vec-loop.h: Added initialization macro.
6535         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
6536         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
6537         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
6538         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
6539         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
6540         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
6541         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
6542         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
6543         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
6544         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
6545         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
6547         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
6548         * sysdeps/x86_64/fpu/Versions: New versions added.
6549         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
6550         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
6551         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
6552         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
6553         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
6554         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
6555         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
6556         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
6557         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
6558         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
6559         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
6560         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
6561         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
6562         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
6563         Added build of SSE, AVX2 and AVX512 IFUNC versions.
6564         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
6565         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
6566         * NEWS: Mention addition of x86_64 vector cosf.
6568         * math/Makefile: Added CFLAGS for new tests.
6569         * math/test-float-vlen16.h: New file.
6570         * math/test-float-vlen4.h: New file.
6571         * math/test-float-vlen8.h: New file.
6572         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
6573         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
6574         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
6575         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
6576         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
6577         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
6578         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
6579         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
6580         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
6581         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
6582         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
6584 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
6586         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
6587         * locale/programs/ld-ctype.c: Likewise.
6589 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
6591         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
6592         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
6593         bit_ZMM16_31_state): New macro.
6594         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6595         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
6597 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
6599         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
6601 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
6603         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
6605 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
6607         [BZ #18498]
6608         * libio/memstream.c (open_memstream): Rename to __open_memstream
6609         and define as weak alias of __open_memstream.
6610         * include/stdio.h (__open_memstream): Declare.  Use
6611         libc_hidden_proto.
6612         (open_memstream): Don't use libc_hidden_proto.
6613         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
6614         open_memstream.
6615         * posix/getopt.c (_getopt_internal_r): Likewise.
6616         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
6617         variable.
6618         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
6619         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
6620         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
6622         [BZ #18496]
6623         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
6624         instead of wcrtomb.
6626         [BZ #18483]
6627         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
6628         [__USE_XOPEN2K8].  Remove redundant #endif.
6629         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
6630         Remove redundant #if.
6631         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
6632         Remove variable.
6633         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
6634         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
6636         [BZ #18495]
6637         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
6638         (__iswlower): Likewise.
6639         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
6640         (__iswlower): Likewise.
6641         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
6642         instead of towlower.
6643         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
6644         instead of iswlower.  Call __towupper instead of towupper.
6645         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
6646         instead of iswalnum.
6648 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6650         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
6651         errors to stderr.
6653 2015-06-05  Florian Weimer  <fweimer@redhat.com>
6655         [BZ #15661]
6656         [BZ #17322]
6657         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
6658         Check for overflow properly.  Check for O_APPEND.  Ignore large
6659         file system block sizes.  Add comments about problems.
6660         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
6661         * manual/filesys.texi (Storage Allocation): New node.
6663 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6665         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
6666         cancellable syscalls.
6667         (SYS_ify): Add guard to no redefine it.
6668         (INLINE_SYSCALL): Likewise.
6669         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
6670         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
6671         SYSCALL_CANCEL instead.
6672         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
6673         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
6674         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
6675         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
6676         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
6677         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
6678         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
6679         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
6680         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
6681         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
6682         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
6683         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
6684         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
6685         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
6686         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
6687         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
6688         Likewise.
6689         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
6690         (__libc_pread64): Likewise.
6691         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
6692         (__libc_preadv): Likewise.
6693         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
6694         (__libc_readv64): Likewise.
6695         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
6696         (__libc_pwrite): Likewise.
6697         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
6698         (__libc_pwrite64): Likewise.
6699         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
6700         (__libc_pwritev): Likewise.
6701         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
6702         (__libc_pwritev64): Likewise.
6703         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
6704         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
6705         (sync_file_range): Likewise.
6706         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
6707         Likewise.
6708         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
6709         Likewise.
6710         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
6711         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
6712         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
6713         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
6714         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
6715         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
6716         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
6717         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
6718         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
6719         Likewise.
6720         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
6721         (__libc_read64): Likewise.
6722         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
6723         Likewise.
6724         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
6725         Likewise.
6726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
6727         Likewise.
6728         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
6729         Likewise.
6730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
6731         (__libc_pread64): Likewise.
6732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
6733         Likewise.
6734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
6735         (__libc_pwrite64): Likewise.
6736         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
6737         (sync_file_range): Likewise.
6738         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
6739         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
6740         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
6741         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
6742         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
6743         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
6744         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
6745         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
6746         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
6747         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
6748         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
6749         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
6750         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
6751         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
6752         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
6753         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
6754         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
6755         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
6756         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
6757         Likewise.
6758         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
6759         Likewise.
6760         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
6761         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
6762         Likewise.
6763         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
6764         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
6765         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
6766         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
6767         Likewise.
6768         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
6769         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
6770         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
6771         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
6772         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
6774 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
6776         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
6777         Include dl-vdso.
6778         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
6779         Use VDSO routines for gettimeofday, clock_gettime if
6780         available.
6781         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
6782         Declare VDSO symbols.
6783         * sysdeps/unix/sysv/linux/arm/sysdep.h:
6784         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
6785         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
6786         * sysdeps/unix/sysv/linux/arm/Versions: Add
6787         __vdso_clock_gettime.
6789 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6791         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
6792         be an inline implementation regardless of library is built within.
6793         (open_not_cancel_2): Likewise.
6794         (__read_nocancel): Likewise.
6795         (__write_nocancel): Likewise.
6796         (openat_not_cancel): Likewise.
6797         (openat_not_cancel_3): Likewise.
6798         (openat64_not_cancel): Likewise.
6799         (openat64_not_cancel_3): Likewise.
6800         (__close_nocancel): Likewise.
6801         (pause_not_cancel): Likewise.
6802         (nanosleep_not_cancel): Likewise.
6803         (sigsuspend_not_cancel): Likewise.
6805 2015-06-04  Torvald Riegel  <triegel@redhat.com>
6807         [BZ #14958]
6808         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
6809         wake-up.
6810         (__pthread_rwlock_rdlock_slow): Likewise.
6811         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
6812         Likewise.
6813         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
6814         Likewise.
6815         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
6816         * nptl/tst-rwlock16.c: New file.
6817         * nptl/Makefile (tests): Add new test.
6819 2015-06-04  Torvald Riegel  <triegel@redhat.com>
6821         [BZ #18324]
6822         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
6823         missing wake-up of readers.
6824         * nptl/tst-rwlock15.c: New file.
6825         * nptl/Makefile (tests): Add new test.
6827 2015-06-03  Roland McGrath  <roland@hack.frob.com>
6829         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
6830         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
6831         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
6832         and __nacl_supply_interface_rtld.
6833         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
6834         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
6835         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
6836         Add __nacl_supply_interface_rtld.
6837         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
6839 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
6841         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
6842         isfinite.
6843         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6844         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
6846 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
6848         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
6849         __signbit* with standard C99 macros.
6850         * math/e_exp10l.c: Likewise.
6851         * math/e_exp2l.c: Likewise.
6852         * math/e_scalb.c: Likewise.
6853         * math/e_scalbf.c: Likewise.
6854         * math/e_scalbl.c: Likewise.
6855         * math/s_ldexp.c: Likewise.
6856         * math/s_ldexpf.c: Likewise.
6857         * math/s_ldexpl.c: Likewise.
6858         * math/w_atan2.c: Likewise.
6859         * math/w_atan2f.c: Likewise.
6860         * math/w_atan2l.c: Likewise.
6861         * math/w_cosh.c: Likewise.
6862         * math/w_coshf.c: Likewise.
6863         * math/w_coshl.c: Likewise.
6864         * math/w_exp10.c: Likewise.
6865         * math/w_exp10f.c: Likewise.
6866         * math/w_exp10l.c: Likewise.
6867         * math/w_exp2.c: Likewise.
6868         * math/w_exp2f.c: Likewise.
6869         * math/w_exp2l.c: Likewise.
6870         * math/w_fmod.c: Likewise.
6871         * math/w_fmodf.c: Likewise.
6872         * math/w_fmodl.c: Likewise.
6873         * math/w_hypot.c: Likewise.
6874         * math/w_hypotf.c: Likewise.
6875         * math/w_hypotl.c: Likewise.
6876         * math/w_jnl.c: Likewise.
6877         * math/w_lgamma.c: Likewise.
6878         * math/w_lgamma_r.c: Likewise.
6879         * math/w_lgammaf.c: Likewise.
6880         * math/w_lgammaf_r.c: Likewise.
6881         * math/w_lgammal.c: Likewise.
6882         * math/w_lgammal_r.c: Likewise.
6883         * math/w_pow.c: Likewise.
6884         * math/w_powf.c: Likewise.
6885         * math/w_powl.c: Likewise.
6886         * math/w_remainder.c: Likewise.
6887         * math/w_remainderf.c: Likewise.
6888         * math/w_remainderl.c: Likewise.
6889         * math/w_scalb.c: Likewise.
6890         * math/w_scalbf.c: Likewise.
6891         * math/w_scalbl.c: Likewise.
6892         * math/w_scalbln.c: Likewise.
6893         * math/w_scalblnf.c: Likewise.
6894         * math/w_scalblnl.c: Likewise.
6895         * math/w_sinh.c: Likewise.
6896         * math/w_sinhf.c: Likewise.
6897         * math/w_sinhl.c: Likewise.
6898         * math/w_tgamma.c: Likewise.
6899         * math/w_tgammaf.c: Likewise.
6900         * math/w_tgammal.c: Likewise.
6901         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6902         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
6903         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6904         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6905         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6906         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6907         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
6908         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
6909         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6910         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6911         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
6912         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
6913         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6914         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6915         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6916         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6917         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6918         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
6919         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
6920         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6921         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6922         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
6923         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6924         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6925         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
6926         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
6927         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
6928         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
6929         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6930         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
6931         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
6932         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
6933         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
6934         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
6935         * stdio-common/printf_fp.c: Likewise.
6936         * stdio-common/printf_fphex.c: Likewise.
6937         * stdio-common/printf_size.c: Likewise.
6939 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
6941         [BZ #18470]
6942         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
6943         strnlen.
6944         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
6945         Remove variable.
6946         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
6947         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
6948         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
6949         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
6950         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
6951         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
6952         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
6953         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
6954         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
6955         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
6957         [BZ #18468]
6958         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
6959         weak alias of __wmemchr.  Use libc_hidden_weak.
6960         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
6961         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
6962         instead of wmemchr.
6964 2015-06-02  Roland McGrath  <roland@hack.frob.com>
6966         [BZ #18383]
6967         * elf/tst-tlsalign-extern.c: New file.
6968         * elf/tst-tlsalign-extern-static.c: New file.
6969         * elf/tst-tlsalign-vars.c: New file.
6970         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
6971         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
6972         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
6973         ($(objpfx)tst-tlsalign-extern-static): Likewise.
6974         (test-xfail-tst-tlsalign-extern-static): New variable.
6976 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
6978         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
6979         Use variable name _sc_err instead of err.
6980         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
6981         instead of ret.
6982         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
6983         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
6984         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
6985         (INLINE_SYSCALL): Likewise.
6987         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
6988         * include/string.h (__strnlen): Use libc_hidden_proto.
6989         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
6990         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
6991         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
6992         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
6993         (libc_hidden_def): Undefine and redefine.
6994         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
6995         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
6996         __GI_strnlen.
6997         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
6998         libc_hidden_def.
6999         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
7001         [BZ #18469]
7002         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
7003         weak alias of __towlower.  Use libc_hidden_weak.
7004         (towupper): Rename to __towupper and define as weak alias of
7005         __towupper.  Use libc_hidden_weak.
7006         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
7007         (__towupper): Likewise.
7008         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
7009         __towlower instead of towlower.
7011 2015-06-02  Roland McGrath  <roland@hack.frob.com>
7013         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
7014         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
7016 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7018         * sysdeps/aarch64/libm-test-ulps: Update.
7020 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7022         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
7023         Define.
7024         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
7025         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
7026         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
7027         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
7028         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
7029         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
7030         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
7032 2015-06-01  Martin Sebor  <msebor@redhat.com>
7034         [BZ #18116]
7035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
7036         (__setcontext): Use extended four-operand version of mtsf whenever
7037         possible.
7038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
7039         (__novec_swapcontext): Likewise.
7041 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
7043         * benchtests/scripts/compare_bench.py: New file.
7044         * benchtests/scripts/import_bench.py (mean): New function.
7045         (split_list): Likewise.
7046         (do_for_all_timings): Likewise.
7047         (compress_timings): Likewise.
7049         * benchtests/scripts/import_bench.py: New file.
7050         * benchtests/scripts/validate_benchout.py: Import import_bench
7051         instead of jsonschema.
7052         (validate_bench): Remove function.
7053         (main): Use import_bench.
7055 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
7057         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
7058         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
7060 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7062         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7064 2015-05-28  Roland McGrath  <roland@hack.frob.com>
7066         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
7067         set THREAD_SELF->tid to a magic value and futex-wake it.
7068         Pass its address to the thread_exit system call.
7069         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
7070         bit is clear.
7071         * sysdeps/nacl/lowlevellock.h: New file.
7072         * sysdeps/nacl/lll_timedwait_tid.c: New file.
7074         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
7075         Add TIMEOUT to current time, don't subtract it.
7077 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
7079         [BZ #2981]
7080         [BZ #18422]
7081         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
7082         ($(objpfx)tst-audit2.out): Also depend on
7083         $(objpfx)tst-auditmod9b.so.
7084         * elf/tst-audit2.c: Include <dlfcn.h>.
7085         (calloc_called): New.
7086         (calloc): Allow to be called more than once.
7087         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
7089 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
7091         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
7092         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
7094 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
7096         * stdlib/monetary.h: Fix comment.
7098 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
7100         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
7101         Avoid using variables in #defines that might cause shadowing.
7102         (INTERNAL_VSYSCALL_CALL): Likewise.
7104 2015-05-26  Roland McGrath  <roland@hack.frob.com>
7106         * sysdeps/nacl/lll_timedlock_wait.c: New file.
7108         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
7109         * nptl/lll_timedlock_wait.c: ... to this new file.
7110         * nptl/Makefile (libpthread-routines): Add it.
7111         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
7112         * nptl/lll_timedwait_tid.c: ... to this new file.
7113         * nptl/Makefile (libpthread-routines): Add it.
7114         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
7115         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
7116         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
7117         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
7118         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
7119         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
7120         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
7121         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
7122         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
7123         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
7125 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7127         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
7128         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
7129         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
7130         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
7131         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
7132         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
7133         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
7134         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
7135         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
7136         * sysdeps/unix/sysv/linux/tile/sysdep.h
7137         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
7138         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
7139         using vDSO syscall macro.
7141 2015-05-26  Andriy Rysin  <arysin@gmail.com>
7143         [BZ #17293]
7144         * uk_UA: Fix sorting order for Ukrainian locale
7146 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
7148         * stdlib/monetary.h: Fix comment.
7150 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7152         [BZ #18234]
7153         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
7154         st_mtim and st_ctim members.
7155         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
7156         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
7157         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
7158         (struct stat64): Likewise.
7159         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
7160         (struct stat64): Likewise.
7161         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
7162         (struct stat64): Likewise.
7164 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7166         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
7167         Define and include sysdep-vdso.h.
7168         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
7169         Likewise.
7170         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
7171         Likewise.
7172         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
7173         Define with VDSO_SYMBOL and use PTR_MANGLE.
7174         (__vdso_clock_gettime): Likewise.
7175         (__vdso_clock_getres): Likewise.
7176         (_libc_vdso_platform_setup): Likewise.
7177         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
7178         Likewise.
7179         (_libc_vdso_platform_setup): Likewise.
7180         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
7181         Likewise.
7182         (__vdso_clock_gettime): Likewise.
7183         (__vdso_clock_getres): Likewise.
7184         (__vdso_get_tbfreq): Likewise.
7185         (__vdso_getcpu): Likewise.
7186         (__vdso_time): Likewise.
7187         (__vdso_sigtramp_rt64): Likewise.
7188         (__vdso_signtramp32): Likewise.
7189         (__vdso_sigtramp_rt32): Likewise.
7190         (_libc_vdso_platform_setup): Likewise.
7191         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
7192         Likewise.
7193         (__vdso_clock_gettime): Likewise.
7194         (__vdso_clock_getres): Likewise.
7195         (_libc_vdso_platform_setup): Likewise.
7196         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
7197         Likewise.
7198         (__vdso_clock_gettime): Likewise.
7199         (_libc_vdso_platform_setup): Likewise.
7200         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
7201         Likewise.
7202         (__vdso_getcpu): Likewise.
7203         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
7204         Use VDSO_SYMBOL macro to define.
7205         (__vdso_clock_gettime): Likewise.
7206         (__vdso_clock_getres): Likewise.
7207         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
7208         Likewise.
7209         (__vdso_clock_gettime): Likewise.
7210         (__vdso_clock_getres): Likewise.
7211         (__vdso_get_tbfreq): Likewise.
7212         (__vdso_getcpu): Likewise.
7213         (__vdso_time): Likewise.
7214         (__vdso_sigtramp_rt64): Likewise.
7215         (__vdso_signtramp32): Likewise.
7216         (__vdso_sigtramp_rt32): Likewise.
7217         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
7218         Likewise.
7219         (__vdso_clock_gettime): Likewise.
7220         (__vdso_clock_getres): Likewise.
7221         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
7222         Likewise.
7223         (__vdso_clock_gettime): Likewise.
7224         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
7225         Likewise.
7226         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
7227         macro.
7228         (INTERNAL_VSYSCALL): Likewise.
7229         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
7230         Remove macro.
7231         (INTERNAL_VSYSCALL): Likewise.
7232         (INTERNAL_VSYSCALL_NCS): Likewise.
7233         (INTERNAL_VSYSCALL_CALL): New macro.
7234         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
7235         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
7236         Likewise.
7237         (INTERNAL_VSYSCALL): Likewise.
7238         (INTERNAL_VSYSCALL_NCS): Likewise.
7239         (INTERNAL_VSYSCALL_CALL): New macro.
7240         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
7241         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7242         (INLINE_VSYSCALL): Remove macro.
7243         (INTERNAL_VSYSCALL): Remove macro.
7244         (INTERNAL_VSYSCALL_NCS): Remove macro.
7245         (INTERNAL_VSYSCALL_CALL): New macro.
7246         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
7247         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
7248         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
7249         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
7250         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
7251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
7252         (INLINE_VSYSCALL): Remove macro.
7253         (INTERNAL_VSYSCALL): Likewise.
7254         (INTERNAL_VSYSCALL_NCS): Likewise.
7255         (INTERNAL_VSYSCALL_CALL): New macro.
7256         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
7257         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
7258         PTR_DEMANGLE on vDSO pointer.
7259         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
7260         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
7261         macro.
7262         (INTERNAL_SYSCALL): Likewise.
7263         (INTERNAL_VSYSCALL_NCS): Remove macro.
7264         (INTERNAL_VSYSCALL_CALL): New macro.
7265         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
7266         Remove macro.
7267         (INTERNAL_VSYSCALL): Likewise.
7268         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
7269         sysdep-vdso.h instead of libc-vdso.h.
7270         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
7271         definition.
7272         (INLINE_VSYSCALL): Likewise.
7273         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
7274         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
7275         definition.
7276         (INLINE_VSYSCALL): Likewise.
7277         (INTERNAL_VSYSCALL): Likewise.
7278         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
7279         * sysdeps/unix/sysv/linux/timespec_get.c
7280         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
7281         (timespec_get): Use ANSI prototype.
7282         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
7283         and definition for Linux.
7285 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
7287         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
7288         * include/libc-symbols.h: libmvec_hidden_* macro series added.
7290 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
7292         [BZ #2981]
7293         [BZ #18410]
7294         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
7295         for missing DT_PLTRELSZ.
7297 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
7299         Remove obsolete aliases that broke 'locale -a'
7300         [BZ #18412]
7301         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
7302         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
7303         breaking some applications that use 'locale -a' output.
7304         Change the encoding of this file from Latin-1 to ASCII to avoid
7305         other potential problems with people grepping this file.
7307 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7309         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
7310         -fasynchronous-unwind-tables.
7311         (CFLAGS-sendto.c): Likewise.
7312         (CFLAGS-sendmsg.c): Likewise.
7313         (CFLAGS-connect.c): Likewise.
7314         (CFLAGS-recvmsg.c): Likewise.
7315         (CFLAGS-recvfrom.c): Likewise.
7316         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
7317         (SOCKETCALL): New macro: non-cancellable socketcall.
7318         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
7319         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
7320         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
7321         * sysdeps/unix/sysv/linux/accept.c: New file.
7322         * sysdeps/unix/sysv/linux/bind.c: Likewise.
7323         * sysdeps/unix/sysv/linux/connect.c: Likewise.
7324         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
7325         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
7326         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
7327         * sysdeps/unix/sysv/linux/listen.c: Likewise.
7328         * sysdeps/unix/sysv/linux/recv.c: Likewise.
7329         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
7330         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
7331         * sysdeps/unix/sysv/linux/send.c: Likewise.
7332         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
7333         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
7334         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
7335         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
7336         * sysdeps/unix/sysv/linux/socket.c: Likewise.
7337         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
7338         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
7339         prototype.
7340         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
7341         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
7342         instead of __internal_xxx function.
7343         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
7344         prototype.
7345         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
7346         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
7347         instead of __internal_xxx function.
7348         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
7349         prototype.
7350         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
7351         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
7352         instead of __internal_xxx function.
7353         * sysdeps/unix/sysv/linux/accept.S: Remove file.
7354         * sysdeps/unix/sysv/linux/bind.S: Likewise.
7355         * sysdeps/unix/sysv/linux/connect.S: Likewise.
7356         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
7357         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
7358         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
7359         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
7360         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
7361         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
7362         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
7363         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
7364         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
7365         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
7366         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
7367         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
7368         * sysdeps/unix/sysv/linux/listen.S: Likewise.
7369         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
7370         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
7371         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
7372         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
7373         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
7374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
7375         * sysdeps/unix/sysv/linux/recv.S: Likewise.
7376         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
7377         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
7378         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
7379         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
7380         * sysdeps/unix/sysv/linux/send.S: Likewise.
7381         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
7382         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
7383         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
7384         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
7385         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
7386         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
7387         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
7388         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
7389         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
7390         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
7391         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
7392         socketcall is implemented in GLIBC.
7394 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
7396         * soft-fp/fmadf4.c: Include <libc-internal.h>.
7397         (__fma): Ignore uninitialized warnings around packing.
7398         * soft-fp/fmasf4.c: Include <libc-internal.h>.
7399         (__fmaf): Ignore uninitialized warnings around packing.
7400         * soft-fp/fmatf4.c: Include <libc-internal.h>.
7401         (__fmal): Ignore uninitialized warnings around packing.
7403         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
7404         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
7405         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
7406         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
7408         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
7409         switch statement into default case.
7410         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
7412         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
7413         a conditional in forcing "inexact".
7414         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
7415         Likewise.
7417 2015-05-22  Roland McGrath  <roland@hack.frob.com>
7419         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
7420         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
7421         for each INTERNAL_SYSCALL use.
7423 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
7425         [BZ #438]
7426         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
7427         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
7428         variable.
7430         [BZ #18444]
7431         * string/basename.c (basename): Rename to __basename and define as
7432         weak alias of __basename.  Use libc_hidden_weak.
7433         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
7434         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
7435         __basename instead of basename.
7436         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
7437         Remove variable.
7438         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
7440 2015-05-18  Florian Weimer  <fweimer@redhat.com>
7442         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
7443         (_IO_JUMPS_FILE_plus): New.
7444         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
7445         _IO_CAST_FIELD_ACCESS.
7446         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
7447         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
7448         * libio/freopen.c (freopen): Likewise.
7449         * libio/freopen64.c (freopen64): Likewise.
7450         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
7451         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
7452         * libio/iofwide.c (_IO_fwide): Likewise.
7453         * libio/memstream.c (open_memstream): Likewise.
7454         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
7455         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
7456         * libio/oldiopopen.c (_IO_old_popen): Likewise.
7458 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
7460         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
7461         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
7462         NADJ.
7463         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
7464         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
7465         NADJ.
7466         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
7467         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
7468         NADJ.
7470         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
7471         (p == 4) case.
7473         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
7474         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
7475         Remove variable.
7476         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
7477         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
7478         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
7480 2015-05-21  Florian Weimer  <fweimer@redhat.com>
7482         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
7483         Adjust jump table label generation macros.
7485 2015-05-21  Florian Weimer  <fweimer@redhat.com>
7487         * stdio-common/vfprintf.c (vfprintf): Move local variables
7488         args_malloced, specs, specs_malloced, and the code after
7489         do_positional to the printf_positional function.
7490         (printf_positional): New function.
7492 2015-05-21  Florian Weimer  <fweimer@redhat.com>
7494         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
7495         function.
7496         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
7497         STEP4_TABLE, process_arg): Move macro definitions
7498         out of the vfprintf function.  (Cosmetic change only.)
7500 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
7502         * benchtests/Makefile (stdio-common-bench): Define.
7503         (benchset): Add stdio-common-bench.
7504         * sprintf-inputs: New file.
7505         * sprintf-source.c: New file.
7507 2015-05-21  Andreas Schwab  <schwab@suse.de>
7509         [BZ #13028]
7510         [BZ #17053]
7511         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
7512         of struct __res_state.
7513         * resolv/res_send.c (__libc_res_nsend): Likewise.
7514         (get_nsaddr): New function.
7515         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
7516         statp directly.
7518 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
7520         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
7521         -D_POSIX_C_SOURCE=199506L.
7523         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
7525         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
7526         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
7527         Do not mention otherwise.
7528         [POSIX] (_XOPEN_VERSION): Do not expect.
7529         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
7530         [POSIX] (_POSIX2_C_BIND): Likewise.
7531         [POSIX] (_POSIX2_VERSION): Likewise.
7532         [POSIX] (_XOPEN_XPG2): Likewise.
7533         [POSIX] (_XOPEN_XPG3): Likewise.
7534         [POSIX] (_XOPEN_XPG4): Likewise.
7535         [POSIX] (_XOPEN_UNIX): Likewise.
7536         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
7537         [POSIX] (_POSIX_BARRIERS): Likewise.
7538         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
7539         [POSIX] (_POSIX_CPUTIME): Likewise.
7540         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
7541         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
7542         [POSIX] (_POSIX_SHELL): Likewise.
7543         [POSIX] (_POSIX_SPAWN): Likewise.
7544         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
7545         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
7546         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
7547         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
7548         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
7549         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
7550         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
7551         [POSIX] (_XBS5_LP64_OFF64): Likewise.
7552         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
7553         [POSIX] (_POSIX_TIMEOUTS): Likewise.
7554         [POSIX] (_POSIX2_PBS): Likewise.
7555         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
7556         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
7557         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
7558         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
7559         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
7560         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
7561         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
7562         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
7563         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
7564         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
7565         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
7566         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
7567         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
7568         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
7569         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
7570         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
7571         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
7572         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
7573         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
7574         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
7575         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
7576         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
7577         [POSIX] (_SC_2_C_BIND): Likewise.
7578         [POSIX] (_SC_2_C_VERSION): Likewise.
7579         [POSIX] (_SC_2_PBS): Likewise.
7580         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
7581         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
7582         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
7583         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
7584         [POSIX] (_SC_2_PBS_TRACK): Likewise.
7585         [POSIX] (_SC_ATEXIT_MAX): Likewise.
7586         [POSIX] (_SC_BARRIERS): Likewise.
7587         [POSIX] (_SC_BASE): Likewise.
7588         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
7589         [POSIX] (_SC_DEVICE_IO): Likewise.
7590         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
7591         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
7592         [POSIX] (_SC_FD_MGMT): Likewise.
7593         [POSIX] (_SC_FIFO): Likewise.
7594         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
7595         [POSIX] (_SC_FILE_LOCKING): Likewise.
7596         [POSIX] (_SC_FILE_SYSTEM): Likewise.
7597         [POSIX] (_SC_IOV_MAX): Likewise.
7598         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
7599         [POSIX] (_SC_NETWORKING): Likewise.
7600         [POSIX] (_SC_PAGE_SIZE): Likewise.
7601         [POSIX] (_SC_PASS_MAX): Likewise.
7602         [POSIX] (_SC_PIPE): Likewise.
7603         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
7604         [POSIX] (_SC_REGEXP): Likewise.
7605         [POSIX] (_SC_SHELL): Likewise.
7606         [POSIX] (_SC_SIGNALS): Likewise.
7607         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
7608         [POSIX] (_SC_SPIN_LOCKS): Likewise.
7609         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
7610         [POSIX] (_SC_USER_GROUPS): Likewise.
7611         [POSIX] (_SC_USER_GROUPS_R): Likewise.
7612         [POSIX] (_SC_STREAMS): Likewise.
7613         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
7614         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
7615         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
7616         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
7617         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
7618         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
7619         [POSIX] (_PC_FILESIZEBITS): Likewise.
7620         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
7621         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
7622         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
7623         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
7624         [POSIX] (uid_t): Likewise.
7625         [POSIX] (gid_t): Likewise.
7626         [POSIX] (off_t): Likewise.
7627         [POSIX] (pid_t): Likewise.
7628         [POSIX] (cuserid): Allow.
7629         (_SC_2_CHAR_TERM): Require constant.
7630         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
7631         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
7632         variable.
7634 2015-05-20  Roland McGrath  <roland@hack.frob.com>
7636         * sysdeps/nacl/pthread-pids.h: New file.
7637         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
7638         (create_thread): Use __nacl_get_tid to initialize PD->tid.
7640         * nptl/pthread-pids.h: New file.
7641         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
7642         * nptl/nptl-init.c: Include <pthread-pids.h>.
7643         (__pthread_initialize_minimal_internal):
7644         Call __pthread_initialize_pids instead of set_tid_address syscall.
7646         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
7647         * sysdeps/posix/usleep.c: ... here.
7649 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7651         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
7652         call_pselect6 object.
7653         [$(subdir) = io]: Remove call_sync_file_range object.
7654         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
7655         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
7656         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
7657         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
7659 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
7661         * math/s_cproj.c: Add include "math_private.h".
7662         * math/s_cprojf.c: Likewise.
7663         * math/s_cprojl.c: Likewise.
7665 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
7667         [BZ #18244]
7668         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
7669         high mantissa bit when testing whether P is a NaN.
7670         * math/libm-test.inc (remainder_test_data): Add more tests.
7671         (remquo_test_data): Likewise.
7673         [BZ #18049]
7674         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
7675         below -32, return the argument, with underflow if subnormal.
7676         * math/auto-libm-test-in: Add more tests of atanh.
7677         * math/auto-libm-test-out: Regenerated.
7679 2015-05-19  Roland McGrath  <roland@hack.frob.com>
7681         [BZ #18434]
7682         * nptl/tst-sem15.c: New file.
7683         * nptl/Makefile (tests): Add it.
7684         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
7685         s/<</>>/ to fix typo in EOVERFLOW check.
7686         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
7688 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
7690         * manual/strings.texi (envz_remove): Fix typo in safety
7691         annotations.
7693 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
7694             Steve Ellcey  <sellcey@imgtec.com>
7696         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
7697         in order to avoid strict alias warnings.
7698         (iruserok_af): Ditto for ra.
7700 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
7702         [BZ #17581]
7703         * malloc/hooks.c
7704         (magicbyte): Convert to a function and avoid returning 0x01.
7705         (mem2mem_check): Avoid using a length byte equal to the magic byte.
7706         (mem2chunk_check): Fix unsigned comparisons to zero.
7707         Hoist defs of sz and magic.
7709 2015-05-19  Richard Henderson  <rth@redhat.com>
7711         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
7713         * sysdeps/alpha/fpu/libm-test-ulps: Update.
7715 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
7717         [BZ #16159]
7718         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
7719         * malloc/arena.c (arena_lock): Check if arena is corrupt.
7720         (reused_arena): Find a non-corrupt arena.
7721         (heap_trim): Pass arena to unlink.
7722         * malloc/hooks.c (malloc_check_get_size): Pass arena to
7723         malloc_printerr.
7724         (top_check): Likewise.
7725         (free_check): Likewise.
7726         (realloc_check): Likewise.
7727         * malloc/malloc.c (malloc_printerr): Add arena argument.
7728         (unlink): Likewise.
7729         (munmap_chunk): Adjust.
7730         (ARENA_CORRUPTION_BIT): New macro.
7731         (arena_is_corrupt): Likewise.
7732         (set_arena_corrupt): Likewise.
7733         (sysmalloc): Use mmap if there are no usable arenas.
7734         (_int_malloc): Likewise.
7735         (__libc_malloc): Don't fail if arena_get returns NULL.
7736         (_mid_memalign): Likewise.
7737         (__libc_calloc): Likewise.
7738         (__libc_realloc): Adjust for additional argument to
7739         malloc_printerr.
7740         (_int_free): Likewise.
7741         (malloc_consolidate): Likewise.
7742         (_int_realloc): Likewise.
7743         (_int_memalign): Don't touch corrupt arenas.
7744         * malloc/tst-malloc-backtrace.c: New test case.
7746         * Makefile (summarize-tests): Fix return value on success.
7748         * manual/string.texi (Envz Functions): Add envz_remove.
7750 2015-05-18  Roland McGrath  <roland@hack.frob.com>
7752         * sysdeps/posix/opendir.c: Include <stdbool.h>.
7753         (invalid_name): New function, broken out of ...
7754         (__opendirat): ... here.  Call it.
7755         (need_isdir_precheck): New function, broken out of ...
7756         (__opendirat): ... here.  Call it.
7757         Use __fxstatat64, not __xstatat64.
7758         (opendir_oflags): New function, broken out of ...
7759         (__opendirat): ... here.  Call it.
7760         (opendir_tail): New function, broken out of ...
7761         (__opendirat): ... here.  Call it.
7762         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
7763         opendir_tail, rather than punting to __opendirat.
7764         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
7766 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
7768         * .gitignore: Ignore generated *.pyc.
7770 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
7772         * include/stdio.h: Define __need_wint_t.
7773         * test-skeleton.c: Avoid `for' loop initial declaration.
7774         * nptl/tst-initializers1.c: Use test-skeleton.c.
7776 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7778         [BZ #18418]
7779         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
7781 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
7783         [BZ #16352]
7784         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
7785         (__ieee754_atanh): Force underflow exception for results with
7786         small absolute value.
7787         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
7788         (__ieee754_atanhf): Force underflow exception for results with
7789         small absolute value.
7790         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
7791         (__ieee754_atanh): Force underflow exception for results with
7792         small absolute value.
7793         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
7794         (__ieee754_atanhf): Force underflow exception for results with
7795         small absolute value.
7796         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
7797         (__ieee754_atanhl): Force underflow exception for results with
7798         small absolute value.
7799         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
7800         (__ieee754_atanhl): Force underflow exception for results with
7801         small absolute value.
7802         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
7803         (__ieee754_atanhl): Force underflow exception for results with
7804         small absolute value.
7805         * math/auto-libm-test-in: Do not allow missing underflow
7806         exceptions from atanh.
7807         * math/auto-libm-test-out: Regenerated.
7809         [BZ #18221]
7810         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
7811         2**-28 as threshold for returning x or +/- 1/x.
7812         * math/auto-libm-test-in: Add more tests of tan.
7813         * math/auto-libm-test-out: Regenerated.
7815         [BZ #18220]
7816         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
7817         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
7818         * math/auto-libm-test-in: Add another test of lgamma.
7819         * math/auto-libm-test-out: Regenerated.
7821 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
7823         * stdio-common/printf_fp.c (___printf_fp): Use abs.
7824         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
7825         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
7826         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
7827         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
7828         (ADD2A): Use fabs.  (SUB2A): Use fabs.
7829         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
7830         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
7831         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
7832         (log1): Use fabs.  (my_log2): Use fabs.
7833         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
7834         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
7835         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
7836         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
7837         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
7838         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
7839         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
7840         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
7841         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
7842         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
7843         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
7845 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
7847         [BZ #18217]
7848         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
7849         as threshold for returning 1 - x.
7850         * math/auto-libm-test-in: Add more tests of erfc.
7851         * math/auto-libm-test-out: Regenerated.
7853 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
7855         [BZ #18196]
7856         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
7857         threshold for large arguments.
7858         * math/auto-libm-test-in: Add another test of atan.
7859         * math/auto-libm-test-out: Regenerated.
7861         [BZ #16339]
7862         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
7863         (__log1p): Force underflow exception for results with small
7864         absolute value.
7865         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
7866         (__log1pf): Force underflow exception for results with small
7867         absolute value.
7868         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
7869         (__log1p): Force underflow exception for results with small
7870         absolute value.
7871         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
7872         (__log1pf): Force underflow exception for results with small
7873         absolute value.
7874         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
7875         (__log1pl): Force underflow exception for results with small
7876         absolute value.
7877         * math/auto-libm-test-in: Do not allow missing underflow
7878         exceptions from log1p.
7879         * math/auto-libm-test-out: Regenerated.
7881 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
7882             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7884         [BZ #16704]
7885         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
7887 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
7889         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
7890         (libmvec): New variable.
7891         * configure.ac: Added option for mathvec build.
7892         * configure: Regenerated.
7893         * mathvec/Depend: New file.
7894         * mathvec/Makefile: New file.
7895         * shlib-versions: Added libmvec.
7896         * math/Makefile: Added rule for libm.so installation.
7898         * bits/math-vector.h: New file.
7899         * bits/libm-simd-decl-stubs.h: New header.
7900         * math/Makefile (headers): Added new header
7901         libm-simd-decl-stubs.h.
7902         * math/math.h (__MATHCALL_VEC): New macro.
7904         * math/gen-libm-have-vector-test.sh: Script generates series of macros
7905         for conditions in testing functions.
7906         * math/Makefile: Added call of libm-have-vector-test.sh.
7907         * math/libm-test.inc (HAVE_VECTOR): New macros.
7909         * math/libm-test.inc: START refactored.
7910         * math/test-double.c (TEST_MATHVEC): Add define.
7911         * math/test-float.c: Likewise.
7912         * math/test-idouble.c: Likewise.
7913         * math/test-ifloat.c: Likewise.
7914         * math/test-ildoubl.c: Likewise.
7915         * math/test-ldouble.c: Likewise.
7916         * sysdeps/generic/math-tests-arch.h
7917         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
7918         architecture check.
7920         * math/test-double.c (FUNC_TEST): New macro.
7921         * math/test-float.c: Likewise.
7922         * math/test-idouble.c: Likewise.
7923         * math/test-ifloat.c: Likewise.
7924         * math/test-ildoubl.c: Likewise.
7925         * math/test-ldouble.c: Likewise.
7926         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
7928 2015-05-13  Roland McGrath  <roland@hack.frob.com>
7930         * sysdeps/nacl/fdopendir.c: New file.
7932         * dirent/scandir-tail.c: New file.
7933         * dirent/scandir64-tail.c: New file.
7934         * dirent/Makefile (routines): Add them.
7935         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
7936         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
7937         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
7938         [!SCANDIR] (SCANDIR_TAIL): New macro.
7939         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
7940         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
7941         (SCANDIRAT): Macro removed.
7942         (SCANDIR_TAIL): New macro.
7943         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
7944         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
7945         (SCANDIRAT): Just call __opendirat and __scandir_tail.
7946         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
7947         (READDIR): Macro removed.
7948         (SCANDIR_TAIL): New macro.
7949         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
7950         (SCANDIR_TAIL): New macro.
7952         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
7953         * dirent/scandir-cancel.c: ... to this new file.
7954         * dirent/Makefile (routines): Add it.
7955         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
7956         * sysdeps/unix/sysv/linux/i386/scandir64.c
7957         (SKIP_SCANDIR_CANCEL): Macro removed.
7958         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
7960         * dirent/tst-scandir.c: New file.
7961         * dirent/tst-scandir64.c: New file.
7962         * dirent/Makefile (tests): Add them.
7964 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
7966         [BZ #18409]
7967         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
7969 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7971         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
7972         list.
7974 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
7976         * benchtests/bench-strcoll.c: New benchmark.
7977         * benchtests/Makefile: Generate locales and run benchmark.
7978         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
7979         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
7980         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
7981         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
7982         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
7983         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
7984         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
7985         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
7986         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
7987         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
7988         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
7989         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
7990         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
7991         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
7992         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
7993         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
7994         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
7995         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
7996         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
7997         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
7998         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
7999         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
8000         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
8001         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
8003 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
8005         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
8006         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
8008 2015-05-12  Roland McGrath  <roland@hack.frob.com>
8010         * posix/uname-values.h: New file.
8011         * posix/uname.c: Include that instead of <config-name.h>.
8012         * sysdeps/nacl/uname-values.h: New file.
8013         * sysdeps/arm/nacl/uname-values.h: New file.
8015 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
8017         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
8018         splitting into fields.
8020 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
8022         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
8023         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
8024         * locale/localeinfo.h: Add enum collation_encoding_type.
8025         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
8026         * programs/ld-collate.c (collate_output): Add encoding type info.
8027         * string/strcoll_l.c (STRDIFF): New function.
8028         * (STRCOLL): Use STRDIFF to skip over equal prefix.
8029         * wcsmbs/wcscoll_l.c: Define STRDIFF.
8031 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
8033         [BZ #18397]
8034         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
8035         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
8036         <fpu_control.h> instead of <math/fpu_control.c>.
8037         * sysdeps/mips/mips32/fpu/Makefile: New file.
8039 2015-05-11  Andreas Schwab  <schwab@suse.de>
8041         [BZ #18007]
8042         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
8043         nss_endgrent.
8044         (_nss_compat_endgrent): Call nss_endgrent.
8045         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
8046         nss_endpwent.
8047         (_nss_compat_endpwent): Call nss_endpwent.
8048         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
8049         needent, call nss_setspent only if non-zero.
8050         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
8051         (internal_endspent): Don't call nss_endspent.
8052         (_nss_compat_endspent): Call nss_endspent.
8053         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
8054         Remove.  All uses removed.
8055         (internal_setent): Remove parameter stayopen, add parameter
8056         stream.  Use it instead of global variable.
8057         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
8058         (internal_endent, internal_getent): Add parameter stream.  Use it
8059         instead of global variable.
8060         (CONCAT(_nss_files_end,ENTNAME))
8061         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
8062         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
8063         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
8064         uses removed.
8065         (internal_setent, internal_endent): Add parameter stream.  Use it
8066         instead of global variable.
8067         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
8068         stream.
8069         (get_next_alias): Add parameter stream.
8070         (_nss_files_getaliasent_r): Pass global stream.
8071         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
8072         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
8073         (_nss_files_gethostbyname4_r): Pass local stream to
8074         internal_setent, internal_getent and internal_endent.  Remove
8075         locking.
8077 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
8079         * tst-strfmon1.c (tests): Update expected currency symbol.
8081 2015-05-08  Roland McGrath  <roland@hack.frob.com>
8083         * sysdeps/nacl/gethostname.c: New file.
8085 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
8087         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
8088         and sinh.
8089         * math/auto-libm-test-out: Regenerated.
8090         * sysdeps/i386/fpu/libm-test-ulps: Update.
8091         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8093 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
8095         [BZ #18125]
8096         * stdlib/tst-setcontext3.c: New file.
8097         * stdlib/tst-setcontext3.sh: New file.
8098         * stdlib/Makefile (tests): Add tst-setcontext3.
8099         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
8100         to verify test program created output file.
8101         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
8102         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
8103         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
8104         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
8106 2015-05-06  Roland McGrath  <roland@hack.frob.com>
8108         [BZ #18383]
8109         * elf/tst-tlsalign.c: New file.
8110         * elf/tst-tlsalign-static.c: New file.
8111         * elf/tst-tlsalign-lib.c: New file.
8112         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
8113         (tests-static): Add tst-tlsalign-static.
8114         (modules-names): Add tst-tlsalign-lib.
8115         (test-xfail-tst-tlsalign): New variable.
8116         (test-xfail-tst-tlsalign-static): New variable.
8118         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
8119         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
8121 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
8123         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
8124         csqrt, erfc, sin and sincos.
8125         * math/auto-libm-test-out: Regenerated.
8126         * sysdeps/i386/fpu/libm-test-ulps: Update.
8127         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8129 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8131         * sysdeps/aarch64/libm-test-ulps: Update.
8133 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
8135         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
8136         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
8137         * math/auto-libm-test-out: Regenerated.
8138         * sysdeps/i386/fpu/libm-test-ulps: Update.
8139         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8141 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
8143         [BZ #18265]
8144         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
8145         (wcsncpy): Likewise.
8147 2015-05-05  Florian Weimer  <fweimer@redhat.com>
8149         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
8150         Assume __ASSUME_FALLOCATE is always true.
8151         * sysdeps/unix/sysv/linux/posix_fallocate64.c
8152         (__posix_fallocate64_l64): Likweise.
8153         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
8154         (posix_fallocate): Likewise.
8155         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
8156         (__posix_fallocate64_l64): Likewise.
8157         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
8158         [!__ASSUME_FALLOCATE]: Add comment.
8160 2015-05-05  Florian Weimer  <fweimer@redhat.com>
8162         * sysdeps/unix/sysv/linux/i386/Makefile
8163         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
8164         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
8165         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
8166         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
8167         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
8168         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
8169         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
8171 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
8173         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
8174         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
8175         tgamma.
8176         * math/auto-libm-test-out: Regenerated.
8177         * sysdeps/i386/fpu/libm-test-ulps: Update.
8178         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8180 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
8182         * math/auto-libm-test-in: Add more tests of tgamma.
8183         * math/auto-libm-test-out: Regenerated.
8184         * sysdeps/i386/fpu/libm-test-ulps: Update.
8185         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8187         * math/auto-libm-test-in: Add more tests of tanh.
8188         * math/auto-libm-test-out: Regenerated.
8189         * sysdeps/i386/fpu/libm-test-ulps: Update.
8190         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8192         * math/auto-libm-test-in: Add more tests of tan.
8193         * math/auto-libm-test-out: Regenerated.
8194         * sysdeps/i386/fpu/libm-test-ulps: Update.
8195         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8197         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
8198         * math/auto-libm-test-out: Regenerated.
8199         * sysdeps/i386/fpu/libm-test-ulps: Update.
8200         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8202         * math/auto-libm-test-in: Add another test of pow.
8203         * math/auto-libm-test-out: Regenerated.
8204         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8206         * math/auto-libm-test-in: Add more tests of lgamma.
8207         * math/auto-libm-test-out: Regenerated.
8208         * sysdeps/i386/fpu/libm-test-ulps: Update.
8209         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8211         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
8212         log1p.
8213         * math/auto-libm-test-out: Regenerated.
8214         * sysdeps/i386/fpu/libm-test-ulps: Update.
8215         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8217 2015-05-01  Mark Wielaard  <mjw@redhat.com>
8219         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
8220         Elf64_Chdr structs and ELFCOMPRESS constants.
8222 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
8224         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
8225         expm1.
8226         * math/auto-libm-test-out: Regenerated.
8227         * sysdeps/i386/fpu/libm-test-ulps: Update.
8228         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8230         * math/auto-libm-test-in: Add more tests of erf and erfc.
8231         * math/auto-libm-test-out: Regenerated.
8232         * sysdeps/i386/fpu/libm-test-ulps: Update.
8233         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8235 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8237         * config.h.in (HAVE_AARCH64_BE): Add.
8239 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
8241         * math/auto-libm-test-in: Add more tests of csqrt.
8242         * math/auto-libm-test-out: Regenerated.
8243         * sysdeps/i386/fpu/libm-test-ulps: Update.
8244         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8246         * math/auto-libm-test-in: Add more tests of cosh and sinh.
8247         * math/auto-libm-test-out: Regenerated.
8248         * sysdeps/i386/fpu/libm-test-ulps: Update.
8249         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8251         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
8253 2015-04-29  Roland McGrath  <roland@hack.frob.com>
8255         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
8256         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
8258         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
8259         (euidaccess, eaccess): Define as weak aliases.
8261         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
8262         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
8263         but __suseconds_t is often 'long int' so some sources assume that
8264         type is being used (e.g. they use %ld to print tv_usec).
8266 2015-04-29  Florian Weimer  <fweimer@redhat.com>
8268         [BZ #18007]
8269         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
8270         (CVE-2014-8121)
8271         * nss/tst-nss-getpwent.c: New file.
8272         * nss/Makefile (tests): Add new test.
8274 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
8276         [BZ #18346]
8277         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
8278         exponents less than 48 as cases where high part of mantissa needs
8279         examining to determine whether argument is integral.
8280         * math/libm-test.inc (round_test_data): Add more tests.
8282 2015-04-28  Mark Wielaard  <mjw@redhat.com>
8284         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
8286 2015-04-27  David S. Miller  <davem@davemloft.net>
8288         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
8289         __tls_get_addr.
8290         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
8292 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
8294         [BZ#18333]
8295         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
8297 2015-04-27  Florian Weimer  <fweimer@redhat.com>
8299         [BZ#18333]
8300         * time/tzset.c (parse_tzname): Return error on memory allocation
8301         failure.
8302         * test-skeleton.c (struct temp_name_list): Change type of name
8303         member to non-const.
8304         (add_temp_file): Create a copy of the file name.
8305         (delete_temp_files): Deallocate memory.
8306         (create_temp_file): Add comment.
8308 2015-04-24  Florian Weimer  <fweimer@redhat.com>
8310         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
8311         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
8313 2015-04-24  Roland McGrath  <roland@hack.frob.com>
8315         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
8316         * sysdeps/arm/configure: Regenerated.
8318 2015-04-24  Florian Weimer  <fweimer@redhat.com>
8320         [BZ #17715]
8321         * time/tzfile.c (__tzfile_read): Check for large values of
8322         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
8323         * time/tzset.c (__tzstring_len): New function, based on the old
8324         __tzstring function.
8325         (__tzstring): Call __tzstring_len.
8326         (parse_tzname): New helper function extracted from
8327         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
8328         the input string.
8329         (parse_offset): New helper function extracted from
8330         __tzset_parse_tz.  Replace switch with fallthrough with
8331         initialization before sscanf.
8332         (parse_rule): Likewise.
8333         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
8334         new-style function definition.
8335         * timezone/Makefile (tests): Add tst-tzset.
8336         (tst-tzset.out): Dependencies on time zone files.
8337         (tst-tzset-ENV): Set TZDIR.
8338         (testdata/XT%): Copy crafted time zone files.
8339         * timezone/README: Mention crafted time zone files.
8340         * timezone/testdata/XT1, timezone/testdata/XT2,
8341         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
8342         files.
8343         * timezone/tst-tzset.c: New test.
8345 2015-04-24  Florian Weimer  <fweimer@redhat.com>
8347         * Makeconfig (+gccwarn): Remove -Winline.
8349 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
8351         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
8353 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
8355         * NEWS: Mention sysconf() cache information support for s390.
8356         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
8358 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
8360         * math/k_casinh.c (__kernel_casinh): Use __copysign.
8361         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
8362         (__nearbyint): Likewise.
8363         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
8364         (copysignl): Likewise.
8366 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
8368         [BZ #18287]
8369         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
8370         based on padding.  (CVE-2015-1781)
8372 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8374         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
8375         libc-vdso.h.
8376         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
8377         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
8378         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
8379         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
8380         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
8381         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
8382         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
8383         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
8384         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
8385         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
8386         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
8387         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
8388         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
8389         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
8390         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
8391         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
8392         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
8393         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
8394         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
8395         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
8396         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
8397         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
8398         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
8400 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
8402         * stdlib/setenv.c (__add_to_environ):
8403         Dump core quickly if setenv (..., NULL, ...) is called.
8404         This time, do it the right way, and pacify GCC with a pragma.
8406 2015-04-17  Roland McGrath  <roland@hack.frob.com>
8408         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
8409         IMAP->l_prev cannot be null, and #if out the code for the contrary
8410         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
8411         believe that NS (&_dl_ns[NSID]) could point outside the array.
8413         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
8414         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
8415         before using NSID as an index.
8417 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
8419         [BZ #17825]
8420         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
8421         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
8422         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
8424 2015-04-17  Roland McGrath  <roland@hack.frob.com>
8426         Add preliminary port to Google Native Client on ARM.
8427         * abi-tags (.*-.*-nacl.*): New entry.
8428         * sysdeps/arm/nacl: New directory.
8429         * sysdeps/nacl: New directory.
8431 2015-04-16  David S. Miller  <davem@davemloft.net>
8433         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
8434         lowlevellock-futex.h
8436 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
8438         * sysdeps/tile/configure.ac: New file.
8439         * sysdeps/tile/configure: Regenerated.
8441 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8443         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
8444         conditionals for weak_alias and libc_hidden_weak.
8445         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
8446         libc_hidden_weak and weak_alias.
8447         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
8448         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
8449         and weak_alias for static one.
8451 2015-04-15  David S. Miller  <davem@davemloft.net>
8453         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
8455 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
8457         [BZ #18206]
8458         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
8459           Use signed comparision instead of substraction to avoid
8460           overflow bug.
8461         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
8462           Take the sign of ret.
8463         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
8464           Do not expect precise return values. Only the sign matters.
8465         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
8466         * wcsmbs/test-wcsncmp.c: New File.
8467         * string/test-strncmp.c: Add wcsncmp support.
8469 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
8471         [BZ #6792]
8472         * math/w_log1p.c: New file.
8473         * math/w_log1pf.c: Likewise.
8474         * math/w_log1pl.c: Likewise.
8475         * math/Makefile (libm-calls): Add w_log1p.
8476         * math/s_log1pl.c (log1pl): Remove weak_alias.
8477         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
8478         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
8479         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
8480         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
8481         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
8482         [NO_LONG_DOUBLE] (log1pl): Likewise.
8483         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
8484         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
8485         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
8486         (log1p): Remove long_double_symbol.
8487         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
8488         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
8489         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
8490         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
8491         remove weak_alias for corresponding log1p function.
8492         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
8493         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
8494         * sysdeps/ia64/fpu/w_log1p.c: New file.
8495         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
8496         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
8497         * math/libm-test.inc (log1p_test_data): Add errno expectations.
8499 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
8501         [BZ #18247]
8502         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
8503         decimal exponent by 1.
8504         * stdlib/tst-strtod-round-data: Add more tests.
8505         * stdlib/tst-strtod-round.c (tests): Regenerated.
8507 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
8509         * math/auto-libm-test-in: Add more tests of clog and clog10.
8510         * math/auto-libm-test-out: Regenerated.
8511         * sysdeps/i386/fpu/libm-test-ulps: Update.
8512         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8514 2015-04-09  Roland McGrath  <roland@hack.frob.com>
8516         * Makeconfig (module-cppflags): Exclude all .v.i files.
8517         (skip-module-cppflags): Variable removed.
8519         * configure.ac (libc_config_ok): Initialize before reading
8520         preconfigure scripts, not after.
8521         * configure: Regenerated.
8523         * test-skeleton.c (TIMEOUT): Move #define to top level.
8524         (main): Grok environment variable TEST_DIRECT.  If set, print
8525         test expectation details into that file and then behave as if
8526         given --direct.
8528 2015-04-09  Florian Weimer  <fweimer@redhat.com>
8530         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
8531         warning on 32-bit.
8533 2015-04-08  David S. Miller  <davem@davemloft.net>
8535         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8537 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
8539         * math/auto-libm-test-in: Add more tests of atanh.
8540         * math/auto-libm-test-out: Regenerated.
8541         * sysdeps/i386/fpu/libm-test-ulps: Update.
8542         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8544         * math/auto-libm-test-in: Add more tests of atan.
8545         * math/auto-libm-test-out: Regenerated.
8546         * sysdeps/i386/fpu/libm-test-ulps: Update.
8547         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8549 2015-04-08  Florian Weimer  <fweimer@redhat.com>
8551         * elf/pldd.c (main): Rewrite to use struct
8552         scratch_buffer instead of extend_alloca.
8553         * elf/pldd-xx.c (find_maps): Likewise.
8554         * grp/initgroups.c: Include <scratch_buffer.h> instead of
8555         <alloca.h>.
8556         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
8557         scratch_buffer instead of extend_alloca.
8558         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
8559         grp/compat-initgroups.c.
8560         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
8561         Rewrite to use struct scratch_buffer instead of extend_alloca.
8562         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
8563         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
8565 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
8567         * math/auto-libm-test-in: Add more tests of cbrt.
8568         * math/auto-libm-test-out: Regenerated.
8569         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8571         * math/auto-libm-test-in: Add more tests of cabs.
8572         * math/auto-libm-test-out: Regenerated.
8573         * sysdeps/i386/fpu/libm-test-ulps: Update.
8574         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8576         [BZ #18210]
8577         [BZ #18211]
8578         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
8579         (__ieee754_atan2): Set FE_TONEAREST mode for internal
8580         computations.
8581         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
8582         clog10.
8583         * math/auto-libm-test-out: Regenerated.
8584         * sysdeps/i386/fpu/libm-test-ulps: Update.
8585         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8587         [BZ #18197]
8588         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
8589         (atan): Set FE_TONEAREST mode for internal computations.
8590         * math/auto-libm-test-in: Add more tests of atan.
8591         * math/auto-libm-test-out: Regenerated.
8593 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
8595         [BZ #17930]
8596         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
8598 2015-04-07  Florian Weimer  <fweimer@redhat.com>
8600         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
8602 2015-04-07  Florian Weimer  <fweimer@redhat.com>
8604         * include/scratch_buffer.h: New file.
8605         * malloc/scratch_buffer_grow.c: Likewise.
8606         * malloc/scratch_buffer_grow_preserve.c: Likewise.
8607         * malloc/scratch_buffer_set_array_size.c: Likewise.
8608         * malloc/tst-scratch_buffer.c: Likewise.
8609         * malloc/Makefile (routines): Add scratch_buffer_grow.
8610         (tests): Add test case.
8611         * malloc/Versions (GLIBC_PRIVATE): Export
8612         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
8613         __libc_scratch_buffer_set_array_size.
8615 2015-04-06  Richard Henderson  <rth@redhat.com>
8617         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
8618         * sysdeps/alpha/fpu/libm-test-ulps: Update.
8620         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
8621         unsigned int before printing.
8623 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8625         [BZ #17596]
8626         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
8627         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
8629 2015-04-02  Florian Weimer  <fweimer@redhat.com>
8631         * include/libc-internal.h (libc_max_align_t): Define.
8633 2015-04-02  Andreas Schwab  <schwab@suse.de>
8635         [BZ #16850]
8636         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
8638 2015-04-02  Mel Gorman  <mgorman@suse.de>
8640         [BZ #17195]
8641         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
8642         as well as the main arena.
8644 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
8646         [BZ #18185]
8647         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
8648         sharing L2 cache to 2 for Silvermont/Knights Landing.
8650 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
8652         [BZ #17711]
8653         * config.make.in (have-protected-data): New.
8654         * configure.ac: Check linker support for protected data symbol.
8655         * configure: Regenerated.
8656         * elf/Makefile (modules-names): Add tst-protected1moda and
8657         tst-protected1modb if $(have-protected-data) is yes.
8658         (tests): Add tst-protected1a and tst-protected1b if
8659         $(have-protected-data) is yes.
8660         ($(objpfx)tst-protected1a): New.
8661         ($(objpfx)tst-protected1b): Likewise.
8662         (tst-protected1modb.so-no-z-defs): Likewise.
8663         * elf/tst-protected1a.c: New file.
8664         * elf/tst-protected1b.c: Likewise.
8665         * elf/tst-protected1mod.h: Likewise.
8666         * elf/tst-protected1moda.c: Likewise.
8667         * elf/tst-protected1modb.c: Likewise.
8669 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
8671         [BZ #17711]
8672         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
8673         indicates it is called from do_lookup_x on relocation against
8674         protected data, skip the data definion in the executable from
8675         copy reloc.
8676         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
8677         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
8678         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
8679         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
8680         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
8681         otherwise to 0.
8682         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
8683         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
8684         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
8685         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
8686         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
8687         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
8689 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
8691         * sysdeps/nptl/pthread.h: Remove duplicate definition of
8692         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
8694 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
8696         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
8697         THREAD_SETMEM_NC.
8698         * sysdeps/x86_64/nptl/tls.h: Ditto.
8700 2015-03-27  Roland McGrath  <roland@hack.frob.com>
8702         * dlfcn/tststatic.c (main): Converted to ...
8703         (do_test): ... this.
8704         (TEST_FUNCTION): New macro.
8705         Include test-skeleton.c.
8707 2015-03-26  Alan Modra  <amodra@gmail.com>
8709         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
8710         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
8711         zero for undefined weak.
8712         (elf_machine_plt_conflict): Similarly.
8714 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
8716         * math/auto-libm-test-in: Add more tests of acosh, asinh and
8717         atanh.
8718         * math/auto-libm-test-out: Regenerated.
8719         * sysdeps/i386/fpu/libm-test-ulps: Update.
8720         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8722         * math/auto-libm-test-in: Add another test of asin.
8723         * math/auto-libm-test-out: Regenerated.
8724         * sysdeps/i386/fpu/libm-test-ulps: Update.
8725         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8727         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
8728         Remove macro.
8729         (LLL_EBX_REG): Likewise.
8730         (LLL_ENTER_KERNEL): Likewise.
8732         * math/auto-libm-test-in: Add more tests of asin.
8733         * math/auto-libm-test-out: Regenerated.
8734         * sysdeps/i386/fpu/libm-test-ulps: Update.
8735         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8737         [BZ #18138]
8738         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
8739         libc_do_syscall_args): New structure.
8740         (INTERNAL_SYSCALL_MAIN_0): New macro.
8741         (INTERNAL_SYSCALL_MAIN_1): Likewise.
8742         (INTERNAL_SYSCALL_MAIN_2): Likewise.
8743         (INTERNAL_SYSCALL_MAIN_3): Likewise.
8744         (INTERNAL_SYSCALL_MAIN_4): Likewise.
8745         (INTERNAL_SYSCALL_MAIN_5): Likewise.
8746         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
8747         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
8748         Replace conditional definitions by conditional definitions of ....
8749         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
8750         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
8751         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
8752         (libpthread-sysdep_routines): Add libc-do-syscall.
8753         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
8754         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
8755         to __NR_futex not 240.
8757 2015-03-25  Alan Modra  <amodra@gmail.com>
8759         * NEWS: Advertise TLS optimization.
8760         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
8761         (DT_PPC_NUM): Increment.
8762         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
8763         (CHECK_STATIC_TLS): Use here.
8764         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
8765         TLS descriptors.
8766         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
8767         * sysdeps/powerpc/dl-tls.c: New file.
8768         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
8769         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
8770         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
8771         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
8772         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
8773         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
8774         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
8776 2015-03-25  Alan Modra  <amodra@gmail.com>
8778         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
8779         for overlapping .opd entries" to "support...".
8780         * sysdeps/powerpc/powerpc64/configure: Regenerate
8782 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
8784         * math/auto-libm-test-in: Add more tests of acos.
8785         * math/auto-libm-test-out: Regenerated.
8786         * sysdeps/i386/fpu/libm-test-ulps: Update.
8787         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8789         * math/auto-libm-test-in: Add more tests of expm1.
8790         * math/auto-libm-test-out: Regenerated.
8791         * sysdeps/i386/fpu/libm-test-ulps: Update.
8792         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8794 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
8796         * math/auto-libm-test-in: Add more tests of cosh and sinh.
8797         * math/auto-libm-test-out: Regenerated.
8798         * sysdeps/i386/fpu/libm-test-ulps: Update.
8799         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8801         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
8802         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8804         * math/auto-libm-test-in: Add more tests of log2.
8805         * math/auto-libm-test-out: Regenerated.
8806         * sysdeps/i386/fpu/libm-test-ulps: Update.
8807         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8809 2015-03-23  Roland McGrath  <roland@hack.frob.com>
8811         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
8812         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
8813         _IO_IS_APPENDING bit in READ_WRITE instead.
8815 2015-03-23  Florian Weimer  <fweimer@redhat.com>
8817         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
8818         (__determine_cpumask_size): Replace extend_alloca with a
8819         variable-length array.  Do not treat res == 0 as an error.
8821 2015-03-23  Florian Weimer  <fweimer@redhat.com>
8823         [BZ #18100]
8824         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
8825         and integer overflow.
8826         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
8827         (main): Add integer overflow tests.
8828         * manual/pattern.texi (Calling Wordexp): Document additional use
8829         for WRDE_SYNTAX.
8831 2015-03-23  Alan Modra  <amodra@gmail.com>
8833         * config.h.in: Remove HAVE_ASM_PPC_REL16.
8834         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
8835         and false branch of conditional.
8836         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
8837         Likewise.
8839 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
8841         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
8842         libc-modules.h
8843         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
8844         unused declaration of _hurd_intr_rpc_msg_in_trap.
8845         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
8846         defined instead of whether it is non-zero.
8847         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
8848         input constraint instead of both input and output constraint.  Use ecx
8849         clobber instead of %ecx.
8850         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
8851         mutex_unlock): Use a statement expression instead of an expression list.
8852         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
8853         type to vm_size_t instead of vm_address_t.
8854         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
8855         defined instead of whether it is non-zero.
8856         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
8857         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
8858         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
8859         comparisons with mapaddr.
8860         * nscd/nscd-client.h: Include <time.h>.
8861         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
8862         9th parameter to __vm_region instead of int.
8863         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
8864         * scripts/check-local-headers.sh (exclude): Add device/,
8865         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
8866         cthreads.h.
8868 2015-03-19  Roland McGrath  <roland@hack.frob.com>
8870         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
8871         to account for alignment padding.
8872         * sysdeps/arm/memmove.S: Likewise.
8874 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
8876         * sysdeps/unix/sysv/linux/generic/README: New file.
8878 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
8880         [BZ #18138]
8881         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
8882         (futex_abstimed_wait)
8883         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
8884         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
8885         of lll_futex_timed_wait.
8887 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
8889         [BZ #17542]
8890         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
8892 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
8894         [BZ #17090]
8895         [BZ #17620]
8896         [BZ #17621]
8897         [BZ #17628]
8898         * NEWS: Update.
8899         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
8900         entries with Static TLS too.  Skip entries past the end of the
8901         allocated DTV, from Alan Modra.
8902         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
8903         Static TLS DTV entry set up from...
8904         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
8905         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
8906         * nptl/allocatestack.c (init_one_static_tls): ... and here...
8907         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
8908         for Static TLS.
8909         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
8910         that the slot we find is associated with the given map before
8911         using its generation count.
8912         * nptl_db/db_info.c: Include ldsodefs.h.
8913         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
8914         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
8915         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
8916         (link_map::l_tls_offset): New struct field.
8917         (dtv_t::counter): Likewise.
8918         (rtld_global): New struct.
8919         (_rtld_global): New rtld variable.
8920         (dl_tls_dtv_slotinfo_list): New rtld global field.
8921         (dtv_slotinfo_list): New struct.
8922         (dtv_slotinfo): Likewise.
8923         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
8924         (td_lookup): Rename to...
8925         (td_mod_lookup): ... this.  Use new mod parameter instead of
8926         LIBPTHREAD_SO.
8927         * nptl_db/td_thr_tlsbase.c: Include link.h.
8928         (dtv_slotinfo_list, dtv_slotinfo): New functions.
8929         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
8930         addresses even if the DTV is out of date or missing them.
8931         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
8932         index zero-length arrays.
8933         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
8934         (td_lookup): Make it a macro implemented in terms of...
8935         (td_mod_lookup): ... this declaration.
8936         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
8937         (DB_MAIN_VARIABLE): Likewise.
8939 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
8941         [BZ #18134]
8942         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
8944 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
8946         * stdlib/setenv.c (__add_to_environ): Revert previous change.
8948 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
8950         [BZ #18128]
8951         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
8952         (atomic_add, atomic_increment_and_test)
8953         (atomic_decrement_and_test): Fix 64-bit arithmetic.
8955 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
8957         * stdlib/setenv.c (__add_to_environ):
8958         Dump core quickly if setenv (..., NULL, ...) is called.
8960 2015-03-13  Roland McGrath  <roland@hack.frob.com>
8962         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
8963         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
8964         all the necessary asm magic in one place.
8965         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
8966         using those.
8968 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
8970         [BZ #14906]
8971         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
8972         traced file mtime. Use consistent log message.
8973         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
8974         (register_traced_file): Call install_watches. Always set mtime.
8975         (invalidate_cache): Iterate over all trace files. Call install_watches.
8976         (inotify_check_files): Don't inline. Handle watching parent
8977         directories and configuration file movement in and out.
8978         (handle_inotify_events): New function.
8979         (main_loop_poll): Call handle_inotify_events.
8980         (main_loop_epoll): Likewise.
8981         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
8982         (struct traced_file): Use array of inotify fds. Add parent directory,
8983         and basename.
8984         (struct database_dyn): Remove unused file_mtime.
8985         (init_traced_file): New inline function.
8986         (define_traced_file): New macro.
8987         * nss/nss_db/db-init.c: Use define_traced_file.
8988         (_nss_db_init): Use init_traced_file.
8989         * nss/nss_files/files-init.c: Use define_traced_file.
8990         (_nss_files_init): Use init_traced_file.
8992 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
8994         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
8995         [_LIBC]: Do not include <stdlib.h>.
8996         [!_LIBC] (abort): Remove declaration.
8997         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
8998         _FP_STATIC_ASSERT instead of conditionally calling abort.
8999         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
9000         (_FP_EXTEND_CNAN): Likewise.
9001         (FP_TRUNC): Likewise.
9002         (__FP_CLZ): Likewise.
9003         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
9005 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
9007         * manual/string.texi (XPG basename): Fix prototype.
9009 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
9011         [BZ #18080]
9012         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
9013         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
9014         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
9015         (__setcontext): Likewise.
9016         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
9017         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
9018         Call rt_sigprocmask syscall one time to set new signal mask
9019         and retrieve the current signal mask instead of two calls.
9020         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
9021         (__swapcontext): Likewise.
9022         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
9023         * stdlib/tst-setcontext2.c: New file.
9025 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
9027         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9029 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
9031         [BZ #18093]
9032         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
9033         the wrong size.
9035 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
9037         [BZ #18043]
9038         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
9040 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
9042         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
9043         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
9044         Remove define.
9045         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
9046         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
9047         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
9048         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
9049         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
9050         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
9051         define.
9052         * nptl_db/td_symbol_list.c (td_lookup): Remove
9053         HAVE_ASM_GLOBAL_DOT_NAME code.
9054         * sysdeps/powerpc/powerpc64/configure.ac: Remove
9055         HAVE_ASM_GLOBAL_DOT_NAME check.
9056         * sysdeps/powerpc/powerpc64/configure: Regenerate.
9057         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
9058         (DOT_LABEL): Remove define.
9059         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
9060         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
9061         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
9062         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
9063         (__TLS_GET_ADDR): Likewise.
9064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
9065         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
9067 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
9069         [BZ #18111]
9070         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
9071         (_FPU_SETCW): Initialize cw from fpsr before storing.
9072         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
9073         (fesetexceptflag): Rewrite using fpu_control.h.
9074         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
9076 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
9078         [BZ #18110]
9079         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
9080         asms.
9081         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
9083 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
9085         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
9086         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
9087         abort.
9088         (_FP_FMA): Likewise.
9089         (_FP_DIV): Likewise.
9091 2015-03-10  Roland McGrath  <roland@hack.frob.com>
9093         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
9094         with 0 in that case.
9095         * Makefile (summarize-tests): New canned sequence, factored out of
9096         commands for targets tests and xtests.  Display summary lines that
9097         don't start with PASS: or XFAIL: rather than ones that do start with
9098         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
9099         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
9100         do start with ERROR: or FAIL:.
9101         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
9102         (except for [$(build-shared) = yes]).
9103         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
9104         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
9105         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
9106         * nptl/Makefile: Revert 2015-03-04 changes.
9107         [$(CXX) empty] (tests-unsupported): New variable.
9108         * debug/Makefile: Likewise.
9110         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
9111         gnulib file.  Replace __attribute with __attribute__ throughout.
9113 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
9115         * sysdeps/hppa/fpu/libm-test-ulps: Update.
9117 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
9119         [BZ #18104]
9120         * math/auto-libm-test-in: Add another test of pow.
9121         * math/auto-libm-test-out: Regenerated.
9123 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9125         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
9126         $(config-cflags-nofma).
9128 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
9130         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
9131         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
9132         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
9133         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
9134         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
9135         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
9136         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
9137         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
9138         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
9139         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
9140         Add comment on closing #endif.
9142 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
9144         * posix/wordexp.c (CHAR_IN_SET): New macro.
9145         (parse_param): Use it.
9147 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9149         * sysdeps/powerpc/fpu/libm-test-ulps: update.
9151 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
9153         [BZ #18043]
9154         * posix/wordexp.c (parse_param): Fix buffer overflow.
9155         * posix/wordexp-test.c (test_case): Add test case.
9157 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
9159         [BZ #18042]
9160         * posix/wordexp.c (parse_backtick): Fix off-by-one.
9161         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
9163 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
9165         [BZ #18043]
9166         * posix/wordexp-test.c (test_case): Add test for BZ #18043
9167         (do_bz18043): Delete.
9168         (at_page_end): New.
9169         (testit): Refactor to have words at the edge of unreadable page.
9171 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
9173         [BZ #16734]
9174         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
9175         Cleanup read-only streams as well.
9176         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
9178 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9180         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
9181         <bits/libc-lockP.h>
9183 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
9185         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
9186         on [__KERNEL__].
9187         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
9188         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
9189         * soft-fp/op-common.h (_FP_DECL): Likewise.
9191 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
9193         * elf/ifuncdep2.c (global): Replace
9194         __attribute__((visibility("protected"))) with
9195         asm (".protected global").
9196         * elf/ifuncmod1.c (global): Likewise.
9197         * elf/ifuncmod5.c (global): Likewise.
9199 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
9201         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
9202         <asm/sfp-machine.h> instead of <sfp-machine.h>.
9204 2015-03-06  Roland McGrath  <roland@hack.frob.com>
9206         * manual/install.texi (Configuring and compiling):
9207         Document test-wrapper-env-only.
9208         * INSTALL: Regenerated.
9210 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
9212         [BZ #18043]
9213         * posix/wordexp.c (parse_param): Fix buffer overflow.
9214         * posix/wordexp-test.c (do_bz18043): Add test case.
9216 2015-03-06  Vincent Bernat  <vincent@bernat.im>
9218         * time/tst-strptime2.c (do_test): Ensure failing tests are
9219         reported correctly.
9220         * time/tst-strptime3.c (do_test): Likewise.
9222 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
9224         Fix aio_error thread-safety.
9225         * sysdeps/pthread/aio_error.c: New file
9226         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
9227         synchronization.
9229 2015-03-06  Florian Weimer  <fweimer@redhat.com>
9231         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
9232         (group_number, vfprintf): Use it.
9233         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
9234         (JUMP, REF): Use it.
9235         (WORK_BUFFER_SIZE): New enum constant.
9236         (process_arg, vfprintf): Use it.
9238 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
9240         * manual/errno.texi (Error Messages): Complete example function
9241         by adding missing #define.
9242         (program_invocation_name): Add statement indicating GNU
9243         extension and reference which header file declares the variable.
9244         (program_invocation_short_name): Likewise.
9246 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
9248         * manual/errno.texi (Error Messages): Delete strerror ISO C89
9249         compatibility note.
9251 2015-03-05  Roland McGrath  <roland@hack.frob.com>
9253         * Makeconfig (test-wrapper-env-only): New variable.
9254         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
9255         then use that with $(test-wrapper-env-only) rather than using
9256         $(test-wrapper-env) $(run-program-env) $($*-ENV).
9258 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
9260         [BZ #18082]
9261         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
9262         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
9263         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
9264         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
9265         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
9266         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
9267         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
9268         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
9269         Likewise.
9270         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
9271         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
9272         Likewise.
9273         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
9274         Likewise.
9275         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
9276         Likewise.
9277         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
9278         Likewise.
9279         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
9280         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
9281         Likewise.
9282         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
9283         Likewise.
9284         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
9285         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
9287 2015-03-04  Roland McGrath  <roland@hack.frob.com>
9289         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
9290         (ETH_ALEN): New macro.
9291         (struct ether_addr): Use it for length of ether_addr_octet.
9293         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
9294         (setdb): Don't call __nss_configure_lookup for "rpc".
9295         (do_test): Don't call test_rpc.
9296         (output_rpcent, test_rpc): Functions moved ...
9297         * sunrpc/test-rpcent.c: ... to this new file.
9298         * sunrpc/Makefile (tests): Add it.
9300         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
9301         __xpg_sigpause.
9302         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
9303         * nptl/tst-signal6.c: Likewise.
9304         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
9305         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
9307         * configure.ac (libc_cv_cxx_link_ok): New check.
9308         Reset CXX to empty if it fails to link.
9309         * configure: Regenerated.
9310         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
9311         bug-atexit3-lib only if $(CXX) is nonempty.
9312         * nptl/Makefile (tests): Likewise for tst-cancel24.
9313         (tests, tests-static): Likewise for tst-cancel24-static.
9314         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
9315         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
9316         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
9317         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
9319 2015-03-04  Andreas Schwab  <schwab@suse.de>
9321         [BZ #17631]
9322         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
9323         for non-GCC compilers.
9324         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
9325         Likewise.
9327 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
9329         [BZ #17776]
9330         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
9331         integer before bitwise and assembly operations.
9332         (feclearexcept): Likewise.
9333         * math/test-fenvinline.c: New file.
9334         * math/Makefile: Add test-fenvinline test.
9336 2015-03-03  Alan Modra  <amodra@gmail.com>
9338         [BZ #16512]
9339         * scripts/localplt.awk: Strip off symbol version.
9340         * NEWS: Mention bug fix.
9342 2015-03-02  Roland McGrath  <roland@hack.frob.com>
9344         * sysdeps/pthread/timer_routines.c
9345         (timer_free_list, thread_free_list, thread_active_list): Make static.
9347 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
9349         [BZ #17779]
9350         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
9351         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
9352         Undefine.
9353         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9354         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
9355         Likewise.
9356         * sysdeps/unix/sysv/linux/sh/kernel-features.h
9357         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
9358         Likewise.
9360 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
9362         [BZ #18036]
9363         * posix/fnmatch_loop.c (END): Detect invalid pattern.
9364         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
9366 2015-03-02  Andreas Schwab  <schwab@suse.de>
9368         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
9369         variable name.
9371 2015-03-02  Florian Weimer  <fweimer@redhat.com>
9373         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
9374         Return error status.
9376 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
9378         [BZ #15969]
9379         * locale/findlocale.c (_nl_find_locale): Introduce const
9380         version of loc_name and drop unsafe type casts.
9382 2015-02-27  Roland McGrath  <roland@hack.frob.com>
9384         * dlfcn/tststatic2.c (main): Converted to ...
9385         (do_test): ... this.
9386         (TEST_FUNCTION): New macro.
9387         Include test-skeleton.c.
9389 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
9391         [BZ #17711]
9392         * elf/Makefile (tests): Add vismain only if PIE is enabled.
9393         (tests-pie): Add vismain.
9394         (CFLAGS-vismain.c): New.
9395         * elf/vismain.c: Add comments for PIE requirement.
9397 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
9399         [BZ #18046]
9400         [BZ #18047]
9401         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
9402         0x1p-56L as threshold for just returning the argument.
9403         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
9404         0x1p-32L as threshold for just returning the argument.
9405         * math/auto-libm-test-in: Add more tests of atanh.
9406         * math/auto-libm-test-out: Regenerated.
9407         * sysdeps/i386/fpu/libm-test-ulps: Update.
9408         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
9410 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
9412         * string/bcopy.c (bcopy): Call memmove for performance.
9414 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
9416         * string/bzero.c (__bzero): Call memset for performance.
9418 2015-02-27  John David Anglin  <dave.anglin@bell.net>
9420         [BZ #18068]
9421         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
9422         to 00100000.
9424 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
9426         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
9428 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
9430         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
9431         (__kernel_standard): Use CSTR macro when setting exc.name.
9432         * sysdeps/ieee754/Makefile [$(subdir) = math]
9433         (CFLAGS-k_standard.c): Remove variable.
9435         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
9436         setting p and q from "else if" to "else".
9437         (qzero): Likewise.
9438         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
9439         (qone): Likewise.
9440         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
9441         (qzerof): Likewise.
9442         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
9443         (qonef): Likewise.
9444         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
9445         (qzero): Likewise.
9446         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
9447         (qone): Likewise.
9449         [BZ #18038]
9450         [BZ #18039]
9451         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
9452         return pi/2 for arguments below 0x1p-113L.
9453         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
9454         return pi/2 for arguments below 0x1p-106L.
9455         * math/auto-libm-test-in: Add more tests of acos.
9456         * math/auto-libm-test-out: Regenerated.
9458         [BZ #16351]
9459         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
9460         (MO): New macro.
9461         (__ieee754_asin): Force underflow exception for results with small
9462         absolute value.
9463         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
9464         (MO): New macro.
9465         (__ieee754_asinf): Force underflow exception for results with
9466         small absolute value.
9467         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
9468         (__ieee754_asin): Force underflow exception for results with small
9469         absolute value.
9470         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
9471         (__ieee754_asinf): Force underflow exception for results with
9472         small absolute value.
9473         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
9474         (__ieee754_asinl): Force underflow exception for results with
9475         small absolute value.
9476         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
9477         (__ieee754_asinl): Force underflow exception for results with
9478         small absolute value.
9479         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
9480         (__ieee754_asinl): Force underflow exception for results with
9481         small absolute value.
9482         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
9483         Include <math.h>.
9484         * math/auto-libm-test-in: Do not mark underflow exceptions as
9485         possibly missing for bug 16351.
9486         * math/auto-libm-test-out: Regenerated.
9488         [BZ #18030]
9489         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
9490         of power of 2 down when low part has opposite sign.
9491         * math/libm-test.inc (logb_test_data): Add more tests.
9493 2015-02-26  Andreas Schwab  <schwab@suse.de>
9495         [BZ #18032]
9496         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
9497         over collating symbol inside a bracket expression.  Minor cleanup.
9498         * posix/tst-fnmatch3.c (do_test): Add test case.
9500 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
9502         [BZ #18029]
9503         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
9504         Adjust exponent of power of 2 down when low part has opposite
9505         sign.
9506         * math/libm-test.inc (ilogb_test_data): Add more tests.
9508 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
9510         [BZ #15969]
9511         * locale/findlocale.c (_nl_find_locale): Fix constness error in
9512         the previous change.
9514         [BZ #15969]
9515         * locale/findlocale.c (_nl_find_locale): Retry archive search
9516         after alias expansion.
9518 2015-02-25  Roland McGrath  <roland@hack.frob.com>
9520         * iconv/tst-iconv3.c (main): Converted to ...
9521         (do_test): ... this.
9522         (TEST_FUNCTION): New macro.
9523         Include test-skeleton.c.
9525         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
9526         (convert): Make function static.
9527         (test_unalign): Likewise.  Add const to argument pointee types.
9528         (main): Replace with static function do_test.
9529         Print "Succeeded." only if RET is zero.
9530         (TEST_FUNCTION): New macro.
9531         Include test-skeleton.c.
9533         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
9534         returns a null pointer.
9536 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9538         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
9539         to __memcpy_ppc only for static builds.
9541 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
9543         [BZ #18020]
9544         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
9545         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
9546         * math/auto-libm-test-in: Add more tests of asinh.
9547         * math/auto-libm-test-out: Regenerated.
9548         * sysdeps/i386/fpu/libm-test-ulps: Update.
9549         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9551 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
9553         [BZ #15850]
9554         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
9555         and ip6_mtuinfo definitions here.
9556         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
9557         in this define too.  Update comment.
9559 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
9561         * elf/sprof.c (load_shobj): Tweak error message to match others.
9563 2015-02-24  Kevin Easton  <kevin@guarana.org>
9565         [BZ #16145] (partial fix)
9566         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
9567         to reduce lock contention.
9569 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
9571         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
9572         (struct timex): Update time comment.
9573         (ADJ_SETOFFSET): Define.
9575 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
9577         [BZ #18019]
9578         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
9579         2**56 not 2**28 as threshold for log (2x) formula.
9580         * math/auto-libm-test-in: Add more tests of acosh.
9581         * math/auto-libm-test-out: Regenerated.
9582         * sysdeps/i386/fpu/libm-test-ulps: Update.
9583         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9585 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
9587         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
9588         parenthesis around the buf assignment.
9589         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
9591 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
9593         [BZ #16783]
9594         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
9595         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
9596         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
9597         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
9598         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
9599         * math/libm-test.inc (scalb_test_data): Add more tests.
9601 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
9603         [BZ #17916]
9604         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
9605         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
9607 2015-02-24  Eric Rannaud  <e@nanocritical.com>
9609         [BZ #17523]
9610         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
9611         * io/bits/fcntl2.h (open): Use it.
9612         (openat): Likewise.
9613         * io/open.c (__libc_open): Likewise.
9614         * io/open64.c (__libc_open64): Likewise.
9615         * io/open64_2.c (__open64_2): Likewise.
9616         * io/open_2.c (__open_2): Likewise.
9617         * io/openat.c (__openat): Likewise.
9618         * io/openat64.c (__openat64): Likewise.
9619         * io/openat64_2.c (__openat64_2): Likewise.
9620         * io/openat_2.c (__openat_2): Likewise.
9621         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
9622         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
9623         * sysdeps/posix/open64.c (__libc_open64): Likewise.
9624         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
9625         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
9626         (__open_nocancel): Likewise.
9627         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
9628         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
9629         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
9631 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
9633         [BZ #14841]
9634         * resolv/gethnamaddr.c (getanswer): Skip logging if
9635         RES_USE_DNSSEC is set.
9636         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
9638 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
9640         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
9642 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
9644         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
9645         201304L, for Unicode 7.
9647 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
9649         [BZ #17836]
9650         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
9651         shared library.  Add gmon-start.os otherwise.
9652         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
9653         $(objpfx)gmon-start.os if builing shared library.
9654         ($(objpfx)g$(static-start-installed-name)): Likewise.
9656 2015-02-23  Andreas Schwab  <schwab@suse.de>
9658         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
9660 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
9662         [BZ #17269]
9663         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
9664         (enlarge_userbuf): Likewise.
9666 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
9668         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
9669         * math/atest-exp.c (TIMEOUT): Adjust to 200.
9670         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
9671         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
9673 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
9675         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
9676         expression inside statement expression.
9678 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
9680         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
9681         <sysdeps/nptl/lowlevellock.h> and remove macros and
9682         functions that are now defined there.
9683         (SYS_futex): Remove.
9684         (lll_compare_and_swap): Remove.
9685         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
9687 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
9689         [BZ #17999]
9690         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
9691         instead of scandirat.
9692         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
9693         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
9694         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
9695         __scandirat.
9696         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
9697         (__scandirat): Declare.  Use libc_hidden_proto.
9698         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
9699         Remove variable.
9700         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
9702 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
9704         [BZ #15319]
9705         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
9706         (MO): New macro.
9707         (__ieee754_atan2): For results with small absolute value, force
9708         underflow exception and remove excess range and precision from
9709         return value.
9710         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
9711         (MO): New macro.
9712         (__ieee754_atan2f): For results with small absolute value, force
9713         underflow exception and remove excess range and precision from
9714         return value.
9715         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
9716         (MO): New macro.
9717         (__atan): For results with small absolute value, force underflow
9718         exception and remove excess range and precision from return value.
9719         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
9720         (MO): New macro.
9721         (__atanf): For results with small absolute value, force underflow
9722         exception and remove excess range and precision from return value.
9723         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
9724         <math.h>.
9725         (__ieee754_atan2): Force underflow exception for results with
9726         small absolute value.
9727         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
9728         <math_private.h>.
9729         (atan): Force underflow exception for results with small absolute
9730         value.
9731         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
9732         (__atanf): Force underflow exception for results with small
9733         absolute value.
9734         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
9735         <math.h>.
9736         (__atanl): Force underflow exception for results with small
9737         absolute value.
9738         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
9739         (__atanl): Force underflow exception for results with small
9740         absolute value.
9741         * sysdeps/x86/fpu/bits/mathinline.h
9742         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
9743         (__ieee754_atan2): Only define inline for long double.
9744         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
9745         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
9746         * math/auto-libm-test-in: Do not mark underflow exceptions as
9747         possibly missing for bug 15319.  Add more tests of atan2.
9748         * math/auto-libm-test-out: Regenerated.
9749         * math/libm-test.inc (casin_test_data): Do not mark underflow
9750         exceptions as possibly missing for bug 15319.
9751         (casinh_test_data): Likewise.
9752         * sysdeps/i386/fpu/libm-test-ulps: Update.
9754 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
9756         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
9757         * sysdeps/mips/bits/endian.h: Fix comments.
9759 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
9761         [BZ #17996]
9762         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
9763         (hdestroy_r): Likewise.
9764         (hsearch_r): Likewise.
9765         (__hcreate_r): Declare and use libc_hidden_proto.
9766         (__hdestroy_r): Likewise.
9767         (__hsearch_r): Likewise.
9768         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
9769         (hcreate): Call __hcreate_r instead of hcreate_r.
9770         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
9771         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
9772         as weak alias of __hcreate_r.
9773         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
9774         __hdestroy_r.
9775         (hsearch_r): Rename to __hsearch_r and define as weak alias of
9776         __hsearch_r.
9777         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
9778         Remove variable.
9779         (test-xfail-XPG4/search.h/linknamespace): Likewise.
9780         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
9781         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
9782         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
9784 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
9786         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
9787         arena_lock into a single arena_get.
9789 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
9791         * dl-reloc.c: Inlucde libc-internal.h.
9792         (_dl_try_allocate_static_tls): Call ALIGN_UP.
9793         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
9794         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
9795         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
9796         (grow_heap): Likewise.
9797         * malloc/malloc.c: Include libc-internal.h.
9798         (do_check_malloc): Call powerof2.
9799         (sysmalloc): Use pagesize. Call ALIGN_UP.
9800         (systrim): Use pagesize.
9801         (mremap_chunk): Use pagesize. Call ALIGN_UP.
9802         (__libc_valloc): Use pagesize.
9803         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
9805 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
9807         [BZ #17991]
9808         * include/sys/resource.h (__getrlimit64): Declare.  Use
9809         libc_hidden_proto.
9810         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
9811         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
9812         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
9813         getrlimit64.
9814         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
9815         __getrlimit64.
9816         [!getrlimit64] (getrlimit64): Define as weak alias of
9817         __getrlimit64.  Use libc_hidden_weak.
9818         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
9819         using __getrlimit64 not __new_getrlimit64.
9820         (__GI_getrlimit64): Likewise.
9821         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
9822         Likewise.
9823         (__GI_getrlimit64): Likewise.
9824         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
9825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
9826         (getrlimit): Add __getrlimit64 alias.
9827         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
9828         Likewise.
9829         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
9830         Remove variable.
9831         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
9832         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
9834 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
9836         * libio/fileops.c: Add missing sys/mman.h
9837         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
9839 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
9841         * manual/math.texi (Errors in Math Functions): Clarify goals
9842         regarding inexact and underflow exceptions.
9844 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
9846         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
9847         * sysdeps/mips/memset.S: Ditto.
9849 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
9851         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
9853 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
9855         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
9856         (__v1longjmp): Remove versioned symbol.
9857         (__v1siglongjmp): Remove alias and versioned symbol.
9858         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
9859         (__v2siglongjmp): Likewise.
9861 2015-02-16  Torvald Riegel  <triegel@redhat.com>
9863         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
9865 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
9867         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
9869 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
9871         [BZ #17987]
9872         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
9873         zero result does not depend on the sign resulting from
9874         subtraction.
9875         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
9876         Likewise.
9877         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
9878         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
9879         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
9880         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
9881         * math/libm-test.inc (remquo_test_data): Add more tests.
9883 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
9885         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
9886         Problem reported by J William Piggott.
9888 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
9890         [BZ #17978]
9891         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
9892         products 4 * y and 2 * y where those would overflow.
9893         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
9894         Likewise.
9895         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
9896         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
9897         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
9898         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
9899         * math/libm-test.inc (remquo_test_data): Add more tests.
9901         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
9903         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
9904         [defined _COMPILING_NEWLIB].
9905         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
9906         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
9908         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
9909         [!defined __mips_isa_rev || __mips_isa_rev < 6].
9911 2015-02-16  Torvald Riegel  <triegel@redhat.com>
9913         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
9914         acquired.
9916 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
9918         [BZ #17792]
9919         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
9920         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
9921         HOST_STACK_END_ADDR): Likewise.
9923 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
9925         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
9926         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
9927         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
9929 2015-02-13  Roland McGrath  <roland@hack.frob.com>
9931         * sysdeps/generic/c++-types.data: New file.
9932         * sysdeps/generic/ld.abilist: New file.
9933         * sysdeps/generic/libBrokenLocale.abilist: New file.
9934         * sysdeps/generic/libanl.abilist: New file.
9935         * sysdeps/generic/libc.abilist: New file.
9936         * sysdeps/generic/libcrypt.abilist: New file.
9937         * sysdeps/generic/libdl.abilist: New file.
9938         * sysdeps/generic/libm.abilist: New file.
9939         * sysdeps/generic/libpthread.abilist: New file.
9940         * sysdeps/generic/libresolv.abilist: New file.
9941         * sysdeps/generic/librt.abilist: New file.
9943 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
9945         [BZ #17569]
9946         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
9947         Compute absolute value of x as modified by fmod, not original
9948         value of x.
9949         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
9950         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
9951         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
9952         RUN_TEST_ffI_f1_mod8.
9953         (remquo_test_data): Add more tests.
9955 2015-02-13  Roland McGrath  <roland@hack.frob.com>
9957         * sysdeps/init_array/pt-crti.S: New file.
9959 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
9961         [BZ #17967]
9962         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
9963         __builtin_fmaf instead of relying on contraction of a * b + c.
9965 2015-02-12  J William Piggott  <elseifthen@gmx.com>
9967         [BZ #17969]
9968         * manual/time.texi: correct the zoneinfo path in the TZ Variable
9969         node.
9971 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
9973         [BZ #17964]
9974         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
9975         __builtin_fma instead of relying on contraction of a * b + c.
9977 2015-02-12  Roland McGrath  <roland@hack.frob.com>
9979         * Makeconfig (ASFLAGS): Add -Werror=undef.
9980         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
9981         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
9982         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
9984         * Makeconfig (after-link): New variable.
9985         (+link-pie, +link-pie-tests): Use it.
9986         (+link-static, +link-static-tests): Likewise.
9987         (+link, +link-tests): Likewise.
9988         * Makerules (build-module, build-module-asneeded): Likewise.
9989         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
9990         Likewise.
9991         * elf/Makefile ($(objpfx)ld.so): Likewise.
9993 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
9995         [BZ #17965]
9996         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
9997         both struct timeval and struct timespec.
9999 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
10001         [BZ #16560]
10002         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10003         and redefine.
10004         (__ieee754_exp2l): Do not multiply small fractional parts by
10005         M_LN2l.
10006         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
10007         small argument.
10008         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
10009         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
10010         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
10011         * math/auto-libm-test-in: Add more tests of exp2.
10012         * math/auto-libm-test-out: Regenerated.
10014 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10016         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
10017         unaligned path.
10019 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10021         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
10022         little endian.
10024 2015-02-12  Andreas Schwab  <schwab@suse.de>
10026         [BZ #15790]
10027         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
10028         Filter out elision flags from value returned in kind.
10029         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
10030         * nptl/tst-pthread-mutexattr.c: New file.
10032 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10034         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
10035         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
10036         into gnu-gnu, and update comment to refer to abi-tags.
10038 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
10040         [BZ #15467]
10041         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
10042         (__sincos): Set errno to EDOM for infinite argument.
10043         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
10044         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
10045         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
10046         (__sincosl): Set errno to EDOM for infinite argument.
10047         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
10048         (__sincosl): Set errno to EDOM for infinite argument.
10049         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
10050         (__sincosl): Set errno to EDOM for infinite argument.
10051         * math/libm-test.inc (sincos_test_data): Test errno setting.
10053 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
10055         * string/strxfrm_l.c: Remove #define STRCMP.
10056         * string/strcoll_l.c: Remove #define STRLEN.
10057         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
10058         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
10060 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
10062         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
10063         * sysdeps/mips/mips32/sfp-machine.h: ... here.
10064         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
10065         * sysdeps/mips/mips64/Makefile: ... here.
10066         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
10067         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
10068         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
10069         * sysdeps/mips/mips64/sfp-machine.h: ... here.
10070         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
10071         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
10072         * sysdeps/mips/mips64/n64/Implies: Likewise.
10074 2015-02-10  Roland McGrath  <roland@hack.frob.com>
10076         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
10077         <sys/time.h>, <string.h>, and <errno.h>.
10078         (dest_offset, dest_address, value, zero): Remove unused variables.
10079         (ldouble): Remove typedef.
10080         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
10081         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
10082         1).  Fix code style.
10083         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
10084         (check): Function removed.
10085         (CHECK): New macro.
10086         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
10087         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
10088         Don't call set_sigaction_FP and remove_sigaction_FP here.
10089         (ldouble_test): Just use 'long double' as macro argument, no need for
10090         the 'ldouble' typedef.
10091         (do_test): Set up SIGFPE handler at start, using plain signal rather
10092         than sigaction.  Fix code style.
10094 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
10096         [BZ #17949]
10097         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
10098         jump label.
10100 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
10102         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
10103         * sysdeps/powerpc/powerpc32/configure: Regenerated.
10105         * sysdeps/powerpc/configure.ac: Remove file.
10106         * sysdeps/powerpc/configure: Likewise.
10108         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
10109         [sysdep_routines]: Remove wordcopy-power6 object.
10110         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
10111         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
10112         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
10113         (__memmove_ppc32): Likewise.
10114         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
10115         file.
10116         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
10117         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
10118         Remove preprocessor.
10120         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
10121         [sysdep_routines]: Remove wide chars objects.
10122         [wcsmbs]: New rule for wide char objects.
10124         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10125         Remove wordcopy-power6 obejct.
10126         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
10127         Use local call for wordcopy and memcpy symbols.
10128         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
10129         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
10130         implementation for loader.
10131         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
10133         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10134         Remove wordcopy-power7 object.
10135         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
10136         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
10137         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
10138         (_wordcopy_fwd_dest_aligned): Likewise.
10139         (_wordcopy_bwd_aligned): Likewise.
10140         (_wordcopy_bwd_dest_aligned): Likewise.
10142         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
10143         Rewrite to call __memmove_ppc instead of include default
10144         implementation.
10146         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10147         Remove wide chars objects.
10148         [wcsmbs]: New rule for wide char objects.
10150 2015-02-09  Andreas Schwab  <schwab@suse.de>
10152         [BZ #17912]
10153         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
10154         in terms of __O_DIRECTORY.
10156 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10158         * time/getdate.c: Include <stdbool.h>.
10159         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
10160         call PTR_MANGLE.
10161         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
10162         PTR_DEMANGLE.
10164 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
10166         Add ersatz _Static_assert on older C hosts
10167         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
10168         pre-C11 C platform that is not known to support _Static_assert.
10170 2015-02-07  Richard Braun  <rbraun@sceen.net>
10172         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
10173         sigstate.
10174         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
10176 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10178         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
10179         priority against unexistent AIO_PRIO_DELTA_MAX.
10180         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
10181         instead of int.
10182         * misc/fchflags.c (fchflags): Likewise.
10183         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
10184         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
10185         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
10186         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
10187         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
10188         Declare macros.
10189         [__USE_MISC] (chflags, fchflags): Declare functions.
10190         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
10191         EINVAL when nfds is greater than FD_SETSIZE.
10192         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
10193         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
10194         45.
10195         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
10196         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
10197         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
10198         MACH_RCV_TIMED_OUT.
10199         * hurd/hurd/signal.h (_hurd_self_sigstate,
10200         _hurd_critical_section_lock, _hurd_critical_section_unlock):
10201         Explicit casts from void *.
10202         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
10203         * abi-tags: Rename gnu-gnu os into gnu.
10205         [BZ #4719]
10206         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
10207         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
10208         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
10209         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
10210         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
10211         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
10213         [BZ #17944]
10214         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
10215         duplicates ADDR->sun_path with sockaddr LEN limitation.
10216         * sysdeps/mach/hurd/connect.c: Include <string.h>
10217         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
10218         * sysdeps/mach/hurd/sendmsg.c: Likewise.
10219         * sysdeps/mach/hurd/sendto.c: Likewise.
10220         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
10221         implementing it by hand.
10223 2015-02-06  Roland McGrath  <roland@hack.frob.com>
10225         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
10226         Use sfi_breg on ldr.
10227         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
10228         Likewise.
10230         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
10231         it's defined.
10232         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
10233         Test SIGSETXID only if it's defined.
10235         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
10237         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
10238         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
10240         * nptl/tst-align2.c: Moved ...
10241         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
10242         * nptl/Makefile (tests): Remove tst-align2.
10243         * sysdeps/unix/sysv/linux/Makefile
10244         [$(subdir) = nptl] (tests): Add tst-align-clone.
10245         * nptl/tst-getpid1.c: Moved ...
10246         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
10247         * nptl/tst-getpid2.c: Moved ...
10248         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
10249         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
10250         * sysdeps/unix/sysv/linux/Makefile
10251         [$(subdir) = nptl] (tests): ... here.
10252         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
10253         * sysdeps/unix/sysv/linux/Makefile
10254         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
10256         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
10257         Drop trailing \n from perror argument.  Use return rather than exit.
10259         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
10260         on [SA_SIGINFO].
10261         * nptl/tst-cancel21.c (do_test): Likewise.
10262         * debug/tst-backtrace6.c: Include <signal.h> first thing.
10263         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
10264         [!SA_SIGINFO]: Make it a stub test.
10266         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
10267         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
10269         * posix/tst-getlogin.c: Move to ...
10270         * login/tst-getlogin.c: ... here.
10271         * posix/Makefile (tests): Move tst-getlogin to ...
10272         * login/Makefile (tests): ... here.
10274         * libio/tst-atime.c (do_test): Move local variables SV and E
10275         inside [ST_NOATIME] conditional.
10277         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
10279         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
10281         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
10282         (wait_code): New function replaces macro.
10283         Call nanosleep rather than syscall.
10285         * nptl/pt-system.c: Rewritten.  Put everything under
10286         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
10287         Use IFUNC to redirect when possible.
10289         * nptl/pt-longjmp.c: Rewritten.  Put everything under
10290         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
10291         Use IFUNC to redirect when possible.
10293         * nptl/pt-fork.c: Rewritten.  Put everything under
10294         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
10295         Use IFUNC to redirect when possible.
10296         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
10298         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
10299         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
10300         unconditionally nowadays.  This included the only reference to
10301         __vdso_clock_gettime that appears outside libc proper.
10302         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
10303         Remove version set (containing only __vdso_clock_gettime).
10304         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
10305         Add attribute_hidden.
10306         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
10307         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
10308         libc_hidden_data_def.
10309         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
10310         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
10312         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
10313         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
10314         setrpcent, and getrpcport to ...
10315         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
10316         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
10317         getrpcbynumber_r, and getrpcent_r to ...
10318         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
10319         * inet/getrpcbyname.c: Moved ...
10320         * sunrpc/getrpcbyname.c: ... here.
10321         * inet/getrpcbyname_r.c: Moved ...
10322         * sunrpc/getrpcbyname_r.c: ... here.
10323         * inet/getrpcbynumber.c: Moved ...
10324         * sunrpc/getrpcbynumber.c: ... here.
10325         * inet/getrpcbynumber_r.c: Moved ...
10326         * sunrpc/getrpcbynumber_r.c: ... here.
10327         * inet/getrpcent.c: Moved ...
10328         * sunrpc/getrpcent.c: ... here.
10329         * inet/getrpcent_r.c: Moved ...
10330         * sunrpc/getrpcent_r.c: ... here.
10331         * inet/Makefile (routines): Move those to ...
10332         * sunrpc/Makefile (routines): ... here.
10333         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
10334         the $(subdirs) list.
10335         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
10336         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
10337         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
10338         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
10340         * elf/Makefile (routines): Include $(all-dl-routines), not just
10341         $(dl-routines).
10342         (rtld-routines): Likewise.  Use = rather than :=.
10343         * sysdeps/aarch64/Makefile [$(subdir) = elf]
10344         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
10345         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
10346         * sysdeps/arm/Makefile: Likewise.
10347         * sysdeps/i386/Makefile: Likewise.
10348         * sysdeps/x86_64/Makefile: Likewise.
10349         * sysdeps/hppa/Makefile [$(subdir) = elf]
10350         (sysdep_routines, sysdep-rtld-routines): Don't add
10351         $(sysdep-dl-routines) to these.
10352         * sysdeps/ia64/Makefile: Likewise.
10353         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
10354         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
10355         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
10356         Don't add dl-static to these; sysdep-dl-routines alone is enough.
10357         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
10358         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
10359         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
10360         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
10361         * sysdeps/powerpc/Makefile [$(subdir) = elf]
10362         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
10363         these; sysdep-dl-routines alone is enough.
10365 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
10367         [BZ #17932]
10368         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
10369         where multiplication results in zero and third argument is finite
10370         and nonzero.
10371         * math/auto-libm-test-in: Add more tests of fma.
10372         * math/auto-libm-test-out: Regenerated.
10374         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
10375         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
10376         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
10377         (_FP_CMP_EQ): Likewise.
10378         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
10380         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
10381         extra argument CHECK_NAN.  Redefine as wrapper around
10382         _FP_EXTEND_CNAN.
10384 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
10386         * version.h (RELEASE): Set to "stable".
10387         (VERSION): Set to "2.21"
10388         * include/features.h (__GLIBC_MINOR__): Set to 21.
10390         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
10392 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
10393             Paul Eggert  <eggert@cs.ucla.edu>
10395         [BZ #16618]
10396         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
10397         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
10398         size in bytes. Store needed elements in wpmax. Use needed size
10399         in bytes for extend_alloca.
10401 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
10403         * manual/install.texi: Latest tested versions are GCC 4.9.2,
10404         binutls 2.25, and texinfo 5.2.
10405         * INSTALL: Regenerate.
10406         * sysdeps/nios2/configure: Regenerate.
10407         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
10408         * manual/contrib.texi: Update.
10409         * po/be.po: Update.
10410         * po/bg.po: Update.
10411         * po/ca.po: Update.
10412         * po/cs.po: Update.
10413         * po/da.po: Update.
10414         * po/de.po: Update.
10415         * po/el.po: Update.
10416         * po/eo.po: Update.
10417         * po/es.po: Update.
10418         * po/fi.po: Update.
10419         * po/fr.po: Update.
10420         * po/gl.po: Update.
10421         * po/hr.po: Update.
10422         * po/hu.po: Update.
10423         * po/ia.po: Update.
10424         * po/id.po: Update.
10425         * po/it.po: Update.
10426         * po/ja.po: Update.
10427         * po/ko.po: Update.
10428         * po/lt.po: Update.
10429         * po/nb.po: Update.
10430         * po/nl.po: Update.
10431         * po/pl.po: Update.
10432         * po/pt_BR.po: Update.
10433         * po/ru.po: Update.
10434         * po/rw.po: Update.
10435         * po/sk.po: Update.
10436         * po/sl.po: Update.
10437         * po/sv.po: Update.
10438         * po/tr.po: Update.
10439         * po/uk.po: Update.
10440         * po/vi.po: Update.
10441         * po/zh_CN.po: Update.
10442         * po/zh_TW.po: Update.
10444         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
10445         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
10446         * sysdeps/hppa/dl-irel.h: Remove #warning.
10447         * sysdeps/hppa/entry.h: Provide prototype for
10448         __canonicalize_funcptr_for_compare and cast argument.
10449         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
10450         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
10451         * sysdeps/hppa/sotruss-lib.c: New file.
10452         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
10453         (atomic_compare_and_exchange_val_acq): Use __typeof__.
10454         (atomic_compare_and_exchange_bool_acq): Likewise.
10455         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
10456         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
10458         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
10459         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
10460         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
10462 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
10464         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
10465         called function in non-PIC case.
10467 2015-01-31  David S. Miller  <davem@davemloft.net>
10469         * sysdeps/sparc/sparc32/bits/atomic.h
10470         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
10471         unlock not after it.
10472         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
10473         volatile register usage warnings from the compiler.
10475         * sysdeps/sparc/nptl/sem_init.c: Delete.
10476         * sysdeps/sparc/nptl/sem_post.c: Delete.
10477         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
10478         * sysdeps/sparc/nptl/sem_wait.c: Delete.
10479         * sysdeps/sparc/sparc32/sem_init.c: New file.
10480         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
10481         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
10482         padding explicitly initialized.
10483         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
10484         padding for in-semaphore spinlock.
10485         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
10486         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
10487         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
10488         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
10489         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
10490         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
10491         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
10492         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
10493         version.
10494         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
10495         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
10497 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
10499         [BZ #17801]
10500         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10501         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
10502         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
10503         New.
10504         (index_AVX_Fast_Unaligned_Load): Likewise.
10505         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
10506         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
10507         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
10508         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
10509         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
10510         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
10511         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
10512         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
10513         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
10515 2015-01-29  Andreas Schwab  <schwab@suse.de>
10517         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
10519 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
10521         [BZ #17892]
10522         * nscd/nscd_stat.c (send_stats): Initialize DATA.
10524 2015-01-28  Martin Sebor  <msebor@redhat.com>
10526         * math/README.libm-test: Clarify. Add "How to read the test output."
10528 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
10530         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
10531         Define to 0.
10533 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
10535         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
10536         (__HAVE_64B_ATOMICS): Define to 0.
10538 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
10540         [BZ #17885]
10541         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
10542         value to set as new flag.
10544         [BZ #16576]
10545         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
10546         and use _ARCH_PPCSQ instead.
10547         (__ieee754_sqrt): Likewise.
10548         (__ieee754_sqrtf): Likewise.
10549         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
10550         _ARCH_PPCSQ is defined.
10551         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
10552         fsqrt instruction.
10553         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
10554         _ARCH_PPCSQ is defined.
10555         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
10556         fsqrts instruction.
10557         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
10559 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10561         * iconv/loop.c: Suppress array out of bound warning caused by GCC
10562         bug (GCC BZ #64739).
10564 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
10566         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
10567         Mark _retval as used.
10568         (lll_futex_wake_unlock): Likewise.
10569         (lll_futex_timed_wait_requeue_pi): Likewise.
10571         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
10572         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
10573         register variables.
10575         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
10576         libm_hidden_def.
10578         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
10579         (__bswap_64): Mark as __always_inline.
10581 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
10583         [BZ #15378]
10584         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
10585         when none of the search directories exist.
10587 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
10589         [BZ #17869]
10590         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
10591         power8 in .machine directive.
10593         [BZ #17868]
10594         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
10595         set dependency from opd value.
10597 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
10599         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10600         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
10601         architecture.
10603 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
10605         [BZ #17870]
10606         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
10607         with uint64_t.
10608         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
10609         (uint64_t) 1.
10610         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
10611         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
10612         Replace 1UL with (uint64_t) 1.
10613         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
10614         int with uint64_t.
10616 2015-01-23  Roland McGrath  <roland@hack.frob.com>
10618         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
10619         (if_freenameindex): Likewise.
10621         * resource/getrlimit64.c: Add missing libc_hidden_def.
10623 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
10625         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
10626         __label__.
10627         (_FP_FMA): Likewise.
10628         (_FP_TO_INT_ROUND): Likewise.
10629         (_FP_FROM_INT): Likewise.
10631 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10633         [BZ #16418]
10634         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
10635         Make code racy and cancel safe.
10637 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
10639         * sysdeps/arm/unwind-resume.h: Fix copyright year.
10640         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
10641         attribution.
10643         * pwd/tst-getpw.c: Rewrite.
10645         [BZ #17702]
10646         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
10647         (modules-names): Add moddummy1 and moddummy2.
10648         ($(objpfx)tst-rec-dlopen): Define.
10649         * dlfcn/moddummy1.c: New file.
10650         * dlfcn/moddummy2.c: New file.
10651         * dlfcn/tst-rec-dlopen.c: New file.
10652         * elf/dl-cache.c (_dl_load_cache_lookup):
10653         Return char*. Copy result with alloca/strcpy/strdup.
10654         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
10655         returns char*. Free cached. If not saving realname
10656         free cached.
10657         * elf/dl-open.c (dl_open_worker): Do not assert that
10658         _r_debug->r_state is RT_CONSISTENT.
10659         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
10660         returns char*.
10662 2015-01-21  Torvald Riegel  <triegel@redhat.com>
10663             Carlos O'Donell  <carlos@redhat.com>
10665         [BZ #12674]
10666         * nptl/sem_waitcommon.c: New file.
10667         * nptl/sem_wait.c: Include sem_waitcommon.c.
10668         (__sem_wait_cleanup, do_futex_wait): Remove.
10669         (__new_sem_wait): Adapt.
10670         (__new_sem_trywait): New function.
10671         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
10672         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
10673         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
10674         (sem_timedwait): Adapt.
10675         * nptl/sem_post.c (__new_sem_post): Adapt.
10676         (futex_wake): New function.
10677         (__old_sem_post): Add release MO fence.
10678         * nptl/sem_open.c (sem_open): Adapt.
10679         * nptl/sem_init.c (__new_sem_init): Adapt.
10680         (futex_private_if_supported): New function.
10681         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
10682         (__old_sem_getvalue): Add using previous code.
10683         * sysdeps/nptl/internaltypes.h: Adapt.
10684         * nptl/tst-sem13.c (do_test): Adapt.
10685         * nptl/tst-sem11.c (main): Adapt.
10686         * nptl/sem_trywait.c: Remove.
10687         * nptl/DESIGN-sem.txt: Remove.
10688         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
10689         (gen-as-const-headers): Remove structsem.sym.
10690         * nptl/structsem.sym: Remove.
10691         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
10692         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
10693         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
10694         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
10695         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
10696         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
10697         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
10698         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
10699         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
10700         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
10701         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
10702         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
10703         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
10704         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
10705         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
10706         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
10707         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
10708         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
10709         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
10710         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
10711         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
10712         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
10714 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
10716         * INSTALL: Regenerated.
10718         * po/libc.pot: Regenerated.
10720 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
10721             Sandra Loosemore  <sandra@codesourcery.com>
10722             Andrew Jenner  <andrew@codesourcery.com>
10723             Joseph Myers  <joseph@codesourcery.com>
10724             Nathan Sidwell  <nathan@codesourcery.com>
10726         * NEWS: Mention new Nios II port.
10727         * sysdeps/nios2/Implies: New file.
10728         * sysdeps/nios2/Makefile: New file.
10729         * sysdeps/nios2/Subdirs: New file.
10730         * sysdeps/nios2/Versions: New file.
10731         * sysdeps/nios2/__longjmp.S: New file.
10732         * sysdeps/nios2/abort-instr.h: New file.
10733         * sysdeps/nios2/backtrace.c: New file.
10734         * sysdeps/nios2/bits/endian.h: New file.
10735         * sysdeps/nios2/bits/fenv.h: New file.
10736         * sysdeps/nios2/bits/link.h: New file.
10737         * sysdeps/nios2/bits/setjmp.h: New file.
10738         * sysdeps/nios2/bsd-_setjmp.S: New file.
10739         * sysdeps/nios2/bsd-setjmp.S: New file.
10740         * sysdeps/nios2/configure: New generated file.
10741         * sysdeps/nios2/configure.ac: New file.
10742         * sysdeps/nios2/crti.S: New file.
10743         * sysdeps/nios2/crtn.S: New file.
10744         * sysdeps/nios2/dl-init.c: New file.
10745         * sysdeps/nios2/dl-machine.h: New file.
10746         * sysdeps/nios2/dl-sysdep.h: New file.
10747         * sysdeps/nios2/dl-tls.h: New file.
10748         * sysdeps/nios2/dl-trampoline.S: New file.
10749         * sysdeps/nios2/gccframe.h: New file.
10750         * sysdeps/nios2/gmp-mparam.h: New file.
10751         * sysdeps/nios2/jmpbuf-offsets.h: New file.
10752         * sysdeps/nios2/jmpbuf-unwind.h: New file.
10753         * sysdeps/nios2/ldsodefs.h: New file.
10754         * sysdeps/nios2/libc-tls.c: New file.
10755         * sysdeps/nios2/libm-test-ulps: New file.
10756         * sysdeps/nios2/machine-gmon.h: New file.
10757         * sysdeps/nios2/math-tests.h: New file.
10758         * sysdeps/nios2/math_private.h: New file.
10759         * sysdeps/nios2/memusage.h: New file.
10760         * sysdeps/nios2/nptl/Makefile: New file.
10761         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
10762         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
10763         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
10764         * sysdeps/nios2/nptl/pthreaddef.h: New file.
10765         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
10766         * sysdeps/nios2/nptl/tls.h: New file.
10767         * sysdeps/nios2/preconfigure: New file.
10768         * sysdeps/nios2/s_fma.c: New file.
10769         * sysdeps/nios2/s_fmaf.c: New file.
10770         * sysdeps/nios2/setjmp.S: New file.
10771         * sysdeps/nios2/sfp-machine.h: New file.
10772         * sysdeps/nios2/sotruss-lib.c: New file.
10773         * sysdeps/nios2/stackguard-macros.h: New file.
10774         * sysdeps/nios2/stackinfo.h: New file.
10775         * sysdeps/nios2/start.S: New file.
10776         * sysdeps/nios2/sysdep.h: New file.
10777         * sysdeps/nios2/tls-macros.h: New file.
10778         * sysdeps/nios2/tst-audit.h: New file.
10779         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
10780         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
10781         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
10782         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
10783         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
10784         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
10785         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
10786         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
10787         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
10788         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
10789         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
10790         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
10791         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
10792         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
10793         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
10794         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
10795         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
10796         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
10797         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
10798         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
10799         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
10800         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
10801         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
10802         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
10803         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
10804         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
10805         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
10806         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
10807         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
10808         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
10809         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
10810         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
10811         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
10812         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
10813         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
10814         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
10815         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
10816         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
10817         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
10818         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
10819         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
10820         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
10821         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
10822         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
10824 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
10826         [BZ #17844]
10827         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
10828         (getutent): Use weak_alias in non SHARED case
10829         and default_symbol_version in SHARED case.
10830         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
10831         (getutent_r, pututline): Likewise.
10832         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
10833         (getutid): Likewise.
10834         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
10835         (getutid_r): Likewise.
10836         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
10837         (getutline): Likewise.
10838         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
10839         (getutline_r): Likewise.
10840         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
10841         (updwtmp): Likewise.
10843 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
10845         [BZ #17848]
10846         * sysdeps/s390/s390-32/memcmp.S
10847         (memcmp_g5): Rename to __memcmp_g5.
10848         * sysdeps/s390/s390-32/memcpy.S
10849         (memcpy_g5): Rename to __memcpy_g5.
10850         Jump to __memcpy_mvcle instead of memcpy_mvcle.
10851         (memcpy_mvcle) Rename to __memcpy_mvcle.
10852         * sysdeps/s390/s390-32/memset.S
10853         (memset_g5): Rename to __memset_g5.
10854         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
10855         (IFUNC_RESOLVE): Prefix ifunc-resolve function
10856         and use prefixed functions.
10857         * sysdeps/s390/s390-32/multiarch/memcmp.S
10858         (memcmp_z196): Rename to __memcmp_z196.
10859         (memcmp_z10): Rename to __memcmp_z10.
10860         (memcmp): Set alias to __memcmp_g5.
10861         (bcmp): Set alias to __memcmp_g5.
10862         * sysdeps/s390/s390-32/multiarch/memcpy.S
10863         (memcpy_z196): Rename to __memcpy_z196.
10864         Jump to __memcpy_mvcle instead of memcpy_mvcle.
10865         (memcpy_z10): Rename to __memcpy_z10.
10866         Jump to __memcpy_mvcle instead of memcpy_mvcle.
10867         (memcpy): Set alias to __memcpy_g5.
10868         * sysdeps/s390/s390-32/multiarch/memset.S
10869         (memset_z196): Rename to __memset_z196.
10870         Jump to __memset_mvcle instead of memset_mvcle.
10871         (memset_z10): Rename to __memset_z10.
10872         Jump to __memset_mvcle instead of memset_mvcle.
10873         (memset_mvcle) Rename to __memset_mvcle.
10874         (memset): Set alias to __memset_g5.
10875         * sysdeps/s390/s390-64/memcmp.S
10876         (memcmp_z900): Rename to __memcmp_z900.
10877         * sysdeps/s390/s390-64/memcpy.S
10878         (memcpy_z900): Rename to __memcpy_z900.
10879         Jump to __memcpy_mvcle instead of memcpy_mvcle.
10880         (memcpy_mvcle) Rename to __memcpy_mvcle.
10881         * sysdeps/s390/s390-64/memset.S
10882         (memset_z900): Rename to __memset_z900.
10883         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
10884         (IFUNC_RESOLVE): Prefix ifunc-resolve function
10885         and use prefixed functions.
10886         * sysdeps/s390/s390-64/multiarch/memcmp.S
10887         (memcmp_z196): Rename to __memcmp_z196.
10888         (memcmp_z10): Rename to __memcmp_z10.
10889         (memcmp): Set alias to __memcmp_z900.
10890         (bcmp): Set alias to __memcmp_z900.
10891         * sysdeps/s390/s390-64/multiarch/memcpy.S
10892         (memcpy_z196): Rename to __memcpy_z196.
10893         Jump to __memcpy_mvcle instead of memcpy_mvcle.
10894         (memcpy_z10): Rename to __memcpy_z10.
10895         Jump to __memcpy_mvcle instead of memcpy_mvcle.
10896         (memcpy): Set alias to __memcpy_z900.
10897         * sysdeps/s390/s390-64/multiarch/memset.S
10898         (memset_z196): Rename to __memset_z196.
10899         Jump to __memset_mvcle instead of memset_mvcle.
10900         (memset_z10): Rename to __memset_z10.
10901         Jump to __memset_mvcle instead of memset_mvcle.
10902         (memset_mvcle) Rename to __memset_mvcle.
10903         (memset): Set alias to __memset_z900.
10905 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
10907         [BZ #17748]
10908         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
10909         __fesetenv instead of fesetenv.
10911 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
10913         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
10914         macro.
10916 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10918         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
10919         regression on LE.
10921         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
10922         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
10923         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
10924         strncmp-power8 object.
10925         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10926         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
10927         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
10928         * NEWS: Update.
10930 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10931             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10933         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
10934         trailing byte check.
10936 2015-01-13  David S. Miller  <davem@davemloft.net>
10938         * include/signal.h (__sigreturn): Guard with __USE_MISC.
10940 2015-01-13  Roland McGrath  <roland@hack.frob.com>
10942         * login/logout.c (logout): Use memset rather than bzero.
10943         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
10944         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
10945         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
10946         (_gethtbyaddr): Likewise.
10947         * locale/programs/simple-hash.c (bcopy): Macro removed.
10949 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10951         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10952         Add strcmp-power8 object.
10953         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10954         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
10955         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
10956         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
10957         __strcmp_power8 implementation.
10958         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
10959         * NEWS: Update.
10961         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10962         Add strncpy-power8 and stpncpy-power8 objects.
10963         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10964         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
10965         implementations.
10966         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
10967         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
10968         __stpncpy_power8 implementation.
10969         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
10970         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
10971         __strncpy_power8 implementation.
10972         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
10973         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
10974         * NEWS: Update.
10976         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
10977         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
10978         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
10980         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
10981         strncat-power8 object.
10982         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
10983         __strcat_power8 implementation.
10984         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10985         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
10986         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
10987         optimized strcat for power8.
10989         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
10990         strcpy-power8 and stpcpy-power8 objects.
10991         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10992         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
10993         implementations.
10994         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
10995         multiarch stpcpy implementation for POWER8.
10996         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
10997         multiarch strcpy implementation for POWER8.
10998         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
10999         __strcpy_power8 function.
11000         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
11001         stpcpy for POWER8.
11002         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
11003         strcpy for POWER8.
11004         * NEWS: Update.
11006 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
11008         [BZ #16009]
11009         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
11010         weights and rules. Use do_xfrm_cached if data fits in cache,
11011         do_xfrm otherwise.  Moved former main loop to...
11012         * (do_xfrm_cached): New function.
11013         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
11014         find_idx, find_position and stack_push.
11015         * (find_idx): New function.
11016         * (find_position): Likewise.
11017         * localedata/sort-test.sh: Added test run for do_xfrm.
11018         * localedata/xfrm-test.c (main): Added command line option
11019         -nocache to run the test with strings that are too large for
11020         the STRXFRM cache.
11022 2015-01-13  Torvald Riegel  <triegel@redhat.com>
11024         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
11025         variable to lll_futex_wake call, not the value itself.
11027 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
11029         [BZ #17803]
11030         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
11031         twom64.  Adjust value to 0x1p-64L.
11032         (__scalblnl): Only return standard underflowing result for K <=
11033         -64 not K <= -63; adjust exponent for underflowing result by 64
11034         not 63.
11035         * math/libm-test.inc (scalbn_test_data): Add more tests.
11036         (scalbln_test_data): Likewise.
11038         [BZ #17834]
11039         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
11040         0x1p63L.
11041         (__scalblnl): Get new exponent of adjusted subnormal value from ES
11042         not HX.
11043         * math/libm-test.inc (scalbn_test_data): Add more tests.
11044         (scalbln_test_data): Likewise.
11046 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11047             Stefani Seibold  <stefani@seibold.net>
11049         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
11050         (sysdep_routines): Add dl-vdso here, ...
11051         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
11052         (sysdep_routines): ... not here.
11053         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
11054         fallback when vDSO is not presented.
11055         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
11056         Define with libc_hidden_proto/libc_hidden_data_def definitions.
11057         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
11058         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
11059         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
11060         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
11061         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
11062         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
11063         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
11064         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
11065         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
11066         fallback configurable symbol when vDSO is not available.
11067         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
11068         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
11069         be able to redefine fallback symbol when vDSO is not available.
11070         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
11071         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
11073 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11075         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
11076         (TLS_INIT_TP): Add tm_capable initialization.
11077         (TLS_DEFINE_INIT_TP): Likewise.
11078         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
11079         TCB.
11080         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
11081         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
11082         calculation.
11083         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
11084         transactoion is lock elision is built and TCB tm_capable is set.
11085         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
11086         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
11087         (INTERNAL_SYSCALL_NCS): Likewise.
11088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
11089         (INTERNAL_SYSCALL_NCS): Likewise.
11090         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
11092         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
11093         for powerpc.
11094         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
11095         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
11096         and remove it for 32 bits case.
11097         [pthread_rwlock_t] (__rwelision): New field for lock elision.
11098         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
11099         initialization.
11100         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
11101         Disable lock elision with rdlocks if elision is not available.
11103         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
11104         (sysdep_routines): Add lock elision objects.
11105         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
11106         [pthread_mutex_t] (__spins): Rework to add lock elision field.
11107         [pthread_mutex_t] (__elision): Add field.
11108         [__PTHREAD_SPINS]: Adjust to init lock elision field.
11109         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
11110         elision definitions for powerpc.
11111         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
11112         implementation of lock elision for powerpc.
11113         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
11114         implementation of timed lock elision for powerpc.
11115         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
11116         implementation of trylock with lock elision for powerpc.
11117         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
11118         implementaion of unlock for lock elision for powerpc.
11119         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
11120         automatic enable lock elision for mutexes.
11121         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
11122         transaction execution definitions for powerpc.
11123         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
11124         definitions.
11125         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
11126         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
11127         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
11128         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
11129         * NEWS: Update.
11131 2015-01-09  Roland McGrath  <roland@hack.frob.com>
11133         * sysdeps/posix/shm-directory.c: Use <> rather than ""
11134         for #include of <shm-directory.h>.
11136 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
11138         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
11139         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
11141 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
11143         [BZ #17791]
11144         * NEWS: Mention bug fix.
11145         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
11146         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
11147         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
11149 2015-01-09  Torvald Riegel <triegel@redhat.com>
11151         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
11153 2015-01-09  Torvald Riegel <triegel@redhat.com>
11155         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
11157 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
11159         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
11160         pointer and cast to uintptr_t.
11162 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
11164         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
11165         removed.
11166         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
11168 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
11170         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
11171         of 0.
11173 2015-01-08  Roland McGrath  <roland@hack.frob.com>
11175         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
11176         <nptl/pthreadP.h> instead.
11177         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
11179         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
11180         already defined.
11181         [__SIGRTMIN] (init): Function removed.
11182         [__SIGRTMIN] (initialized): Variable removed.
11183         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
11184         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
11185         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
11186         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
11187         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
11188         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
11189         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
11190         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
11191         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
11192         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
11193         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
11194         * sysdeps/nptl/allocrtsig.c: New file.
11195         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
11196         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
11197         * sysdeps/generic/testrtsig.h: File removed.
11199         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
11200         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
11202         * nptl/nptl-init.c (pthread_functions): Conditionalize
11203         .ptr__nptl_setxid initialization on [SIGSETXID].
11205         * sysdeps/nptl/sys/procfs.h: New file.
11206         * nptl_db/Makefile (headers): Add it.
11207         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
11209         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
11210         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
11211         * nptl/pthread_attr_setaffinity.c: Include it.
11212         * nptl/pthread_setattr_default_np.c: Likewise.
11213         * nptl/check-cpuset.h: New file.
11215 2015-01-08  Richard Henderson  <rth@redhat.com>
11217         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
11218         (CFLAGS-tst-execstack-prog.c): Likewise.
11219         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
11221 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
11222             Sandra Loosemore  <sandra@codesourcery.com>
11223             Andrew Jenner  <andrew@codesourcery.com>
11224             Joseph Myers  <joseph@codesourcery.com>
11225             Nathan Sidwell  <nathan@codesourcery.com>
11227         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
11228         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
11229         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
11230         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
11231         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
11232         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
11233         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
11234         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
11235         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
11236         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
11237         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
11238         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
11239         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
11240         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
11241         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
11242         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
11243         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
11245 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11247         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
11248         timespec struct member in syscall macro.
11249         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
11250         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
11251         first timeval struct member in syscall macro.
11252         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
11254 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
11256         [BZ #17748]
11257         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
11258         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
11259         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
11260         __feupdateenv and define as weak alias of __feupdateenv.  Use
11261         libm_hidden_weak.
11262         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
11263         libm_hidden_def.
11264         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
11265         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
11266         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
11267         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
11268         libm_hidden_def.
11269         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
11270         __feupdateenv and define as weak alias of __feupdateenv.  Use
11271         libm_hidden_weak.
11272         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
11273         libm_hidden_def.
11274         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
11275         __feupdateenv and define as weak alias of __feupdateenv.  Use
11276         libm_hidden_weak.
11277         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
11278         libm_hidden_def.
11279         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
11280         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
11281         (__feupdateenv): Likewise.
11282         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
11283         __feupdateenv and define as weak alias of __feupdateenv.  Use
11284         libm_hidden_weak.
11285         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
11286         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
11287         libm_hidden_def.
11288         * sysdeps/tile/math_private.h (__feupdateenv): New inline
11289         function.
11290         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
11291         libm_hidden_def.
11292         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
11293         __feupdateenv instead of feupdateenv.
11294         (default_libc_feupdateenv_test): Likewise.
11295         (libc_feresetround_ctx): Likewise.
11297 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11299         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
11300         prototype.
11302 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
11304         * posix/regcomp.c (parse_bracket_exp): Initialize type to
11305         COLL_SYM in a couple of places to avoid uninitialized variable
11306         wanings on tilegx gcc 4.8.2.
11308 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
11310         * sysdeps/aarch64/strcpy.S: New file.
11311         * sysdeps/aarch64/stpcpy.S: New file.
11312         * NEWS: Updated.
11314 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
11316         * sysdeps/aarch64/strrchr.S: New file.
11317         * NEWS: Updated.
11319 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
11321         [BZ #17658]
11322         * stdlib/setenv.c: Fix memory leak when setting large,
11323         duplicate string.
11325 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
11327         [BZ #17273]
11328         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
11329         and tabs from buffer before parsing fstab entry.
11330         * misc/tst-mntent.c (main): Add test for mount entry with
11331         trailing spaces and tabs.
11333 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
11335         [BZ #17748]
11336         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
11337         * math/fesetround.c (fesetround): Rename to __fesetround and
11338         define as weak alias of __fesetround.  Use libm_hidden_weak.
11339         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
11340         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
11341         * sysdeps/arm/fesetround.c (fesetround): Likewise.
11342         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
11343         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
11344         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
11345         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
11346         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
11347         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
11348         __fesetround_inline.
11349         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
11350         __fesetround_inline instead of __fesetround.
11351         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
11352         __fesetround and define as weak alias of __fesetround.  Use
11353         libm_hidden_weak.  Call __fesetround_inline instead of
11354         __fesetround.
11355         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
11356         __fesetround and define as weak alias of __fesetround.  Use
11357         libm_hidden_weak.
11358         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
11359         Likewise.
11360         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
11361         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
11362         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
11363         * sysdeps/tile/math_private.h (__fesetround): New inline function.
11364         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
11365         __fesetround and define as weak alias of __fesetround.  Use
11366         libm_hidden_weak.
11367         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
11368         __fesetround instead of fesetround.
11369         (default_libc_feholdexcept_setround): Likewise.
11370         (libc_feholdsetround_ctx): Likewise.
11371         (libc_feholdsetround_noex_ctx): Likewise.
11373         [BZ #17748]
11374         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
11375         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
11376         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
11377         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
11378         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
11379         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
11380         define as weak alias of __fesetenv.  Use libm_hidden_weak.
11381         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
11382         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
11383         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
11384         define as weak alias of __fesetenv.  Use libm_hidden_weak.
11385         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
11386         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
11387         define as weak alias of __fesetenv.  Use libm_hidden_weak.
11388         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
11389         libm_hidden_def.
11390         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
11391         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
11392         Likewise.
11393         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
11394         define as weak alias of __fesetenv.  Use libm_hidden_weak.
11395         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
11396         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
11397         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
11398         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
11399         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
11400         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
11401         __fesetenv instead of fesetenv.
11402         (libc_feresetround_noex_ctx): Likewise.
11403         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
11404         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
11405         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
11406         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
11407         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
11408         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
11409         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
11410         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
11411         (__feupdateenv): Likewise.
11412         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
11413         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
11414         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
11415         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
11417 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
11419         [BZ #17806]
11420         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
11421         addresses have been freed.
11423 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
11425         * resolv/res_init.c (__res_vinit): Improve comments about nserv
11426         and nservall.
11428 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
11430         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
11431         Clean up check_pf allocation pattern. addresses
11433 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11435         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
11436         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
11437         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
11438         * nptl/pthread_exit.c (__pthread_exit): Likewise.
11439         * nptl/pthread_join.c (pthread_join): Likewise.
11440         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
11441         * sysdeps/posix/waitid.c (__waitid): Likewise.
11442         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
11443         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
11444         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
11445         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
11446         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
11447         Likewise.
11448         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
11449         (__libc_pread64): Likewise.
11450         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
11451         (__libc_pwrite): Likewise.
11452         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
11453         (__libc_pwrite64): Likewsie.
11454         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
11455         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
11456         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
11457         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
11458         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
11459         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
11460         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
11461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
11462         Likewise.
11463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
11464         (__libc_pread64): Likewise.
11465         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
11466         Likewise.
11467         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
11468         (__libc_pwrite64): Likewise.
11469         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
11470         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
11471         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
11472         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
11473         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
11474         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
11475         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
11476         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
11477         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
11478         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
11479         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
11480         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
11481         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
11482         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
11483         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
11484         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
11485         Likewise.
11487 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
11489         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
11490         (CFLAGS-test-double.c): Likewise.
11491         (CFLAGS-test-ldouble.c): Likewise.
11492         (CPPFLAGS-test-ifloat.c): Likewise.
11493         (CPPFLAGS-test-idouble.c): Likewise.
11494         (CPPFLAGS-test-ildoubl.c): Likewise.
11495         (CFLAGS-test-test-fenv.c): Remove variable.
11496         (CFLAGS-test-misc.c): Likewise.
11498 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
11500         [BZ #17797]
11501         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
11502         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
11503         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
11504         CLOCKS_PER_SEC == 1000000.
11505         * time/clocktest.c (main): Replace %ld with %jd and cast to
11506         intmax_t.
11508 2015-01-05  Roland McGrath  <roland@hack.frob.com>
11510         * sysdeps/generic/unwind-resume.h: New file.
11511         * sysdeps/gnu/unwind-resume.c: Include it.
11512         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
11513         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
11514         argument list.
11515         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
11516         global rather than static.
11517         (_Unwind_Resume): Update user.
11518         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
11519         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
11520         rather than static.  Add __attribute__ ((cold)).
11521         (_Unwind_Resume, __gcc_personality_v0): Update callers.
11522         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
11523         * sysdeps/arm/arm-unwind-resume.S: New file.
11524         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
11525         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
11526         * sysdeps/arm/Makefile [$(subdir) = csu]
11527         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
11528         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
11529         Add rt-arm-unwind-resume.
11530         [$(subdir) = nptl]
11531         (libpthread-sysdep_routines, libpthread-shared-only-routines):
11532         Add pt-arm-unwind-resume.
11533         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
11534         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
11536 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
11538         [BZ #17748]
11539         * include/fenv.h (__feholdexcept): Declare.  Use
11540         libm_hidden_proto.
11541         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
11542         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
11543         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
11544         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
11545         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
11546         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
11547         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
11548         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
11549         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
11550         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
11551         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
11552         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
11553         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
11554         (feholdexcept): Likewise.
11555         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
11556         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
11557         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
11558         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
11559         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
11560         __feholdexcept instead of feholdexcept.
11561         (default_libc_feholdexcept_setround): Likewise.
11563 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
11565         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
11566         to avoid using stl/str to align destination.
11568 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
11570         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
11572 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
11574         [BZ #17796]
11575         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
11576         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
11577         Define as weak alias not strong alias.
11579 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
11581         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
11582         bltzal with addiupc.
11583         (RTLD_START): Ditto.
11585 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
11587         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
11588         for __vdso_* functions in declarations.
11589         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
11590         definitions.
11591         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
11592         INTERNAL_VSYSCALL): Use struct return types to check for error.
11594         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
11595         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
11596         function with cast from llround().
11597         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
11598         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
11599         Define.
11601 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
11603         [BZ #17793]
11604         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
11605         Define as weak alias not strong alias.
11607         [BZ #17635]
11608         * ctype/ctype-c99.c: New file.  isblank implementation moved from
11609         ...
11610         * ctype/ctype-extn.c: ... here.
11611         (__isblank_l): Move to ...
11612         * ctype/ctype-c99_l.c: ... here.  New file.
11613         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
11614         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
11615         Remove variable.
11616         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
11617         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
11618         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
11619         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
11620         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
11622         [BZ #17777]
11623         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
11624         (posix_fadvise64): Define as weak alias not strong alias.
11625         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
11626         (posix_fallocate64): Likewise.
11627         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
11628         Remove variable.
11629         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
11630         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
11631         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
11632         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
11633         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
11635 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
11637         [BZ #16191]
11638         * NEWS: Mention bug fix.
11639         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
11640         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
11641         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
11642         (HOST_STACK_END_ADDR): Likewise.
11644 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
11646         [BZ #17748]
11647         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
11648         * math/fegetround.c (fegetround): Rename to __fegetround and
11649         define as weak alias of __fegetround.  Use libm_hidden_weak.
11650         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
11651         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
11652         * sysdeps/arm/fegetround.c (fegetround): Likewise.
11653         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
11654         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
11655         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
11656         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
11657         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
11658         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
11659         Undefine after rather than before function definition; use
11660         parentheses around function name in definition.
11661         (__fegetround): Also undefine macro after function definition.
11662         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
11663         __fegetround and define as weak alias of __fegetround.  Use
11664         libm_hidden_weak.  Do not undefine as macro.
11665         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
11666         Likewise.
11667         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
11668         __fegetround and define as weak alias of __fegetround.  Use
11669         libm_hidden_weak.
11670         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
11671         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
11672         * sysdeps/tile/math_private.h (__fegetround): New inline function.
11673         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
11674         __fegetround and define as weak alias of __fegetround.  Use
11675         libm_hidden_weak.
11676         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
11677         __fegetround instead of fegetround.
11679         [BZ #17782]
11680         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
11681         Condition macro definition on [__USE_MISC].
11683         [BZ #17781]
11684         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
11685         (struct sigaction): Change type of sa_flags field to int.
11687         [BZ #17780]
11688         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
11689         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
11690         __glibc_reserved0.
11692         * nptl/version.c (banner): Use single year in copyright notice.
11694         * NEWS: Update copyright dates.
11695         * catgets/gencat.c (print_version): Likewise.
11696         * csu/version.c (banner): Likewise.
11697         * debug/catchsegv.sh: Likewise.
11698         * debug/pcprofiledump.c (print_version): Likewise.
11699         * debug/xtrace.sh (do_version): Likewise.
11700         * elf/ldconfig.c (print_version): Likewise.
11701         * elf/ldd.bash.in: Likewise.
11702         * elf/pldd.c (print_version): Likewise.
11703         * elf/sotruss.sh: Likewise.
11704         * elf/sprof.c (print_version): Likewise.
11705         * iconv/iconv_prog.c (print_version): Likewise.
11706         * iconv/iconvconfig.c (print_version): Likewise.
11707         * locale/programs/locale.c (print_version): Likewise.
11708         * locale/programs/localedef.c (print_version): Likewise.
11709         * login/programs/pt_chown.c (print_version): Likewise.
11710         * malloc/memusage.sh (do_version): Likewise.
11711         * malloc/memusagestat.c (print_version): Likewise.
11712         * malloc/mtrace.pl: Likewise.
11713         * manual/libc.texinfo: Likewise.
11714         * nptl/version.c (banner): Likewise.
11715         * nscd/nscd.c (print_version): Likewise.
11716         * nss/getent.c (print_version): Likewise.
11717         * nss/makedb.c (print_version): Likewise.
11718         * posix/getconf.c (main): Likewise.
11719         * scripts/test-installation.pl: Likewise.
11720         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
11722 2015-01-02  Will Newton  <will.newton@linaro.org>
11724         * sysdeps/arm/armv7/configure: Removed.
11725         * sysdeps/arm/armv7/configure.ac: Likewise.
11727 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
11729         * All files with FSF copyright notices: Update copyright dates
11730         using scripts/update-copyrights.
11731         * intl/plural.c: Regenerated.
11732         * locale/programs/charmap-kw.h: Likewise.
11733         * locale/programs/locfile-kw.h: Likewise.
11735 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
11737         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
11739 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
11741         [BZ #17748]
11742         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
11743         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
11744         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
11745         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
11746         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
11747         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
11748         define as weak alias of __fegetenv.  Use libm_hidden_weak.
11749         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
11750         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
11751         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
11752         define as weak alias of __fegetenv.  Use libm_hidden_weak.
11753         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
11754         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
11755         define as weak alias of __fegetenv.  Use libm_hidden_weak.
11756         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
11757         libm_hidden_def.
11758         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
11759         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
11760         Likewise.
11761         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
11762         define as weak alias of __fegetenv.  Use libm_hidden_weak.
11763         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
11764         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
11765         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
11766         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
11767         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
11768         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
11769         __fegetenv instead of fegetenv.
11770         (libc_feholdsetround_noex_ctx): Likewise.
11772 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
11774         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
11775         (Elf_MIPS_ABIFlags_v0): New structure.
11776         (EF_MIPS_FP64): Define.
11777         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
11778         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
11779         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
11780         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
11781         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
11782         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
11783         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
11784         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
11785         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
11786         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
11787         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
11788         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
11789         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
11790         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
11791         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
11792         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
11793         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
11794         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
11795         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
11796         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
11797         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
11798         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
11799         field.
11800         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
11801         EF_MIPS_FP64.
11802         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
11803         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
11804         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
11805         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
11806         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
11807         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
11808         * sysdeps/mips/tst-abi-interlink.c: Likewise.
11809         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
11810         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
11811         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
11812         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
11813         record the current FP ABI extension.
11814         (mips-mode-switch): Define to show if kernel headers support mode
11815         switching.
11816         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
11817         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
11818         supported SYSV ABI version to 3.
11819         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
11820         feature.
11822 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11823             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11825         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
11826         path.
11827         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
11829 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
11831         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
11832         __fegetround and redefine to call __fegetround.  Remove condition
11833         on [!__NO_MATH_INLINES].
11834         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
11835         function.
11836         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
11837         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
11838         Remove macro.
11839         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
11840         instead of <fenv_libc.h>.
11841         (__llrintl): Call fegetround instead of __fegetround.
11842         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
11843         instead of <fenv_libc.h>.
11844         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
11845         (__lrintl): Call fegetround instead of __fegetround.
11846         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
11847         instead of <fenv_libc.h>.
11848         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
11849         (__rintl): Call fegetround instead of __fegetround.
11851 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
11853         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
11854         arrays.
11856 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
11858         [BZ #17775]
11859         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
11860         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
11861         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
11863 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
11865         * sysdeps/i386/tls-macros.h: Include <features.h>.
11866         (TLS_LE): Use non-PIC version for GCC >= 5.0.
11867         (TLS_IE): Likewise.
11868         (TLS_LD): Likewise.
11869         (TLS_GD): Likewise.
11870         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
11871         define for GCC >= 5.0.
11873 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
11875         * math/test-fenv.c (test_single_exception, set_single_exc,
11876         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
11877         feexcp_mask_test, feenable_test, fe_single_test): Add
11878         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
11879         case where they are not used.
11880         * math/libm-test.inc: Likewise.
11881         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
11882         unused in the absence of FP rounding/exception support.
11883         * stdio-common/tst-printf-round.c: Likewise.
11884         * stdlib/tst-strtod-round.c: Likewise.
11885         * stdlib/tst-strtod-underflow.c: Likewise.
11887 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
11889         [BZ #17723]
11890         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
11891         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
11892         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
11893         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
11894         libm_hidden_weak.
11895         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
11896         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
11897         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
11898         libm_hidden_def.
11899         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
11900         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
11901         libm_hidden_weak.
11902         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
11903         Likewise.
11904         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
11905         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
11906         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
11907         libm_hidden_weak.
11908         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
11909         libm_hidden_def.
11910         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
11911         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
11912         (__feraiseexcept): Likewise.
11913         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
11914         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
11915         libm_hidden_weak.
11916         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
11917         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
11918         libm_hidden_def.
11919         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
11920         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
11921         Use libm_hidden_def.
11922         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
11923         libm_hidden_def.
11924         (feraiseexcept): Define as weak not strong alias.  Use
11925         libm_hidden_weak.
11926         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
11927         New inline function.  Factored out of ...
11928         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
11929         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
11930         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
11931         feraiseexcept.
11932         * math/w_acos.c (__acos): Likewise.
11933         * math/w_asin.c (__asin): Likewise.
11934         * math/w_ilogb.c (__ilogb): Likewise.
11935         * math/w_j0.c (y0): Likewise.
11936         * math/w_j1.c (y1): Likewise.
11937         * math/w_jn.c (yn): Likewise.
11938         * math/w_log.c (__log): Likewise.
11939         * math/w_log10.c (__log10): Likewise.
11940         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
11941         * sysdeps/aarch64/fpu/math_private.h
11942         (libc_feupdateenv_test_aarch64): Likewise.
11943         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
11944         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
11945         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
11946         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
11947         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
11948         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
11949         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
11950         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
11951         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
11952         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
11954 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
11956         [BZ #17732]
11957         * io/test-utime.c (main): Replace %ld with %jd and cast to
11958         intmax_t.
11959         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
11960         * nptl/tst-mutex5.c: Include <stdint.h>.
11961         (do_test): Replace %ld with %jd and cast to intmax_t.
11962         * posix/tst-regex.c (run_test): Likewise.
11963         (run_test_backwards): Likewise.
11964         * rt/tst-clock.c: Include <stdint.h>.
11965         (clock_test): Replace %ld with %jd and cast to intmax_t.
11966         * rt/tst-cpuclock1.c: Include <stdint.h>.
11967         (do_test): Replace %lu with %ju and cast to uintmax_t.
11968         * rt/tst-cpuclock2.c: Include <stdint.h>.
11969         (do_test): Replace %lu with %ju and cast to uintmax_t.
11970         * rt/tst-mqueue1.c: Include <stdint.h>.
11971         (check_attrs): Replace %ld with %jd and cast to intmax_t.
11972         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
11973         intmax_t.
11974         * rt/tst-mqueue4.c (do_test): Likewise.
11975         * rt/tst-timer4.c: Include <stdint.h>.
11976         (check_ts): Replace %ld with %jd and cast to intmax_t.
11977         (do_test): Likewise.
11978         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
11979         and cast to intmax_t.
11980         * sysdeps/pthread/tst-timer.c (main): Likewise.
11981         * time/clocktest.c (main): Likewise.
11982         * time/tst-posixtz.c (do_test): Likewise.
11983         * timezone/tst-timezone.c (main): Likewise.
11985 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
11986             H.J. Lu  <hongjiu.lu@intel.com>
11988         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
11989         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
11990         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
11991         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
11992         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
11993         version if bit_Fast_Unaligned_Load is set.
11994         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11995         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11996         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11997         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11998         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11999         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
12000         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12001         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
12002         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
12003         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
12004         to 4.
12005         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
12006         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
12007         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
12008         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
12010 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
12012         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
12013         instead of #if to avoid a Wundef warning.
12014         * stdlib/tst-limits.c (do_test): Likewise.
12016         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
12017         parallel other exception macros.
12018         (fegetenv): Convert from macro to extern inline so that it applies
12019         retroactively to inline functions already seen by the compiler.
12020         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
12022         * posix/Makefile (before-compile): Use $(objpfx) for
12023         posix-conf-vars-def.h.
12025 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
12027         * posix/getconf.c (main): Use size_t for type of I.
12028         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
12029         NSPEC.
12031         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
12032         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
12033         * posix/posix-envs.def: Likewise.
12034         * sysdeps/posix/sysconf.c: Likewise.
12035         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
12036         (specs): Remove array.
12037         * scripts/gen-posix-conf-vars.awk: Support generation of specs
12038         array.
12040         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
12041         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
12042         (__sysconf): Use CONF_IS_* macros.
12044         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
12045         ($(objpfx)posix-conf-vars-def.h): New target.
12046         * posix/posix-conf-vars.list: New file.
12047         * posix/posix-conf-vars.h: New file.
12048         * posix/confstr.c: Include posix-conf-vars.h.
12049         (confstr): Use CONF_IS_* macros.
12050         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
12051         CONF_IS_* macros.
12052         * scripts/gen-posix-conf-vars.awk: New file.
12054 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
12056         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
12057         fegetround): Add no-op macros to avoid linknamespace issues.
12059         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
12060         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
12062         * sysdeps/unix/sysv/linux/tile/sysdep.h
12063         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
12064         assembly-specific section to avoid a redefinition warning.
12066         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
12067         long before casting to pointer to avoid a cast warning.
12069 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
12071         * sysdeps/tile/tilegx/Implies: New file.
12073 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
12075         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
12077 2014-12-23  Florian Weimer  <fweimer@redhat.com>
12079         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
12081 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
12083         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
12084         not define.
12085         * sysdeps/unix/sysv/linux/utimes.c: Do not include
12086         <kernel-features.h>.
12087         (__utimes) [__NR_utimes]: Make code unconditional.
12088         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
12089         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12090         (__ASSUME_UTIMES): Do not undefine.
12091         * sysdeps/unix/sysv/linux/tile/kernel-features.h
12092         (__ASSUME_UTIMES): Likewise.
12093         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
12094         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
12095         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
12096         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
12098 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
12100         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
12102 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
12104         [BZ #17747]
12105         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
12106         alias to weak alias for j0l, y0l.
12107         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
12108         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
12110         [BZ #17746]
12111         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
12112         conversion.
12114 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
12116         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
12117         to zero if not already defined.
12119 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
12121         [BZ #17724]
12122         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
12123         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
12124         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
12125         (char *) casts added.
12126         * sysdeps/ieee754/k_standardf.c: New file.
12127         * sysdeps/ieee754/k_standardl.c: Likewise.
12128         * math/Makefile (libm-support): Remove k_standard.
12129         (libm-calls): Add k_standard.
12131 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
12133         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
12134         Optimize to avoid an unnecessary FPCR read.
12136 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
12138         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
12139         Optimize to reduce FPCR/FPSR accesses.
12141 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
12143         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
12144         Call libc_fetestexcept_aarch64.
12146 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
12148         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
12149         Call libc_fesetround_aarch64.
12151 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
12153         [BZ #17733]
12154         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
12155         (__bind): Do not define as weak alias.
12156         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
12157         define.
12158         (__getsockname): Do not define as weak alias.
12160 2014-12-22  Will Newton  <will.newton@linaro.org>
12162         * manual/install.texi: Document that we require bison 2.7
12163         or above.
12164         * INSTALL: Regenerate.
12165         * configure.ac: Use AC_CHECK_PROG_VER instead of
12166         AC_PATH_PROG when checking for bison and check for
12167         version 2.7 or above.
12168         * configure: Regenerate.
12170 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
12172         [BZ #17745]
12173         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
12174         * sysdeps/tile/ffsll.c (ffsll): To here.
12176         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
12178 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
12180         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
12181         if not defined.
12182         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
12183         definition.
12184         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
12185         hidden ___tls_get_addr.
12186         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
12187         hidden __tls_get_addr.
12188         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
12189         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
12190         Likewise.
12192 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
12194         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
12195         _dl_init call.
12197 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
12199         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
12200         from "call _dl_init@PLT".
12201         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
12203 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
12205         * manual/search.texi: (Array Sort Function): Clarify stable sorting
12206         guarantees.
12208 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
12210         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
12212 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
12214         [BZ #17744]
12215         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
12216         strnlen.
12218 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
12220         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
12221         of multu on MIPSr6.
12222         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
12223         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
12224         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
12225         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
12226         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
12228 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
12230         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
12231         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
12232         (PTR_SUBU): Use subu for mips32r6/mips64r6.
12233         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
12234         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
12235         mips32r6/mips64r6.
12236         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
12238 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
12240         * string/strncat.c (STRNCAT): Simplify implementation.
12242 2014-12-19  David S. Miller  <davem@davemloft.net>
12244         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
12245         access the quad as both a long double and as a series of 4 words.
12247         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
12248         link_map->l_info array access.
12250 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
12252         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
12254         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
12255         * math/atest-exp2.c (TIMEOUT): Likewise.
12256         * math/atest-sincos.c (TIMEOUT): Likewise.
12258 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
12260         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
12261         -Wno-error with -fno-builtin-lround.
12263 2014-12-19  Torvald Riegel  <triegel@redhat.com>
12265         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
12266         Contains futex constants and functions moved over from ...
12267         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
12268         <lowlevellock-futex.h>.
12269         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
12270         (lll_timedwait_tid): Add comments and parentheses around macro
12271         arguments.
12273 2014-12-19  Torvald Riegel  <triegel@redhat.com>
12275         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
12276         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
12277         (__lll_private_flag): Remove.
12278         (lll_futex_wait): Likewise.
12279         (lll_futex_timed_wait): Likewise.
12280         (lll_futex_wake): Likewise.
12281         (lll_futex_requeue): Likewise.
12282         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
12283         (__lll_timedwait_tid): Spell out argument names.
12284         (lll_timedwait_tid): Add comments and parentheses around macro
12285         arguments.
12286         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
12287         LLL_SHARED and LLL_PRIVATE usable from assembly code.
12289 2014-12-19  Torvald Riegel  <triegel@redhat.com>
12291         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
12292         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
12293         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
12294         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
12295         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
12296         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
12297         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
12298         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
12299         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
12300         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
12301         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
12302         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
12303         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
12304         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
12305         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
12306         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
12307         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
12308         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
12309         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
12311 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
12313         * sysdeps/x86_64/x32/Makefile: New file.
12315 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
12317         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
12318         1L with (mp_limb_t) 1.
12320 2014-12-17  Roland McGrath  <roland@hack.frob.com>
12322         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
12323         * nptl/libc_pthread_init.c: ... here.
12324         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
12325         * nptl/register-atfork.c: ... here.
12327         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
12328         Use pthread_sigmask rather than INTERNAL_SYSCALL.
12329         Use assert_perror to check its return value.
12330         (__gai_create_helper_thread): Likewise.
12332         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
12334         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
12336 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
12338         [BZ #17725]
12339         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
12340         __profil_counter.
12341         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
12342         Likewise.
12343         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
12344         Likewise.
12345         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
12346         Likewise.
12347         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
12348         (profil_counter): Likewise.
12349         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
12350         (profil_counter): Likewise.
12351         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
12352         Likewise.
12353         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
12354         Likewise.
12355         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
12356         (profil_counter): Likewise.
12357         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
12358         Likewise.
12359         [!__profil_counter] (profil_counter): Define as weak alias of
12360         __profil_counter.
12361         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
12362         (profil_counter): Rename to __profil_counter.
12363         [!__profil_counter] (profil_counter): Define as weak alias of
12364         __profil_counter.
12365         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
12366         (profil_counter): Rename to __profil_counter.
12367         [!__profil_counter] (profil_counter): Define as weak alias of
12368         __profil_counter.
12369         * sysdeps/posix/profil.c: Update comment referring to
12370         profil_counter.
12371         (__profil): Use __profil_counter instead of profil_counter.
12372         * sysdeps/posix/sprofil.c (profil_counter): Rename to
12373         __profil_counter.  Use __profil_counter_ushort and
12374         __profil_counter_uint in definitions.
12375         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
12376         instead of profil_counter_uint and profil_counter_ushort.
12378         [BZ #17722]
12379         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
12380         define as weak alias of __inet_makeaddr.
12381         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
12382         as weak alias of __inet_addr.
12383         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
12384         as weak alias of __inet_pton.  Use libc_hidden_weak.
12385         * include/arpa/inet.h (__inet_pton): Declare.  Use
12386         libc_hidden_proto.
12387         (inet_makeaddr): Don't use libc_hidden_proto.
12388         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
12389         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
12390         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
12391         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
12392         Remove variable.
12393         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
12394         (test-xfail-POSIX/time.h/linknamespace): Likewise.
12396 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
12398         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
12400 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
12402         * stdio-common/bug-vfprintf-nargs.c (do_test):
12403         Cast value to intptr_t to avoid format warning
12404         for usage with PRIdPTR printing macro.
12406 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
12408         * libio/tst-widetext.c (do_test):
12409         Use format type %td instead of %Zd for ptrdiff_t
12410         in order to avoid format warning.
12412 2014-12-17  Andreas Schwab  <schwab@suse.de>
12414         * nscd/mem.c (gc): Add size_t cast to match printf format.
12416 2014-12-16  Roland McGrath  <roland@hack.frob.com>
12418         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
12419         (init): Apply PTR_MANGLE to pointers before storing them.
12420         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
12421         before using them.
12423 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
12425         [BZ #17719]
12426         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
12427         define as weak alias of __memrchr.
12428         (__memrchr): Do not define as strong alias of memrchr.
12429         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
12430         Remove variable.
12431         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
12432         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
12433         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
12435         [BZ #17717]
12436         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
12437         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
12438         (if_indextoname): Rename to __if_indextoname and define as weak
12439         alias of __if_indextoname.  Use libc_hidden_weak.
12440         (if_freenameindex): Rename to __if_freenameindex and define as
12441         weak alias of __if_freenameindex.
12442         (if_nameindex): Rename to __if_nameindex and define as weak alias
12443         of __if_nameindex.
12444         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
12445         __if_nametoindex and define as weak alias of __if_nametoindex.
12446         Use libc_hidden_weak.
12447         (if_freenameindex): Rename to __if_freenameindex and define as
12448         weak alias of __if_freenameindex.
12449         (if_nameindex): Rename to __if_nameindex and define as weak alias
12450         of __if_nameindex.
12451         (if_indextoname): Rename to __if_indextoname and define as weak
12452         alias of __if_indextoname.  Use libc_hidden_weak.
12453         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
12454         __if_nametoindex and define as weak alias of __if_nametoindex.
12455         Use libc_hidden_weak.
12456         (if_freenameindex): Rename to __if_freenameindex and define as
12457         weak alias of __if_freenameindex.  Use libc_hidden_weak.
12458         (if_nameindex_netlink): Use __if_freenameindex instead of
12459         if_freenameindex.
12460         (if_nameindex): Rename to __if_nameindex and define as weak alias
12461         of __if_nameindex.  Use libc_hidden_weak.
12462         (if_indextoname): Rename to __if_indextoname and define as weak
12463         alias of __if_indextoname.  Use libc_hidden_weak.
12464         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
12465         libc_hidden_proto.
12466         [!_ISOMAC] (__if_freenameindex): Likewise.
12467         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
12468         if_nametoindex.
12469         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
12470         variable.
12471         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
12472         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
12473         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
12474         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
12475         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
12476         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
12477         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
12479         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
12480         Remove variable.
12481         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
12482         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
12484 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
12486         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
12487         subscript above bounds'
12489         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
12490         bounds.
12492 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
12494         * libio/tst-fopenloc.c: Use test-skeleton.c.
12496         * stdlib/tst-bsearch.c: Use test-skeleton.c.
12497         (entry): Rename to ITEM.
12498         (do_test, comp): Adjust.
12500         * stdio-common/tst-fseek.c: Use test-skeleton.c.
12502 2014-12-16  Torvald Riegel  <triegel@redhat.com>
12504         * string/tester.c: Include <libc-internal.h>.
12505         (test_memset): Ignore -Wmemset-transposed-args.
12507 2014-12-16  Torvald Riegel  <triegel@redhat.com>
12509         * misc/tst-mntent2.c (do_test): Fix warning.
12511 2014-12-16  Torvald Riegel  <triegel@redhat.com>
12513         * elf/tst-unique4lib.cc(a): Mark as used.
12515 2014-12-16  Florian Weimer  <fweimer@redhat.com>
12517         [BZ #17630]
12518         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
12519         names.
12521 2014-12-16  Allan McRae  <allan@archlinux.org>
12523         * stdio-common/Makefile (tests): Re-add bug26.
12525 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
12527         [BZ #17657]
12528         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
12529         static array.
12531 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
12533         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
12534         (__lll_lock_wait): Likewise.
12535         (__lll_timedlock_wait): Likewise.
12536         (__lll_timedwait_tid): Likewise.
12537         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
12538         (__lll_robust_timedlock_wait): Likewise.
12539         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
12540         (lll_cond_trylock): Likewise.
12541         (__lll_lock): Likewise.
12542         (__lll_robust_lock): Likewise.
12543         (__lll_cond_lock): Likewise.
12544         (lll_robust_cond_lock): Likewise.
12545         (__lll_timedlock): Likewise.
12546         (__lll_robust_timedlock): Likewise.
12547         (__lll_unlock): Likewise.
12548         (__lll_robust_unlock): Likewise.
12549         (lll_wait_tid): Likewise.
12550         (lll_timedwait_tid): Likewise.
12552 2014-12-15  Torvald Riegel  <triegel@redhat.com>
12554         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
12556 2014-12-15  Torvald Riegel  <triegel@redhat.com>
12558         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
12560 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
12562         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
12563         * stdio-common/tst-sprintf.c: Likewise.
12565 2014-12-15  Torvald Riegel  <triegel@redhat.com>
12567         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
12569 2014-12-15  Jeff Law  <law@redhat.com>
12571         [BZ #16617]
12572         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
12573         on the heap.  (CVE-2012-3406)
12574         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
12575         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
12576         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
12578 2014-12-15  Will Newton  <will.newton@linaro.org>
12580         * manual/install.texi: Bump required version of texinfo
12581         to 4.7 from 4.5.
12582         * INSTALL: Regenerated.
12583         * configure.ac: Check for makeinfo version 4.7 and above.
12584         * configure: Regenerated.
12586 2014-12-12  Roland McGrath  <roland@hack.frob.com>
12588         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
12589         PREFIX, string constant to insert between directory and name.
12590         * sysdeps/posix/shm_open.c: Update caller.
12591         * sysdeps/posix/shm_unlink.c: Likewise.
12592         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
12593         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
12594         (SEM_SHM_PREFIX): New macro.
12595         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
12596         [$(have-thread-library) = no].
12597         * nptl/Makefile (libpthread-routines): Add shm-directory.
12598         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
12599         * sysdeps/nptl/shm-directory.h: New file.
12600         * sysdeps/posix/shm-directory.c
12601         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
12602         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
12603         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
12604         INTERNAL_SYSCALL.
12605         (__where_is_shmfs): Function removed.
12606         (mountpoint, defaultmount, defaultdir, __namedsem_once):
12607         Variables removed.
12608         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
12609         Use SHM_GET_NAME.
12610         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
12612         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
12613         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
12614         unconditional for use inside libpthread.
12615         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
12617 2014-12-12  Roland McGrath  <roland@hack.frob.com>
12619         * nptl/pthread_getaffinity.c: New file.
12620         * nptl/pthread_setaffinity.c: New file.
12621         * nptl/pthread_getname.c: New file.
12622         * nptl/pthread_setname.c: New file.
12624         * nptl/pthread_create.c (START_THREAD_DEFN)
12625         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
12627 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
12628             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12630         * resolv/res_send.c (send_vc): Disable warning resplen may
12631         be used uninitialized.
12633 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
12635         * nptl/tst-mutex6.c
12636         (ATTR_NULL): New define checks ATTR against NULL.
12637         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
12638         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
12640 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
12642         [BZ #17581]
12643         * malloc/hooks.c
12644         (mem2mem_check): Revert my previous change.
12645         (malloc_check_get_size): Revert my previous change.
12646         (mem2chunk_check): Revert my previous change.
12648 2014-12-11  Roland McGrath  <roland@hack.frob.com>
12650         * sysdeps/posix/shm-directory.c: New file.
12651         * sysdeps/posix/shm-directory.h: New file.
12652         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
12653         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
12654         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
12655         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
12656         Transmute EPERM to EACCES.
12657         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
12658         from ...
12659         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
12660         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
12662 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12664         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
12665         pointer and cast to uintptr_t.
12666         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
12667         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
12668         Add cast to avoid warning.
12669         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
12671 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
12673         * nptl/semaphore.h: Move to ...
12674         * sysdeps/pthread/semaphore.h: ... here.
12675         * Makefile (installed-headers): Change nptl/semaphore.h to
12676         sysdeps/pthread/semaphore.h.
12678 2014-12-11  Roland McGrath  <roland@hack.frob.com>
12680         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
12681         generated error format strings.
12683         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
12684         -Wformat-extra-args warnings for scanf formats.
12685         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
12686         test of zero-length format (duh).
12687         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
12688         corner-case scanf format test.
12689         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
12690         generated fprintf format string.
12691         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
12692         corner-case sprintf format tests.
12693         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
12694         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
12695         -Wformat-extra-args warnings throughout.
12696         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
12697         (CFLAGS-scanf4.c): Likewise.
12698         (CFLAGS-scanf7.c): Likewise.
12699         (CFLAGS-tst-sprintf.c): Likewise.
12700         (CFLAGS-tst-printf.c): Likewise.
12701         (CFLAGS-tst-printfsz.c): Likewise.
12703 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
12705         * include/cpio.h: New file.
12706         * include/fmtmsg.h: Likewise.
12708         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
12709         corresponding format argument to size_t.
12710         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
12711         arguments.
12712         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
12713         corresponding format argument to size_t.
12714         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
12715         arguments.
12716         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
12717         corresponding format argument to size_t.
12718         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
12719         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
12720         (CFLAGS-tst-mbswcs2.c): Likewise.
12721         (CFLAGS-tst-mbswcs3.c): Likewise.
12722         (CFLAGS-tst-mbswcs4.c): Likewise.
12723         (CFLAGS-tst-mbswcs5.c): Likewise.
12724         (CFLAGS-tst-trans.c): Likewise
12726 2014-12-11  Roland McGrath  <roland@hack.frob.com>
12728         * posix/regexbug1.c (main): Use "%s" format with regerror results,
12729         rather than assuming they won't contain any '%'s.
12731 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
12733         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
12734         inhibit_loop_to_libcall to avoid recursive calls.
12735         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
12736         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
12738 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
12740         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
12741         prototype.
12743 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
12745         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
12746         integer value instead of boolean.
12748 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
12750         * malloc/malloc.c: Fix powerof2 check.
12752 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
12754         * locale/programs/locfile.h (maybe_swap_uint32):
12755         Remove inline and add unused attribute.
12757 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
12759         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
12760         Truncating assembler expression to a .long expression.
12762 2014-12-11  Andreas Schwab  <schwab@suse.de>
12764         * elf/rtld.c (struct map_args): Constify str member.
12765         (do_preload): Constify fname argument.
12767 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12769         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
12770         constants definition.
12772 2014-12-11  Andreas Schwab  <schwab@suse.de>
12774         [BZ #16657]
12775         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
12776         FORCE_ELISION instead of DO_ELISION.
12777         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
12778         Remove.
12779         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
12780         Likewise.
12782         * iconvdata/gconv-modules: Remove duplicate entry.
12784 2014-12-11  Will Newton  <will.newton@linaro.org>
12786         Merge gettext 0.19.3 into intl/.
12788         This involves a number of cosmetic changes to comments
12789         and ANSI function definitions and prototypes throughout
12790         all the files. The gettext copyright header is used but
12791         with the date ranges taken from the glibc copy.
12793         * NEWS: Add gettext merge to 2.21.
12794         * intl/bindtextdom.c: Switch to gettext copyright.
12795         Use ANSI definitions and prototypes.
12796         Use gl_* locking primitives rather than __libc_* ones.
12797         Use __builtin_expect rather than __glibc_likely/unlikely.
12798         * intl/dcgettext.c: Switch to gettext copyright.
12799         Use ANSI definitions and prototypes.
12800         * intl/dcigettext.c: Switch to gettext copyright.
12801         Use ANSI definitions and prototypes.
12802         (INTDIV0_RAISES_SIGFPE): New define.
12803         Use gl_* locking primitives rather than __libc_* ones.
12804         Include eval-plural.h instead of plural-eval.c.
12805         Use __builtin_expect rather than __glibc_likely/unlikely.
12806         * intl/dcngettext.c: Switch to gettext copyright.
12807         Use ANSI definitions and prototypes.
12808         * intl/dgettext.c: Likewise.
12809         * intl/dngettext.c: Likewise.
12810         * intl/plural-eval.c: Renamed to...
12811         * intl/eval-plural.h: ...this.
12812         * intl/explodename.c: Switch to gettext copyright.
12813         Use ANSI definitions and prototypes.
12814         (_nl_explode_name): Use strchr instead of __rawmemchr.
12815         * intl/finddomain.c: Switch to gettext copyright.
12816         Use ANSI definitions and prototypes.
12817         Use gl_* locking primitives rather than __libc_* ones.
12818         (_nl_find_domain): Use malloc rather than alloca for
12819         allocation of temporary locale name.
12820         * intl/gettext.c: Switch to gettext copyright.
12821         Use ANSI definitions and prototypes.
12822         * intl/gettextP.h: Switch to gettext copyright.
12823         Use ANSI definitions and prototypes.
12824         Use gl_* locking primitives rather than __libc_* ones.
12825         * intl/gmo.h: Switch to gettext copyright.
12826         (struct sysdep_string): Move struct segment_pair outside of
12827         struct definition.
12828         * intl/hash-string.c: Use ANSI definitions and prototypes.
12829         * intl/hash-string.h: Switch to gettext copyright.
12830         Use ANSI definitions and prototypes.
12831         * intl/l10nflist.c: Switch to gettext copyright.
12832         Use ANSI definitions and prototypes.
12833         (_nl_normalize_codeset): Avoid integer overflow.
12834         * intl/loadinfo.h: Switch to gettext copyright.
12835         Use ANSI definitions and prototypes.
12836         (LIBINTL_DLL_EXPORTED): New define.
12837         (PATH_SEPARATOR): New define.
12838         * intl/loadmsgcat.c: Switch to gettext copyright.
12839         * intl/localealias.c: Switch to gettext copyright.
12840         Use ANSI definitions and prototypes.
12841         (_nl_expand_alias): Use PATH_SEPARATOR.
12842         * intl/ngettext.c: Switch to gettext copyright.
12843         Use ANSI definitions and prototypes.
12844         * intl/plural-exp.c: Likewise.
12845         * intl/plural-exp.h: Switch to gettext copyright.
12846         Use ANSI definitions and prototypes.
12847         (struct expression): Move definition of enum operator outside
12848         of struct definition.
12849         * intl/plural.c: Regenerate.
12850         * intl/plural.y: Switch to gettext copyright.
12851         Use ANSI definitions and prototypes.
12852         Port to bison 3.0.
12853         * intl/textdomain.c: Switch to gettext copyright.
12854         Use ANSI definitions and prototypes.
12855         Use gl_* locking primitives rather than __libc_* ones.
12857 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
12859         * debug/warning-nop.c: Add used atrribute.
12861 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
12863         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
12865         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
12866         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
12867         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
12869 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
12870             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12872         [BZ #17634]
12873         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
12874         Undefine after defining function.  Define as weak alias of
12875         __wcschr.  Use libc_hidden_weak.
12876         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
12877         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
12878         (libc_hidden_def): Also define __GI___wcschr alias.
12879         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
12880         __wcschr and define as weak alias of __wcschr.
12881         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
12882         __wcschr.
12883         [!WCSCHR] (DEFAULT_WCSCHR): Define.
12884         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
12885         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
12886         libc_hidden_weak.  Do not use libc_hidden_def.
12887         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
12888         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
12889         __GI___wcschr alias.
12890         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
12891         [IS_IN (libc)] (wcschr): Define as macro expanding to
12892         __redirect_wcschr.
12893         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
12894         [IS_IN (libc)] (__wcschr_power6): Likewise.
12895         [IS_IN (libc)] (__wcschr_power7): Likewise.
12896         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
12897         instead of wcschr.
12898         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
12899         __libc_wcschr.
12900         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
12901         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
12902         __wcschr and define as weak alias of __wcschr.  Use
12903         libc_hidden_builtin_def.
12904         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
12905         as weak alias of __wcschr.  Use libc_hidden_weak.
12906         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
12907         wcschr.
12908         * time/era.c (_nl_init_era_entries): Likewise.
12909         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
12910         variable.
12911         (test-xfail-XPG3/time.h/linknamespace): Likewise.
12912         (test-xfail-XPG4/time.h/linknamespace): Likewise.
12914 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
12916         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
12917         format for long int variable.
12919 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
12921         [BZ #10672]
12922         * manual/search.texi: (Array Sort Function): Remove claim how to make
12923         qsort stable.
12925 2014-12-10  Andreas Schwab  <schwab@suse.de>
12927         [BZ #12847]
12928         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
12929         user-controlled locks.
12931 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
12933         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
12934         register.
12936 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
12938         * configure.ac (--disable-werror): New configure option.
12939         (enable_werror): New AC_SUBST.
12940         * configure: Regenerated.
12941         * config.make.in (enable-werror): New variable.
12942         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
12943         -Wno-error=undef.
12944         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
12945         * manual/install.texi (Configuring and compiling): Document
12946         --disable-werror.
12947         * INSTALL: Regenerated.
12948         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
12949         (CFLAGS-tst-chk2.c): Likewise.
12950         (CFLAGS-tst-chk3.c): Likewise.
12951         (CFLAGS-tst-chk4.cc): Likewise.
12952         (CFLAGS-tst-chk5.cc): Likewise.
12953         (CFLAGS-tst-chk6.cc): Likewise.
12954         (CFLAGS-tst-lfschk1.c): Likewise.
12955         (CFLAGS-tst-lfschk2.c): Likewise.
12956         (CFLAGS-tst-lfschk3.c): Likewise.
12957         (CFLAGS-tst-lfschk4.cc): Likewise.
12958         (CFLAGS-tst-lfschk5.cc): Likewise.
12959         (CFLAGS-tst-lfschk6.cc): Likewise.
12961         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
12962         (main): Disable -Wdeprecated-declarations around calls to
12963         register_printf_function.
12965         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
12966         (do_test): Disable -Wdiv-by-zero around some calls to
12967         fwrite_unlocked and fread_unlocked.
12969         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
12970         (DIAG_POP_NEEDS_COMMENT): Likewise.
12971         (_DIAG_STR1): Likewise.
12972         (_DIAG_STR): Likewise.
12973         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
12974         * stdio-common/bug21.c: Include <libc-internal.h>.
12975         (do_test): Disable -Wformat around call to sscanf.
12976         * stdio-common/scanf14.c: Include <libc-internal.h>.
12977         (main): Disable -Wformat around some calls to scanf functions.
12979 2014-12-09  Torvald Riegel  <triegel@redhat.com>
12981         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
12983 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12985         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
12986         stack variable alignment.
12988 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
12990         [BZ #17682]
12991         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
12992         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
12993         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
12994         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
12995         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
12996         __getrlimit instead of getrlimit.
12997         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
12998         __gettimeofday instead of gettimeofday.
12999         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
13000         Likewise.
13001         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
13002         Likewise.
13003         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
13004         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
13005         Remove variable.
13006         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
13007         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
13009 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13011         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
13012         for wide-character tests.
13014 2014-12-04  Roland McGrath  <roland@hack.frob.com>
13016         * io/openat64.c: #include <libc-internal.h>
13017         (__openat64): Prototypify.  Use ignore_value on MODE.
13018         * io/openat.c: Likewise.
13019         * misc/reboot.c: #include <libc-internal.h>
13020         (reboot): Prototypify.  Use ignore_value on HOWTO.
13021         * misc/ptrace.c: #include <libc-internal.h>
13022         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
13024 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
13026         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
13027         XPG4, UNIX98 and XOPEN2K.
13028         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
13029         Remove variable.
13030         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
13032 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
13034         * libio/fileops.c: Use ISO C style for function definitions.
13035         * libio/iofopen.c: Likewise.
13036         * libio/wfileops.c: Likewise.
13038         [BZ #17653]
13039         * libio/fileops.c (_IO_new_file_underflow): Unset cached
13040         offset on EOF.
13041         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
13042         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
13043         (fgets_func): Function pointer to fgets and fgetws.
13044         (do_ftell_test): Add test to verify ftell value after read
13045         EOF.
13046         (do_test): Set fgets_func.
13048         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
13049         O_TRUNC flag for w and w+ modes.
13050         (do_rewind_test): Likewise.
13051         (do_ftell_test): Likewise.
13052         (do_write_test): Likewise.
13054         [BZ #17647]
13055         * libio/fileops.c (do_ftell): Seek only when there are
13056         unflushed writes.
13057         * libio/wfileops.c (do_ftell_wide): Likewise.
13058         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
13059         test case.
13060         (do_one_test): Call it.
13062 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
13064         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
13065         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
13066         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
13067         Remove variable.
13068         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
13069         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
13070         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
13072 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
13074         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
13075         Remove variable.
13076         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
13078         [BZ #17668]
13079         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
13080         as weak alias of __getifaddrs.  Use libc_hidden_weak.
13081         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
13082         __freeifaddrs.  Use libc_hidden_weak.
13083         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
13084         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
13085         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
13086         __freeifaddrs.  Use libc_hidden_weak.
13087         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
13088         __getifaddrs and define as weak alias of __getifaddrs.  Use
13089         libc_hidden_weak.
13090         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
13091         __freeifaddrs.  Use libc_hidden_weak.
13092         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
13093         Remove variable.
13094         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
13095         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
13097 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
13099         [BZ #17601]
13100         * sysdeps/mips/start.S (__start): Use indirect jump to call
13101         __libc_start_main.
13103 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
13105         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
13107         * nptl/tst-mutex1.c: Include <stdbool.h>.
13108         [!ATTR] (ATTR_NULL): New macro.
13109         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
13110         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
13111         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
13113         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
13114         to char *.
13116         [BZ #17665]
13117         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
13118         Change conditional to [__USE_MISC].
13120         [BZ #17664]
13121         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
13122         fgets_unlocked.
13123         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
13124         __fgets_unlocked.
13125         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
13126         fgets_unlocked.
13127         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
13128         Remove variable.
13129         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
13130         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
13131         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
13132         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
13133         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
13134         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
13135         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
13136         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
13137         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
13139         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
13141 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13143         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
13144         Remove strpbrk objects.
13145         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13146         (__libc_ifunc_impl_list): Remove strpbrk implementation.
13147         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
13148         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
13149         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
13150         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
13152         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
13153         Remove strcspn objects.
13154         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13155         (__libc_ifunc_impl_list): Remove strcspn implementation.
13156         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
13157         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
13158         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
13159         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
13161         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
13162         Remove strspn objetcs.
13163         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13164         (__libc_ifunc_impl_list): Remove strspn implementation.
13165         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
13166         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
13167         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
13168         * sysdeps/powerpc/powerpc64/strspn.S: New file.
13170 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
13172         [BZ #17581]
13173         * malloc/hooks.c
13174         (mem2mem_check): Add a terminator to the chain of checking blocks.
13175         (malloc_check_get_size): Use it here.
13176         (mem2chunk_check): Ditto.
13178 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13180         * sysdeps/powerpc/powerpc64/strtok.S: New file.
13181         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
13183 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
13185         * bits/ioctl-types.h: Indent preprocessor directives correctly.
13187         * nptl/nptl-init.c: Include libc-internal.h.
13188         (__pthread_initialize_minimal_internal): Use ROUND_UP.
13190         * elf/ldconfig.c (search_dir): Expand comment.
13192 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
13194         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
13195         variable.
13196         (linknamespace-symlist-stdlibs-tests): Likewise.
13197         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
13198         instead of $(objpfx)symlist-stdlibs.
13199         (linknamespace-libs-isoc): New variable.
13200         (linknamespace-libs): Use $(linknamespace-libs-isoc).
13201         (linknamespace-libs-ISO): New variable.
13202         (linknamespace-libs-ISO99): Likewise.
13203         (linknamespace-libs-ISO11): Likewise.
13204         (linknamespace-libs-XPG3): Likewise.
13205         (linknamespace-libs-XPG4): Likewise.
13206         (linknamespace-libs-POSIX): Likewise.
13207         (linknamespace-libs-UNIX98): Likewise.
13208         (linknamespace-libs-XOPEN2K): Likewise.
13209         (linknamespace-libs-POSIX2008): Likewise.
13210         (linknamespace-libs-XOPEN2K8): Likewise.
13211         ($(objpfx)symlist-stdlibs): Replace by
13212         $(linknamespace-symlist-stdlibs-tests).  Use
13213         $(linknamespace-libs-$*) as set of libraries.
13214         ($(linknamespace-header-tests)): Update dependencies.  Use
13215         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
13216         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
13217         * conform/linknamespace.pl: Remove comment about considering
13218         definitions of symbols from irrelevant libraries.
13220 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
13222         [BZ #13862]
13223         * elf/dl-tls.c: Include <atomic.h>.
13224         (oom): Remove #ifdef SHARED/#endif.
13225         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
13226         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
13227         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
13228         big enough.
13229         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
13230         * nptl/Makefile (tests): Add tst-stack4.
13231         (modules-names): Add tst-stack4mod.
13232         ($(objpfx)tst-stack4): New.
13233         (tst-stack4mod.sos): Likewise.
13234         ($(objpfx)tst-stack4.out): Likewise.
13235         ($(tst-stack4mod.sos)): Likewise.
13236         (clean): Likewise.
13237         * nptl/tst-stack4.c: New file.
13238         * nptl/tst-stack4mod.c: Likewise.
13240 2014-11-27  J. Brown  <jb999@gmx.de>
13242         * sysdeps/x86/bits/string.h: Add recent CPUs.
13244 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
13246         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
13247         sigblock.
13249         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
13250         feof.
13252         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
13253         variable.
13255 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
13257         * nscd/connections.c: Include libc-internal.h because of macro
13258         usage ignore_value.
13260 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
13262         * string/bits/string3.h (__warn_memset_zero_len): Don't
13263         declare for gcc newer than 5.0.
13264         (memset): Don't test for zero-length __LEN for gcc newer than
13265         5.0.
13267 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
13269         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
13270         size_t for %zu format.
13272         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
13273         difference, not %ju.
13275 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
13277         * include/libc-internal.h (ignore_value): New macro.
13278         * nscd/connections.c (restart): Wrap calls to setuid and setgid
13279         with ignore_value.
13281         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
13282         definition.
13284         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
13285         pthread_cleanup_push to void *.
13287         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
13288         Undefine.
13290         [BZ #16619]
13291         [BZ #16740]
13292         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
13293         instead of 1L << 52.
13295         * libio/bug-rewind.c (do_test): Check fwscanf return values.
13296         * libio/bug-rewind2.c (do_test): Likewise.
13298         * debug/test-stpcpy_chk-ifunc.c: Remove file.
13299         * debug/test-strcpy_chk-ifunc.c: Likewise.
13300         * wcsmbs/test-wcschr-ifunc.c: Likewise.
13301         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
13302         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
13303         * wcsmbs/test-wcslen-ifunc.c: Likewise.
13304         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
13305         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
13306         * Rules [$(multi-arch) = no] (tests): Do not filter out
13307         $(tests-ifunc).
13308         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
13309         * debug/Makefile (tests-ifunc): Remove variable.
13310         (tests): Do not add $(tests-ifunc).
13311         * wcsmbs/Makefile (tests-ifunc): Remove variable.
13312         (tests): Do not add $(tests-ifunc).
13313         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
13314         [TEST_IFUNC]: Remove conditionals.
13315         * string/test-string.h (TEST_IFUNC): Remove macro.
13316         [TEST_IFUNC]: Remove conditionals.
13318         * string/test-strchr.c [!WIDE] (L): New macro.
13319         [WIDE] (L): Likewise.
13320         (check1): Use CHAR instead of char.  Use L on string and character
13321         constants.
13323 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
13325         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
13326         tests.
13327         * sysdeps/powerpc/bits/atomic.h
13328         (__arch_atomic_exchange_and_add_32_acq): Add definition.
13329         (__arch_atomic_exchange_and_add_32_rel): Likewise.
13330         (atomic_exchange_and_add_acq): Likewise.
13331         (atomic_exchange_and_add_rel): Likewise.
13332         * sysdeps/powerpc/powerpc32/bits/atomic.h
13333         (__arch_atomic_exchange_and_add_64_acq): Add definition.
13334         (__arch_atomic_exchange_and_add_64_rel): Likewise.
13335         * sysdeps/powerpc/powerpc64/bits/atomic.h
13336         (__arch_atomic_exchange_and_add_64_acq): Add definition.
13337         (__arch_atomic_exchange_and_add_64_rel): Likewise.
13339 2014-11-26  Torvald Riegel  <triegel@redhat.com>
13341         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
13342         Change synchronization of __sched_fifo_min_prio and
13343         __sched_fifo_max_prio.
13344         * nptl/pthread_mutexattr_getprioceiling.c
13345         (pthread_mutexattr_getprioceiling): Likewise.
13346         * nptl/pthread_mutexattr_setprioceiling.c
13347         (pthread_mutexattr_setprioceiling): Likewise.
13348         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
13349         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
13350         Likewise.
13352 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
13354         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
13355         void.
13357 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
13359         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
13360         third argument const.
13362 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
13364         fnmatch: work around GCC compiler warning bug with uninit var
13365         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
13366         This works around a bug with x86-64 GCC 4.9.2 and earlier
13367         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
13368         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
13369         used uninitialized in this function [-Wmaybe-uninitialized]".
13371 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
13373         * posix/bug-regex31.c (main): Return RES not 0.
13375 2014-11-25  Anton Blanchard <anton@samba.org>
13377         * sysdeps/powerpc/bits/atomic.h
13378         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
13380 2014-11-24  Sterling Augustine  <saugustine@google.com>
13382         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
13384 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
13386         [BZ #17608]
13387         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
13389 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
13391         [BZ #17633]
13392         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
13393         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
13394         variable.
13395         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
13396         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
13398 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
13400         * string/strncpy.c (strncpy): Improve performance by using memset.
13402 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
13404         * string/strcpy.c (strcpy):
13405         Improve performance by using strlen and memcpy.
13407 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
13409         * string/strcoll_l.c (get_next_seq): __always_inline.
13410         * string/strcoll_l.c (do_compare): __always_inline.
13412 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
13414         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
13415         defined.
13416         * include/mqueue.h: Likewise.
13417         * include/stdlib.h: Likewise.
13419         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
13420         (get_null_defines): Adjust.
13421         * sunrpc/Makefile: Adjust comment.
13422         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
13423         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
13424         (CFLAGS-interp.c): Likewise.
13425         (CFLAGS-ldconfig.c): Likewise.
13426         (CPPFLAGS-.os): Likewise.
13427         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
13428         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
13429         * extra-modules.mk (extra-modules.mk): Likewise.
13430         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
13431         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
13432         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
13433         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
13434         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
13435         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
13436         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
13437         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
13438         * iconvdata/Makefile (CPPFLAGS): Likewise.
13439         (cpp-srcs-left): Add libof for all iconvdata routines.
13440         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
13441         * include/assert.h: Likewise.
13442         * include/ctype.h: Likewise.
13443         * include/errno.h: Likewise.
13444         * include/libc-symbols.h: Likewise.
13445         * include/math.h: Likewise.
13446         * include/netdb.h: Likewise.
13447         * include/resolv.h: Likewise.
13448         * include/stdio.h: Likewise.
13449         * include/stdlib.h: Likewise.
13450         * include/string.h: Likewise.
13451         * include/sys/stat.h: Likewise.
13452         * include/wctype.h: Likewise.
13453         * intl/l10nflist.c: Likewise.
13454         * libidn/idn-stub.c: Likewise.
13455         * libio/libioP.h: Likewise.
13456         * nptl/libc_multiple_threads.c: Likewise.
13457         * nptl/pthreadP.h: Likewise.
13458         * posix/regex_internal.h: Likewise.
13459         * resolv/res_hconf.c: Likewise.
13460         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
13461         * sysdeps/arm/memmove.S: Likewise.
13462         * sysdeps/arm/sysdep.h: Likewise.
13463         * sysdeps/generic/_itoa.h: Likewise.
13464         * sysdeps/generic/symbol-hacks.h: Likewise.
13465         * sysdeps/gnu/errlist.awk: Likewise.
13466         * sysdeps/gnu/errlist.c: Likewise.
13467         * sysdeps/i386/i586/memcpy.S: Likewise.
13468         * sysdeps/i386/i586/memset.S: Likewise.
13469         * sysdeps/i386/i686/memcpy.S: Likewise.
13470         * sysdeps/i386/i686/memmove.S: Likewise.
13471         * sysdeps/i386/i686/mempcpy.S: Likewise.
13472         * sysdeps/i386/i686/memset.S: Likewise.
13473         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
13474         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
13475         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
13476         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
13477         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
13478         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
13479         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
13480         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
13481         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
13482         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
13483         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
13484         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
13485         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
13486         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
13487         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
13488         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
13489         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
13490         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
13491         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
13492         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
13493         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
13494         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
13495         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
13496         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
13497         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
13498         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
13499         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
13500         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
13501         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
13502         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
13503         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
13504         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
13505         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
13506         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13507         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
13508         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
13509         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
13510         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
13511         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
13512         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
13513         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
13514         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
13515         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
13516         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
13517         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
13518         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
13519         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
13520         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
13521         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
13522         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
13523         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
13524         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
13525         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
13526         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
13527         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
13528         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
13529         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
13530         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
13531         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
13532         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
13533         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
13534         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
13535         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
13536         * sysdeps/nptl/bits/libc-lock.h: Likewise.
13537         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
13538         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
13539         * sysdeps/posix/closedir.c: Likewise.
13540         * sysdeps/posix/opendir.c: Likewise.
13541         * sysdeps/posix/readdir.c: Likewise.
13542         * sysdeps/posix/rewinddir.c: Likewise.
13543         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
13544         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
13545         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
13546         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
13547         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
13548         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
13549         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
13550         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
13551         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
13552         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
13553         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
13554         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
13555         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
13556         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
13557         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
13558         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
13559         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
13560         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
13561         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
13562         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
13563         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
13564         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
13565         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
13566         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
13567         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
13568         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
13569         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
13570         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
13571         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
13572         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
13573         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
13574         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
13575         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
13576         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
13577         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
13578         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
13579         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
13580         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
13581         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
13582         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
13583         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
13584         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
13585         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
13586         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
13587         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
13588         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
13589         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
13590         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
13591         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
13592         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
13593         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
13594         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
13595         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
13596         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
13597         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
13598         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
13599         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
13600         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
13601         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
13602         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
13603         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
13604         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
13605         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
13606         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
13607         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
13608         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
13609         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
13610         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
13611         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
13612         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
13613         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
13614         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
13615         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
13616         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
13617         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
13618         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
13619         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
13620         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
13621         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
13622         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
13623         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
13624         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
13625         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
13626         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
13627         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
13628         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
13629         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
13630         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
13631         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
13632         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
13633         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
13634         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
13635         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
13636         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
13637         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
13638         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
13639         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
13640         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
13641         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
13642         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
13643         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13644         * sysdeps/unix/alpha/sysdep.S: Likewise.
13645         * sysdeps/unix/alpha/sysdep.h: Likewise.
13646         * sysdeps/unix/make-syscalls.sh: Likewise.
13647         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
13648         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
13649         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
13650         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
13651         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
13652         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
13653         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
13654         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
13655         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
13656         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
13657         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
13658         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
13659         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
13660         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
13661         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
13662         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
13663         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
13664         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
13665         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
13666         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
13667         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
13668         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
13669         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
13670         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
13671         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
13672         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
13673         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
13674         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
13675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
13676         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
13677         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
13678         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
13679         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
13680         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13681         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
13682         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
13683         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
13684         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13685         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
13686         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
13687         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
13688         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
13689         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
13690         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
13691         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
13692         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
13693         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
13694         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
13695         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
13696         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13697         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
13698         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
13699         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
13700         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
13701         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
13702         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
13703         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
13704         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13705         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
13706         * sysdeps/x86_64/memcpy.S: Likewise.
13707         * sysdeps/x86_64/memmove.c: Likewise.
13708         * sysdeps/x86_64/memset.S: Likewise.
13709         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
13710         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
13711         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
13712         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
13713         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
13714         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
13715         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
13716         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
13717         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
13718         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
13719         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
13720         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
13721         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
13722         * sysdeps/x86_64/multiarch/memset.S: Likewise.
13723         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13724         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
13725         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
13726         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
13727         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
13728         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
13729         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
13730         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
13731         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
13732         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
13733         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
13734         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
13735         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
13736         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
13737         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
13738         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
13739         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
13740         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
13741         * sysdeps/x86_64/strcmp.S: Likewise.
13743         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
13745         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
13746         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
13747         * elf/rtld-Rules: Likewise.
13748         * elf/setup-vdso.h: Likewise.
13749         * include/assert.h: Likewise.
13750         * include/bits/stdlib-float.h: Likewise.
13751         * include/errno.h: Likewise.
13752         * include/sys/stat.h: Likewise.
13753         * include/unistd.h: Likewise.
13754         * sysdeps/aarch64/setjmp.S: Likewise.
13755         * sysdeps/alpha/setjmp.S: Likewise.
13756         * sysdeps/arm/__longjmp.S: Likewise.
13757         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
13758         * sysdeps/arm/setjmp.S: Likewise.
13759         * sysdeps/arm/sysdep.h: Likewise.
13760         * sysdeps/generic/_itoa.h: Likewise.
13761         * sysdeps/generic/dl-sysdep.h: Likewise.
13762         * sysdeps/generic/ldsodefs.h: Likewise.
13763         * sysdeps/i386/dl-tls.h: Likewise.
13764         * sysdeps/i386/setjmp.S: Likewise.
13765         * sysdeps/m68k/setjmp.c: Likewise.
13766         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
13767         * sysdeps/mach/hurd/opendir.c: Likewise.
13768         * sysdeps/posix/getcwd.c: Likewise.
13769         * sysdeps/posix/opendir.c: Likewise.
13770         * sysdeps/posix/profil.c: Likewise.
13771         * sysdeps/powerpc/dl-procinfo.h: Likewise.
13772         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
13773         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
13774         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
13775         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
13776         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
13777         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
13778         * sysdeps/s390/dl-tls.h: Likewise.
13779         * sysdeps/s390/s390-32/setjmp.S: Likewise.
13780         * sysdeps/s390/s390-64/setjmp.S: Likewise.
13781         * sysdeps/sh/sh3/setjmp.S: Likewise.
13782         * sysdeps/sh/sh4/setjmp.S: Likewise.
13783         * sysdeps/unix/alpha/sysdep.h: Likewise.
13784         * sysdeps/unix/arm/sysdep.S: Likewise.
13785         * sysdeps/unix/i386/sysdep.S: Likewise.
13786         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
13787         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
13788         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
13789         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
13790         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
13791         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
13792         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
13793         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
13794         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
13795         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
13796         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
13797         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
13798         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
13799         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
13800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13801         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
13802         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13803         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13804         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
13805         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
13806         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
13807         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
13808         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13809         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
13810         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
13811         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
13812         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13813         * sysdeps/unix/x86_64/sysdep.S: Likewise.
13814         * sysdeps/x86_64/setjmp.S: Likewise.
13816         * include/math.h: Use IS_IN instead of IS_IN_libm.
13817         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
13818         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
13819         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
13820         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
13821         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
13822         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
13823         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
13824         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
13825         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
13826         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
13827         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
13828         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
13829         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
13830         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
13831         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
13832         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
13833         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
13834         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
13835         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
13836         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
13837         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
13838         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
13839         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
13840         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
13841         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
13842         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
13843         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
13844         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
13845         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
13846         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
13847         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
13848         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
13849         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
13850         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
13851         Likewise.
13852         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
13853         Likewise.
13854         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
13855         Likewise.
13856         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
13857         Likewise.
13858         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
13859         Likewise.
13860         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
13861         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
13862         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
13863         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
13864         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
13865         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
13866         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
13867         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
13868         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
13869         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
13870         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
13871         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
13872         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
13873         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
13874         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
13875         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
13876         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
13877         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
13878         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
13879         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
13880         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
13881         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
13882         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
13883         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
13884         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
13885         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
13886         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
13888         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
13889         * nptl/pthreadP.h: Likewise.
13890         * nptl_db/structs.def: Likewise.
13891         * sysdeps/arm/sysdep.h: Likewise.
13892         * sysdeps/nptl/bits/libc-lock.h: Likewise.
13893         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
13894         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
13895         * sysdeps/unix/alpha/sysdep.h: Likewise.
13896         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
13897         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
13898         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
13899         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
13900         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
13901         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
13902         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
13903         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
13904         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
13905         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
13906         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
13907         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
13908         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
13909         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
13910         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
13911         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
13912         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
13913         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
13914         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
13915         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
13916         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
13917         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
13918         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
13919         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
13920         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
13921         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
13923         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
13924         * nptl/pthreadP.h: Likewise.
13925         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
13926         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
13927         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
13928         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
13929         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
13930         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
13931         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
13932         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
13933         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
13934         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
13935         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
13936         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
13937         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
13938         Likewise.
13939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
13940         Likewise.
13941         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
13942         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
13943         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
13944         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
13945         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
13946         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
13947         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
13948         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
13950         * dlfcn/dladdr.c: Use IS_IN.
13951         * dlfcn/dladdr1.c: Likewise.
13952         * dlfcn/dlclose.c: Likewise.
13953         * dlfcn/dlerror.c: Likewise.
13954         * dlfcn/dlinfo.c: Likewise.
13955         * dlfcn/dlmopen.c: Likewise.
13956         * dlfcn/dlopen.c: Likewise.
13957         * dlfcn/dlsym.c: Likewise.
13958         * dlfcn/dlvsym.c: Likewise.
13960         * include/ifaddrs.h: Use IS_IN.
13961         * inet/check_pf.c: Likewise.
13962         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
13963         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
13965         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
13966         IS_IN_ldconfig.
13967         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
13968         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
13970         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
13971         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
13972         IS_IN (libc).
13974         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
13976         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
13977         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
13978         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
13979         * include/libc-symbols.h (IS_IN_LIB): New macro.
13980         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
13981         * include/netdb.h: Likewise.
13982         * include/stap-probe.h: Remove all uses of IN_LIB.
13984         * Makeconfig (module-cppflags-real): Define MODULE_NAME
13985         instead of IN_MODULE.
13986         * include/libc-symbols.h (IN_MODULE): Define using
13987         MODULE_NAME.
13988         (PASTE_NAME, PASTE_NAME1): New macros.
13989         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
13990         of IN_LIB.
13991         (STAP_PROBE_ASM): Likewise.
13993 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13995         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
13996         __mach_init in dlopened libc.
13998 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
14000         * sysdeps/arm/preconfigure.ac: Delete EABI check.
14001         * sysdeps/arm/preconfigure: Regenerate.
14003 2014-11-21  Roland McGrath  <roland@hack.frob.com>
14005         * nptl/pthread_create.c (__pthread_create_2_1): Set
14006         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
14007         when copying values from IATTR into PD.
14009 2014-11-21  Will Newton  <will.newton@linaro.org>
14010             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
14012         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
14013         Refactor inline-asm.  Also add comment.
14015         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
14016         ElfW macro instead of hardcoded Elf64 types.
14017         (la_aarch64_gnu_pltenter): Likewise.
14018         * sysdeps/aarch64/dl-machine.h
14019         (elf_machine_runtime_setup): Use ElfW(Addr).
14021         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
14022         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
14023         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
14024         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
14025         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
14026         (R_AARCH64_TLS_DTPMOD64): Rename to ..
14027         (R_AARCH64_TLS_DTPMOD): This.
14028         (R_AARCH64_TLS_DTPREL64): Rename to ...
14029         (R_AARCH64_TLS_DTPREL): This.
14030         (R_AARCH64_TLS_TPREL64): Rename to ...
14031         (R_AARCH64_TLS_TPREL): This.
14032         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
14033         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
14034         R_AARCH64_TLS_TPREL64.
14035         (elf_machine_rela): Likewise.
14037 2014-11-21  Torvald Riegel  <triegel@redhat.com>
14039         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
14040         by setting it to 0.  64b atomics are not supported currently.
14042 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
14044         [BZ #16469]
14045         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
14046         search domain names.
14048 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
14050         [BZ #16469]
14051         * NEWS: Update.
14052         * resolv/res_query.c (__libc_res_nquerydomain): Retain
14053         trailing dot.
14054         * posix/tst-getaddrinfo5.c: New.
14055         * posix/Makefile (tests): Add it.
14057 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
14059         [BZ #14498]
14060         * NEWS: Fixed.
14061         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
14062         after parsing line but before break_if_match.
14063         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
14064         if there is a protocol mismatch.
14066 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
14068         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
14069         because the potential race is on the user-supplied stream.
14071 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
14073         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
14074         string literal if not passed a buffer.
14075         * manual/job.texi (ctermid): Update reasoning, note deviation
14076         from posix, suggest mtasurace when not passed a buffer, for
14077         future non-preliminary safety notes.
14079 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
14081         * manual/users.texi (cuserid): Fix MT-Safety note for the case
14082         of not passing it a buffer.
14083         Reported by Peng Haitao.
14085 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
14087         * manual/Makefile ($(objpfx)stamp-summary): Require
14088         check-safety.sh to pass.
14089         * manual/check-safety.sh: Wish for verification that every
14090         @deftypefn and @deftypefun is followed by a @safety remark.
14092 2014-11-20  Roland McGrath  <roland@hack.frob.com>
14094         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
14096         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
14097         PTHREAD_CANCEL_ASYNCHRONOUS.
14098         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
14099         send SIGCANCEL.
14101         * nptl/default-sched.h: New file.
14102         * sysdeps/unix/sysv/linux/default-sched.h: New file.
14103         * nptl/pthread_create.c: Include it.
14104         (__pthread_create_2_1): Use collect_default_sched instead of making
14105         Linux syscalls here directly.
14107 2014-11-20  Torvald Riegel  <triegel@redhat.com>
14109         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
14110         __pthread_once): Use C11 atomics.
14112 2014-11-20  Torvald Riegel  <triegel@redhat.com>
14114         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
14116 2014-11-20  Torvald Riegel  <triegel@redhat.com>
14118         * include/atomic.h (__atomic_link_error, __atomic_check_size,
14119         atomic_thread_fence_acquire, atomic_thread_fence_release,
14120         atomic_thread_fence_seq_cst, atomic_load_relaxed,
14121         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
14122         atomic_compare_exchange_weak_relaxed,
14123         atomic_compare_exchange_weak_acquire,
14124         atomic_compare_exchange_weak_release,
14125         atomic_exchange_acquire, atomic_exchange_release,
14126         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
14127         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
14128         atomic_fetch_and_acquire,
14129         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
14131 2014-11-20  Torvald Riegel  <triegel@redhat.com>
14133         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
14134         USE_ATOMIC_COMPILER_BUILTINS): Define.
14135         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
14136         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14137         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
14138         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14139         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
14140         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14141         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
14142         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14143         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
14144         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14145         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
14146         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14147         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
14148         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14149         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
14150         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14151         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
14152         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14153         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
14154         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14155         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
14156         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14157         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
14158         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14159         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
14160         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14161         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
14162         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14163         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
14164         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14165         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
14166         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14167         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
14168         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14169         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
14170         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14171         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
14172         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14173         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
14174         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14176 2014-11-19  Roland McGrath  <roland@hack.frob.com>
14178         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
14179         the sched_priority value here.  It was already checked when the user
14180         called pthread_attr_setschedparam.
14182         * nptl/tst-bad-schedattr.c: New file.
14183         * nptl/Makefile (tests): Add it.
14185 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
14186             Florian Weimer  <fweimer@redhat.com>
14187             Joseph Myers  <joseph@codesourcery.com>
14188             Adam Conrad  <adconrad@0c3.net>
14189             Andreas Schwab  <schwab@suse.de>
14190             Brooks  <bmoses@google.com>
14192         [BZ #17625]
14193         * wordexp-test.c (__dso_handle): Add prototype.
14194         (__register_atfork): Likewise.
14195         (__app_register_atfork): New function.
14196         (registered_forks): New global.
14197         (register_fork): New function.
14198         (test_case): Add 3 new tests for WRDE_CMDSUB.
14199         (main): Call __app_register_atfork.
14200         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
14201         fork count is non-zero fail the test.
14202         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
14203         is set.
14204         (parse_dollars): Remove check for WRDE_NOCMD.
14205         (parse_dquote): Likewise.
14207 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
14209         * Makeconfig (built-modules): List non-library modules to be
14210         built.
14211         (module-cppflags): Include libc-modules.h for
14212         everything except shlib-versions.v.i.
14213         (CPPFLAGS): Use it.
14214         (before-compile): Add libc-modules.h.
14215         ($(common-objpfx)libc-modules.h,
14216         $(common-objpfx)libc-modules.stmp): New targets.
14217         (common-generated): Add libc-modules.h and libc-modules.stmp.
14218         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
14219         * include/libc-symbols.h: Don't include libc-modules.h.
14220         * include/libc-modules.h: Remove file.
14221         * scripts/gen-libc-modules.awk: New script to generate
14222         libc-modules.h.
14223         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
14224         Depend on libc-modules.stmp.
14226         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
14228         * Makeconfig (in-module): Get value of libof set for the
14229         translation unit.
14230         (CPPFLAGS): Use $(in-module).
14231         * Makerules: Don't suffix routine names for nonlib.
14232         * include/libc-modules.h: New file.
14233         * include/libc-symbols.h: Include libc-modules.h
14234         (IS_IN): New macro to replace IS_IN_* macros.
14235         * elf/Makefile: Set libof-* for each routine.
14236         * elf/rtld-Rules: Likewise.
14237         * extra-modules.mk: Likewise.
14238         * iconv/Makefile: Likewise.
14239         * iconvdata/Makefile: Likewise.
14240         * locale/Makefile: Likewise.
14241         * malloc/Makefile: Likewise.
14242         * nss/Makefile: Likewise.
14243         * sysdeps/gnu/Makefile: Likewise.
14244         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
14245         * sysdeps/unix/sysv/linux/Makefile: Likewise.
14246         * sysdeps/s390/s390-64/Makefile: Likewise.
14247         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
14248         CPPFLAGS for nscd instead of nonlib.
14250 2014-11-18  Roland McGrath  <roland@hack.frob.com>
14252         * nptl/createthread.c: New file.
14254         * nptl/createthread.c: Moved ...
14255         * sysdeps/unix/sysv/linux/createthread.c: ... here.
14257         * nptl/createthread.c: Add proper top-line comment.
14258         (do_clone): Folded into ...
14259         (create_thread): ... here.  Take new arguments STOPPED_START and
14260         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
14261         increment __nptl_threads, do event-reporting logic, do
14262         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
14263         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
14264         resource cleanup if sched_setaffinity or sched_setscheduler fails,
14265         just send SIGCANCEL.
14266         * nptl/pthread_create.c: Forward-declare create_thread before
14267         including createthread.c.
14268         (start_thread): Use new macro START_THREAD_DEFN to replace defining
14269         declaration, and new macro START_THREAD_SELF to replace argument.
14270         Remove return statement.
14271         (report_thread_creation): New function.
14272         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
14273         synchronization logic, and __nptl_nthreads increment here, around
14274         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
14275         PD->parent_cancelhandling here, before create_thread.  When
14276         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
14277         __deallocate_stack, and ENOMEM translation here.
14279 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
14281         [BZ #17616]
14282         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
14283         (mptwo): Rename to __mptwo.
14284         (__inv): Use __mptwo instead of mptwo.
14285         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
14286         (mptwo): Rename to __mptwo.
14287         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
14288         of mpone and __mptwo instead of mptwo.
14289         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
14290         instead of mpone.
14291         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
14292         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
14293         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
14294         of mpone and __mptwo instead of mptwo.
14295         (__mpranred): Use __mpone instead of mpone.
14296         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
14297         variable.
14298         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
14299         (test-xfail-ISO99/math.h/linknamespace): Likewise.
14300         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
14301         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
14302         (test-xfail-ISO11/math.h/linknamespace): Likewise.
14303         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
14304         (test-xfail-XPG3/math.h/linknamespace): Likewise.
14305         (test-xfail-XPG4/math.h/linknamespace): Likewise.
14306         (test-xfail-POSIX/math.h/linknamespace): Likewise.
14307         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
14308         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
14309         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
14310         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
14311         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
14312         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
14313         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
14314         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
14315         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
14316         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
14318 2014-11-18  Tom de Vries  <tom@codesoucery.com>
14320         * manual/signal.texi (Primitives Interrupted by Signals): In section,
14321         replace BSD Handler xref with BSD Signal Handling.
14323 2014-11-17  Richard Henderson  <rth@redhat.com>
14325         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
14326         (_FP_PACK_RAW_2): Remove.
14327         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
14328         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
14329         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
14330         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
14331         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
14332         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
14333         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
14334         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
14335         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
14336         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
14337         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
14338         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
14339         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
14340         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
14341         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
14342         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
14344 2014-11-14  Roland McGrath  <roland@hack.frob.com>
14346         * signal/signal.h [__USE_MISC]
14347         (struct sigvec): Remove type.
14348         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
14349         (sigvec): Remove declaration.
14350         * sysdeps/posix/sigvec.c: Moved ...
14351         * signal/sigvec.c: ... here, replacing old file.
14352         (struct sigvec): New type, copied from old signal.h definition.
14353         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
14354         (__sigvec): Convert definition to prototype.
14355         (sigvec): Replace weak_alias with compat_symbol.
14356         * signal/Versions (libc: GLIBC_2.21): New version set.
14357         * include/signal.h: Remove __sigvec declaration.
14358         * sysdeps/unix/bsd/sigvec.c: Remove file.
14359         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
14360         * manual/signal.texi (BSD Handler): Remove subsection.
14361         Move siginterrupt up to ...
14362         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
14363         (Blocking in BSD): Fold subsection into its parent.
14364         * NEWS: Mention sigvec removal.
14366 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
14368         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
14369         (DLA_FMS): Make definition conditional only on [__FMA4__].
14370         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
14371         definition.
14373         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
14374         Make definition conditional only on [PROF].
14375         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
14376         definition.
14377         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
14378         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
14380         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
14381         !__GNUC__].
14382         * include/signal.h (__sigpause): Move declaration above call to
14383         libc_hidden_proto.
14384         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
14385         variable.
14386         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
14387         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
14389 2014-11-14  David S. Miller  <davem@davemloft.net>
14391         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
14392         Define before including <string/memcpy.c> and <string/mempcpy.c>.
14394 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
14396         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
14397         * configure: Regenerated.
14398         * manual/install.texi (Tools for Compilation): Document a
14399         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
14400         compiler verified to work.
14401         * INSTALL: Regenerated.
14403         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
14404         redeclare with asm name.
14405         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
14406         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
14407         including <string.h>.
14408         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
14409         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
14410         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
14411         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
14412         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
14413         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
14414         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
14416 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
14418         * stdlib/strtol.c (__strtol): Use prototype definition.
14420         [BZ #17594]
14421         * stdlib/strtol.c (SYM__): New macro.
14422         (SYM__1): Likewise.
14423         (__strtol): Likewise.
14424         (strtol): Rename to __strtol and define as weak alias of
14425         __strtol.  Use libc_hidden_weak.
14427 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
14429         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
14430         Use numbered labels in inline assembly.
14432 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
14434         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
14435         Add setjmp LIBC_PROBE.
14436         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
14437         Likewise.
14438         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
14439         Add longjmp, longjmp_target LIBC_PROBE.
14440         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
14441         Likewise.
14443 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
14445         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
14446         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
14447         to get rid of unused variable warning.
14449 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
14451         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
14452         Check for unwind_backtrace ==  NULL only in SHARED case.
14453         (__backchain_backtrace): Compile only in SHARED case.
14454         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
14455         Likewise.
14456         (__backchain_backtrace): Declare as static.
14458 2014-11-12  Roland McGrath  <roland@hack.frob.com>
14460         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
14461         (__libc_multiple_threads_ptr): Variable moved ...
14462         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
14464 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
14466         * conform/GlibcConform.pm: New file.
14467         * conform/conformtest.pl: Use GlibcConform module.
14468         * conform/linknamespace.pl: New file.
14469         * conform/list-header-symbols.pl: Likewise.
14470         * conform/Makefile (linknamespace-symlists-base): New variable.
14471         (linknamespace-symlists-tests): Likewise.
14472         (linknamespace-header-base): Likewise.
14473         (linknamespace-header-tests): Likewise.
14474         (tests-special): Add new tests.
14475         ($(linknamespace-symlists-tests)): New rule.
14476         (linknamespace-libs): New variable.
14477         ($(objpfx)symlist-stdlibs): New rule.
14478         ($(linknamespace-header-tests)): Likewise.
14479         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
14480         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
14481         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
14482         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
14483         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
14484         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
14485         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
14486         (test-xfail-ISO/math.h/linknamespace): Likewise.
14487         (test-xfail-ISO/signal.h/linknamespace): Likewise.
14488         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
14489         (test-xfail-ISO/time.h/linknamespace): Likewise.
14490         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
14491         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
14492         (test-xfail-ISO99/math.h/linknamespace): Likewise.
14493         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
14494         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
14495         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
14496         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
14497         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
14498         (test-xfail-ISO11/math.h/linknamespace): Likewise.
14499         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
14500         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
14501         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
14502         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
14503         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
14504         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
14505         (test-xfail-XPG3/math.h/linknamespace): Likewise.
14506         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
14507         (test-xfail-XPG3/search.h/linknamespace): Likewise.
14508         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
14509         (test-xfail-XPG3/time.h/linknamespace): Likewise.
14510         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
14511         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
14512         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
14513         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
14514         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
14515         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
14516         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
14517         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
14518         (test-xfail-XPG4/math.h/linknamespace): Likewise.
14519         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
14520         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
14521         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
14522         (test-xfail-XPG4/search.h/linknamespace): Likewise.
14523         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
14524         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
14525         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
14526         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
14527         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
14528         (test-xfail-XPG4/time.h/linknamespace): Likewise.
14529         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
14530         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
14531         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
14532         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
14533         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
14534         (test-xfail-POSIX/math.h/linknamespace): Likewise.
14535         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
14536         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
14537         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
14538         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
14539         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
14540         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
14541         (test-xfail-POSIX/time.h/linknamespace): Likewise.
14542         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
14543         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
14544         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
14545         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
14546         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
14547         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
14548         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
14549         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
14550         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
14551         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
14552         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
14553         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
14554         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
14555         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
14556         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
14557         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
14558         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
14559         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
14560         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
14561         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
14562         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
14563         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
14564         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
14565         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
14566         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
14567         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
14568         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
14569         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
14570         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
14571         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
14572         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
14573         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
14574         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
14575         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
14576         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
14577         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
14578         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
14579         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
14580         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
14581         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
14582         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
14583         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
14584         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
14585         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
14586         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
14587         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
14588         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
14589         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
14590         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
14591         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
14592         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
14593         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
14594         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
14595         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
14596         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
14597         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
14598         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
14599         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
14600         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
14601         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
14602         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
14603         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
14604         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
14605         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
14606         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
14607         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
14608         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
14609         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
14610         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
14611         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
14612         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
14613         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
14614         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
14615         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
14616         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
14617         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
14618         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
14619         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
14620         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
14621         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
14622         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
14623         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
14624         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
14625         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
14626         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
14627         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
14628         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
14629         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
14630         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
14631         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
14632         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
14633         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
14634         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
14635         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
14636         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
14637         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
14638         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
14639         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
14641         [BZ #17589]
14642         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
14643         of fgets_unlocked.
14645         [BZ #17585]
14646         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
14647         (memmem): Rename to __memmem and define as weak alias of
14648         __memmem.  Use libc_hidden_weak.
14649         (__memmem): Use libc_hidden_def.
14650         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
14651         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
14652         memmem.
14654         [BZ #17582]
14655         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
14656         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
14657         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
14658         and define as weak alias of __fgets_unlocked.  Use
14659         libc_hidden_weak.
14660         (__fgets_unlocked): Use libc_hidden_def.
14661         * include/stdio.h (__fgets_unlocked): Declare.  Use
14662         libc_hidden_proto.
14663         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
14664         __fgets_unlocked instead of fgets_unlocked.
14665         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
14666         (GET_NPROCS_CONF_PARSER): Likewise.
14667         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
14668         (GET_NPROCS_CONF_PARSER): Likewise.
14670         [BZ #17574]
14671         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
14672         weak alias of __wmemset.  Use libc_hidden_weak.
14673         (__wmemset): Use libc_hidden_def.
14674         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
14675         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
14676         of wmemset.
14678         [BZ #17573]
14679         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
14680         with asm name __mempcpy.
14681         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
14683         [BZ #17572]
14684         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
14685         and define as weak alias of __rawmemchr.
14686         (__rawmemchr): Do not define as strong alias of rawmemchr.
14688         [BZ #17571]
14689         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
14690         alias of __qsort_r.
14691         (qsort): Call __qsort_r instead of qsort_r.
14692         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
14693         (__qsort_r): Declare.  Call libc_hidden_proto.
14694         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
14695         instead of qsort_r.
14696         * nscd/gai.c (__qsort_r): Define to qsort_r.
14697         * posix/tst-rfc3484.c (__qsort_r): Likewise.
14698         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
14699         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
14701         [BZ #17570]
14702         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
14703         define as weak alias of __malloc_info.
14705         [BZ #17584]
14706         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
14707         as weak alias of __rewinddir.  Don't use libc_hidden_def.
14708         (__rewinddir): Use libc_hidden_def.
14709         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
14710         as weak alias of __rewinddir.  Don't use libc_hidden_def.
14711         (__rewinddir): Use libc_hidden_def.
14712         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
14713         weak alias of __rewinddir.  Don't use libc_hidden_def.
14714         (__rewinddir): Use libc_hidden_def.
14715         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
14716         (__rewinddir): Use libc_hidden_proto.
14717         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
14718         rewinddir.
14719         (__getcwd): Use __rewinddir instead of rewinddir.
14721         [BZ #17583]
14722         * libio/fileno.c (fileno): Rename to __fileno and define as weak
14723         alias of __fileno.  Use libc_hidden_weak.
14724         (__fileno): Use libc_hidden_def.
14725         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
14726         * libio/ftello.c (ftello): Rename to __ftello and define as weak
14727         alias of __ftello.
14728         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
14729         __ftello.
14730         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
14731         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
14732         libc_hidden_def.
14733         (fread_unlocked): Don't use libc_hidden_ver.
14734         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
14735         and define as weak alias of __fread_unlocked.  Don't use
14736         libc_hidden_def.
14737         (__fread_unlocked): Use libc_hidden_def.
14738         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
14739         (ftello): Don't use libc_hidden_proto.
14740         (__ftello): Declare.  Use libc_hidden_proto.
14741         (fread_unlocked): Don't use libc_hidden_proto.
14742         (__fread_unlocked): Declare.  Use libc_hidden_proto.
14743         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
14744         and __ftello instead of fileno, fread_unlocked and ftello.
14746 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
14748         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
14749         GOT12.
14750         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
14751         Likewise.
14752         (_dl_start_user): Likewise.
14753         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
14755 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
14756             Siddhesh Poyarekar  <siddhesh@redhat.com>
14758         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
14759         Move argv and envp down instead of moving argc up.
14760         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
14762 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
14764         [BZ #17506]
14765         * test-skeleton.c (main): Return successful if one of
14766         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
14767         * string/tst-strcoll-overflow.c: Define expected status.
14769 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
14771         [BZ #17475]
14772         * locale/iso-639.def: Define Bhili and Tulu language codes.
14774 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
14776         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
14778 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
14780         [BZ #17555]
14781         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
14783 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
14785         * configure.ac: Updated check of minimal required version to
14786         2.22.
14787         * manual/install.texi (Tools for Compilation): Updated version
14788         number.
14789         * configure: Regenerated.
14790         * INSTALL: Likewise.
14792 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
14794         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
14795         __tls_get_addr.
14797 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
14799         * include/sys/wait.h (__libc_waitpid): Remove declaration.
14800         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
14801         (__waitpid): Don't define as alias.  Use libc_hidden_def not
14802         libc_hidden_weak.
14803         (waitpid): Define as alias of __waitpid.
14804         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
14805         __waitpid.
14806         (__waitpid): Don't define as alias.  Use libc_hidden_def not
14807         libc_hidden_weak.
14808         (waitpid): Define as alias of __waitpid.
14809         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
14810         __libc_waitpid alias.
14811         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
14812         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
14813         Likewise.
14814         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
14815         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
14816         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
14817         alias.
14818         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
14819         __waitpid.
14820         (__waitpid): Don't define as alias.  Use libc_hidden_def not
14821         libc_hidden_weak.
14822         (waitpid): Define as alias of __waitpid.
14824 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
14826         * manual/llio.texi: Add comment that write safety has been
14827         fixed in Linux.
14829         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
14830         (localplt-build-dso): Add elf/ld.so.
14831         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
14832         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
14833         and free for ld.so.
14834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
14835         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
14836         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
14837         Likewise.
14838         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
14839         Likewise.
14840         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
14841         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
14842         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
14843         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
14844         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
14845         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
14846         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
14847         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
14848         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
14849         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
14850         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
14852 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
14854         [BZ #14132]
14855         * include/libc-symbols.h (INTUSE): Remove macro.
14856         (INTDEF): Likewise.
14857         (INTVARDEF): Likewise.
14858         (_INTVARDEF): Likewise.
14859         (INTDEF2): Likewise.
14860         (INTVARDEF2): Likewise.
14861         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
14862         rtld_hidden_def instead of INTVARDEF.
14863         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
14864         (_dl_starting_up_internal): Remove declaration.
14865         (_dl_starting_up): Use rtld_hidden_proto.
14866         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
14867         declaration.
14868         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
14869         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
14870         _dl_starting_up.
14871         * elf/dl-writev.h (_dl_writev): Likewise.
14872         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
14873         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
14874         _dl_starting_up_internal.
14876 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14878         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
14879         test-skeleton.c.
14881 2014-11-05  Will Newton  <will.newton@linaro.org>
14883         * benchtests/Makefile: (bench-malloc): Add malloc thread
14884         scalability benchmark.
14885         * benchtests/bench-malloc-threads.c: New file.
14887 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
14889         * sysdeps/aarch64/strchrnul.S: New file.
14891 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14893         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
14894         definition.
14895         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
14896         Likwise.
14897         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
14898         Likewise.
14899         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
14900         Likewise.
14901         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
14902         Likewise.
14903         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
14904         Likewise.
14906 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
14908         * catgets/test-gencat.c: Use test-skeleton.c.
14909         * catgets/tst-catgets.c: Likewise.
14910         * csu/tst-empty.c: Likewise.
14911         * elf/tst-audit2.c: Likewise.
14912         * elf/tst-global1.c: Likewise.
14913         * elf/tst-pathopt.c: Likewise.
14914         * elf/tst-piemod1.c: Likewise.
14915         * elf/tst-tls10.c: Likewise.
14916         * elf/tst-tls11.c: Likewise.
14917         * elf/tst-tls12.c: Likewise.
14918         * gnulib/tst-gcc.c: Likewise.
14919         * iconvdata/tst-e2big.c: Likewise.
14920         * iconvdata/tst-loading.c: Likewise.
14921         * iconv/tst-iconv1.c: Likewise.
14922         * iconv/tst-iconv2.c: Likewise.
14923         * inet/test-inet6_opt.c: Likewise.
14924         * inet/tst-gethnm.c: Likewise.
14925         * inet/tst-network.c: Likewise.
14926         * inet/tst-ntoa.c: Likewise.
14927         * intl/tst-codeset.c: Likewise.
14928         * intl/tst-gettext2.c: Likewise.
14929         * intl/tst-gettext3.c: Likewise.
14930         * intl/tst-ngettext.c: Likewise.
14931         * intl/tst-translit.c: Likewise.
14932         * io/test-stat.c: Likewise.
14933         * libio/test-fmemopen.c: Likewise.
14934         * libio/tst-freopen.c: Likewise.
14935         * libio/tst-sscanf.c: Likewise.
14936         * libio/tst-ungetwc1.c: Likewise.
14937         * libio/tst-ungetwc2.c: Likewise.
14938         * libio/tst-widetext.c: Likewise.
14939         * localedata/tst-ctype.c: Likewise.
14940         * localedata/tst-digits.c: Likewise.
14941         * localedata/tst-leaks.c: Likewise.
14942         * localedata/tst-mbswcs1.c: Likewise.
14943         * localedata/tst-mbswcs2.c: Likewise.
14944         * localedata/tst-mbswcs3.c: Likewise.
14945         * localedata/tst-mbswcs4.c: Likewise.
14946         * localedata/tst-mbswcs5.c: Likewise.
14947         * localedata/tst-setlocale.c: Likewise.
14948         * localedata/tst-trans.c: Likewise.
14949         * localedata/tst-wctype.c: Likewise.
14950         * localedata/tst-xlocale1.c: Likewise.
14951         * login/tst-grantpt.c: Likewise.
14952         * malloc/tst-calloc.c: Likewise.
14953         * malloc/tst-malloc.c: Likewise.
14954         * malloc/tst-mallocstate.c: Likewise.
14955         * malloc/tst-mcheck.c: Likewise.
14956         * malloc/tst-mtrace.c: Likewise.
14957         * malloc/tst-obstack.c: Likewise.
14958         * math/atest-exp2.c: Likewise.
14959         * math/atest-exp.c: Likewise.
14960         * math/atest-sincos.c: Likewise.
14961         * math/test-matherr.c: Likewise.
14962         * math/test-misc.c: Likewise.
14963         * math/test-powl.c: Likewise.
14964         * math/tst-definitions.c: Likewise.
14965         * misc/tst-dirname.c: Likewise.
14966         * misc/tst-efgcvt.c: Likewise.
14967         * misc/tst-fdset.c: Likewise.
14968         * misc/tst-hsearch.c: Likewise.
14969         * misc/tst-mntent2.c: Likewise.
14970         * nptl/tst-sem7.c: Likewise.
14971         * nptl/tst-sem8.c: Likewise.
14972         * nptl/tst-sem9.c: Likewise.
14973         * nss/test-netdb.c: Likewise.
14974         * posix/tst-fnmatch.c: Likewise.
14975         * posix/tst-getlogin.c: Likewise.
14976         * posix/tst-gnuglob.c: Likewise.
14977         * posix/tst-mmap.c: Likewise.
14978         * pwd/tst-getpw.c: Likewise.
14979         * resolv/tst-inet_ntop.c: Likewise.
14980         * rt/tst-timer.c: Likewise.
14981         * stdio-common/test-fseek.c: Likewise.
14982         * stdio-common/test-popen.c: Likewise.
14983         * stdio-common/test-vfprintf.c: Likewise.
14984         * stdio-common/tst-cookie.c: Likewise.
14985         * stdio-common/tst-fileno.c: Likewise.
14986         * stdio-common/tst-gets.c: Likewise.
14987         * stdio-common/tst-obprintf.c: Likewise.
14988         * stdio-common/tst-perror.c: Likewise.
14989         * stdio-common/tst-sprintf2.c: Likewise.
14990         * stdio-common/tst-sprintf3.c: Likewise.
14991         * stdio-common/tst-sprintf.c: Likewise.
14992         * stdio-common/tst-swprintf.c: Likewise.
14993         * stdio-common/tst-tmpnam.c: Likewise.
14994         * stdio-common/tst-unbputc.c: Likewise.
14995         * stdio-common/tst-wc-printf.c: Likewise.
14996         * stdlib/tst-environ.c: Likewise.
14997         * stdlib/tst-fmtmsg.c: Likewise.
14998         * stdlib/tst-limits.c: Likewise.
14999         * stdlib/tst-rand48-2.c: Likewise.
15000         * stdlib/tst-rand48.c: Likewise.
15001         * stdlib/tst-random2.c: Likewise.
15002         * stdlib/tst-random.c: Likewise.
15003         * stdlib/tst-strtol.c: Likewise.
15004         * stdlib/tst-strtoll.c: Likewise.
15005         * stdlib/tst-tls-atexit.c: Likewise.
15006         * stdlib/tst-xpg-basename.c: Likewise.
15007         * string/test-ffs.c: Likewise.
15008         * string/tst-bswap.c: Likewise.
15009         * string/tst-inlcall.c: Likewise.
15010         * string/tst-strtok.c: Likewise.
15011         * string/tst-strxfrm.c: Likewise.
15012         * sysdeps/x86_64/tst-audit10.c: Likewise.
15013         * sysdeps/x86_64/tst-audit3.c: Likewise.
15014         * sysdeps/x86_64/tst-audit4.c: Likewise.
15015         * sysdeps/x86_64/tst-audit5.c: Likewise.
15016         * time/tst-ftime_l.c: Likewise.
15017         * time/tst-getdate.c: Likewise.
15018         * time/tst-mktime3.c: Likewise.
15019         * time/tst-mktime.c: Likewise.
15020         * time/tst-posixtz.c: Likewise.
15021         * time/tst-strptime2.c: Likewise.
15022         * time/tst-strptime3.c: Likewise.
15023         * wcsmbs/tst-btowc.c: Likewise.
15024         * wcsmbs/tst-mbrtowc.c: Likewise.
15025         * wcsmbs/tst-mbsrtowcs.c: Likewise.
15026         * wcsmbs/tst-wchar-h.c: Likewise.
15027         * wcsmbs/tst-wcpncpy.c: Likewise.
15028         * wcsmbs/tst-wcrtomb.c: Likewise.
15029         * wcsmbs/tst-wcsnlen.c: Likewise.
15030         * wcsmbs/tst-wcstof.c: Likewise.
15032 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
15034         [BZ #14132]
15035         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
15036         INTDEF.
15037         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
15038         declaration.
15039         (_dl_mcount): Use rtld_hidden_proto.
15040         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
15041         _dl_mcount.
15042         * elf/rtld.c (_rtld_global_ro): Likewise.
15044         [BZ #14132]
15045         * elf/dl-init.c (_dl_init): Don't use INTDEF.
15046         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
15047         of _dl_init_internal.
15048         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
15049         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
15050         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
15051         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
15052         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
15053         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
15054         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
15055         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
15056         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
15057         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
15058         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
15059         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
15060         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
15061         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
15062         * sysdeps/tile/dl-start.S (_start): Likewise.
15063         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
15064         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
15066         [BZ #14132]
15067         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
15068         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
15069         (rtld_progname): Make macro definition unconditional.
15070         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
15071         INTDEF.
15072         (dlmopen_doit): Do not use INTUSE with _dl_argv.
15073         (dl_main): Likewise.
15074         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
15075         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
15076         instead of _dl_argv_internal.
15077         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
15078         __GI__dl_argv instead of INTUSE(_dl_argv).
15079         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
15080         __GI__dl_argv instead of _dl_argv_internal.
15082         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
15083         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
15084         macro.
15085         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
15086         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
15087         New macro.
15088         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
15089         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
15090         macro.
15091         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
15092         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
15094 2014-11-04  Andreas Schwab  <schwab@suse.de>
15096         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
15098 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15100         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
15101         mtvsrd instruction in binary form.
15103 2014-11-03  Andreas Schwab  <schwab@suse.de>
15105         [BZ #17522]
15106         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
15107         for less than MB_LEN_MAX use a local buffer of that size.
15108         * libio/tst-fputws.c: New file.
15109         * libio/Makefile (tests): Add tst-fputws.
15111 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
15113         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
15114         the size of the fpu_fr.fpu_dregs[] array.
15116 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
15118         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
15119         (__nanosleep): Do not define as alias.
15120         (nanosleep): Define as alias of __nanosleep.
15121         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
15122         __libc_nanosleep name.
15124 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
15126         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
15127         install.texi in comment.
15129 2014-10-31  Torvald Riegel  <triegel@redhat.com>
15131         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
15132         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
15133         ... add here and use lwsync or sync ...
15134         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
15135         ... and add here using lwsync.
15137 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
15139         * elf/dl-machine-reject-phdr.h: New file.
15140         * elf/dl-load.c: #include that.
15141         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
15142         if that returned true.
15144 2014-10-31  Roland McGrath  <roland@hack.frob.com>
15146         [BZ #17496]
15147         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
15148         gen-as-const-headers chunk.  Add a big scare comment after the last
15149         safe place to touch before-compile.
15151 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
15153         * manual/install.texi (Tools for Compilation): Update autoconf
15154         version requirements.
15155         * INSTALL: Regenerated.
15157         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
15158         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
15159         (__libc_pselect): Likewise.
15161         [BZ #14138]
15162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
15163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
15164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
15165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
15167 2014-10-31  Torvald Riegel  <triegel@redhat.com>
15169         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
15170         correct barrier instruction.
15171         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
15172         Likewise.
15173         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
15174         Likewise.
15176 2014-10-30  Roland McGrath  <roland@hack.frob.com>
15178         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
15179         after defining inlines.  Instead, just use parens to defeat macro
15180         expansion of __isctype in its declaration.
15182 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
15184         * include/sys/uio.h (__libc_readv): Remove declaration.
15185         (__libc_writev): Likewise.
15186         * misc/readv.c (__libc_readv): Rename to __readv.
15187         (__readv): Do not define as alias.
15188         (readv): Define as alias of __readv.
15189         * misc/writev.c (__libc_writev): Rename to __writev.
15190         (__writev): Do not define as alias.
15191         (writev): Define as alias of __writev.
15192         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
15193         (__readv): Do not define as alias.
15194         (readv): Define unconditionally as alias of __readv.
15195         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
15196         (__writev): Do not define as alias.
15197         (writev): Define unconditionally as alias of __writev.
15198         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
15199         name.
15200         (writev): Do not define __libc_writev name.
15202 2014-10-30  Roland McGrath  <roland@hack.frob.com>
15204         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
15205         (convert_charseq): New function, broken out of ...
15206         (use_from_charmap): ... here.  Call it.
15207         (use_to_charmap): Use convert_charseq and free instead of duplicating
15208         its code with a variable-length stack struct.
15210 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
15212         * include/fcntl.h (__libc_creat): Remove declaration.
15213         * io/creat.c (__libc_creat): Rename to creat.
15214         (creat): Do not define as alias.
15215         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
15216         of creat instead of __libc_creat.
15217         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
15218         to creat.
15219         (creat): Do not define as alias.
15220         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
15221         __libc_creat.
15222         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
15223         __libc_creat name.
15224         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
15225         Likewise.
15227 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
15229         * manual/llio.texi: Add comments discussing why write() may be
15230         considered MT-unsafe on Linux.
15232 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
15234         * dl-load.c (local_strdup): Remove.
15235         (expand_dynamic_string_token): Use __strdup.
15236         (decompose_rpath): Likewise.
15237         (_dl_map_object): Likewise.
15239 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
15241         [BZ #14132]
15242         * sysdeps/generic/unwind-dw2-fde.c
15243         (__register_frame_info_bases_internal): Do not declare.
15244         (__register_frame_info_table_bases_internal): Likewise.
15245         (__deregister_frame_info_bases_internal): Likewise.
15246         (__register_frame_info_bases): Declare and use hidden_proto before
15247         definition.  Use hidden_def instead of INTDEF.
15248         (__register_frame_info_table_bases): Likewise.
15249         (__deregister_frame_info_bases): Likewise.
15250         (__register_frame_info): Do not use INTUSE.
15251         (__register_frame): Likewise.
15252         (__register_frame_info_table): Likewise.
15253         (__register_frame_table): Likewise.
15254         (__deregister_frame_info): Likewise.
15255         (__deregister_frame): Likewise.
15257 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
15259         * sysdeps/unix/sysv/linux/arm/kernel-features.h
15260         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
15261         not undefine.
15262         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
15263         Likewise.
15264         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
15265         Likewise.
15267 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
15269         [BZ #14138]
15270         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
15271         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
15272         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
15273         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
15274         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
15275         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
15276         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
15277         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
15278         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
15279         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
15280         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
15281         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
15282         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
15283         syscall.
15284         (setfsuid): Likewise.
15285         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
15286         (setfsuid): Likewise.
15287         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
15288         (setfsuid): Likewise.
15289         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
15290         Likewise.
15291         (setfsuid): Likewise.
15292         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
15293         (setfsuid): Likewise.
15294         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
15295         Likewise.
15296         (setfsuid): Likewise.
15298 2014-10-27  Andreas Schwab  <schwab@suse.de>
15300         [BZ #17501]
15301         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
15302         check for Slow_SSE4_2 feature bit.
15303         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
15304         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
15305         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
15306         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
15308 2014-10-24  Roland McGrath  <roland@hack.frob.com>
15310         * configure.ac: Validate compiler version with a empirical test of
15311         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
15312         $CC -v output.
15313         * configure: Regenerated.
15315         * inet/htons.c (htons): Prototypify.
15316         * inet/htonl.c (htonl): Likewise.
15318 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
15320         * string/strncat.c (strncat): Improve performance by using strlen.
15322 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
15324         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
15326 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
15328         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
15329         Call libc_fetestexcept_aarch64.
15331 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
15333         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
15334         Call libc_feholdexcept_aarch64.
15336 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
15338         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
15339         Call get_rounding_mode.
15341 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
15343         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
15344         Simplify logic.
15346 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
15348         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
15349         Simplify logic.
15351 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
15353         [BZ #14138]
15354         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
15355         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
15356         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
15357         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
15358         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
15359         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
15360         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
15361         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
15362         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
15363         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
15364         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
15365         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
15366         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
15367         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
15368         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
15369         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
15370         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
15371         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
15372         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
15373         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
15374         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
15375         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
15376         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
15377         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
15378         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
15379         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
15380         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
15381         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
15382         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
15383         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
15384         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
15385         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
15386         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
15387         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
15388         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
15389         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
15390         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
15391         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
15392         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
15393         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
15394         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
15395         syscall.
15396         (geteuid): Likewise.
15397         (getgid): Likewise.
15398         (getuid): Likewise.
15399         (getresgid): Likewise.
15400         (getresuid): Likewise.
15401         (getgroups): Likewise.
15402         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
15403         (geteuid): Likewise.
15404         (getgid): Likewise.
15405         (getuid): Likewise.
15406         (getresgid): Likewise.
15407         (getresuid): Likewise.
15408         (getgroups): Likewise.
15409         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
15410         (geteuid): Likewise.
15411         (getgid): Likewise.
15412         (getuid): Likewise.
15413         (getresgid): Likewise.
15414         (getresuid): Likewise.
15415         (getgroups): Likewise.
15416         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
15417         Likewise.
15418         (geteuid): Likewise.
15419         (getgid): Likewise.
15420         (getuid): Likewise.
15421         (getresgid): Likewise.
15422         (getresuid): Likewise.
15423         (getgroups): Likewise.
15424         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
15425         (geteuid): Likewise.
15426         (getgid): Likewise.
15427         (getuid): Likewise.
15428         (getresgid): Likewise.
15429         (getresuid): Likewise.
15430         (getgroups): Likewise.
15431         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
15432         Likewise.
15433         (geteuid): Likewise.
15434         (getgid): Likewise.
15435         (getuid): Likewise.
15436         (getgroups): Likewise.
15438         [BZ #14138]
15439         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
15440         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
15441         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
15442         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
15443         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
15444         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
15445         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
15446         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
15447         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
15448         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
15449         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
15450         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
15451         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
15452         __chown.
15453         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
15454         (lchown): Likewise.
15455         (fchown): Likewise.
15456         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
15457         Likewise.
15458         (lchown): Likewise.
15459         (fchown): Likewise.
15460         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
15461         (lchown): Likewise.
15462         (fchown): Likewise.
15463         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
15464         Likewise.
15465         (lchown): Likewise.
15466         (fchown): Likewise.
15468 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
15470         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
15471         Simplify logic.
15473 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
15475         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
15476         Cleanup logic.
15478 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
15480         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
15481         Remove unused include.
15483 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
15485         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
15486         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
15487         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
15488         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
15490 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
15491             Helge Deller <deller@gmx.de>
15493         [BZ #17508]
15494         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
15495         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
15496         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
15498 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
15500         [BZ #14132]
15501         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
15502         Remove macro definition.
15503         (__ashrdi3_v_glibc20): Likewise.
15504         (__lshrdi3_v_glibc20): Likewise.
15505         (__cmpdi2_v_glibc20): Likewise.
15506         (__ucmpdi2_v_glibc20): Likewise.
15507         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
15508         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
15509         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
15510         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
15511         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
15512         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
15514 2014-10-22  Roland McGrath  <roland@hack.frob.com>
15516         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
15517         old GNU extension [0] syntax.
15518         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
15519         alloca rather than an array member with variable length.
15520         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
15521         * nscd/nscd.c (invalidate_db): New function, broken out of ...
15522         (parse_opt): ... here.  Likewise use alloca there.
15523         Validate the -i argument before checking for rootness.
15524         (send_shutdown): New function, broken out of ...
15525         (parse_opt): ... here.
15527 2014-10-22  Roland McGrath  <roland@hack.frob.com>
15529         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
15530         macro to get at the _rt_local_ro field.
15531         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
15532         ([PIC] case) or _dl_hwcap ([!PIC] case).
15533         * sysdeps/arm/setjmp.S: Likewise.
15535         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
15536         * sysdeps/arm/configure.ac: New check to define it.
15537         * sysdeps/arm/configure: Regenerated.
15538         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
15539         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
15540         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
15541         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
15542         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
15543         Use move/movt pair instead of a load.
15544         (LDST_GLOBAL): Macro removed.
15545         (LDR_GLOBAL): New macro replaces it.
15546         (LDR_HIDDEN): New macro.
15547         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
15548         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
15550         * setjmp/tst-setjmp-static.c: New file.
15551         * setjmp/Makefile (tests): Add it.
15552         (tests-static): New variable.
15554 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
15556         [BZ #17485]
15557         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
15559 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
15561         [BZ #14132]
15562         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
15564 2014-10-21  Roland McGrath  <roland@hack.frob.com>
15566         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
15568 2014-10-20  Roland McGrath  <roland@hack.frob.com>
15570         * io/fts.c (dirent_not_directory): New function.
15571         (fts_build): Call it.
15573 2014-10-20  Roland McGrath  <roland@hack.frob.com>
15575         * nptl/version.c (__nptl_main): Use normal __write rather than
15576         INTERNAL_SYSCALL.
15577         (banner): Update copyright years.
15579         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
15580         gettimeofday.
15581         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
15582         * nptl/pthread_cond_timedwait.c: Likewise.
15583         * nptl/pthread_mutex_timedlock.c: Likewise.
15584         * nptl/sem_timedwait.c: Likewise.
15586         * sysdeps/nptl/bits/libc-lock.h
15587         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
15588         (__libc_lock_init_recursive): Return void, not 0.
15589         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
15590         (__libc_rwlock_init): Likewise.
15591         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
15593 2014-10-20  Torvald Riegel  <triegel@redhat.com>
15595         [BZ #15215]
15596         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
15597         (__pthread_once_slow): ... here.
15598         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
15599         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
15601 2014-10-20  Torvald Riegel  <triegel@redhat.com>
15603         [BZ #15215]
15604         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
15605         __PTHREAD_ONCE_FORK_GEN_INCR): New.
15606         * sysdeps/nptl/fork.c (__libc_fork): Use them.
15607         * nptl/pthread_once.c (__pthread_once): Likewise.
15608         Update comments.
15610 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
15612         [BZ #14138]
15613         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
15614         name.
15615         (writev): Use __libc_writev as strong name.
15616         * sysdeps/unix/sysv/linux/readv.c: Remove file.
15617         * sysdeps/unix/sysv/linux/writev.c: Likewise.
15619 2014-10-17  Roland McGrath  <roland@hack.frob.com>
15621         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
15623         * sysdeps/i386/nptl/tls.h
15624         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
15625         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
15626         New macros.
15627         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
15628         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
15629         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
15630         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
15631         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
15632         Call CHECK_THREAD_SYSINFO instead of doing an assert.
15634         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
15635         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
15636         on [__NR_futex].
15637         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
15638         broken out of ...
15639         (__pthread_mutex_init): ... here.  Call it.
15640         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
15641         Conditionalize PI cases on [__NR_futex].
15642         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
15643         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
15644         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
15646         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
15647         conditional on [SIGSETXID].
15648         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
15649         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
15650         is defined.  Likewise for SIGSETXID.
15651         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
15652         Conditionalize definitions on [SIGSETXID].
15653         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
15654         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
15655         unblocking on [SIGCANCEL].
15657         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
15658         [__NR_set_robust_list].
15660 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
15662         * string/strcoll_l.c (get_next_seq): Fix up formatting.
15663         (do_compare): Likewise.
15665 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
15667         [BZ #15884]
15668         * string/strcoll_l.c: Don't include stdio.h.
15669         (coll_seq): Remove members idxarr and rulearr.
15670         (get_next_seq_cached): Remove function.
15671         (get_next_seq): Likewise.
15672         (get_next_seq_nocache): Rename to get_next_seq.
15673         (do_compare): Remove function.
15674         (do_compare_nocache): Rename to do_compare.
15675         (STRCOLL): Remove weight and rules cache.
15677 2014-10-16  Roland McGrath  <roland@hack.frob.com>
15679         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
15680         * sysdeps/arm/sfp-machine.h: ... to here.
15681         * sysdeps/arm/Implies: Remove arm/soft-fp.
15683 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
15685         * conform/data/sys/utsname.h-data (*_t): Allow.
15686         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
15687         [POSIX] (WEXITED): Do not expect constant.
15688         [POSIX] (WSTOPPED): Likewise.
15689         [POSIX] (WNOHANG): Likewise.
15690         [POSIX] (WNOWAIT): Likewise.
15691         [POSIX] (siginfo_t): Do not expect type or elements.
15692         [POSIX] (pid_t): Do not expect type.
15693         [POSIX] (signal.h): Do not allow header.
15694         [POSIX] (sys/resource.h): Likewise.
15695         [POSIX] (si_*): Do not allow pattern.
15696         [POSIX] (W*): Likewise.
15697         [POSIX] (P_*): Likewise.
15698         [POSIX] (BUS_*): Likewise.
15699         [POSIX] (CLD_*): Likewise.
15700         [POSIX] (FPE_*): Likewise.
15701         [POSIX] (ILL_*): Likewise.
15702         [POSIX] (POLL_*): Likewise.
15703         [POSIX] (SEGV_*): Likewise.
15704         [POSIX] (SI_*): Likewise.
15705         [POSIX] (TRAP_*): Likewise.
15706         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
15707         variable.
15709 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
15711         [BZ #12926]
15712         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
15713         infinite loop when __recvmsg returns 0.
15715 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
15717         * CANCEL-FCT-WAIVE: Remove file.
15718         * CANCEL-FILE-WAIVE: Likewise.
15720         [BZ #14132]
15721         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
15722         instead of INTVARDEF.
15723         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
15724         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
15725         rtld_hidden_data_def instead of INTVARDEF.
15726         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
15727         * elf/dl-deps.c (expand_dst): Likewise.
15728         * elf/dl-load.c (_dl_dst_count): Likewise.
15729         (_dl_dst_substitute): Likewise.
15730         (decompose_rpath): Likewise.
15731         (_dl_init_paths): Likewise.
15732         (open_path): Likewise.
15733         (_dl_map_object): Likewise.
15734         * elf/rtld.c (dl_main): Likewise.
15735         (process_dl_audit): Likewise.
15736         (process_envvars): Likewise.
15737         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
15738         Remove declaration.
15739         (__libc_enable_secure): Use rtld_hidden_proto.
15741 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
15743         * elf/dl-load.c
15744         (add_path): New function broken out of _dl_rtld_di_serinfo.
15745         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
15747 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
15749         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
15750         parentheses around macro arguments.
15751         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
15752         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
15753         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
15754         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
15755         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
15756         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
15757         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
15758         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
15759         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
15760         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
15761         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
15762         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
15763         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
15764         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
15765         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
15766         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
15767         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
15768         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
15769         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
15770         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
15771         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
15772         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
15773         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
15774         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
15775         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
15776         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
15777         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
15778         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
15779         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
15780         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
15781         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
15782         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
15783         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
15784         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
15785         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
15786         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
15787         Likewise.
15788         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
15789         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
15790         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
15791         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
15792         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
15793         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
15794         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
15795         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
15796         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
15797         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
15798         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
15799         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
15800         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
15801         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
15802         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
15803         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
15804         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
15805         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
15806         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
15807         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
15808         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
15809         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
15810         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
15811         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
15812         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
15813         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
15814         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
15815         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
15816         (_FP_FRAC_SRS_1): Likewise.
15817         (_FP_FRAC_CLZ_1): Likewise.
15818         (_FP_MUL_MEAT_1_imm): Likewise.
15819         (_FP_MUL_MEAT_1_wide): Likewise.
15820         (_FP_MUL_MEAT_1_hard): Likewise.
15821         (_FP_SQRT_MEAT_1): Likewise.
15822         (_FP_FRAC_ASSEMBLE_1): Likewise.
15823         (_FP_FRAC_DISASSEMBLE_1): Likewise.
15824         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
15825         (__FP_CLZ_2): Likewise.
15826         (_FP_MUL_MEAT_2_wide): Likewise.
15827         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
15828         (_FP_MUL_MEAT_2_gmp): Likewise.
15829         (_FP_MUL_MEAT_2_120_240_double): Likewise.
15830         (_FP_SQRT_MEAT_2): Likewise.
15831         (_FP_FRAC_ASSEMBLE_2): Likewise.
15832         (_FP_FRAC_DISASSEMBLE_2): Likewise.
15833         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
15834         (_FP_FRAC_CLZ_4): Likewise.
15835         (_FP_MUL_MEAT_4_wide): Likewise.
15836         (_FP_MUL_MEAT_4_gmp): Likewise.
15837         (_FP_SQRT_MEAT_4): Likewise.
15838         (_FP_FRAC_ASSEMBLE_4): Likewise.
15839         (_FP_FRAC_DISASSEMBLE_4): Likewise.
15840         * soft-fp/op-common.h (_FP_CMP): Likewise.
15841         (_FP_CMP_EQ): Likewise.
15842         (_FP_CMP_UNORD): Likewise.
15843         (_FP_TO_INT): Likewise.
15844         (_FP_FROM_INT): Likewise.
15845         [!__FP_CLZ] (__FP_CLZ): Likewise.
15846         (_FP_DIV_HELP_imm): Likewise.
15847         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
15848         Likewise.
15849         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
15850         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
15851         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
15852         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
15853         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
15854         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
15855         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
15856         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
15857         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
15858         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
15859         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
15860         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
15861         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
15862         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
15863         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
15864         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
15865         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
15866         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
15867         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
15868         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
15869         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
15870         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
15871         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
15872         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
15873         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
15874         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
15875         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
15876         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
15877         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
15878         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
15879         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
15880         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
15881         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
15882         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
15883         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
15884         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
15885         (FP_UNPACK_RAW_SP): Likewise.
15886         (FP_PACK_RAW_S): Likewise.
15887         (FP_PACK_RAW_SP): Likewise.
15888         (FP_UNPACK_S): Likewise.
15889         (FP_UNPACK_SP): Likewise.
15890         (FP_UNPACK_SEMIRAW_S): Likewise.
15891         (FP_UNPACK_SEMIRAW_SP): Likewise.
15892         (FP_PACK_S): Likewise.
15893         (FP_PACK_SP): Likewise.
15894         (FP_PACK_SEMIRAW_S): Likewise.
15895         (FP_PACK_SEMIRAW_SP): Likewise.
15896         (_FP_SQRT_MEAT_S): Likewise.
15897         (FP_CMP_S): Likewise.
15898         (FP_CMP_EQ_S): Likewise.
15899         (FP_CMP_UNORD_S): Likewise.
15900         (FP_TO_INT_S): Likewise.
15901         (FP_FROM_INT_S): Likewise.
15903         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
15905         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
15906         (FP_EX_INVALID_IMZ): Likewise.
15907         (FP_EX_INVALID_IMZ_FMA): Likewise.
15908         (FP_EX_INVALID_ISI): Likewise.
15909         (FP_EX_INVALID_ZDZ): Likewise.
15910         (FP_EX_INVALID_IDI): Likewise.
15911         (FP_EX_INVALID_SQRT): Likewise.
15912         (FP_EX_INVALID_CVI): Likewise.
15913         (FP_EX_INVALID_VC): Likewise.
15914         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
15915         "invalid" exceptions.
15916         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
15917         (_FP_ADD_INTERNAL): Likewise.
15918         (_FP_MUL): Likewise.
15919         (_FP_FMA): Likewise.
15920         (_FP_DIV): Likewise.
15921         (_FP_CMP_CHECK_NAN): Likewise.
15922         (_FP_SQRT): Likewise.
15923         (_FP_TO_INT): Likewise.
15924         (FP_EXTEND): Likewise.
15926 2014-10-09  Allan McRae  <allan@archlinux.org>
15928         * po/fr.po: Update French translation from translation project.
15930 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
15932         [BZ #14132]
15933         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
15934         of INTDEF.
15935         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
15936         (__cxa_atexit): Use libc_hidden_proto.
15937         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
15939         [BZ #14132]
15940         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
15941         declaration.
15942         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
15943         [!_ISOMAC] (__iswspace_l_internal): Likewise.
15944         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
15945         [!_ISOMAC] (__iswctype_internal): Likewise.
15946         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
15947         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
15948         alias.
15949         (fcntl): Remove __fcntl_internal alias.
15950         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
15951         __connect_internal alias.
15952         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
15953         Likewise.
15955         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
15956         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
15957         FP_DENORM_ZERO.
15958         (_FP_CHECK_FLUSH_ZERO): New macro.
15959         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
15960         (_FP_CMP): Likewise.
15961         (_FP_CMP_EQ): Likewise.
15962         (_FP_TO_INT): Do not set inexact for subnormal arguments if
15963         FP_DENORM_ZERO.
15964         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
15965         (FP_TRUNC): Likewise.
15967         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
15968         treated as invalid conversion, not as normal exponent.
15970         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
15971         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
15972         (_FP_CMP_EQ): Likewise.
15973         (_FP_CMP_UNORD): Likewise.
15974         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
15975         (FP_CMP_EQ_D): Likewise.
15976         (FP_CMP_UNORD_D): Likewise.
15977         * soft-fp/extended.h (FP_CMP_E): Likewise.
15978         (FP_CMP_EQ_E): Likewise.
15979         (FP_CMP_UNORD_E): Likewise.
15980         * soft-fp/quad.h (FP_CMP_Q): Likewise.
15981         (FP_CMP_EQ_Q): Likewise.
15982         (FP_CMP_UNORD_Q): Likewise.
15983         * soft-fp/single.h (FP_CMP_S): Likewise.
15984         (FP_CMP_EQ_S): Likewise.
15985         (FP_CMP_UNORD_S): Likewise.
15986         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
15987         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
15988         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
15989         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
15990         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
15991         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
15992         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
15993         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
15994         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
15995         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
15996         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
15997         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
15998         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
15999         to FP_CMP_Q.
16000         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
16001         FP_CMP_Q.
16002         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
16003         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
16004         FP_CMP_EQ_Q.
16005         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
16006         FP_CMP_Q.
16007         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
16008         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
16009         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
16010         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
16011         FP_CMP_EQ_Q.
16012         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
16013         FP_CMP_Q.
16014         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
16015         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
16016         FP_CMP_EQ_Q.
16017         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
16018         FP_CMP_Q.
16019         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
16020         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
16021         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
16022         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
16023         FP_CMP_EQ_Q.
16025         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
16026         a subnormal result, set the underflow exception if trapping on
16027         underflow is enabled.
16028         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
16029         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
16030         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
16031         redefine to 0.
16032         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
16033         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
16034         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
16035         * soft-fp/extendxftf2.c (__extendxftf2): Use
16036         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
16038         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
16039         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
16040         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
16041         FP_HANDLE_EXCEPTIONS.
16042         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
16043         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
16044         FP_HANDLE_EXCEPTIONS.
16045         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
16046         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
16047         FP_HANDLE_EXCEPTIONS.
16048         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
16049         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
16050         FP_HANDLE_EXCEPTIONS.
16052 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
16054         [BZ #14132]
16055         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
16056         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
16057         use INTUSE.
16058         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
16059         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
16060         Remove alias.
16061         (__adjtimex): Define using libc_hidden_ver.
16062         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
16063         Remove declaration.
16064         (ntp_gettime): Call __adjtimex directly.
16065         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
16066         Remove declaration.
16067         (ntp_gettimex): Call __adjtimex directly.
16068         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
16069         __adjtimex_internal alias.
16071 2014-10-08  Roland McGrath  <roland@hack.frob.com>
16073         [BZ #17460]
16074         * nscd/nscd.c (more_help): Rewrite list of tables collection
16075         using xstrdup and asprintf.
16077         * nscd/nscd_conf.c: Remove local xstrdup declaration.
16079 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
16080             Roland McGrath  <roland@hack.frob.com>
16082         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
16083         (do_lookup_unique): ... local function 'enter' here; update callers.
16085 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
16087         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
16088         compat_symbol calls on [SHARED].
16089         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
16090         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
16091         Remove.
16092         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
16093         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
16094         (oldsetrlimit): Remove.
16095         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
16096         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
16097         (lchown): New syscall entry.
16098         (oldsetrlimit): Remove.
16099         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
16100         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
16101         (oldsetrlimit): Remove.
16102         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
16104         [BZ #14138]
16105         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
16106         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
16107         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
16108         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
16109         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
16110         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
16111         (fchown): Likewise.
16112         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
16113         (fchown): Likewise.
16114         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
16115         Likewise.
16117 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16119         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
16120         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
16121         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
16122         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
16123         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
16124         Likewise.
16125         (__old_sem_post): Likewise.
16127 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
16129         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
16130         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
16131         HAVE_CLOCK_GETTIME_VSYSCALL macros.
16132         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
16133         Use INLINE_VSYSCALL macro.
16134         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
16135         __vdso_clock_gettime.
16136         * sysdeps/unix/sysv/linux/tile/init-first.c
16137         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
16138         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
16139         __vdso_clock_gettime.
16141         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
16142         to set up frame more cleanly.
16144         * sysdeps/tile/memcmp.c: New file.
16146         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
16148         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
16149         * sysdeps/tile/tilegx/strcasestr.c: New file.
16150         * sysdeps/tile/tilegx/strnlen.c: New file.
16151         * sysdeps/tile/tilegx/strstr.c: New file.
16153         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
16155 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
16157         * nptl/tst-setuid3.c: Write errors to stdout.
16159 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
16161         * elf/dl-deps.c
16162         (preload): New functions broken out of _dl_map_object_deps.
16163         (_dl_map_object_deps):  Remove a nested function. Update call sites.
16165 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
16167         [BZ #14138]
16168         * sysdeps/unix/sysv/linux/execve.c: Remove file.
16169         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
16171 2014-10-01  Steve Ellcey  <sellcey@mips.com>
16173         * sysdeps/mips/strcmp.S: New.
16175 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
16177         [BZ #14138]
16178         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
16179         (linkat): Likewise.
16180         (mkdirat): Likewise.
16181         (readlinkat): Likewise.
16182         (renameat): Likewise.
16183         (symlinkat): Likewise.
16184         (unlinkat): Likewise.
16185         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
16186         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
16187         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
16188         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
16189         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
16190         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
16191         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
16193 2014-09-30  Will Newton  <will.newton@linaro.org>
16195         * math/math.h: Define long double math functions if
16196         _LIBC_TEST is defined.
16197         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
16199         * localedata/Makefile: Move assignment to tests-special
16200         into an ifdef testing run-built-tests.
16201         * timezone/Makefile: Likewise.
16203 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
16205         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
16206         with $(BASH) not $(SHELL).
16208 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
16209             Matthew LeGendre  <legendre1@llnl.gov>
16211         [BZ #17411]
16212         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
16213         l_reloc_result.
16215 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
16217         * stdio-common/printf_fp.c
16218         (hack_digit): New function, broken out of ...
16219         (__printf_fp): ... local function here.  Update call sites.
16220         hack_digit now takes an additional parameter that is a pointer
16221         to a struct of the referenced locals.  Those locals moved inside
16222         the struct and references updated.
16224 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
16226         * aclocal.m4: Require autoconf 2.69.
16227         * configure: Regenerated.
16228         * sysdeps/aarch64/configure: Likewise.
16229         * sysdeps/alpha/configure: Likewise.
16230         * sysdeps/arm/armv7/configure: Likewise.
16231         * sysdeps/arm/configure: Likewise.
16232         * sysdeps/ia64/configure: Likewise.
16233         * sysdeps/mach/configure: Likewise.
16234         * sysdeps/mips/configure: Likewise.
16235         * sysdeps/s390/configure: Likewise.
16236         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
16237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
16239         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
16240         file.
16241         * sysdeps/ia64/configure.ac: Likewise.
16243 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
16245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
16246         specify symbol version for ld.so.  Do not include entry for
16247         libpthread.
16248         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
16249         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
16250         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
16252         [BZ #14171]
16253         * Makeconfig [$(build-shared) = yes]
16254         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
16255         makefiles.
16256         [$(build-shared) = yes && $(soversions.mk-done) = t]
16257         ($(common-objpfx)gnu/lib-names.h): Remove rule.
16258         [$(build-shared) = yes && $(soversions.mk-done) = t]
16259         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
16260         to Makerules.
16261         [$(build-shared) = yes && $(soversions.mk-done) = t]
16262         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
16263         here.
16264         [$(build-shared) = yes && $(soversions.mk-done) = t]
16265         (common-generated): Don't append gnu/lib-names.h and
16266         gnu/lib-names.stmp here.
16267         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
16268         (lib-names-h-abi): New variable.
16269         [$(build-shared) = yes && $(soversions.mk-done) = t]
16270         (lib-names-stmp-abi): Likewise.
16271         [$(build-shared) = yes && $(soversions.mk-done) = t &&
16272         abi-variants] (before-compile): Append
16273         $(common-objpfx)$(lib-names-h-abi).
16274         [$(build-shared) = yes && $(soversions.mk-done) = t &&
16275         abi-variants] (common-generated): Append gnu/lib-names.h.
16276         [$(build-shared) = yes && $(soversions.mk-done) = t &&
16277         abi-variants] (install-others-nosubdir): Depend on
16278         $(inst_includedir)/$(lib-names-h-abi).
16279         [$(build-shared) = yes && $(soversions.mk-done) = t &&
16280         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
16281         [$(build-shared) = yes && $(soversions.mk-done) = t]
16282         ($(common-objpfx)$(lib-names-h-abi)): New rule.
16283         [$(build-shared) = yes && $(soversions.mk-done) = t]
16284         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
16285         [$(build-shared) = yes && $(soversions.mk-done) = t]
16286         (common-generated): Append $(lib-names-h-abi) and
16287         $(lib-names-stmp-abi).
16288         * scripts/lib-names.awk: Do not handle multi being set.
16289         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
16290         Remove variable.
16291         (abi-lp64_be-ld-soname): Likewise.
16292         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
16293         Likewise.
16294         (abi-hard-ld-soname): Likewise.
16295         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
16296         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
16297         Remove variable.
16298         (abi-o32_hard-ld-soname): Likewise.
16299         (abi-o32_soft_2008-ld-soname): Likewise.
16300         (abi-o32_hard_2008-ld-soname): Likewise.
16301         (abi-n32_soft-ld-soname): Likewise.
16302         (abi-n32_hard-ld-soname): Likewise.
16303         (abi-n32_soft_2008-ld-soname): Likewise.
16304         (abi-n32_hard_2008-ld-soname): Likewise.
16305         (abi-n64_soft-ld-soname): Likewise.
16306         (abi-n64_hard-ld-soname): Likewise.
16307         (abi-n64_soft_2008-ld-soname): Likewise.
16308         (abi-n64_hard_2008-ld-soname): Likewise.
16309         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
16310         Likewise.
16311         (abi-64-v2-ld-soname): Likewise.
16312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
16313         ld.so entries.
16314         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
16315         variable.
16316         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
16317         entry.
16318         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
16319         variable.
16320         (abi-64-ld-soname): Likewise.
16321         (abi-x32-ld-soname): Likewise.
16322         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
16323         entry.
16324         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
16326 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
16328         [BZ #14138]
16329         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
16330         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
16331         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
16332         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
16333         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
16334         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
16335         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
16336         syscall entry for GLIBC_2.2 symbol version.
16337         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
16338         Likewise.
16339         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
16340         (setrlimit): Likewise.
16341         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
16342         Likewise.
16344 2014-09-23  Will Newton  <will.newton@linaro.org>
16346         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
16347         _LINUX_ARM_SYSDEP_H include guard too.
16348         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
16349         define.
16351 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
16353         * sysdeps/unix/sysv/linux/eventfd.c:
16354         Make first argument unsigned.
16355         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
16356         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
16358 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
16360         * socket/recvmmsg.c (recvmmsg): Drop const argument.
16361         * socket/sys/socket.h: Likewise
16362         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
16364 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16366         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
16368 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
16370         * time/tst-ftime.c: New test.
16371         * time/Makefile (tests): Add tst-ftime.
16373 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
16375         * soft-fp/extended.h: Fix comment formatting.
16376         * soft-fp/op-1.h: Likewise.
16377         * soft-fp/op-2.h: Likewise.
16378         * soft-fp/op-4.h: Likewise.
16379         * soft-fp/op-8.h: Likewise.
16380         * soft-fp/op-common.h: Likewise.
16381         * soft-fp/soft-fp.h: Likewise.
16383         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
16385 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
16387         [BZ #6652]
16388         * Makeconfig (soversions-default-setname): Remove variable.
16389         ($(common-objpfx)soversions.i): Don't pass default_setname to
16390         soversions.awk.
16391         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
16392         oldest_abi to abi-versions.awk.
16393         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
16394         * config.make.in (oldest-abi): Remove variable.
16395         * configure.ac (--enable-oldest-abi): Remove configure option.
16396         * configure: Regenerated.
16397         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
16398         text.
16399         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
16400         * scripts/soversions.awk: Do not handle default_setname variable.
16401         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
16402         variable.
16403         * sysdeps/mach/hurd/configure: Regenerated.
16404         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
16405         variable.
16406         * sysdeps/unix/sysv/linux/configure: Regenerated.
16408 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
16410         * elf/Makefile (CFLAGS-interp.c): Remove.
16411         ($(elf-objpfx)runtime-linker.h): Generate header with linker
16412         path string.
16413         * elf/interp.c: Include generated runtime-linker.h
16415         * Makerules (lib%.so): Don't include $(+interp) in
16416         prerequisites.
16417         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
16418         * dlfcn/eval.c: Remove file.
16420         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
16421         macros.
16423         [BZ #17266]
16424         * misc/sys/cdefs.h: Define __extern_always_inline for clang
16425         4.2 and newer.
16427         [BZ #17370]
16428         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
16430 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
16431             Jakub Jelinek  <jakub@redhat.com>
16433         [BZ #17266]
16434         * libio/stdio.h: Check definition of __fortify_function
16435         instead of __extern_always_inline to include bits/stdio2.h.
16436         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
16437         check if __extern_always_inline is defined.
16438         [__USE_MISC || __USE_XOPEN]: Likewise.
16439         [__USE_ISOC99] Likewise.
16440         * misc/sys/cdefs.h (__fortify_function): Define only if
16441         __extern_always_inline is defined.
16442         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
16443         __extern_always_inline and __extern_inline only for g++-4.3
16444         and newer or a compatible gcc.
16446 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
16448         [BZ #17371]
16449         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
16450         last change to handle zero prefix length.
16452 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
16454         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
16455         _SC_REGEX_VERSION.
16457         * posix/getconf.c (vars): Add _POSIX_IPV6 and
16458         _POSIX_RAW_SOCKETS.
16460 2014-09-13  Allan McRae  <allan@archlinux.org>
16462         * po/ru.po: Update Russian translation from translation project.
16464 2014-09-12  Roland McGrath  <roland@hack.frob.com>
16466         * locale/programs/locale.c (show_locale_vars): Inline local function
16467         into its sole call site.  Clean up some style nits.
16468         (print_item): New function, broken out of ...
16469         (show_info): ... local function here.  Clean up style nits.
16471         * locale/programs/ld-ctype.c (set_one_default): New function, broken
16472         out of ...
16473         (set_class_defaults): ... local function set_default here.
16474         Define set_default as a macro locally to pass constant parameters.
16475         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
16476         rather than a shared local.
16478         * stdlib/rpmatch.c (try): New function, broken out of ...
16479         (rpmatch): ... local function here.  Also, prototypify definition.
16481 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
16483         * scripts/soversions.awk: Do not handle configuration names.
16484         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
16485         vendor and os variables to soversions.awk.
16486         * configure.ac: Do not modify gnu-* host_os.
16487         * configure: Regenerated
16488         * shlib-versions: Remove first column with configuration names.
16489         * nptl/shlib-versions: Likewise.
16490         * nptl_db/shlib-versions: Likewise.
16491         * sysdeps/hppa/shlib-versions: Likewise.
16492         * sysdeps/m68k/shlib-versions: Likewise.
16493         * sysdeps/mach/hurd/shlib-versions: Likewise.
16494         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
16495         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
16496         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
16497         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
16498         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
16499         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
16500         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
16501         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
16502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
16503         Likewise.
16504         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
16505         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
16506         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
16507         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
16508         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
16509         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
16510         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
16511         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
16513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
16514         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
16515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
16516         Regenerated.
16517         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
16518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
16519         Condition symbol version definitions on [HAVE_ELFV2_ABI].
16521         * shlib-versions: Remove OS-specific entries.  Moved to files in
16522         sysdeps.
16523         * sysdeps/mach/hurd/shlib-versions: New file.
16524         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
16526         * nptl/shlib-versions: Remove architecture-specific entries.
16527         Moved to files in sysdeps.
16528         * shlib-versions: Likewise.
16529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
16530         file.
16531         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
16532         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
16533         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
16534         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
16536         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
16537         (UDP_NO_CHECK6_RX): Likewise.
16539 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
16541         * sysdeps/posix/sysconf.c (__sysconf): Spell
16542         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
16544 2014-08-12  Florian Weimer  <fweimer@redhat.com>
16546         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
16547         loading.
16548         * iconv/Versions (__gconv_transliterate): Export for use from
16549         gconv modules.
16550         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
16551         (struct __gconv_trans_data, __gconv_trans_fct,
16552         __gconv_trans_context_fct, __gconv_trans_query_fct,
16553         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
16554         definitions.
16555         (struct __gconv_step_data): Remove __trans member.
16556         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
16557         longer hidden.  Remove unused trans_data argument.
16558         * iconv/gconv_int.h (struct trans_struct): Remove definition.
16559         (__gconv_translit_find): Remove declaration.
16560         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
16561         prototype.
16562         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
16563         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
16564         trans_data argument.  Add hidden definition.
16565         (__gconv_translit_find): Remove.
16566         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
16567         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
16568         * iconv/skeleton.c: Remove transliteration initialization.
16569         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
16570         __gconv_step_data initialization.
16571         * libio/iofwide.c (__libio_translit_): Remove.
16572         (_IO_fwide): Adjust struct __gconv_step_data initialization.
16573         * wcsmbs/btowc.c (__btowc): Likewise.
16574         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
16575         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
16576         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
16577         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
16578         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
16579         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
16580         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
16581         * wcsmbs/wctob.c (wctob): Likewise.
16583 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
16585         [BZ #16194]
16586         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
16587         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
16588         register usage.
16589         * sysdeps/x86/Makefile: Adjust.
16591 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
16592             Roland McGrath  <roland@hack.frob.com>
16594         * locale/weight.h: Add include guard.
16595         (findidx): Make static rather than auto; take new parameters
16596         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
16597         * locale/weightwc.h: Likewise.
16598         * posix/fnmatch_loop.c
16599         (FCT): Change type of EXTRA from int32_t to wint_t.
16600         Don't include either header inside the function.
16601         Call FINDIDX rather than findidx, and pass new arguments.
16602         #undef FINDIDX at the end of the file.
16603         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
16604         FINDIDX before including fnmatch_loop.c for the non-wide version.
16605         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
16606         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
16607         for the wide version.
16608         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
16609         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
16610         Pass new arguments to findidx.
16611         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
16612         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
16613         Don't #include it inside the function.  Pass new arguments to findidx.
16614         * posix/regex_internal.h
16615         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
16616         (re_string_elem_size_at): Don't #include it inside the function.
16617         Pass new arguments to findidx.
16618         * string/strcoll_l.c: #include WEIGHT_H at top level.
16619         (get_next_seq): Don't #include it inside the function.
16620         Pass new arguments to findidx.
16621         (get_next_seq_nocache): Likewise.
16622         * string/strxfrm_l.c: #include WEIGHT_H at top level.
16623         (STRXFRM): Don't #include it inside the function.
16624         Pass new arguments to findidx.
16626 2014-09-11  Florian Weimer  <fweimer@redhat.com>
16628         [BZ #17344]
16629         * malloc/malloc.c (unlink): Turn asserts into a call to
16630         malloc_printerr.
16632 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
16634         [BZ #17370]
16635         * libio/wfileops (do_ftell_wide): Free OUT.
16637 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
16639         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
16641 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
16643         [BZ #17363]
16644         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
16645         group if the current group is empty.
16647 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16649         * benchtests/bench-memset.c (test_main): Add more test from size
16650         from 32 to 512 bytes.
16651         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
16652         Add POWER8 memset object.
16653         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16654         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
16655         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
16656         implementation.
16657         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
16658         Likewise.
16659         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
16660         multiarch POWER8 memset optimization.
16661         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
16662         POWER8 memset optimization.
16664         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
16665         Remove bzero multiarch objects.
16666         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
16667         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
16668         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
16669         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
16670         Remove define.
16671         [__bzero]: Redefine to specific name.
16672         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
16673         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
16674         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
16675         define.
16676         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
16677         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
16679 2014-09-10  Florian Weimer  <fweimer@redhat.com>
16681         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
16682         warnings into errors.
16684         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
16685         __cxa_thread_atexit_impl prototype.
16687 2014-09-09  Steve Ellcey  <sellcey@mips.com>
16689         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
16690         Fix capitalization of error message.
16692 2014-09-09  Steve Ellcey  <sellcey@mips.com>
16694         * sysdeps/mips/preconfigure: Modify ABI tests.
16696 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
16698         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
16700 2014-09-07  Roland McGrath  <roland@hack.frob.com>
16701             Carlos O'Donell  <carlos@systemhalted.org>
16703         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
16704         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
16705         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
16706         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
16707         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
16708         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
16709         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
16710         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
16711         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
16712         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
16713         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
16714         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
16715         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
16716         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
16717         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
16718         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
16719         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
16720         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
16721         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
16722         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
16723         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
16724         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
16725         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
16726         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
16727         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
16728         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
16729         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
16730         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
16731         Deconditionalize the code that was previously under [RESET_PID].
16732         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
16733         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
16734         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
16735         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
16736         include sysdep.h.
16738 2014-09-08  Allan McRae  <allan@archlinux.org>
16740         * version.h (RELEASE): Set to "development".
16741         (VERSION): Set to "2.20.90"
16743 2014-09-07  Allan McRae  <allan@archlinux.org
16745         * version.h (RELEASE): Set to "stable".
16746         (VERSION): Set to "2.20"
16747         * include/features.h (__GLIBC_MINOR__): Set to 20.
16749         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
16750         Liebler.
16752         * po/ko.po: Update Korean translation from translation project.
16754 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
16756         [BZ #17354]
16757         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
16758         macro for handling signed relocations.
16760 2014-09-03  Florian Weimer  <fweimer@redhat.com>
16762         [BZ #17325]
16763         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
16764         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
16765         assert.
16766         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
16767         * iconvdata/ibm935.c (BODY): Likewise.
16768         * iconvdata/ibm937.c (BODY): Likewise.
16769         * iconvdata/ibm939.c (BODY): Likewise.
16770         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
16771         assert.
16772         * iconvdata/Makefile (iconv-test.out): Pass module list to test
16773         script.
16774         * iconvdata/run-iconv-test.sh: New test loop for checking for
16775         decoder crashers.
16777 2014-09-02  Khem Raj  <raj.khem@gmail.com>
16779         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
16780         libm_hidden_ver.
16782 2014-09-01  Allan McRae  <allan@archlinux.org>
16784         * po/eo.po: Update Esperanto translation from translation project.
16786         * po/ca.po: Update Catalan translation from translation project.
16788 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16790         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
16791         __proc_dostop call.
16793 2014-08-27  Mark Wielaard  <mjw@redhat.com>
16795         [BZ #17319]
16796         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
16797         to call set_thread_area instead of hand written asm.
16798         (__NR_set_thread_area): Removed define.
16799         (TLS_FLAG_WRITABLE): Likewise.
16800         (__ASSUME_SET_THREAD_AREA): Remove check.
16801         (TLS_EBX_ARG): Remove define.
16802         (TLS_LOAD_EBX): Likewise.
16804 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16806         Simplify atomicity of socket creation in bind.
16808         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
16809         looking up the name after linking the file.
16811 2014-08-27  Allan McRae  <allan@archlinux.org>
16813         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
16815 2014-08-26  Florian Weimer  <fweimer@redhat.com>
16817         [BZ #17187]
16818         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
16819         trans_compare, open_translit, __gconv_translit_find):
16820         Remove module loading code.
16822 2014-08-26  Allan McRae  <allan@archlinux.org>
16824         * po/vi.po: Update Vietnamese translation from translation project.
16826         * po/uk.po: Update Ukrainian translation from translation project.
16828         * po/fr.po: Update French translation from translation project.
16830         * po/ru.po: Update Russian translation from translation project.
16832         * po/pl.po: Update Polish translation from translation project.
16834         * po/cs.po: Update Czech translation from translation project.
16836         * po/de.po: Update German translation from translation project.
16838         * po/bg.po: Update Bulgarian translation from translation project.
16840         * po/sv.po: Update Sweedish translation from translation project.
16842         * po/nl.po: Update Dutch translation from translation project.
16844         * po/es.po: Update Spanish translation from translation project.
16846 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
16848         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
16850         * catgets/Makefile (CPPFLAGS-gencat): Remove.
16851         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
16852         (CPPFLAGS-iconvconfig): Likewise.
16853         * timezone/Makefile (CPPFLAGS-zic): Likewise.
16855         * include/libc-symbols.h: Remove unnecessary check for
16856         NOT_IN_libc.
16857         * nptl/pthreadP.h: Likewise.
16858         * sysdeps/aarch64/setjmp.S: Likewise.
16859         * sysdeps/alpha/setjmp.S: Likewise.
16860         * sysdeps/arm/sysdep.h: Likewise.
16861         * sysdeps/i386/setjmp.S: Likewise.
16862         * sysdeps/m68k/setjmp.c: Likewise.
16863         * sysdeps/posix/getcwd.c: Likewise.
16864         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
16865         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
16866         * sysdeps/s390/s390-32/setjmp.S: Likewise.
16867         * sysdeps/s390/s390-64/setjmp.S: Likewise.
16868         * sysdeps/sh/sh3/setjmp.S: Likewise.
16869         * sysdeps/sh/sh4/setjmp.S: Likewise.
16870         * sysdeps/unix/alpha/sysdep.h: Likewise.
16871         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
16872         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
16873         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
16874         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
16875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
16876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
16877         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
16878         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
16879         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
16880         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
16881         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16882         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
16883         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
16884         * sysdeps/x86_64/setjmp.S: Likewise.
16886 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
16888         [BZ #17263]
16889         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
16890         <stdint.h>.
16891         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
16892         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
16894 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
16896         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
16898         [BZ #17262]
16899         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
16900         and __x86_64__ when disabling x87 inline functions.
16902 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
16904         [BZ #17259]
16905         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
16906         asm statement with __cpuid_count.
16908 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
16910         * configure.ac: Change __ehdr_start code to dereference the struct.
16911         Run readelf on the output to look for relocations.
16912         * configure: Regenerated.
16914 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
16916         [BZ #17261]
16917         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
16918         value to 0.
16919         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
16921 2014-08-12  Roland McGrath  <roland@hack.frob.com>
16923         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
16925 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
16927         [BZ #16892]
16928         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
16929         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
16931 2014-08-12  Sean Anderson  <seanga2@gmail.com>
16933         * malloc/malloc.c: Fix typo in comment.
16935 2014-08-09  Allan McRae  <allan@archlinux.org>
16937         * Regenerate libc.po.
16939 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
16941         * intl/tst-gettext2.sh: Check every lang file for creation.
16943 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
16945         * sysdeps/aarch64/fpu/math_private.h
16946         (libc_feholdsetround_noex_aarch64_ctx): New function.
16948 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
16950         * sysdeps/arm/armv6/strcpy.S (strcpy):
16951         Fix performance issue in misaligned cases.
16953 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16955         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
16956         Move definition from termios.h.
16957         (struct termio): Likewise.
16958         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
16959         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
16960         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
16961         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
16962         Likewise.
16963         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
16964         Move definition to ioctl-types.h
16965         (struct termio): Likewise.
16966         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
16967         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
16968         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
16969         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
16970         Likewise.
16972 2014-08-05  Richard Henderson  <rth@redhat.com>
16974         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
16975         exceptions.
16976         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
16977         Add fraiseexcpt.
16978         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
16979         Use __feraiseexcept.
16980         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
16981         Protect libm symbols with IS_IN_libm.
16983         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
16985 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
16987         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
16989 2014-08-04  Will Newton  <will.newton@linaro.org>
16991         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
16992         file.
16994 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
16996         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
16997         variants for each function.
16999 2014-08-04  Roland McGrath  <roland@hack.frob.com>
17001         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
17002         appended ...
17003         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
17004         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
17005         appended ...
17006         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
17007         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
17008         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
17009         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
17010         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
17011         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
17012         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
17013         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
17014         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
17015         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
17016         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
17017         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
17018         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
17019         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
17020         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
17021         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
17022         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
17023         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
17024         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
17025         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
17026         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
17027         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
17028         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
17029         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
17030         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
17031         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
17032         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
17033         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
17034         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
17035         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
17036         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
17037         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
17038         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
17039         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
17040         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
17041         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
17042         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
17043         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
17044         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
17045         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
17046         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
17047         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
17048         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
17049         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
17050         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
17051         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
17052         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
17053         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
17054         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
17055         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
17056         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
17057         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
17058         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
17059         Update #include.
17060         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
17061         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
17063 2014-08-04  Roland McGrath  <roland@hack.frob.com>
17065         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
17066         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
17067         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
17068         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
17069         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
17070         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
17072 2014-08-04  Roland McGrath  <roland@hack.frob.com>
17074         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
17075         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
17076         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17077         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
17079 2014-08-04  Roland McGrath  <roland@hack.frob.com>
17081         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
17082         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
17083         (__libc_vfork): Define function under this name.
17084         (__vfork): Define as an alias.
17085         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
17086         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
17088 2014-08-04  Roland McGrath  <roland@hack.frob.com>
17090         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
17091         that was previously under [RESET_PID].
17092         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
17094 2014-08-04  Andreas Schwab  <schwab@suse.de>
17096         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
17098 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
17100         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
17101         (main): Likewise.
17103 2014-08-01  Roland McGrath  <roland@hack.frob.com>
17105         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
17107 2014-08-01  Richard Henderon  <rth@redhat.com>
17109         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
17110         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
17111         typo in exact zero test.
17112         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17113         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17114         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17116 2014-08-01  Roland McGrath  <roland@hack.frob.com>
17118         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
17119         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
17120         * sysdeps/arm/sysdep.h: ... here.
17121         [!__ASSEMBLER__]: Include <stdint.h>.
17123 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
17125         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
17126         (HAVE_WCTYPE_H): Likewise.
17127         (HAVE_ISWCTYPE): Likewise.
17128         (ENABLE_NLS): Likewise.
17129         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
17130         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
17132         * posix/regex_internal.c: Check if DEBUG is defined and is
17133         set.
17135         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
17136         (HAVE_MBSRTOWCS): Likewise.
17137         * posix/fnmatch.c: Include string.h unconditionally.
17139 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
17141         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
17142         reversal.
17144 2014-07-31  Roland McGrath  <roland@hack.frob.com>
17146         * sysdeps/generic/safe-fatal.h: New file.
17147         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
17148         * nptl/forward.c: Include it.
17149         (__pthread_unwind): Use __safe_fatal as default action, rather
17150         than a bogus use of INTERNAL_SYSCALL that could never work.
17152         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
17153         * configure.ac (libc_cv_builtin_trap): New test.
17154         * configure: Regenerated.
17155         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
17156         (ABORT_INSTRUCTION): Define using __builtin_trap.
17158         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
17159         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
17160         * sysdeps/nptl/nptl-signals.h: New file.
17161         * nptl/pthreadP.h: Include <nptl-signals.h>.
17163 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
17165         * sysdeps/s390/s390-64/utf16-utf32-z9.c
17166         (ONE_DIRECTION): Define.
17167         * sysdeps/s390/s390-64/utf8-utf16-z9.c
17168         (ONE_DIRECTION): Define.
17169         * sysdeps/s390/s390-64/utf8-utf32-z9.c
17170         (ONE_DIRECTION): Define.
17172 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
17174         * sysdeps/s390/Makefile: Delete file.
17175         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
17176         * sysdeps/s390/__longjmp.c: Delete file.
17177         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
17178         Remove fields __flags and __reserved.
17179         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
17180         and add versioning.
17181         * sysdeps/s390/rtld-__longjmp.c: Delete file.
17182         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
17183         * sysdeps/s390/rtld-setjmp.S: Likewise.
17184         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
17185         * sysdeps/s390/s390-32/__longjmp.c: ... here.
17186         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
17187         * sysdeps/s390/s390-32/setjmp.S: ... here.
17188         Add versioning.
17189         (__sigsetjmp): Remove setting __flags field.
17190         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
17191         * sysdeps/s390/s390-64/__longjmp.c: ... here.
17192         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
17193         * sysdeps/s390/s390-64/setjmp.S: ... here.
17194         Add versioning.
17195         (__sigsetjmp): Remove setting __flags field.
17196         * sysdeps/s390/setjmp.S: Delete file.
17197         * sysdeps/s390/sigjmp.c: Likewise.
17198         * sysdeps/s390/v1-longjmp.c: Likewise.
17199         * sysdeps/s390/v1-setjmp.h: Likewise.
17200         * sysdeps/s390/v1-sigjmp.c: Likewise.
17201         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
17202         Remove v1-longjmp_chk.
17203         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
17204         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
17205         Include debug/longjmp_chk.c and add versioning.
17206         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
17207         Include nptl/pt-longjmp.c and add versioning.
17208         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
17209         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
17210         Include __longjmp.c.
17211         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
17212         Move to ...
17213         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
17214         (__getcontext): Remove setting __flags field.
17215         Add versioning.
17216         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
17217         Don't restore upper high grps.
17218         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
17219         Likewise.
17220         (__swapcontext): Remove setting uc_flags field.
17221         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
17222         Delete file.
17223         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
17224         Include __longjmp.c.
17225         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
17226         Move to ...
17227         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
17228         (__getcontext): Remove setting __flags field.
17229         Add versioning.
17230         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
17231         (__swapcontext): Remove setting uc_flags field.
17232         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
17233         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
17234         Remove fields uc_high_gprs and __reserved.
17235         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
17236         New file with reverted content.
17237         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
17238         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
17239         Regenerated.
17240         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
17241         Regenerated.
17243 2014-07-31  Andreas Schwab  <schwab@suse.de>
17245         * config.h.in (HAVE_IFUNC): Define to 0.
17246         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
17247         definedness.
17249 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
17251         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17252         memmove-avx-unaligned, memcpy-avx-unaligned and
17253         mempcpy-avx-unaligned.
17254         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17255         Add tests for AVX memcpy functions.
17256         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
17257         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
17258         memcpy_chk.
17259         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
17260         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
17261         memmove_chk.
17262         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
17263         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
17264         mempcpy_chk.
17265         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
17266         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
17267         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
17269 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17271         [BZ #17213]
17272         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
17273         powerpc64le.
17275 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
17277         [BZ #16839]
17278         * manual/llio.texi: Add section about open file description locks.
17279         * manual/examples/ofdlocks.c: Example of open file description
17280         lock usage.
17281         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
17282         F_OFD_SETLK, and F_OFD_SETLKW.
17284 2014-07-23  Allan McRae  <allan@archlinux.org>
17286         * po/es.po: Update Spanish translation from translation project.
17288 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
17290         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
17292 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
17294         [BZ #17078]
17295         * sysdeps/arm/dl-machine.h (elf_machine_rela)
17296         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
17297         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
17299 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
17301         [BZ #17088]
17302         * math/fesetenv.c (__fesetenv)
17303         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
17304         * math/feupdateenv.c (__feupdateenv)
17305         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
17307         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
17308         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
17309         (__ASSUME_SOCKETCALL): Do not define.
17311         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
17312         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
17313         (__ASSUME_SOCKETCALL): Do not define.
17314         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
17315         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
17316         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
17317         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
17318         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17319         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
17320         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17321         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17323         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
17324         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
17325         (__ASSUME_SOCKETCALL): Do not define.
17326         (__ASSUME_IPC64): Define unconditionally.
17327         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
17328         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
17329         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
17330         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17331         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
17332         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17333         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
17334         Likewise.
17336         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
17337         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
17338         (__ASSUME_SOCKETCALL): Do not define.
17339         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
17340         (__ASSUME_FUTEX_LOCK_PI): Likewise.
17341         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
17342         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
17343         (__ASSUME_REQUEUE_PI): Define unconditionally.
17344         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
17345         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
17346         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17347         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
17348         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17349         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17351         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
17352         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
17353         (__ASSUME_SOCKETCALL): Do not define.
17354         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
17355         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17356         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17357         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
17358         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17359         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17361         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
17362         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
17363         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
17364         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
17365         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17366         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
17367         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17368         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
17369         (__ASSUME_GETCPU_SYSCALL): Likewise.
17371         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
17372         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
17373         cases for individual architectures.
17374         * sysdeps/gnu/configure: Regenerated.
17375         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
17376         LIBC_SLIBDIR_RTLDDIR.
17377         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
17378         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
17379         LIBC_SLIBDIR_RTLDDIR.
17380         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
17381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
17382         LIBC_SLIBDIR_RTLDDIR.
17383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
17384         Regenerated.
17385         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
17386         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
17387         file.
17388         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
17389         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
17390         file.
17391         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
17392         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
17393         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
17394         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
17396         * sysdeps/aarch64/shlib-versions: Move to ...
17397         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
17398         * sysdeps/alpha/shlib-versions: Move to ...
17399         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
17400         * sysdeps/arm/shlib-versions: Move to ...
17401         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
17402         * sysdeps/hppa/shlib-versions: Move all contents except for
17403         libgcc_s entry to ...
17404         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
17405         entry from ...
17406         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
17407         * sysdeps/ia64/shlib-versions: Move to ...
17408         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
17409         entry from ...
17410         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
17411         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
17412         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
17413         * sysdeps/microblaze/shlib-versions: Move to ...
17414         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
17415         * sysdeps/mips/shlib-versions: Move to ...
17416         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
17417         entry from ...
17418         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
17419         * sysdeps/tile/shlib-versions: Move to ...
17420         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
17421         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
17422         from ...
17423         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
17424         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
17425         entry from ...
17426         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
17428 2014-07-17  Will Newton  <will.newton@linaro.org>
17430         * sysdeps/arm/bits/atomic.h
17431         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
17432         (__arch_compare_and_exchange_bool_16_int): Likewise.
17433         (__arch_compare_and_exchange_bool_64_int): Likewise.
17435         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
17436         into an #else block.
17438 2014-07-16  Roland McGrath  <roland@hack.frob.com>
17440         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
17441         just Linux configurations.  Test empirically that the compiler sets
17442         __ARM_EABI__, rather than using the tuple to decide.
17443         * sysdeps/arm/preconfigure: Regenerated.
17444         * sysdeps/unix/sysv/linux/arm/configure: File removed.
17445         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
17446         contents appended ...
17447         * sysdeps/arm/configure.ac: ... here.
17448         * sysdeps/arm/configure: Regenerated.
17450 2014-07-15  Roland McGrath  <roland@hack.frob.com>
17452         * nptl/pthread_kill.c: New file.
17453         * nptl/pthread_sigmask.c: New file.
17454         * nptl/pthread_sigqueue.c: New file.
17456         * sysdeps/nptl/lowlevellock.h: New file.
17457         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
17458         * sysdeps/nptl/lowlevellock-futex.h: New file.
17460         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
17461         Remove dead declarations.
17463 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
17465         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
17466         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
17467         config-cflags-avx2.
17468         * sysdeps/x86_64/configure.ac: Likewise.
17469         * sysdeps/i386/configure: Regenerated.
17470         * sysdeps/x86_64/configure: Likewise.
17471         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17472         memset-avx2 only if config-cflags-avx2 is yes.
17473         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17474         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
17475         defined.
17476         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
17477         only if HAVE_AVX2_SUPPORT is defined.
17478         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17480 2014-07-14  Alan Modra  <amodra@gmail.com>
17482         [BZ #17153]
17483         * elf/elf.h (DT_PPC64_NUM): Correct value.
17484         * NEWS: Add to fixed bug list.
17486 2014-07-13  Jim Meyering  <meyering@fb.com>
17488         [BZ 17150]
17489         regex: don't deref NULL upon heap allocation failure
17490         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
17491         failure in one more place.
17492         To trigger the segfault, configure grep -with-included-regex,
17493         build it, and run these commands:
17494         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
17496 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
17498         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
17500 2014-07-11  Richard Henderson  <rth@redhat.com>
17502         * sysdeps/aarch64/libm-test-ulps: Update.
17504 2014-07-10  Florian Weimer  <fweimer@redhat.com>
17506         [BZ #17135]
17507         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
17508         * nptl/allocatestack.c (__nptl_setxid_error): New function.
17509         (__nptl_setxid): Initialize error member.  Call
17510         __nptl_setxid_error.
17511         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
17512         * nptl/descr.h (struct xid_command): Add error member.
17513         * nptl/tst-setuid3.c: New file.
17514         * nptl/Makefile (tests): Add it.
17516 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17518         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
17519         New define.
17520         (__lll_trylock): Use __lll_base_trylock.
17521         (__lll_cond_trylock): Likewise.
17523 2014-07-10  Roland McGrath  <roland@hack.frob.com>
17525         * nptl/pthread_create.c (start_thread): Use atomic_or and
17526         lll_futex_wake directly rather than lll_robust_dead.
17527         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
17528         (lll_robust_dead): Macro removed.
17529         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
17530         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
17531         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
17532         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
17533         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
17534         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
17535         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
17536         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
17537         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
17538         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
17539         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
17540         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
17541         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
17542         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
17543         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
17545         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
17546         Use atomic_compare_and_exchange_val_acq directly rather than
17547         lll_robust_trylock.
17548         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
17549         (__lll_robust_trylock, lll_robust_trylock): Removed.
17550         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
17551         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
17552         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
17553         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
17554         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
17555         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
17556         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
17557         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
17558         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
17559         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
17560         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
17561         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
17562         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
17563         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
17565 2014-07-02  Florian Weimer  <fweimer@redhat.com>
17567         * manual/locale.texi (Locale Names): New section documenting
17568         locale name syntax.  Adjust menu and node chaining accordingly.
17569         (Choosing Locale): Reference Locale Names, Locale Categories.
17570         Mention setting LC_ALL=C.  Reflect that name syntax is now
17571         documented.
17572         (Locale Categories): New section title.  Reference Locale Names.
17573         LC_ALL is an environment variable, but not a category.
17574         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
17575         description, now in Locale Name.  Reference that section.  Locale
17576         name syntax is now documented.
17578 2014-07-02  Florian Weimer  <fweimer@redhat.com>
17580         [BZ #17137]
17581         * locale/findlocale.c (name_present, valid_locale_name): New
17582         functions.
17583         (_nl_find_locale): Use the loc_name variable to store name
17584         candidates.  Call name_present and valid_locale_name to check and
17585         validate locale names.  Return an error if the locale is invalid.
17587 2014-07-02  Florian Weimer  <fweimer@redhat.com>
17589         * locale/setlocale.c (setlocale): Use strdup for allocating
17590         composite name copy.
17592 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
17594         Sync up with gnulib.
17595         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
17596         [!_LIBC && ENABLE_NLS]: Include gettext.h.
17597         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
17598         and _GL_ARG_NONNULL.
17599         [USE_UNLOCKED_IO]: Include unlocked-io.h.
17600         [!_LIBC]: Include code for Windows and Cygwin.
17601         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
17602         Include prototype for int strerror_r.
17603         [!_LIBC] (is_open): New function.
17604         (flush_stdout): New function.
17605         (print_errno_message): Use it.
17606         (error): Likewise.
17607         (error_at_line): Likewise.
17608         (error_tail) Add function attribute macros.  Use
17609         __builtin_expect.
17611         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
17613         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
17615         * io/ftw.c: Include sys/param.h unconditionally.
17617         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
17619         [BZ #17125]
17620         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
17621         libc_freeres_ptr.
17622         (freecache): New function to free CACHE on exit.
17624         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
17625         initialization.
17627 2014-07-09  David S. Miller  <davem@davemloft.net>
17629         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17631         * sysdeps/sparc/nptl/internaltypes.h: Delete.
17632         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
17633         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
17634         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
17635         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
17636         * sysdeps/sparc/nptl/sem_init.c: Likewise.
17637         * sysdeps/sparc/nptl/sem_post.c: Likewise.
17638         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
17639         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
17640         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
17641         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
17642         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
17643         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
17645 2014-07-09  Andreas Schwab  <schwab@suse.de>
17647         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
17648         output.
17649         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
17650         (do_test): Likewise.
17652         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
17654 2014-07-09  Will Newton  <will.newton@linaro.org>
17656         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
17657         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
17658         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
17659         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
17660         * sysdeps/hppa/start.S (_start): Likewise.
17662 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
17664         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
17666         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
17667         defined.
17669 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
17671         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
17672         after checking that it is non-NULL.
17674         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
17676 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17678         * sysdeps/powerpc/memmove.c: Remove file.
17679         * sysdeps/powerpc/powerpc32/power4/memcopy.h
17680         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
17681         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
17682         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
17683         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
17684         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
17685         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
17686         string memmove instead of removed powerpc one.
17688         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
17689         [weak_alias]: Fix compiler warning due trailing data.
17690         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
17691         [weak_alias]: Likewise.
17692         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
17693         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
17695         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17696         (__libc_ifunc_impl_list): Add memmove functions.
17698 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
17700         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
17701         Remove code.
17702         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
17703         Likewise
17704         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
17705         Likewise
17706         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
17707         Likewise
17708         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
17709         Likewise
17710         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
17711         Likewise
17712         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
17713         Likewise
17714         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
17715         Likewise
17716         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
17717         Likewise
17718         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
17719         Likewise
17720         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
17721         Likewise
17722         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
17723         Likewise
17724         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
17725         Likewise
17726         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
17727         Likewise
17728         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
17729         Likewise
17730         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
17731         Likewise
17732         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
17733         Likewise
17735 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17737         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
17738         to avoid alignment traps in non-cacheable memory.
17739         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
17741         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
17742         multiarch objects.
17743         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
17744         file: multiarch power7 memmove.
17745         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
17746         multiarch default memmove.
17747         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
17748         multiarch memove for powerpc32/power4.
17750         * string/bcopy.c: Use full path to include memmove.c.
17751         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
17752         multiarch objects.
17753         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
17754         bcopy for powerpc64.
17755         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
17756         bcopy for powerpc64.
17757         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
17758         and memmove implementations.
17759         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
17760         optimized multiarch memmove for POWER7/powerpc64.
17761         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
17762         default multiarch memmove for powerpc64.
17763         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
17764         multiarch for powerpc64.
17765         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
17766         for POWER7/powerpc64.
17767         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
17768         memmove for POWER7/powerpc64.
17770         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
17771         glibc default one.
17773         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
17774         __ELF_NATIVE_CLASS equal to 64.
17776 2014-07-07  Roland McGrath  <roland@hack.frob.com>
17778         * sysdeps/nptl/lowlevellock.h: File removed.
17780         * NEWS: NPTL is no longer an add-on!
17781         * nptl/internaltypes.h: Moved ...
17782         * sysdeps/nptl/internaltypes.h: ... here.
17783         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
17784         * sysdeps/nptl/fork.c: Likewise.
17785         * sysdeps/nptl/gai_misc.h: Likewise.
17786         * sysdeps/nptl/librt-cancellation.c: Likewise.
17787         * sysdeps/nptl/jmp-unwind.c: Likewise.
17788         * sysdeps/nptl/setxid.h: Likewise.
17789         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
17790         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
17791         * sysdeps/unix/sysv/linux/arm/Implies: New file.
17792         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
17793         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
17794         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
17795         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
17796         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
17797         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
17798         * sysdeps/unix/sysv/linux/mips/Implies: New file.
17799         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
17800         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
17801         * sysdeps/unix/sysv/linux/sh/Implies: New file.
17802         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
17803         * sysdeps/unix/sysv/linux/tile/Implies: New file.
17804         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
17805         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
17806         * nptl/Makeconfig: Moved ...
17807         * sysdeps/nptl/Makeconfig: ... here.
17808         * nptl/configure: File removed.
17809         * nptl/ANNOUNCE: File removed.
17810         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
17811         * sysdeps/unix/sysv/linux/configure: Regenerated.
17813         * nptl/Makefile (routines): Add libc_pthread_init,
17814         libc_multiple_threads, register-atfork and unregister-atfork.
17815         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
17816         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
17817         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
17818         pthread-pi-defines.sym, structsem.sym.
17819         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
17820         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
17821         [$(subdir) = nptl] (tests): Add tst-setgetname.
17822         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
17823         * sysdeps/unix/sysv/linux/sigaction.c: Just include
17824         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
17825         [!LIBC_SIGACTION]: Remove aliases.
17826         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
17827         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
17828         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
17829         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
17830         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
17831         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
17832         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
17833         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
17834         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
17835         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
17836         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
17837         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
17838         __libc_allocate_rtsig_private.
17839         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
17840         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
17841         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
17842         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
17843         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
17844         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
17845         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
17846         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
17847         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
17848         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
17849         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
17850         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
17851         * nptl/internaltypes.h: ... here.
17852         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
17853         * sysdeps/nptl/jmp-unwind.c: ... here.
17854         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
17855         * nptl/libc-lowlevellock.c: ... here.
17856         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
17857         * nptl/libc_multiple_threads.c: ... here.
17858         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
17859         * nptl/libc_pthread_init.c: ... here.
17860         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
17861         * nptl/lowlevelbarrier.sym: ... here.
17862         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
17863         * nptl/lowlevelcond.sym: ... here.
17864         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
17865         * nptl/lowlevellock.c: ... here.
17866         * nptl/lowlevellock.h: Moved ...
17867         * sysdeps/nptl/lowlevellock.h: ... here.
17868         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
17869         * nptl/lowlevelrobustlock.c: ... here.
17870         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
17871         * nptl/lowlevelrobustlock.sym: ... here.
17872         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
17873         * nptl/lowlevelrwlock.sym: ... here.
17874         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
17875         * nptl/pt-fork.c: ... here.
17876         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
17877         * nptl/pthread-pi-defines.sym: ... here.
17878         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
17879         * nptl/pthread_attr_getaffinity.c: ... here.
17880         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
17881         * nptl/pthread_attr_setaffinity.c: ... here.
17882         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
17883         * nptl/pthread_mutex_cond_lock.c: ... here.
17884         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
17885         Update #include.
17886         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
17887         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
17888         * nptl/pthread_once.c: ... here, replacing old file.
17889         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
17890         * nptl/pthread_yield.c: ... here.
17891         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
17892         * nptl/register-atfork.c: ... here.
17893         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
17894         * nptl/sem_post.c: ... here.
17895         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
17896         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
17897         * nptl/sem_timedwait.c: ... here.
17898         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
17899         * nptl/sem_trywait.c: ... here.
17900         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
17901         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
17902         * nptl/sem_wait.c: ... here.
17903         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
17904         * nptl/structsem.sym: ... here.
17905         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
17906         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
17907         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
17908         * nptl/unregister-atfork.c: ... here.
17909         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
17910         * nptl/unwindbuf.sym: ... here.
17911         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
17912         * sysdeps/nptl/fork.c: ... here.
17913         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
17914         * sysdeps/nptl/fork.h: ... here.
17915         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
17916         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
17917         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
17918         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
17919         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
17920         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
17921         * sysdeps/unix/sysv/linux/getpid.c: ... here.
17922         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
17923         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
17924         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
17925         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
17926         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
17927         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
17928         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
17929         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
17930         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
17931         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
17932         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
17933         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
17934         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
17935         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
17936         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
17937         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
17938         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
17939         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
17940         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
17941         * sysdeps/unix/sysv/linux/raise.c: ... here.
17942         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
17943         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
17944         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
17945         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
17946         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
17947         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
17948         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
17949         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
17950         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
17951         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
17952         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
17953         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
17954         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
17955         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
17956         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
17958 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
17960         * sysdeps/generic/memcopy.h: Add comment for
17961         MEMCPY_OK_FOR_FWD_MEMMOVE.
17963 2014-07-04  Will Newton  <will.newton@linaro.org>
17965         * string/memchr.c: Merge from gnulib.
17966         [_LIBC]: Remove conditionals.
17967         (__ptr_t): Remove define.
17968         (LONG_MAX_32_BITS): Likewise.
17969         (LONG_MAX): Likewise.
17970         (MEMCHR): Use ANSI prototype and optimize algorithm.
17972         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
17974 2014-07-03  Roland McGrath  <roland@hack.frob.com>
17976         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
17977         (lll_futex_timed_wait_bitset): Fix syscall argument count.
17979         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
17980         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
17981         in a bare environment with no <stdlib.h> installed.
17982         * sysdeps/nptl/configure: Regenerated.
17984         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
17986         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
17987         AC_EGREP_CPP for kernel header checks, so they only succeed if
17988         including <linux/version.h> actually works right.
17989         * sysdeps/unix/sysv/linux/configure: Regenerated.
17991         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
17992         value so it's not diagnosed as unused.
17994         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
17995         thing) with "ifeq ($(subdir),rt)".
17997 2014-07-03  Richard Henderson  <rth@redhat.com>
17999         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
18000         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
18001         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
18003         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
18004         (math_force_eval): New.
18006         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
18007         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
18009         * sysdeps/alpha/fpu/s_round.c: Remove file.
18010         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
18012         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
18013         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
18014         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
18015         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
18016         (_dl_start, print_statistics): Likewise.
18017         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
18018         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
18020         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
18021         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
18022         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
18023         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
18024         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
18025         (HP_SMALL_TIMING_AVAIL): Define.
18026         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
18027         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
18028         (HP_SMALL_TIMING_AVAIL): Define.
18029         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
18030         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
18032         * sysdeps/aarch64/hp-timing.h: New file.
18034         * sysdeps/generic/hp-timing.h: Remove dead comment.
18035         * sysdeps/generic/hp-timing-common.h: New file.
18036         * sysdeps/alpha/hp-timing.h: Include it.
18037         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
18038         * sysdeps/i386/i686/hp-timing.h: Likewise.
18039         * sysdeps/ia64/hp-timing.h: Likewise.
18040         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
18041         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
18042         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
18043         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
18044         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
18045         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
18046         (hp_timing_t): New.
18048         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
18049         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
18050         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
18051         * elf/rtld.c (_dl_start_final): Likewise.
18052         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
18053         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
18054         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
18055         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
18056         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
18057         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
18058         (HP_TIMING_DIFF_INIT): Remove.
18059         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
18060         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
18061         (HP_TIMING_DIFF_INIT): Remove.
18062         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
18063         * sysdeps/i386/i686/hp-timing.c: Remove file.
18064         * sysdeps/x86_64/hp-timing.c: Remove file.
18065         * sysdeps/ia64/hp-timing.c: Remove file.
18066         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
18067         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
18068         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
18069         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
18071         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
18072         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
18073         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
18074         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
18075         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
18076         (HP_TIMING_ACCUM): Remove.
18077         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
18078         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
18079         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
18081         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
18082         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
18083         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
18084         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
18085         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
18086         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
18087         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
18088         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
18090         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
18092 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
18094         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
18096 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
18098         Sync up with gettext.
18099         * intl/loadmsgcat.c: Define O_BINARY if not defined.
18100         [_MSC_VER]: Include malloc.h
18101         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
18102         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
18103         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
18104         TEMP_FAILURE_RETRY.  Cast return of alloca.
18105         [!_LIBC] Call gl_rwlock_init.
18106         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
18108 2014-07-02  Roland McGrath  <roland@hack.frob.com>
18110         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
18111         before checking its value.
18113 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
18115         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
18117         * debug/memcpy_chk.c: Don't include pagecopy.h.
18118         * debug/mempcpy_chk.c: Likewise.
18119         * string/memcpy.c: Likewise.
18120         * string/memmove.c: Likewise.
18121         * sysdeps/powerpc/memmove.c: Likewise.
18122         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
18123         definition of PAGE_COPY_FWD_MAYBE here...
18124         * sysdeps/generic/pagecopy.h: ... from here.
18125         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
18127 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
18128             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18130         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
18131         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
18132         optimizations.
18133         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18134         (__libc_ifunc_impl_list): Likewise.
18135         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
18136         multiarch strcat for PPC64.
18137         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
18138         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
18140 2014-07-02  Roland McGrath  <roland@hack.frob.com>
18142         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
18144 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
18146         * intl/loadmsgcat.c: Remove declaration of
18147         get_sysdep_segment_value.
18148         (get_sysdep_segment_value): Use ISO C style.
18149         (_nl_load_domain): Use ISO C style.  Get rid of redundant
18150         semicolon.  Fix typo and formatting in comment.
18151         (_nl_unload_domain): Use ISO C style.
18153         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
18155 2014-07-02  Will Newton  <will.newton@linaro.org>
18157         * malloc/obstack.c: Merge from gnulib master.
18158         [HAVE_CONFIG_H]: Remove conditional code.
18159         [!_LIBC]: Include config.h.
18160         [!ELIDE_CODE]: Don't include inttypes.h, include
18161         stdint.h unconditionally.
18162         (print_and_abort): Mark as _Noreturn.
18163         (_obstack_allocated_p): Mark as __attribute_pure__.
18164         (obstack_free): Rename to __obstack_free.
18165         [!__attribute__]: Remove conditional code.
18166         * malloc/obstack.h: Merge from gnulib master.
18167         [__cplusplus]: Move conditional down.
18168         [!__attribute_pure__]: Define __attribute_pure__ here
18169         if it is not already defined.
18170         (_obstack_memory_used): Mark as __attribute_pure__.
18171         [!__obstack_free]: Define as obstack_free.
18172         [__GNUC__]: Remove check for ancient NeXT gcc.
18174 2014-07-02  Will Newton  <will.newton@linaro.org>
18175             Paul Eggert  <eggert@cs.ucla.edu>
18177         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
18179 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
18181         * resolv/gethnamaddr.c: Add comment warning that the file is
18182         not maintained.
18184 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
18186         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
18187         entries.
18189         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
18190         entry for aio_cancel and aio_cancel64.
18191         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
18192         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
18193         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
18194         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
18195         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
18196         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
18197         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
18198         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
18199         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
18200         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
18201         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
18202         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
18203         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
18205 2014-07-01  Roland McGrath  <roland@hack.frob.com>
18207         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
18208         * nptl/pthread_mutex_lock.c: Likewise.
18209         * nptl/pthread_mutex_timedlock.c: Likewise.
18210         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
18212 2014-07-01  Richard henderson  <rth@redhat.com>
18214         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
18215         (__isnan, __isnanl): Remove.
18216         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
18218         * sysdeps/alpha/fpu/libm-test-ulps: Update.
18220 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
18222         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18224 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
18226         * resolv/nss_dns/dns-host.c (getanswer_r)
18227         [MULTI_PTRS_ARE_ALIASES]: Remove code.
18229 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
18231         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18232         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
18233         undefine.
18234         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
18235         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
18237 2014-07-01  Roland McGrath <roland@hack.frob.com>
18239         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
18240         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
18242         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
18243         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
18245         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
18246         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
18247         ... here.
18248         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
18249         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
18251         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
18252         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
18253         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
18254         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
18256         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
18257         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
18258         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
18259         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
18260         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
18261         Moved ...
18262         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
18263         ... here.
18264         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
18265         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
18266         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
18267         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
18268         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
18269         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
18270         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
18271         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
18272         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
18273         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
18274         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
18275         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
18276         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
18277         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
18278         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
18279         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
18280         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
18281         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
18282         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
18283         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
18284         ... here.
18285         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
18286         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
18287         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
18288         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
18289         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
18290         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
18291         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
18292         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
18294 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
18296         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
18297         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
18298         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
18299         Add sysdep.
18301 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18303         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18305 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
18307         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
18308         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
18310         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
18312         * sysdeps/arm/libm-test-ulps: Regenerated.
18314 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
18315             Roland McGrath <roland@hack.frob.com>
18317         * test-skeleton.c (signal_handler): Kill the whole process group
18318         before killing the child individually.
18319         (main): Report any failure on `setpgid'.
18321 2014-06-30  Roland McGrath  <roland@hack.frob.com>
18323         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
18324         from _TLS_H to _ARM_NPTL_TLS_H.
18325         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
18326         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
18328 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
18330         [BZ #16539]
18331         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
18332         (__expm1l): Return argument unchanged when small but not
18333         subnormal.
18335         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
18336         include macro name.
18337         (_FP_UNPACK_RAW_1_P): Likewise.
18338         (_FP_PACK_RAW_1): Likewise.
18339         (_FP_PACK_RAW_1_P): Likewise.
18340         (_FP_MUL_MEAT_1_wide): Likewise.
18341         (_FP_MUL_MEAT_DW_1_hard): Likewise.
18342         (_FP_MUL_MEAT_1_hard): Likewise.
18343         (_FP_DIV_MEAT_1_imm): Likewise.
18344         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
18345         (_FP_DIV_MEAT_1_udiv): Likewise.
18346         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
18347         (_FP_UNPACK_RAW_2): Likewise.
18348         (_FP_UNPACK_RAW_2_P): Likewise.
18349         (_FP_PACK_RAW_2): Likewise.
18350         (_FP_PACK_RAW_2_P): Likewise.
18351         (_FP_MUL_MEAT_DW_2_wide): Likewise.
18352         (_FP_MUL_MEAT_2_wide): Likewise.
18353         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
18354         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
18355         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
18356         (_FP_MUL_MEAT_2_gmp): Likewise.
18357         (_FP_DIV_MEAT_2_udiv): Likewise.
18358         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
18359         (_FP_FRAC_SRL_4): Likewise.
18360         (_FP_FRAC_SRST_4): Likewise.
18361         (_FP_FRAC_SRS_4): Likewise.
18362         (_FP_UNPACK_RAW_4): Likewise.
18363         (_FP_UNPACK_RAW_4_P): Likewise.
18364         (_FP_PACK_RAW_4): Likewise.
18365         (_FP_PACK_RAW_4_P): Likewise.
18366         (_FP_MUL_MEAT_DW_4_wide): Likewise.
18367         (_FP_MUL_MEAT_4_wide): Likewise.
18368         (_FP_MUL_MEAT_4_gmp): Likewise.
18369         (umul_ppppmnnn): Likewise.
18370         (_FP_DIV_MEAT_4_udiv): Likewise.
18371         (__FP_FRAC_ADD_4): Likewise.
18372         (__FP_FRAC_SUB_3): Likewise.
18373         (__FP_FRAC_SUB_4): Likewise.
18374         (__FP_FRAC_DEC_3): Likewise.
18375         (__FP_FRAC_DEC_4): Likewise.
18376         (__FP_FRAC_ADDI_4): Likewise.
18377         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
18378         (_FP_FRAC_SRL_8): Likewise.
18379         (_FP_FRAC_SRS_8): Likewise.
18381         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
18382         include macro name.
18383         (FP_UNPACK_RAW_EP): Likewise.
18384         (FP_PACK_RAW_E): Likewise.
18385         (FP_PACK_RAW_EP): Likewise.
18386         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
18387         (_FP_ISSIGNAN): Likewise.
18388         (_FP_ADD_INTERNAL): Likewise.
18389         (_FP_FMA): Likewise.
18390         (_FP_CMP): Likewise.
18391         (_FP_SQRT): Likewise.
18392         (_FP_TO_INT): Likewise.
18393         (_FP_FROM_INT): Likewise.
18394         (FP_EXTEND): Likewise.
18395         (_FP_DIV_MEAT_N_loop): Likewise.
18397 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
18399         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
18400         throughout.
18402 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
18404         [BZ #17097]
18405         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
18406         result with correct sign in case of exponents that produce
18407         overflow except for X very close to 1.
18409 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
18411         mktime: merge #if/#ifdef usage from glibc
18412         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
18413         as that works with both Glibc's and Gnulib's style.
18414         See thread starting at Siddhesh Poyarekar's bug report at:
18415         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
18417 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
18419         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
18420         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
18421         * sysdeps/tile/tilegx/memmove.c: Remove file.
18423 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
18425         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
18426         abi-name definition.
18427         * scripts/soversions.awk: Do not handle or generate ABI lines.
18428         * shlib-versions: Remove ABI entries.
18429         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
18430         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
18432 2014-06-27  Roland McGrath  <roland@hack.frob.com>
18434         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
18435         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
18436         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
18437         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
18438         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
18439         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
18440         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
18441         Moved ...
18442         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
18443         ... here.
18444         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
18445         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
18446         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
18447         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
18448         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
18449         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
18450         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
18451         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
18452         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
18453         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
18454         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
18455         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
18456         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
18457         Moved ...
18458         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
18459         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
18460         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
18461         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
18462         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
18463         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
18464         Moved ...
18465         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
18466         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
18467         Moved ...
18468         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
18469         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
18470         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
18471         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
18472         Moved ...
18473         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
18474         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
18475         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
18476         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
18477         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
18478         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
18479         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
18480         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
18481         Moved ...
18482         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
18483         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
18484         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
18485         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
18486         Moved ...
18487         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
18488         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
18489         Moved ...
18490         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
18491         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
18492         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
18493         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
18494         Moved ...
18495         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
18496         ... here.
18497         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
18498         Identical file removed.
18499         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
18500         Moved ...
18501         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
18502         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
18503         Identical file removed.
18504         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
18505         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
18506         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
18507         Moved ...
18508         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
18509         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
18510         Identical file removed.
18511         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
18512         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
18513         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
18514         Identical file removed.
18515         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
18516         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
18517         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
18518         Identical file removed.
18519         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
18520         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
18521         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
18522         Identical file removed.
18523         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
18524         Moved ...
18525         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
18526         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
18527         Identical file removed.
18528         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
18529         Moved ...
18530         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
18531         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
18532         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
18533         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
18534         Identical file removed.
18535         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
18536         Moved ...
18537         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
18538         ... here.
18539         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
18540         Identical file removed.
18541         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
18542         Moved ...
18543         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
18544         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
18545         Identical file removed.
18546         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
18547         Moved ...
18548         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
18549         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
18550         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
18551         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
18552         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
18553         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
18554         Moved ...
18555         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
18556         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
18557         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
18559         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
18560         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
18561         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
18562         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
18563         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
18565 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
18567         [BZ #17092]
18568         * nscd/nscd.c (monitor_child): Return exit status of child
18569         instead of return value from wait syscall.
18571 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
18573         * configure.ac (libc_commonpagesize): Remove variable.
18574         (libc_relro_required): Likewise.
18575         (libc_cv_z_relro): Remove configure test.
18576         * configure: Regenerated.
18577         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
18578         variable.
18579         (libc_relro_required): Likewise.
18580         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
18581         (libc_relro_required): Likewise.
18582         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
18583         (libc_relro_required): Likewise.
18584         * sysdeps/arm/preconfigure: Regenerated.
18585         * sysdeps/ia64/preconfigure: Remove file.
18586         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
18587         variable.
18588         (libc_relro_required): Likewise.
18590         [BZ #16561]
18591         [BZ #16562]
18592         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
18593         (__ieee754_yn): Set FE_TONEAREST mode internally and then
18594         recompute overflowing results in original rounding mode.
18595         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
18596         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
18597         recompute overflowing results in original rounding mode.
18598         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
18599         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
18600         recompute overflowing results in original rounding mode.
18601         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
18602         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
18603         recompute overflowing results in original rounding mode.
18604         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
18605         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
18606         recompute overflowing results in original rounding mode.
18607         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
18608         (libc_feholdsetround_ctx): New macro.
18609         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
18610         * sysdeps/i386/fpu/libm-test-ulps: Update.
18611         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
18613 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
18615         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
18616         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
18617         corresponding .cpsetup call.
18619 2014-06-26  Roland McGrath  <roland@hack.frob.com>
18621         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
18622         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
18623         * sysdeps/arm/Makefile [$(subdir) = csu]
18624         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
18625         (static-only-routines): Add aeabi_read_tp here.
18626         (shared-only-routines): Add libc-aeabi_read_tp here.
18627         (CFLAGS-libc-start.c): Add -fexceptions here.
18628         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
18629         (sysdep_routines, static-only-routines, shared-only-routines):
18630         Don't add to these here.
18631         (CFLAGS-libc-start.c): Likewise.
18633         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
18634         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
18635         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
18636         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
18637         * sysdeps/arm/Makefile [$(subdir) = rt]
18638         (librt-sysdep_routines, librt-shared-only-routines):
18639         Append rt-aeabi_unwind_cpp_pr1 here.
18640         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
18641         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
18642         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
18643         (libpthread-sysdep_routines, libpthread-shared-only-routines):
18644         Append nptl-aeabi_unwind_cpp_pr1 here.
18645         (tests): Filter out tst-cleanupx4 here.
18646         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
18647         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
18648         Don't do those here.
18650 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
18652         * scripts/list-sources.sh: Do not handle ports specially.
18654 2014-06-26  Roland McGrath  <roland@hack.frob.com>
18656         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
18657         * sysdeps/arm/feupdateenv.c: Likewise.
18659         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
18661 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
18663         * manual/texinfo.tex: Update to version 2014-05-05.10 with
18664         trailing whitespace removed.
18665         * scripts/config.guess: Update to version 2014-03-23.
18666         * scripts/config.sub: Update to version 2014-05-01
18667         * scripts/install-sh: Update to version 2013-12-25.23.
18668         * scripts/move-if-change: Update from gnulib.
18670 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
18672         * debug/memmove_chk.c: Remove pagecopy.h include.
18674 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
18676         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
18677         identical to gnulib mktime.
18679 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
18681         * configure.ac: Do not test for machine being rs6000.  Do not test
18682         for powerpc*-*soft.
18683         * configure: Regenerated.
18685         [BZ #11505]
18686         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
18687         test.
18688         * configure: Regenerated.
18689         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
18690         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
18691         Remove configure test.
18692         * sysdeps/arm/configure: Regenerated.
18693         * sysdeps/nptl/configure.ac: Do not check
18694         libc_cv_asm_cfi_directives.
18695         * sysdeps/nptl/configure: Regenerated.
18696         * sysdeps/x86_64/nptl/configure.ac: Remove file.
18697         * sysdeps/x86_64/nptl/configure: Remove generated file.
18698         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
18699         unconditional.
18700         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
18702 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
18704         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
18705         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
18706         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
18707         it is defined.
18709         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
18710         instead of whether it is defined.
18711         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
18712         * sysdeps/hppa/dl-machine.h: Likewise.
18713         * sysdeps/ia64/dl-machine.h: Likewise.
18714         * sysdeps/m68k/dl-machine.h: Likewise.
18715         * sysdeps/microblaze/dl-machine.h: Likewise.
18716         * sysdeps/mips/dl-machine.: Likewise.
18717         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
18718         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
18719         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
18720         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
18721         * sysdeps/sh/dl-machine.h: Likewise.
18722         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
18723         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
18724         * sysdeps/tile/dl-machine.h: Likewise.
18725         * sysdeps/x86_64/dl-machine.h: Likewise.
18727         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
18728         code.
18729         (verify_persistent_db): Likewise.
18731 2014-06-26  Roland McGrath  <roland@hack.frob.com>
18733         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
18734         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
18735         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
18736         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
18737         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
18738         Moved ...
18739         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
18740         ... here.
18741         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
18742         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
18743         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
18744         Identical file removed.
18745         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
18746         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
18747         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
18748         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
18749         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
18750         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
18751         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
18752         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
18753         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
18754         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
18755         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18756         Moved ...
18757         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
18758         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
18759         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
18760         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
18761         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
18762         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
18763         Moved ...
18764         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
18765         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
18766         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
18767         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
18768         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
18769         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
18770         Identical file removed.
18771         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
18772         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
18773         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
18774         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
18775         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
18776         Moved ...
18777         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
18778         ... here.
18779         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
18780         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
18781         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
18782         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
18783         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
18784         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
18785         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
18786         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
18787         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
18788         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
18789         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18790         Moved ...
18791         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
18792         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
18793         Moved ...
18794         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
18795         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
18796         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
18797         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
18798         Moved ...
18799         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
18800         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
18801         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
18803         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
18804         folded into ...
18805         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
18806         * sysdeps/unix/sysv/linux/s390/Versions
18807         (libpthread: GLIBC_2.19): New version set.
18808         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
18809         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
18810         (librt: GLIBC_2.3.3): New version set.
18811         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
18812         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
18813         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
18814         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
18815         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
18816         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
18817         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
18818         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
18819         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
18820         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
18821         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
18822         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
18823         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
18824         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
18825         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
18826         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
18827         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
18828         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
18829         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
18830         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
18831         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
18832         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
18833         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
18834         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
18835         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
18836         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
18837         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
18838         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
18839         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
18840         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
18841         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
18842         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
18843         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
18844         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
18845         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
18846         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
18847         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
18848         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
18849         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
18850         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
18851         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
18852         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
18853         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
18854         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
18855         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
18857         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
18858         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
18859         (__libc_vfork): Define the function under this name.
18860         [!NOT_IN_libc] (__vfork): Make this an alias.
18861         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
18862         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
18863         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
18864         (__libc_vfork): Define the function under this name.
18865         [!NOT_IN_libc] (__vfork): Make this an alias.
18866         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
18867         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
18868         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
18869         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
18870         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
18871         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
18873         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
18874         code that was previously under [RESET_PID].
18875         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
18876         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
18877         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
18879         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
18880         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
18881         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
18882         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
18883         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
18884         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
18885         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
18886         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
18887         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
18888         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
18889         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
18890         Moved ...
18891         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
18892         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
18893         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
18894         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
18895         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
18896         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
18897         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
18898         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
18899         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
18900         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
18901         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
18902         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
18903         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
18904         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
18905         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
18906         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
18907         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
18908         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
18909         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
18910         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
18911         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
18912         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
18913         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
18914         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
18915         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
18916         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
18917         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
18918         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
18919         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
18921 2014-06-25  Roland McGrath  <roland@hack.frob.com>
18923         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
18924         that was previously under [RESET_PID].
18925         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
18927 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
18929         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
18930         not undefine and redefine.
18931         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
18932         [O_CLOEXEC]: Make code unconditional.
18933         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
18934         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
18935         <kernel-features.h>.
18936         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
18937         conditional variable definition.
18938         (shm_open) [O_CLOEXEC]: Make code unconditional.
18939         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
18940         code.
18942         * configure.ac (USE_REGPARMS): Don't define here.
18943         * configure: Regenerated.
18944         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
18945         * sysdeps/i386/configure: Regenerated.
18947         * nptl/createthread.c: Don't include kernel-features.h.
18948         * nptl/pthread_cancel.c: Likewise.
18949         * nptl/pthread_condattr_setclock.c: Likewise.
18950         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
18951         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
18952         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
18953         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
18954         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
18955         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
18956         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
18957         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
18958         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
18959         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
18960         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
18961         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
18962         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
18963         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
18964         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
18965         * nscd/gai.c: Likewise.
18966         * nss/nss_db/db-open.c: Likewise.
18967         * sysdeps/generic/ldsodefs.h: Likewise.
18968         * sysdeps/sh/nptl/tls.h: Likewise.
18969         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
18970         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
18971         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
18972         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
18973         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
18974         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
18975         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
18976         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
18977         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
18978         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
18979         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
18980         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
18981         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
18982         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
18983         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
18984         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
18985         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
18986         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
18987         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
18988         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
18989         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
18990         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
18991         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
18992         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
18993         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
18994         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
18995         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
18996         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
18997         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
18998         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
18999         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
19000         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
19001         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
19002         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
19003         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
19004         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
19005         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
19006         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
19007         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
19008         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
19009         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
19010         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
19011         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
19012         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
19013         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
19014         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
19015         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
19016         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
19017         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
19018         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
19019         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
19020         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
19021         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
19022         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
19023         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
19024         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
19025         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
19026         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
19027         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
19028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
19029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
19030         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
19031         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
19032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
19033         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
19034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
19035         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
19036         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
19037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
19038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
19039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
19040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
19041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
19042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
19043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
19044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
19045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
19046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
19047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
19048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
19049         * sysdeps/unix/sysv/linux/pread.c: Likewise.
19050         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
19051         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
19052         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
19053         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
19054         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
19055         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
19056         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
19057         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
19058         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
19059         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
19060         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
19061         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
19062         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
19063         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
19064         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
19065         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
19066         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
19067         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
19068         * sysdeps/unix/sysv/linux/system.c: Likewise.
19069         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
19070         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
19071         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
19072         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
19073         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
19074         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
19075         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
19077         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
19078         * configure: Regenerated.
19079         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
19081         * configure.ac (base_machine): Do not set specially for particular
19082         machines here.
19083         * configure: Regenerated.
19084         * sysdeps/powerpc/preconfigure: Move machine and base_machine
19085         settings from configure.ac.
19086         * sysdeps/i386/preconfigure: New file.
19087         * sysdeps/s390/preconfigure: Likewise.
19088         * sysdeps/sh/preconfigure: Likewise.
19089         * sysdeps/sparc/preconfigure: Likewise.
19091 2014-06-25  Roland McGrath  <roland@hack.frob.com>
19093         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
19094         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
19095         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
19096         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
19097         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
19098         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
19099         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
19100         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
19101         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
19102         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
19103         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
19104         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
19105         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
19106         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
19107         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
19108         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
19109         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
19110         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
19111         * sysdeps/sparc/sparc64/Makefile: ... appended here.
19113         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
19114         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
19115         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
19116         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
19117         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
19118         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
19119         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
19120         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
19121         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
19122         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
19123         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
19124         * sysdeps/sparc/sparc32/sem_post.c: ... here.
19125         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
19126         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
19127         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
19128         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
19129         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
19130         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
19131         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
19132         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
19133         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
19134         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
19135         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
19136         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
19137         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
19138         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
19139         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
19140         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
19141         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
19142         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
19143         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
19144         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
19145         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
19146         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
19147         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
19148         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
19149         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
19150         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
19152         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
19153         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
19154         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
19155         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
19156         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
19157         Moved ...
19158         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
19159         ... here.
19160         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
19161         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
19162         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
19163         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
19164         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
19165         Moved ...
19166         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
19167         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
19168         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
19169         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
19170         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
19171         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
19172         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
19173         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
19174         Moved ...
19175         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
19176         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
19177         Moved ...
19178         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
19179         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
19180         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
19181         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
19182         Moved ...
19183         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
19184         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
19185         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
19186         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
19187         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
19188         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
19189         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
19190         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
19191         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
19192         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
19193         Moved ...
19194         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
19195         ... here.
19196         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
19197         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
19198         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
19199         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
19200         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
19201         Moved ...
19202         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
19203         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
19204         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
19205         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
19206         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
19207         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
19208         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
19209         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
19210         Moved ...
19211         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
19212         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
19213         Moved ...
19214         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
19215         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
19216         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
19217         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
19218         Moved ...
19219         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
19220         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
19221         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
19222         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
19223         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
19225 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
19227         * timezone/checktab.awk: Update from tzcode 2014e.
19228         * timezone/private.h: Likewise.
19229         * timezone/tzfile.h: Likewise.
19230         * timezone/zdump.c: Likewise.
19231         * timezone/zic.c: Likewise.
19233         * sysdeps/unix/sysv/linux/kernel-features.h
19234         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
19235         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
19236         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
19237         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
19238         Remove conditional code.
19240 2014-06-25  Will Newton  <will.newton@linaro.org>
19242         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
19243         (_dl_arm_cap_flags): Add HWCAP2 values.
19244         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
19245         (_DL_HWCAP_COUNT): Increase to 37.
19246         (_DL_HWCAP_LAST): New define.
19247         (_DL_HWCAP2_LAST): New define.
19248         (_dl_procinfo): Add support for printing
19249         AT_HWCAP2 entries.
19250         (_dl_string_hwcap): Use _dl_hwcap_string.
19252 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19254         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19256 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
19258         * README: Do not mention ports directory.
19260         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
19261         Remove macro.
19262         * sysdeps/unix/sysv/linux/futimes.c: Do not include
19263         <kernel-features.h>.
19264         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
19265         conditional variable definition.
19266         (__futimes): Update comment.
19267         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
19268         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
19270         [BZ #16560]
19271         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
19272         arguments close to 0.
19273         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
19274         Likewise.
19275         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
19276         Likewise.
19277         * math/auto-libm-test-in: Add more tests of exp10.
19278         * math/auto-libm-test-out: Regenerated.
19279         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19281         * sysdeps/unix/sysv/linux/kernel-features.h
19282         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
19283         * sysdeps/unix/sysv/linux/readv.c: Do not include
19284         <kernel-features.h>.
19285         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
19286         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
19287         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
19288         unconditional.
19289         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
19290         conditional code.
19291         * sysdeps/unix/sysv/linux/writev.c: Do not include
19292         <kernel-features.h>.
19293         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
19294         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
19295         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
19296         unconditional.
19297         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
19298         conditional code.
19300 2014-06-25  Will Newton  <will.newton@linaro.org>
19302         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
19303         comment changes throughout the file.  Remove checks
19304         for HAVE_*_H definitions that are not required.
19305         (__gen_tempname): Call abort if an unknown kind value is
19306         passed.
19308 2014-06-25  Andreas Schwab  <schwab@suse.de>
19310         [BZ #17086]
19311         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
19312         scalbln, scalblnf, scalblnl in libc.
19314 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
19316         [BZ #17086]
19317         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
19318         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
19319         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
19321 2014-06-24  Roland McGrath  <roland@hack.frob.com>
19323         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
19324         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
19325         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
19326         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
19327         Update #include.
19328         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
19329         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
19330         Update #include.
19331         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
19332         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
19333         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
19334         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
19335         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
19336         * sysdeps/x86/bits/pthreadtypes.h: ... here.
19337         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
19338         * sysdeps/x86/bits/semaphore.h: ... here.
19339         * sysdeps/x86/nptl/elide.h: Moved ...
19340         * sysdeps/x86/elide.h: ... here.
19341         * sysdeps/x86_64/nptl/Implies: File removed.
19342         * sysdeps/i386/nptl/Implies: File removed.
19344 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
19346         [BZ #16539]
19347         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
19348         return the argument for normal arguments with exponent below -64.
19349         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
19350         Likewise.
19351         * math/auto-libm-test-in: Add another test of expm1.
19352         * math/auto-libm-test-out: Regenerated.
19354         [BZ #16287]
19355         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
19356         calling __erfcl for arguments at least 16.
19357         * math/auto-libm-test-in: Add more tests of erf.
19358         * math/auto-libm-test-out: Regenerated.
19360         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
19361         individual architectures.
19362         * sysdeps/unix/sysv/linux/configure: Regenerated.
19363         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
19364         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
19365         * sysdeps/unix/sysv/linux/powerpc/configure.ac
19366         (ldd_rewrite_script): Define variable.
19367         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
19368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
19369         file.
19370         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
19371         generated file.
19372         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
19373         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
19374         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
19375         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
19376         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
19377         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
19378         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
19379         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
19381 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
19383         [BZ #17084]
19384         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
19385         Rename member __data.d to __data.__elision_data.
19387 2014-06-24  Wilco  <wdijkstr@arm.com>
19389         * NEWS: Add 16918 to fixed bug list.
19391 2014-06-24  Wilco  <wdijkstr@arm.com>
19393         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
19395 2014-06-24  Wilco  <wdijkstr@arm.com>
19397         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
19398         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
19399         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
19400         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
19401         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
19402         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
19403         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
19404         Use _FPU_MASK_RM.
19406 2014-06-24  Wilco  <wdijkstr@arm.com>
19408         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
19410 2014-06-24  Wilco  <wdijkstr@arm.com>
19412         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
19413         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
19414         * sysdeps/arm/fesetround.c (fesetround): Remove space.
19415         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
19417 2014-06-24  Wilco  <wdijkstr@arm.com>
19419         [BZ #16918]
19420         * sysdeps/arm/feupdateenv.c (feupdateenv):
19421         Rewrite to reduce FPSCR accesses and fix return value.
19423 2014-06-24  Wilco  <wdijkstr@arm.com>
19425         * sysdeps/arm/fclrexcpt.c (feclearexcept):
19426         Optimize to avoid unnecessary FPSCR writes.
19427         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
19428         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
19429         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
19430         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
19432 2014-06-24  Wilco  <wdijkstr@arm.com>
19434         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
19435         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
19436         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
19437         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
19438         Call libc_fetestexcept_vfp.
19439         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
19440         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
19441         __SOFTFP__ ifdef so that they can be built for softfp.
19443 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
19445         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
19446         argument type signed char.
19448         * Makerules (check-abi): Dump diff of symlist if the test
19449         fails.
19451 2014-06-23  Roland McGrath  <roland@hack.frob.com>
19453         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
19454         using abort.
19456         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
19457         Remove unused variable ST.
19459 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
19461         [BZ #16354]
19462         [BZ #17061]
19463         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
19464         small arguments before calling __expm1.
19465         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
19466         small arguments before calling __expm1f.
19467         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
19468         small arguments before calling __expm1l.
19469         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
19470         Likewise.
19471         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
19472         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
19473         spurious underflow for some cosh tests.
19474         * math/auto-libm-test-out: Regenerated.
19475         * sysdeps/i386/fpu/libm-test-ulps: Update.
19477         [BZ #17050]
19478         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
19479         (__ieee754_y1): Set errno if return value overflows.
19480         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
19481         (__ieee754_y1f): Set errno if return value overflows.
19482         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
19483         (__ieee754_y1l): Set errno if return value overflows.
19484         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
19485         (__ieee754_y1l): Set errno if return value overflows.
19486         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
19487         * math/auto-libm-test-out: Regenerated.
19489         * math/gen-auto-libm-tests.c: Document use of
19490         ignore-zero-inf-sign.
19491         (input_flag_type): Add value flag_ignore_zero_inf_sign.
19492         (input_flags): Add ignore-zero-inf-sign.
19493         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
19494         * math/gen-libm-test.pl (generate_testfile): Handle
19495         ignore-zero-inf-sign.
19496         * math/auto-libm-test-in: Mark some cpow tests with
19497         ignore-zero-inf-sign and some with xfail-rounding.
19498         * math/auto-libm-test-out: Regenerated.
19499         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
19500         * sysdeps/i386/fpu/libm-test-ulps: Update.
19501         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19503         [BZ #16315]
19504         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
19505         overflowing or underflowing operations take place with sign of
19506         result.
19507         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
19508         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
19509         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
19510         (__ieee754_pow): Recompute overflowing and underflowing results in
19511         original rounding mode.
19512         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
19513         (__powl_helper): Allow negative argument X and scale negated value
19514         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
19515         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
19516         overflowing or underflowing operations take place with sign of
19517         result.
19518         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
19519         Include <math.h>.
19520         * math/auto-libm-test-in: Add more tests of pow.
19521         * math/auto-libm-test-out: Regenerated.
19522         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
19523         (pow_tonearest_test_data): Remove.
19524         (pow_test_tonearest): Likewise.
19525         (pow_towardzero_test_data): Likewise.
19526         (pow_test_towardzero): Likewise.
19527         (pow_downward_test_data): Likewise.
19528         (pow_test_downward): Likewise.
19529         (pow_upward_test_data): Likewise.
19530         (pow_test_upward): Likewise.
19531         (main): Don't call removed functions.
19532         * sysdeps/i386/fpu/libm-test-ulps: Update.
19533         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19535 2014-06-23  Roland McGrath  <roland@hack.frob.com>
19537         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
19538         Moved ...
19539         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
19540         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19541         Moved ...
19542         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
19543         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
19544         Moved ...
19545         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
19546         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
19547         Moved ...
19548         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
19549         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
19550         File removed.
19551         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
19552         File removed.
19553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
19554         File removed.
19555         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
19556         File removed.
19557         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
19558         File removed.
19559         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
19560         File removed.
19561         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
19562         File removed.
19563         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
19564         File removed.
19565         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
19566         File removed.
19567         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
19568         File removed.
19569         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
19570         File removed.
19571         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
19572         File removed.
19573         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
19574         Moved ...
19575         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
19576         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
19577         Moved ...
19578         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
19579         ... here.
19580         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
19581         Moved ...
19582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
19583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
19584         Moved ...
19585         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
19586         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
19587         Moved ...
19588         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
19589         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
19590         Moved ...
19591         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
19592         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
19593         Moved ...
19594         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
19595         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
19596         Moved ...
19597         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
19598         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
19599         Moved ...
19600         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
19601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
19602         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
19603         ... here.
19604         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
19605         Moved ...
19606         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
19607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
19608         Moved ...
19609         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
19610         ... here.
19611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
19612         Moved ...
19613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
19614         ... here.
19615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
19616         Moved ...
19617         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
19618         ... here.
19619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
19620         Moved ...
19621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
19622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
19623         Moved ...
19624         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
19625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
19626         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
19627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
19628         Moved ...
19629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
19630         ... here.
19631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
19632         Moved ...
19633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
19634         ... here.
19635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
19636         Moved ...
19637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
19638         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
19639         Moved ...
19640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
19641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
19642         Moved ...
19643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
19644         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19645         Moved ...
19646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
19647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
19648         Moved ...
19649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
19650         ... here.
19651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
19652         Moved ...
19653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
19654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
19655         Moved ...
19656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
19657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
19658         Moved ...
19659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
19660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
19661         Moved ...
19662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
19663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
19664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
19665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
19666         Moved ...
19667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
19668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
19669         Moved ...
19670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
19671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
19672         Moved ...
19673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
19674         ... here.
19675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19676         Moved ...
19677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
19678         ... here.
19679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
19680         Moved ...
19681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
19682         ... here.
19683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
19684         Moved ...
19685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
19686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
19687         Moved ...
19688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
19689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
19690         Moved ...
19691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
19692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
19693         Moved ...
19694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
19695         ... here.
19696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
19697         Moved ...
19698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
19699         ... here.
19700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
19701         Moved ...
19702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
19703         ... here.
19704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
19705         Moved ...
19706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
19707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
19708         Moved ...
19709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
19711 2014-06-23  Will Newton  <will.newton@linaro.org>
19712             Wilco  <wdijkstr@arm.com>
19714         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
19715         implementation.  Include get-rounding-mode.h.
19716         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
19717         [!libc_feholdsetround_noex_ctx]: Define
19718         libc_feholdsetround_noex_ctx.
19719         [!libc_feholdsetround_noexf_ctx]: Define
19720         libc_feholdsetround_noexf_ctx.
19721         [!libc_feholdsetround_noexl_ctx]: Define
19722         libc_feholdsetround_noexl_ctx.
19723         (libc_feholdsetround_ctx): New function.
19724         (libc_feresetround_ctx): New function.
19725         (libc_feholdsetround_noex_ctx): New function.
19726         (libc_feresetround_noex_ctx): New function.
19728 2014-06-23  Roland McGrath  <roland@hack.frob.com>
19730         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
19731         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
19732         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
19733         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
19734         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
19735         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
19737         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
19738         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
19739         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
19740         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
19741         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
19742         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
19743         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
19744         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
19745         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
19746         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
19747         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
19748         Moved ...
19749         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
19750         ... here.
19751         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
19752         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
19753         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
19754         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
19755         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
19756         Moved ...
19757         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
19758         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
19759         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
19760         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
19761         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
19762         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
19763         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
19764         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
19765         Moved ...
19766         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
19767         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
19768         Moved ...
19769         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
19770         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
19771         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
19772         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
19773         Moved ...
19774         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
19775         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
19776         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
19777         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
19778         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
19779         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
19780         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
19781         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
19782         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
19783         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
19784         Moved ...
19785         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
19786         ... here.
19787         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
19788         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
19789         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
19790         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
19791         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
19792         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
19793         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
19794         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
19795         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
19796         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
19797         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
19798         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
19799         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
19800         Moved ...
19801         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
19802         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
19803         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
19804         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
19805         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
19806         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
19807         Moved ...
19808         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
19809         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
19810         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
19811         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
19812         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
19814         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
19815         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
19816         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
19817         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
19818         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
19819         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
19820         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
19821         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
19822         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
19823         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
19824         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
19825         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
19826         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
19827         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
19828         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
19829         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
19830         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
19831         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
19832         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
19833         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
19834         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
19835         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
19836         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
19837         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
19838         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
19839         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
19840         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
19841         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
19843 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
19845         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
19846         (FALLOC_FL_COLLAPSE_RANGE): New macro.
19847         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
19848         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
19849         (IPV6_PMTUDISC_INTERFACE): Likewise.
19850         (IPV6_PMTUDISC_OMIT): Likewise.
19852 2014-06-23  Andreas Schwab  <schwab@suse.de>
19854         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
19855         Remove unused errout label.
19857 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19859         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
19860         macro: hardware supports Vector Crypto instructions.
19862 2014-06-23  Will Newton  <will.newton@linaro.org>
19864         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
19865         rather than __builtin_expect.
19867         * elf/dl-lookup.c (undefined_msg): Remove variable.
19868         (_dl_lookup_symbol_x): Replace undefined_msg with string
19869         literal.
19871         * elf/dl-lookup.c (do_lookup_unique): New function.
19872         (do_lookup_x): Move STB_GNU_UNIQUE handling code
19873         to a separate function.
19875 2014-06-23  Andreas Schwab  <schwab@suse.de>
19877         [BZ #17079]
19878         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
19879         before reading the next line.
19881 2014-06-23  Will Newton  <will.newton@linaro.org>
19883         * test-skeleton.c (signal_handler): Use printf and %m
19884         rather than perror.  Use printf rather than fprintf to
19885         stderr.  Use puts rather than fputs to stderr.
19886         (main): Likewise.
19888 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
19890         * nscd/nscd.c (thread_info_t): Remove typedef.
19891         (thread_info): Remove variable.
19893 2014-06-21  Allan McRae  <allan@archlinux.org>
19895         * NEWS: Mention CVE-2014-4043.
19897 2014-06-20  Roland McGrath  <roland@hack.frob.com>
19899         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
19900         * nptl/smp.h: ... here.
19902         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
19904         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
19905         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
19906         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
19907         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
19909         * nptl/allocatestack.c: Include <stack-aliasing.h>.
19910         * nptl/stack-aliasing.h: New file.
19911         * sysdeps/i386/i686/stack-aliasing.h: New file.
19912         * sysdeps/i386/i686/nptl/Makefile: File removed.
19913         * sysdeps/x86_64/stack-aliasing.h: New file.
19914         * sysdeps/x86_64/nptl/Makefile
19915         (CFLAGS-pthread_create.c): Variable removed.
19917         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
19918         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
19919         old file.
19920         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
19921         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
19922         old file.
19924 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
19926         * sysdeps/unix/sysv/linux/arm/kernel-features.h
19927         (__ASSUME_SIGFRAME_V2): Remove macro.
19928         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
19929         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
19930         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
19931         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
19932         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
19933         Declare as function.  Remove conditional macro definitions.
19934         (__default_rt_sa_restorer): Likewise.
19935         (__default_sa_restorer_v1): Remove declaration.
19936         (__default_sa_restorer_v2): Likewise.
19937         (__default_rt_sa_restorer_v1): Likewise.
19938         (__default_rt_sa_restorer_v2): Likewise.
19939         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
19940         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
19941         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
19943 2014-06-20  Roland McGrath  <roland@hack.frob.com>
19945         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
19946         (libpthread-routines): Add sysdep.
19947         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
19948         * sysdeps/unix/sysv/linux/sparc/Versions
19949         (libpthread: GLIBC_2.3.3): New version set.
19950         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
19951         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
19952         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
19953         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
19954         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
19955         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
19956         Moved ...
19957         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
19958         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
19959         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
19960         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
19961         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
19962         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
19963         * sysdeps/sparc/nptl/sem_init.c: ... here.
19964         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
19965         * sysdeps/sparc/nptl/sem_post.c: ... here.
19966         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
19967         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
19968         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
19969         * sysdeps/sparc/nptl/sem_wait.c: ... here.
19970         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
19971         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
19972         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
19973         (libpthread-routines): Add cpu_relax.
19974         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
19975         File removed.
19976         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
19977         (librt: GLIBC_2.3.3): New version set.
19978         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
19979         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
19980         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
19981         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
19982         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
19983         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
19984         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
19985         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
19986         Moved ...
19987         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
19988         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
19989         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
19990         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
19991         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
19992         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
19993         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
19994         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
19995         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
19996         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
19997         Moved ...
19998         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
19999         Update #include.
20000         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
20001         Moved ...
20002         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
20003         Update #include.
20004         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
20005         Moved ...
20006         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
20007         Update #include.
20008         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
20009         Moved ...
20010         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
20011         Update #include.
20012         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
20013         Moved ...
20014         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
20015         Update #include.
20016         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
20017         Moved ...
20018         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
20019         Update #include.
20020         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
20021         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
20022         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
20023         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
20024         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
20025         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
20026         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
20027         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
20028         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
20029         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
20030         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
20031         Moved ...
20032         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
20033         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
20034         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
20035         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
20036         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
20038 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
20040         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
20041         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
20042         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
20043         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
20044         * nscd/nscd.c: Likewise.
20045         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
20046         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
20047         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
20048         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
20050         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
20051         <kernel-features.h>.
20052         (init_mq_netlink): Remove conditional have_sock_cloexec
20053         definitions.  Remove code conditional on have_sock_cloexec < 0.
20054         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
20055         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
20056         * sysdeps/unix/sysv/linux/opensock.c: Do not include
20057         <kernel-features.h>.
20058         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
20059         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
20061 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
20063         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
20064         Add tests for memset_chk and memset.
20066         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
20067         with AVX2_Usable.
20069 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
20071         [BZ #16046]
20072         * elf/tst-dl-iter-static.c: New file.
20073         * elf/Makefile (tests-static): Add tst-dl-iter-static.
20075         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
20076         error.
20078 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
20080         * sysdeps/unix/sysv/linux/kernel-features.h
20081         (__ASSUME_F_GETOWN_EX): Remove macro.
20082         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
20083         <kernel-features.h>.
20084         (miss_F_GETOWN_EX): Remove variable or macro.
20085         (do_fcntl): Do not check miss_F_GETOWN_EX.
20086         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
20088         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
20089         Remove macro.
20090         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
20091         [!__ASSUME_AT_RANDOM]: Remove conditional code.
20092         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
20094         * sysdeps/unix/sysv/linux/kernel-features.h
20095         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
20096         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
20097         [ADJ_OFFSET_SS_READ]: Make code unconditional.
20098         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
20100 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
20102         [BZ #17075]
20103         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
20104         Fix calculation of the symbol's value.
20105         * sysdeps/arm/tst-armtlsdescloc.c: New file.
20106         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
20107         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
20108         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
20109         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
20110         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
20111         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
20112         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
20113         (modules-names): Add `tst-armtlsdescmod',
20114         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
20115         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
20116         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
20117         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
20118         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
20119         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
20120         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
20121         ($(objpfx)tst-armtlsdescloc): New dependency.
20122         ($(objpfx)tst-armtlsdescextnow): Likewise.
20123         ($(objpfx)tst-armtlsdescextlazy): Likewise.
20124         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
20125         TLS scheme support.
20126         * sysdeps/arm/configure: Regenerate.
20128 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
20130         * include/fcntl.h (__atfct_seterrno): Remove prototype.
20131         (__atfct_seterrno_2): Likewise.
20132         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
20133         <kernel-features.h>.
20134         (__ASSUME_ATFCTS): Do not undefine and redefine.
20135         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
20136         (__have_atfcts): Remove conditional definition.
20137         (__fxstatat([__NR_fstatat64]: Make code unconditional.
20138         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
20139         unreachable if [__ASSUME_ATFCTS].
20140         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
20141         not undefine and redefine.
20142         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
20143         <kernel-features.h>.
20144         (faccessat) [__NR_faccessat]: Make code unconditional.
20145         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
20146         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
20147         <kernel-features.h>.
20148         (fchmodat) [__NR_fchmodat]: Make code unconditional.
20149         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
20150         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
20151         <kernel-features.h>.
20152         (fchownat) [__NR_fchownat]: Make code unconditional.
20153         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
20154         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
20155         <kernel-features.h>.
20156         (futimesat) [__NR_futimesat]: Make code unconditional.
20157         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
20158         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
20159         <kernel-features.h>.
20160         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
20161         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
20162         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
20163         <kernel-features.h>.
20164         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
20165         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
20166         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
20167         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
20168         <kernel-features.h>.
20169         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
20170         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
20171         * sysdeps/unix/sysv/linux/linkat.c: Do not include
20172         <kernel-features.h>.
20173         (linkat) [__NR_linkat]: Make code unconditional.
20174         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
20175         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
20176         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
20177         <kernel-features.h>.
20178         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
20179         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
20180         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
20181         <kernel-features.h>.
20182         (mkdirat) [__NR_mkdirat]: Make code unconditional.
20183         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
20184         * sysdeps/unix/sysv/linux/openat.c: Do not include
20185         <kernel-features.h>.
20186         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
20187         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
20188         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
20189         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
20190         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
20191         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
20192         <kernel-features.h>.
20193         (readlinkat) [__NR_readlinkat]: Make code unconditional.
20194         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
20195         result of INLINE_SYSCALL directly, not via int variable.
20196         * sysdeps/unix/sysv/linux/renameat.c: Do not include
20197         <kernel-features.h>.
20198         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
20199         (renameat) [__NR_renameat]: Make code unconditional.
20200         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
20201         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
20202         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
20203         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
20204         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
20205         (__ASSUME_ATFCTS): Do not undefine and redefine.
20206         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
20207         <kernel-features.h>.
20208         (symlinkat) [__NR_symlinkat]: Make code unconditional.
20209         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
20210         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
20211         <kernel-features.h>.
20212         (unlinkat) [__NR_unlinkat]: Make code unconditional.
20213         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
20214         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
20215         (__ASSUME_ATFCTS): Do not undefine and redefine.
20216         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
20217         <kernel-features.h>.
20218         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
20219         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
20220         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
20221         <kernel-features.h>.
20222         (__xmknodat) [__NR_mknodat]: Make code unconditional.
20223         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
20225 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
20227         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
20229 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
20231         [BZ #17069]
20232         * posix/regcomp.c (parse_reg_exp): Deallocate partially
20233         constructed tree before returning error.
20234         * posix/bug-regexp36.c: Expand test case.
20236 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
20238         [BZ #6803]
20239         * math/libm-test.inc (scalbln_test_date):
20240         Add errno expectations.
20241         * math/w_scalblnf.c: New File.
20242         Add wrapper which checks for setting errno to ERANGE.
20243         Add weak_alias for corresponding scalbln function.
20244         * math/w_scalbln.c: Likewise.
20245         * math/w_scalblnl.c: Likewise.
20246         * math/Makefile (libm-calls): Add w_scalbln.
20247         * sysdeps/ieee754/flt-32/s_scalblnf.c:
20248         Remove weak_alias for corresponding scalbln function.
20249         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
20250         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
20251         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
20252         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
20253         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
20254         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
20255         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
20256         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
20257         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
20258         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
20259         Remove long_double_symbol for scalblnl function in libm, libc.
20260         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
20261         Add wrapper which checks for setting errno to ERANGE.
20262         Add long_double_symbol for scalblnl function in libm, libc.
20263         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
20264         Remove long_double_symbol for scalblnl in libm.
20265         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
20266         Add wrapper which checks for setting errno to ERANGE.
20267         Add long_double_symbol for scalblnl function in libm.
20268         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
20269         Do not use wrapper because of own implementation.
20271 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
20273         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
20274         3 bytes for __pad1 for x32.
20275         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
20277 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
20278             H.J. Lu  <hongjiu.lu@intel.com>
20280         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
20281         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
20282         * sysdeps/x86_64/multiarch/memset.S: Likewise.
20283         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
20284         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
20286 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
20288         [BZ #17069]
20289         * posix/regcomp.c (parse_expression): Deallocate partially
20290         constructed tree before returning error.
20291         * posix/Makefile.c (tests): Add bug-regex36.
20292         (generated): Add bug-regex36.mtrace.
20293         (tests-special): Add $(objpfx)bug-regex36-mem.out
20294         (bug-regex36-ENV): New variable.
20295         ($(objpfx)bug-regex36-mem.out): New rule.
20296         * posix/bug-regex36.c: New file.
20298 2014-06-19  Will Newton  <will.newton@linaro.org>
20300         * malloc/malloc.c (systrim): If extra is zero then return
20301         early.
20303 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
20305         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
20307 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
20309         * sysdeps/aarch64/strchr.S: New file.
20311 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
20313         [BZ #17022]
20314         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
20315         from arguments -2 or below.
20316         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
20317         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
20319 2014-06-18  Andreas Schwab  <schwab@suse.de>
20321         [BZ #17062]
20322         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
20323         of a bracket expr not to run off the end of the string.
20324         * posix/Makefile (tests): Add tst-fnmatch3.
20325         * posix/tst-fnmatch3.c: New file.
20327 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
20329         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
20330         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
20331         [$(cross-compiling) = no]: Likewise.
20332         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
20333         [$(cross-compiling) = no]: Likewise.
20335 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20337         [BZ #17031]
20338         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
20339         double, adjusted for any remainder from the high double.
20340         * math/libm-test.inc (nearbyint): Add tests.
20341         (rint): Likewise.
20343 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20345         * nptl/sysdeps/powerpc/Makefile: Moved ...
20346         * sysdeps/powerpc/nptl/Makefile: ... here.
20347         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
20348         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
20349         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
20350         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
20351         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
20352         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
20353         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
20354         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
20355         * nptl/sysdeps/powerpc/tls.h: Moved ...
20356         * sysdeps/powerpc/nptl/tls.h: ... here.
20358 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
20360         [BZ #16681]
20361         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
20362         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
20363         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
20364         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
20365         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
20366         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
20367         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
20368         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
20369         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
20371 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
20373         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
20375 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
20377         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
20378         defined operator.
20380         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
20381         $TIMEOUTFACTOR.
20383 2014-06-16  Florian Weimer  <fweimer@redhat.com>
20385         [BZ #17058]
20386         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
20387         non-executed part of the test.
20389 2014-06-16  Andreas Schwab  <schwab@suse.de>
20391         * string/bits/string2.h (strdup, strndup): Update feature guard.
20393 2014-06-14  David S. Miller  <davem@davemloft.net>
20395         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20397 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
20399         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
20400         that was previously under [RESET_PID].
20401         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
20403         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
20404         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
20405         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
20406         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
20407         (__libc_vfork): New strong alias.
20408         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
20410 2014-06-14 Andi Kleen  <ak@linux.intel.com>
20412         * sysdeps/generic/elide.h: New file.
20414 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
20416         * Makefile (installed-headers): Adjust path of pthread.h header.
20418 2014-06-13  Roland McGrath  <roland@hack.frob.com>
20420         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
20421         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
20422         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
20423         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
20425         * nptl/sysdeps/s390/Makefile: Moved ...
20426         * sysdeps/s390/nptl/Makefile: ... here.
20427         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
20428         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
20429         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
20430         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
20431         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
20432         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
20433         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
20434         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
20435         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
20436         * sysdeps/s390/nptl/pthreaddef.h: ... here.
20437         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
20438         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
20439         * nptl/sysdeps/s390/tls.h: Moved ...
20440         * sysdeps/s390/nptl/tls.h: ... here.
20442         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
20443         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
20445 2014-06-13  David S. Miller  <davem@davemloft.net>
20447         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
20448         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
20449         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
20450         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
20451         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
20452         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
20453         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
20454         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
20455         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
20456         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
20457         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
20458         Remove RESET_PID cpp guards.
20459         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
20460         Remove RESET_PID cpp guards.
20461         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
20463 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
20465         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
20466         __sp to uintptr_t.
20468 2014-06-13  Andi Kleen  <ak@linux.intel.com>
20470         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
20471         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
20472         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
20473         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
20474         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
20475         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
20476         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
20477         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
20478         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
20479         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
20480         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
20481         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
20482         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
20483         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
20484         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
20485         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
20486         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
20487         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
20488         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
20489         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
20491         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
20492         (pthread_rwlock_rdlock): Add elision.
20493         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
20494         (pthread_rwlock_wrlock): Add elision.
20495         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
20496         (pthread_rwlock_trywrlock): Add elision.
20497         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
20498         (pthread_rwlock_tryrdlock): Add elision.
20499         * nptl/pthread_rwlock_unlock.c: Include elide.h.
20500         (pthread_rwlock_tryrdlock): Add elision unlock.
20501         * nptl/sysdeps/pthread/pthread.h:
20502         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
20503         (PTHREAD_RWLOCK_INITIALIZER,
20504         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
20505         Handle new elision field.
20506         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
20507         * sysdeps/arm/nptl/bits/pthreadtypes.h
20508         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20509         * sysdeps/sh/nptl/bits/pthreadtypes.h
20510         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20511         * sysdeps/tile/nptl/bits/pthreadtypes.h
20512         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20513         * sysdeps/a/nptl/bits/pthreadtypes.h
20514         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20515         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
20516         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20517         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
20518         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20519         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
20520         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20521         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
20522         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20523         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
20524         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20525         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
20526         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20527         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
20528         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20529         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
20530         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20531         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
20532         (elision_init): Set try_xbegin to zero when no RTM.
20533         * sysdeps/x86/nptl/bits/pthreadtypes.h
20534         (pthread_rwlock_t): Change __pad1 to __rwelision.
20535         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20537 2014-06-13  Andi Kleen  <ak@linux.intel.com>
20539         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
20540         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
20541         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
20542         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
20544 2014-06-13  Meador Inge  <meadori@codesourcery.com>
20546         [BZ #16996]
20547         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
20548         that the cached result has been set before returning it.
20550 2014-06-12  Roland McGrath  <roland@hack.frob.com>
20552         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
20553         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
20554         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
20555         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
20556         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
20557         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
20559         * nptl/sysdeps/sparc/Makefile: Moved ...
20560         * sysdeps/sparc/nptl/Makefile: ... here.
20561         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
20562         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
20563         * nptl/sysdeps/sparc/tls.h: Moved ...
20564         * sysdeps/sparc/nptl/tls.h: ... here.
20565         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
20566         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
20567         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
20568         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
20569         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
20570         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
20571         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
20572         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
20573         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
20574         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
20575         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
20576         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
20577         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
20578         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
20579         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
20580         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
20581         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
20582         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
20583         Update #include.
20584         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
20585         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
20586         Update #include.
20587         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
20588         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
20589         Update #include.
20590         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
20591         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
20592         Update #include.
20594         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
20596         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
20597         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
20599         * sysdeps/pthread/posix-timer.h: Include <list.h>.
20600         (struct list_links): Type removed.
20601         (struct thread_node, struct timer_node): Replace struct list_links
20602         with struct list_head.
20603         (list_unlink_ip): Likewise.
20604         * sysdeps/pthread/timer_routines.c
20605         (timer_free_list, thread_free_list, thread_active_list): Likewise.
20606         (list_append, list_insbefore): Likewise.
20607         (list_init): Function removed.
20608         (thread_init, init_module): Use INIT_LIST_HEAD instead.
20609         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
20610         * sysdeps/pthread/Makefile: ... here, new file.
20612         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
20613         * sysdeps/nptl/Implies: ... here.
20614         * sysdeps/unix/sysv/linux/Implies: Add nptl.
20615         * nptl/sysdeps/pthread/list.h: Moved ...
20616         * include/list.h: ... here.
20617         * nptl/sysdeps/pthread/createthread.c: Moved ...
20618         * nptl/createthread.c: ... here.
20619         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
20620         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
20621         * nptl/pt-longjmp.c: ... here.
20622         * nptl/sysdeps/pthread/Makefile: Moved ...
20623         * sysdeps/nptl/Makefile: ... here.
20624         * nptl/sysdeps/pthread/Subdirs: Moved ...
20625         * sysdeps/nptl/Subdirs: ... here.
20626         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
20627         * sysdeps/nptl/aio_misc.h: ... here.
20628         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
20629         * sysdeps/nptl/bits/libc-lock.h: ... here.
20630         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
20631         * sysdeps/nptl/bits/libc-lockP.h: ... here.
20632         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
20633         * sysdeps/nptl/bits/stdio-lock.h: ... here.
20634         * nptl/sysdeps/pthread/configure: Moved ...
20635         * sysdeps/nptl/configure: ... here.
20636         * nptl/sysdeps/pthread/configure.ac: Moved ...
20637         * sysdeps/nptl/configure.ac: ... here.
20638         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
20639         * sysdeps/nptl/gai_misc.h: ... here.
20640         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
20641         * sysdeps/nptl/librt-cancellation.c: ... here.
20642         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
20643         * sysdeps/nptl/malloc-machine.h: ... here.
20644         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
20645         * sysdeps/nptl/pthread-functions.h: ... here.
20646         * nptl/sysdeps/pthread/pthread.h: Moved ...
20647         * sysdeps/nptl/pthread.h: ... here.
20648         * nptl/sysdeps/pthread/setxid.h: Moved ...
20649         * sysdeps/nptl/setxid.h: ... here.
20650         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
20651         * sysdeps/nptl/sigfillset.c: ... here.
20652         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
20653         * sysdeps/nptl/tcb-offsets.h: ... here.
20654         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
20655         * sysdeps/nptl/tst-mqueue8x.c: ... here.
20656         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
20657         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
20658         * nptl/sysdeps/pthread/allocalim.h: Moved ...
20659         * sysdeps/pthread/allocalim.h: ... here.
20660         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
20661         * sysdeps/pthread/bits/sigthread.h: ... here.
20662         * nptl/sysdeps/pthread/flockfile.c: Moved ...
20663         * sysdeps/pthread/flockfile.c: ... here.
20664         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
20665         * sysdeps/pthread/ftrylockfile.c: ... here.
20666         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
20667         * sysdeps/pthread/funlockfile.c: ... here.
20668         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
20669         * sysdeps/pthread/posix-timer.h: ... here.
20670         * nptl/sysdeps/pthread/timer_create.c: Moved ...
20671         * sysdeps/pthread/timer_create.c: ... here.
20672         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
20673         * sysdeps/pthread/timer_delete.c: ... here.
20674         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
20675         * sysdeps/pthread/timer_getoverr.c: ... here.
20676         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
20677         * sysdeps/pthread/timer_gettime.c: ... here.
20678         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
20679         * sysdeps/pthread/timer_routines.c: ... here.
20680         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
20681         * sysdeps/pthread/timer_settime.c: ... here.
20682         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
20683         * sysdeps/pthread/tst-timer.c: ... here.
20684         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
20685         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
20687         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
20688         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
20690         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
20691         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
20692         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
20693         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
20694         Update #include target.
20695         * nptl/sysdeps/i386/i686/Makefile: Moved ...
20696         * sysdeps/i386/i686/nptl/Makefile: ... here.
20697         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
20698         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
20699         Update #include target.
20700         * nptl/sysdeps/i386/i686/tls.h: Moved ...
20701         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
20702         * nptl/sysdeps/i386/Makefile: Moved ...
20703         * sysdeps/i386/nptl/Makefile: ... here.
20704         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
20705         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
20706         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
20707         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
20708         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
20709         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
20710         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
20711         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
20712         * sysdeps/i386/nptl/pthreaddef.h: ... here.
20713         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
20714         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
20715         * nptl/sysdeps/i386/tls.h: Moved ...
20716         * sysdeps/i386/nptl/tls.h: ... here.
20718         * sysdeps/sh/Makefile [$(subdir) = csu]
20719         (gen-as-const-headers): Add tcb-offsets.sym.
20720         * nptl/sysdeps/sh/Makefile: File removed.
20721         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
20722         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
20723         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
20724         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
20725         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
20726         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
20727         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
20728         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
20729         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
20730         * sysdeps/sh/nptl/pthreaddef.h: ... here.
20731         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
20732         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
20733         * nptl/sysdeps/sh/tls.h: Moved ...
20734         * sysdeps/sh/nptl/tls.h: ... here.
20735         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
20736         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
20737         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
20738         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
20739         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
20740         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
20741         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
20742         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
20743         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
20744         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
20745         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
20746         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
20747         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
20748         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
20749         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
20750         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
20751         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
20752         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
20753         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
20754         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
20755         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
20756         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
20757         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
20758         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
20759         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
20760         Moved ...
20761         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
20762         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
20763         Moved ...
20764         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
20765         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
20766         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
20767         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
20768         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
20769         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
20770         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
20771         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
20772         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
20773         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
20774         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
20775         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
20776         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
20777         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
20778         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
20779         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
20780         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
20781         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
20782         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
20784 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
20786         * posix/spawn_faction_addopen.c: Include string.h.
20788 2014-06-11  Roland McGrath  <roland@hack.frob.com>
20790         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
20791         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
20792         * nptl/sysdeps/x86_64/Makefile: Moved ...
20793         * sysdeps/x86_64/nptl/Makefile: ... here.
20794         * nptl/sysdeps/x86_64/configure: Moved ...
20795         * sysdeps/x86_64/nptl/configure: ... here.
20796         * nptl/sysdeps/x86_64/configure.ac: Moved ...
20797         * sysdeps/x86_64/nptl/configure.ac: ... here.
20798         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
20799         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
20800         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
20801         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
20802         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
20803         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
20804         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
20805         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
20806         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
20807         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
20808         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
20809         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
20810         * nptl/sysdeps/x86_64/tls.h: Moved ...
20811         * sysdeps/x86_64/nptl/tls.h: ... here.
20812         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
20813         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
20814         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
20815         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
20817         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
20819 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20821         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20823 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
20825         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
20826         type.
20827         [POSIX] (off_t): Likewise.
20828         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
20829         [POSIX] (S_ISBLK): Require macro.
20830         [POSIX] (S_ISCHR): Likewise.
20831         [POSIX] (S_ISDIR): Likewise.
20832         [POSIX] (S_ISFIFO): Likewise.
20833         [POSIX] (S_ISREG): Likewise.
20834         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
20835         optional-macro.
20836         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
20837         type.
20838         [POSIX] (time_t): Likewise.
20839         [POSIX] (timer_t): Likewise.
20841 2014-06-11  Florian Weimer  <fweimer@redhat.com>
20843         [BZ #17048]
20844         * posix/spawn_int.h (struct __spawn_action): Make the path string
20845         non-const to support deallocation.
20846         * posix/spawn_faction_addopen.c
20847         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
20848         * posix/spawn_faction_destroy.c
20849         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
20850         path in all spawn_do_open actions.
20851         * posix/tst-spawn.c (do_test): Exercise the copy operation in
20852         posix_spawn_file_actions_addopen.
20854 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
20856         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
20857         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
20858         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
20859         conditional code always true.
20860         (__libc_vfork): New alias.
20862 2014-06-11  Roland McGrath  <roland@hack.frob.com>
20864         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
20865         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
20867         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
20869         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
20870         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
20872         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
20873         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
20875         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
20876         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
20878 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
20880         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
20881         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
20882         multiarch strcmp for PPC64.
20883         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
20884         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
20885         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
20886         multiarch optimizations.
20887         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20888         (__libc_ifunc_impl_list): Likewise.
20890 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
20892         * benchtests/scripts/validate_benchout.py: New script.
20893         * benchtests/Makefile (bench-func): Call it.
20894         * benchtests/scripts/benchout.schema.json: New file.
20896 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
20898         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
20899         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
20900         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
20901         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
20902         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
20903         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
20904         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
20905         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
20906         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
20907         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
20908         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
20909         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
20910         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
20911         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
20912         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
20913         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
20914         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
20915         Moved ...
20916         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
20917         ... here.
20918         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
20919         Moved ...
20920         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
20921         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
20922         Moved ...
20923         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
20924         ... here.
20925         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
20926         Moved ...
20927         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
20928         ... here.
20929         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
20930         Moved ...
20931         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
20932         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
20933         Moved ...
20934         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
20935         ... here.
20936         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
20937         Moved ...
20938         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
20939         ... here.
20940         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
20941         Moved ...
20942         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
20943         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
20944         Moved ...
20945         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
20946         ... here.
20947         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
20948         Moved ...
20949         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
20950         ... here.
20951         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
20952         Moved ...
20953         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
20954         ... here.
20955         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
20956         Moved ...
20957         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
20958         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
20959         Moved ...
20960         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
20961         ... here.
20962         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
20963         Moved ...
20964         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
20965         ... here.
20966         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
20967         Moved ...
20968         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
20969         ... here.
20970         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
20971         Moved ...
20972         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
20973         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
20974         Moved ...
20975         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
20976         ... here.
20977         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
20978         Moved ...
20979         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
20980         ... here.
20981         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
20982         Moved ...
20983         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
20984         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
20985         Moved ...
20986         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
20987         ... here.
20988         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
20989         Moved ...
20990         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
20991         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
20992         Moved ...
20993         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
20994         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
20995         Moved ...
20996         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
20997         ... here.
20998         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
20999         Moved ...
21000         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
21001         ... here.
21002         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
21003         Moved ...
21004         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
21005         ... here.
21006         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
21007         Moved ...
21008         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
21009         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
21010         Moved ...
21011         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
21012         ... here.
21013         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
21014         Moved ...
21015         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
21016         ... here.
21017         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
21018         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
21019         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
21020         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
21021         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
21022         Moved ...
21023         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
21024         ... here.
21025         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
21026         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
21027         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
21028         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
21029         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
21030         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
21031         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
21032         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
21033         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
21034         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
21035         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
21036         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
21037         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
21038         Moved ...
21039         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
21040         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
21041         Moved ...
21042         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
21043         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
21044         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
21045         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
21046         Moved ...
21047         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
21048         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
21049         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
21050         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
21051         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
21052         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
21053         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
21055 2014-06-10  Wilco  <wdijkstr@arm.com>
21057         * math/test-fenv-return.c: New file.
21058         * math/Makefile: Add new test test-fenv-return.
21060 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
21062         [BZ #17042]
21063         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
21064         when x - 1 is zero.
21065         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
21066         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
21067         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
21068         0.0L for an argument of 1.0L.
21069         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
21070         Likewise.
21071         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
21072         value when x - 1 is zero.
21073         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
21074         * sysdeps/i386/fpu/libm-test-ulps: Update.
21075         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21077 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
21079         [BZ #15119]
21080         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
21082 2014-06-09  Roland McGrath  <roland@hack.frob.com>
21084         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
21085         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
21087 2014-06-09  Roland McGrath  <roland@hack.frob.com>
21089         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
21090         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
21092         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
21093         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
21095         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
21096         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
21098         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
21099         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
21101         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
21102         if not already defined.
21103         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
21104         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
21105         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
21106         (TLS_INIT_TP): Use it.
21107         (TLS_DEFINE_INIT_TP): New macro.
21108         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
21110 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
21112         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
21113         constant.
21114         [POSIX] (IXANY): Likewise.
21115         [POSIX] (OLCUC): Likewise.
21116         [POSIX || POSIX2008] (CBAUD): Do not allow.
21117         [POSIX || POSIX2008] (DEFECHO): Likewise.
21118         [POSIX || POSIX2008] (ECHOCTL): Likewise.
21119         [POSIX || POSIX2008] (ECHOKE): Likewise.
21120         [POSIX || POSIX2008] (ECHOPRT): Likewise.
21121         [POSIX || POSIX2008] (EXTA): Likewise.
21122         [POSIX || POSIX2008] (EXTB): Likewise.
21123         [POSIX || POSIX2008] (FLUSHO): Likewise.
21124         [POSIX || POSIX2008] (LOBLK): Likewise.
21125         [POSIX || POSIX2008] (PENDIN): Likewise.
21126         [POSIX || POSIX2008] (SWTCH): Likewise.
21127         [POSIX || POSIX2008] (VDISCARD): Likewise.
21128         [POSIX || POSIX2008] (VDSUSP): Likewise.
21129         [POSIX || POSIX2008] (VLNEXT): Likewise.
21130         [POSIX || POSIX2008] (VREPRINT): Likewise.
21131         [POSIX || POSIX2008] (VSTATUS): Likewise.
21132         [POSIX || POSIX2008] (VWERASE): Likewise.
21133         (B*): Change to B[0123456789]*.
21134         * conform/data/time.h-data [POSIX || UNIX98]
21135         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
21136         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
21137         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
21138         [POSIX] (tm_*): Do not allow.
21140 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
21142         * Makefile (install): Don't set LANGUAGE.
21143         * Makefile.in (install): Likewise.
21144         * assert/Makefile (test-assert-ENV): Remove variable.
21145         (test-assert-perr-ENV): Likewise.
21146         * elf/Makefile (neededtest4-ENV): Likewise.
21147         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
21148         [$(cross-compiling) = no]: Don't set LANGUAGE.
21149         * io/ftwtest-sh (LANG): Remove variable.
21150         * libio/Makefile (tst-widetext-ENV): Likewise.
21151         * manual/install.texi (Running make install): Don't refer to
21152         environment settings for make install.
21153         * INSTALL: Regenerated.
21154         * nptl/tst-tls6.sh: Don't set LANG.
21155         * posix/globtest.sh (LANG): Remove variable.
21156         * string/Makefile (tester-ENV): Likewise.
21157         (inl-tester-ENV): Likewise.
21158         (noinl-tester-ENV): Likewise.
21159         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
21160         [$(cross-compiling) = no]: Don't set LANGUAGE.
21161         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
21162         without explicit environment settings.
21164 2014-06-06  Roland McGrath  <roland@hack.frob.com>
21166         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
21167         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
21168         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
21169         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
21171 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
21173         * crypt/crypt-private.h [DOS]: Add some includes taken from the
21174         other files in the crypt directory.
21175         * crypt/crypt.c: Remove duplicate includes.
21176         * crypt/crypt-entry.c: Likewise.
21177         * crypt/crypt_util.c: Likewise.
21179 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
21181         * Makeconfig (run-program-env): New variable.
21182         (run-program-prefix-before-env): Likewise.
21183         (run-program-prefix-after-env): Likewise.
21184         (run-program-prefix): Define in terms of new variables.
21185         (built-program-cmd-before-env): New variable.
21186         (built-program-cmd-after-env): Likewise.
21187         (built-program-cmd): Define in terms of new variables.
21188         (test-program-prefix-before-env): New variable.
21189         (test-program-prefix-after-env): Likewise.
21190         (test-program-prefix): Define in terms of new variables.
21191         (test-program-cmd-before-env): New variable.
21192         (test-program-cmd-after-env): Likewise.
21193         (test-program-cmd): Define in terms of new variables.
21194         * Rules (make-test-out): Use $(run-program-env).
21195         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
21196         (help): Do not mention environment variables.  Mention
21197         --timeoutfactor option.
21198         (timeoutfactor): New variable.
21199         (blacklist_exports): Remove function.
21200         (exports): Remove variable.
21201         (command): Do not include ${exports}.
21202         * manual/install.texi (Configuring and compiling): Do not mention
21203         test wrappers preserving environment variables.  Mention that last
21204         assignment to a variable must take precedence.
21205         * INSTALL: Regenerated.
21206         * benchtests/Makefile (run-bench): Use $(run-program-env).
21207         * catgets/Makefile ($(objpfx)test1.cat): Use
21208         $(built-program-cmd-before-env), $(run-program-env) and
21209         $(built-program-cmd-after-env).
21210         ($(objpfx)test2.cat): Do not specify environment variables
21211         explicitly.
21212         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
21213         $(run-program-env) and $(built-program-cmd-after-env).
21214         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
21215         $(run-program-env) and $(test-program-cmd-after-env).
21216         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
21217         explicitly.
21218         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
21219         run_program_env and test_program_cmd_after_env arguments.
21220         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
21221         * elf/tst-pathopt.sh: Use run_program_env argument.
21222         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
21223         $(test-wrapper-env) and $(run-program-env).
21224         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
21225         run_program_env arguments.
21226         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
21227         * intl/Makefile ($(objpfx)tst-gettext.out): Use
21228         $(test-program-prefix-before-env), $(run-program-env) and
21229         $(test-program-prefix-after-env).
21230         ($(objpfx)tst-gettext2.out): Likewise.
21231         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
21232         run_program_env and test_program_prefix_after_env arguments.
21233         * intl/tst-gettext2.sh: Likewise.
21234         * intl/tst-gettext4.sh: Do not set environment variables
21235         explicitly.
21236         * intl/tst-gettext6.sh: Likewise.
21237         * intl/tst-translit.sh: Likewise.
21238         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
21239         $(test-program-prefix-before-env), $(run-program-env) and
21240         $(test-program-prefix-after-env).
21241         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
21242         run_program_env and test_program_prefix_after_env arguments.
21243         * math/Makefile (run-regen-ulps): Use $(run-program-env).
21244         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
21245         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
21246         explicitly with each use of ${test_wrapper_env}.
21247         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
21248         $(test-program-prefix-before-env), $(run-program-env) and
21249         $(test-program-prefix-after-env).
21250         * posix/tst-getconf.sh: Do not set environment variables
21251         explicitly.
21252         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
21253         run_program_env and test_program_prefix_after_env arguments.
21254         * stdio-common/tst-printf.sh: Do not set environment variables
21255         explicitly.
21256         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
21257         $(test-program-prefix-before-env), $(run-program-env) and
21258         $(test-program-prefix-after-env).
21259         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
21260         run_program_env and test_program_prefix_after_env arguments.
21261         Split $test calls into $test_pre and $test.
21262         * timezone/Makefile (build-testdata): Use
21263         $(built-program-cmd-before-env), $(run-program-env) and
21264         $(built-program-cmd-after-env).
21266 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21268         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
21269         strlen for non SHARED builds.
21271 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
21273         * nptl/allocatestack.c (check_list): Inlined function...
21274         (__reclaim_stacks): ... here.
21276 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
21278         [BZ #15698]
21279         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
21280         memory overrun.
21282 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
21284         * Rules (make-test-out): Include
21285         LOCPATH=$(common-objpfx)localedata in default environment.
21286         * debug/Makefile (tst-chk1-ENV): Remove variable.
21287         (tst-chk2-ENV): Likewise.
21288         (tst-chk3-ENV): Likewise.
21289         (tst-chk4-ENV): Likewise.
21290         (tst-chk5-ENV): Likewise.
21291         (tst-chk6-ENV): Likewise.
21292         (tst-lfschk1-ENV): Likewise.
21293         (tst-lfschk2-ENV): Likewise.
21294         (tst-lfschk3-ENV): Likewise.
21295         (tst-lfschk4-ENV): Likewise.
21296         (tst-lfschk5-ENV): Likewise.
21297         (tst-lfschk6-ENV): Likewise.
21298         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
21299         (tst-iconv7-ENV): Likewise.
21300         * intl/Makefile (LOCPATH-ENV): Likewise.
21301         (tst-codeset-ENV): Likewise.
21302         (tst-gettext3-ENV): Likewise.
21303         (tst-gettext5-ENV): Likewise.
21304         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
21305         (tst-fopenloc-ENV): Likewise.
21306         (tst-fgetws-ENV): Remove variable.
21307         (tst-ungetwc1-ENV): Likewise.
21308         (tst-ungetwc2-ENV): Likewise.
21309         (bug-ungetwc2-ENV): Likewise.
21310         (tst-swscanf-ENV): Likewise.
21311         (bug-ftell-ENV): Likewise.
21312         (tst-fgetwc-ENV): Likewise.
21313         (tst-fseek-ENV): Likewise.
21314         (tst-ftell-partial-wide-ENV): Likewise.
21315         (tst-ftell-active-handler-ENV): Likewise.
21316         (tst-ftell-append-ENV): Likewise.
21317         * posix/Makefile (tst-fnmatch-ENV): Likewise.
21318         (tst-regexloc-ENV): Likewise.
21319         (bug-regex1-ENV): Likewise.
21320         (tst-regex-ENV): Likewise.
21321         (tst-regex2-ENV): Likewise.
21322         (bug-regex5-ENV): Likewise.
21323         (bug-regex6-ENV): Likewise.
21324         (bug-regex17-ENV): Likewise.
21325         (bug-regex18-ENV): Likewise.
21326         (bug-regex19-ENV): Likewise.
21327         (bug-regex20-ENV): Likewise.
21328         (bug-regex22-ENV): Likewise.
21329         (bug-regex23-ENV): Likewise.
21330         (bug-regex25-ENV): Likewise.
21331         (bug-regex26-ENV): Likewise.
21332         (bug-regex30-ENV): Likewise.
21333         (bug-regex32-ENV): Likewise.
21334         (bug-regex33-ENV): Likewise.
21335         (bug-regex34-ENV): Likewise.
21336         (bug-regex35-ENV): Likewise.
21337         (tst-rxspencer-ENV): Likewise.
21338         (tst-rxspencer-no-utf8-ENV): Likewise.
21339         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
21340         (tst-sscanf-ENV): Likewise.
21341         (tst-swprintf-ENV): Likewise.
21342         (tst-swscanf-ENV): Likewise.
21343         (test-vfprintf-ENV): Likewise.
21344         (scanf13-ENV): Likewise.
21345         (bug14-ENV): Likewise.
21346         (tst-grouping-ENV): Likewise.
21347         * stdlib/Makefile (tst-strtod-ENV): Likewise.
21348         (tst-strtod3-ENV): Likewise.
21349         (tst-strtod4-ENV): Likewise.
21350         (tst-strtod5-ENV): Likewise.
21351         (testmb2-ENV): Likewise./
21352         * string/Makefile (tst-strxfrm-ENV): Likewise.
21353         (tst-strxfrm2-ENV): Likewise.
21354         (bug-strcoll1-ENV): Likewise.
21355         (test-strcasecmp-ENV): Likewise.
21356         (test-strncasecmp-ENV): Likewise.
21357         * time/Makefile (tst-strptime-ENV): Likewise.
21358         (tst-ftime_l-ENV): Likewise.
21359         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
21360         (tst-mbrtowc-ENV): Likewise.
21361         (tst-wcrtomb-ENV): Likewise.
21362         (tst-mbrtowc2-ENV): Likewise.
21363         (tst-c16c32-1-ENV): Likewise.
21364         (tst-mbsnrtowcs-ENV): Likewise.
21366 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
21368         * manual/resource.texi (How to get information about the memory
21369         subsystem?): Fix typo.
21370         Reported by Peon de la Parra Ivan <peon@keba.com>
21372 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
21374         [BZ #16882]
21375         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
21376         (pthread_spin_lock): Branch out of spin loop to proper location.
21377         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
21378         (pthread_spin_lock): Likewise.
21380         * nptl/tst-spin4.c: New test.
21381         * nptl/Makefile (tests): Add tst-spin4.
21383 2014-06-03  Andreas Schwab  <schwab@suse.de>
21385         [BZ #15946]
21386         * resolv/res_send.c (send_dg): Reload file descriptor after
21387         calling reopen.
21389 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
21391         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
21393 2014-06-03  Richard Henderson  <rth@redhat.com>
21395         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
21396         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
21397         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
21398         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
21399         in the SAVE_PID block.
21400         (__libc_vfork): New alias.
21401         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
21403         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
21404         child in registers, not on the stack.  Remove RESET_PID conditionals.
21405         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
21407 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
21409         * sysdeps/aarch64/libm-test-ulps: Regenerate.
21411 2014-06-03  Wilco  <wdijkstr@arm.com>
21413         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
21414         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
21415         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
21416         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
21417         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
21418         Likewise.
21420 2014-06-03  Wilco  <wdijkstr@arm.com>
21422         * sysdeps/aarch64/fpu/math_private.h
21423         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
21424         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
21425         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
21426         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
21427         Fix declarations.
21429 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
21431         * crypt/crypt-private.h: Include ufc-crypt.h.
21432         (__b64_from_24bit): Declare extern.
21433         * crypt/crypt_util.c(__b64_from_24bit): New function.
21434         (b64t): New static const variable.
21435         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
21436         (b64t): Remove variable.
21437         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
21438         * crypt/sha256-crypt.c: Include crypt-private.h.
21439         (b64t): Remove variable.
21440         (__sha256_crypt_r): Remove b64_from_24bit and replace
21441         with __b64_from_24bit.
21442         * crypt/sha512-crypt.c: Likewise.
21444 2014-06-02  Roland McGrath  <roland@hack.frob.com>
21446         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
21447         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
21448         Label the code __libc_vfork rather than __vfork.
21449         [!NOT_IN_libc] (vfork): Define as weak alias.
21450         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
21451         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
21452         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
21454 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
21456         * malloc/malloc.c (malloc_info): Fix format specifier for
21457         n_mmaps.
21459 2014-06-02  Wilco  <wdijkstr@arm.com>
21461         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
21462         FPCR write.
21464 2014-06-02  Wilco  <wdijkstr@arm.com>
21466         [BZ #17009]
21467         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
21468         Rewrite to reduce FPCR/FPSR accesses.
21470 2014-06-01  David S. Miller  <davem@davemloft.net>
21472         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21474 2014-05-31  David S. Miller  <davem@davemloft.net>
21476         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
21477         to occur in round to nearest mode when |x| >= 2.0
21479 2014-05-30  Richard Henderson  <rth@twiddle.net>
21481         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
21482         (PSEUDO_RET_NOERRNO): Remove.
21483         (ret): Don't redefine.
21484         (ret_NOERRNO): Define in terms of ret.
21485         (ret_ERRVAL): Likewise.
21487         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
21488         use of PSEUDO_RET; perform the error check directly.
21490 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
21492         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
21493         with __int128_t.
21495 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
21497         * malloc/malloc (malloc_info): Fix formatting.
21499 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
21500             Roland McGrath  <roland@hack.frob.com>
21502         * malloc/malloc (malloc_info): Also print mmapped statistics.
21504 2014-05-30  Roland McGrath  <roland@hack.frob.com>
21506         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
21507         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
21509 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
21511         * malloc/malloc.c (malloc_info): Inline mi_arena.
21513 2014-05-29  Richard Henderson  <rth@twiddle.net>
21515         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
21516         Remove comma before expanding ASM_ARGS_##nr.
21517         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
21518         Make _x0 a strict output; make _x8 a strict input; adjust expansion
21519         of ASM_ARGS_##nr.
21520         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
21521         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
21522         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
21523         (ASM_ARGS_1): Add leading comma.
21525         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
21526         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
21527         to __errno_location.
21528         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
21529         Remove the expected plt for __errno_location.
21531         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
21532         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
21533         call to __read_tp.
21535         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
21536         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
21537         it and break it down.
21538         (DOCARGS_0, DOCARGS_1): Do nothing.
21539         (DOCARGS_2): Update to store into the new stack frame.
21540         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
21541         (UNDOCARGS_1): Update to restore from the new stack frame.
21542         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
21543         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
21545         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
21546         (SINGLE_THREAD_P): New parameter for result regno.
21547         (PSEUDO): Update to match; use cbz instead of beq.
21549         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
21550         Use ENTRY to define the _nocancel entry point.  Share the syscall
21551         and syscall error check paths with the cancel path.
21552         (PSEUDO_END): New.
21554         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
21555         whitespace; tabs before and after asm mnemonics.
21557 2014-05-29  Eric Wong  <normalperson@yhbt.net>
21559         [BZ #15132]
21560         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21561         Call fstat64 or stat64 internally, depending on arguments passed.
21562         Replace stat buffer argument with file descriptor argument.
21563         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
21564         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
21565         Pass fd to __internal_statvfs instead of calling fstat64.
21566         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
21567         Pass fd to __internal_statvfs64 instead of calling fstat64.
21568         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
21569         Pass -1 to __internal_statvfs instead of calling stat64.
21570         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
21571         Pass -1 to __internal_statvfs64 instead of calling stat64.
21573 2014-05-28  Roland McGrath  <roland@hack.frob.com>
21575         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
21576         that was previously under [RESET_PID].
21577         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
21579         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
21580         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
21582 2014-05-27  Roland McGrath  <roland@hack.frob.com>
21584         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
21586         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
21587         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
21589 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
21591         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
21593 2014-05-27  Andreas Schwab  <schwab@suse.de>
21595         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
21596         TLS_INIT_TP macro.
21597         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
21598         * elf/rtld.c (init_tls, dl_main): Likewise.
21599         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
21600         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
21601         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
21602         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
21603         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
21604         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
21605         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
21606         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
21607         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
21608         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
21609         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
21610         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
21611         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
21612         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
21613         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
21614         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
21615         * sysdeps/generic/tls.h: Update description.
21617 2014-05-27  Will Newton  <will.newton@linaro.org>
21619         [BZ #16990]
21620         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
21621         and restore r2 rather than just restoring.
21623 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
21625         [BZ #16724]
21626         * libio/tst-ftell-append.c: New test case.
21627         * libio/Makefile (tests): Add test case.
21628         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
21629         append mode.
21630         * libio/wfileops.c (do_ftell_wide): Likewise.
21632 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21634         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21636         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
21637         ...
21638         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
21639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
21640         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
21641         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
21642         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
21643         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
21644         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
21645         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
21646         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
21647         Moved ...
21648         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
21649         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
21650         Moved ...
21651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
21652         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
21653         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
21654         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
21655         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
21656         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
21657         ...
21658         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
21659         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
21660         Moved ...
21661         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
21662         here.
21663         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
21664         ...
21665         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
21666         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
21667         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
21669         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
21670         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
21671         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
21672         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
21674         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
21675         merge into ...
21676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
21677         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
21678         ...
21679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
21680         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
21681         ...
21682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
21683         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
21684         Moved ...
21685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
21686         here.
21687         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
21688         Moved ...
21689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
21690         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
21691         Moved ...
21692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
21694         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
21695         conditional [RESET_PID].
21696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
21697         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
21698         removed.
21699         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
21700         removed.
21702         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
21703         <tcb-offsets.h>.
21704         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
21705         (__libc_vfork): New strong alias.
21706         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
21707         removed.
21708         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
21709         Removed.
21711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
21712         <tcb-offsets.h>.
21713         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
21714         (__libc_vfork): New strong alias.
21715         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
21716         removed.
21717         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
21718         removed.
21720 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
21722         * malloc/malloc.c (mi_arena): New function.
21723         (malloc_info): Remove nested function mi_arena. Call non-nosted
21724         function mi_arena.
21726 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21728         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
21729         by insrwi.
21730         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
21731         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
21732         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
21733         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
21734         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
21735         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
21736         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
21738 2014-05-26  Andreas Schwab  <schwab@suse.de>
21740         [BZ #16984]
21741         * locale/programs/repertoire.c (repertoire_read): Add slash
21742         between I18NPATH element and file name.
21743         * locale/programs/locfile.c (locfile_read): Likewise.
21745 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
21747         * nptl/pthread_mutexattr_settype.c
21748         (__pthread_mutexattr_settype):
21749         Disable lock elision for PTHREAD_MUTEX_NORMAL.
21751 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
21753         * nptl/tst-mutex5 (do_test):
21754         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
21756 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
21758         * benchtests/README: Document 'init' directive.
21759         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
21760         BENCH_INIT.
21761         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
21762         (parse_file): Recognize 'init' directive.
21764 2014-05-26  Kyle McMartin  <kyle@redhat.com>
21766         [BZ #16796]
21767         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
21768         alignment of struct pthread.
21770 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
21772         [BZ #16878]
21773         * nscd/netgroupcache.c (addgetnetgrentX): Look for
21774         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
21775         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
21776         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
21778 2014-05-25  Richard Henderson  <rth@twiddle.net>
21780         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
21781         (SINGLE_THREAD_P_PIC): Remove.
21782         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
21783         (SINGLE_THREAD_P_PIC): Remove.
21785         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
21786         branch to syscall error ...
21787         (PSEUDO): ... here.
21788         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
21789         from __local_syscall_error to .Lsyscall_error.
21790         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
21791         (SYSCALL_ERROR): Update label name.
21793         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
21794         Do not use DOARGS/UNDOARGS.
21795         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
21796         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
21797         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
21798         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
21799         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
21801         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
21802         block comment.
21804         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
21805         define if !NOT_IN_libc.
21806         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
21807         define with non-default symbol versions.
21809 2014-05-23  Richard Henderson  <rth@twiddle.net>
21811         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
21812         (vfork, __vfork): Define via compat_symbol.
21814         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
21815         [!HAVE_IFUNC] (vfork_compat): Remove.
21816         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
21818 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
21820         [BZ #16978]
21821         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
21822         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
21823         variable.
21825 2014-05-23  Richard Henderson  <rth@twiddle.net>
21827         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
21828         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
21829         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
21830         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
21832         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
21833         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
21834         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
21835         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
21836         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
21837         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
21838         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
21839         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
21840         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
21841         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
21842         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
21843         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
21844         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
21845         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
21846         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
21847         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
21848         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
21849         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
21850         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
21851         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
21852         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
21853         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
21854         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
21855         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
21856         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
21857         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
21858         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
21859         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
21860         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
21861         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
21862         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
21863         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
21864         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
21865         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
21866         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
21867         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
21868         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
21869         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
21870         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
21871         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
21872         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
21873         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
21874         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
21875         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
21876         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
21877         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
21878         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
21879         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
21880         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
21881         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
21882         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
21883         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
21884         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
21885         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
21886         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
21887         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
21889         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
21890         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
21891         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
21892         before exiting on error.
21893         (__libc_vfork): New strong alias.
21894         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
21895         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
21897         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
21898         that was previously under [RESET_PID].
21899         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
21901         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
21903 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
21905         [BZ #16977]
21906         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
21907         value when x - 1 is zero.
21908         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
21909         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
21910         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
21911         0.0L for an argument of 1.0L.
21912         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
21913         Likewise.
21914         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
21915         value when x - 1 is zero.
21916         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
21917         * sysdeps/i386/fpu/libm-test-ulps: Update.
21918         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21920 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
21922         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
21923         alphasort and versionsort.
21925 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21927         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
21928         macro.
21929         [copysignf]: Likewise.
21931 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
21933         * crypt/md5-crypt.c: Fix formatting.
21935 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
21937         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
21938         (b64_from_24bit): New function.
21940 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21942         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
21943         libc_hidden_builtin_def to ifunc.
21944         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
21945         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
21947 2014-05-21  Roland McGrath  <roland@hack.frob.com>
21949         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
21950         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
21952 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
21954         * nscd/Depend (linuxthreads): Remove.
21955         (nptl): Add.
21956         * resolv/Depend (linuxthreads): Remove.
21957         * rt/Depend (linuxthreads): Remove.
21959         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
21960         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
21961         $(common-objpfx)elf/.
21962         (link-libc-before-gnulib): Likewise.
21963         (elfobjdir): Remove variable.
21964         * Makefile (install): Use $(elf-objpfx) instead of
21965         $(common-objpfx)elf/.
21966         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
21967         $(elfobjdir)/.
21968         (link-libc-deps): Likewise.
21969         ($(common-objpfx)libc.so): Likewise.
21970         ($(common-objpfx)linkobj/libc.so): Likewise.
21971         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
21972         instead of $(common-objpfx)elf/.
21973         (symbolic-link-list): Likewise.
21974         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
21975         [$(cross-compiling) = no]: Likewise.
21976         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
21977         $(elfobjdir)/.
21978         (static-gnulib-arch): Likewise.
21979         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
21980         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
21981         $(common-objpfx)elf/.
21983 2014-05-21  Richard Henderson  <rth@redhat.com>
21985         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
21986         (SINGLE_THREAD_P): Use the correct width load.  Fold
21987         into the ldr offset.
21989         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
21990         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
21992 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
21994         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
21995         (libgcc_s_resume): Use __attribute_used__.
21996         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
21997         Likewise.
21999 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22001         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
22002         optimization when used with float constants.
22004         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22006 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
22008         [BZ #16915]
22009         * locale/nl_langinfo_l.c: Make direct reference to every
22010         _nl_current_CATEGORY symbol.
22011         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
22012         (tests-static): Add tst-langinfo-static.
22013         (tests-special): Add tst-langinfo-static.out.
22014         ($(objpfx)tst-langinfo.out): Redirect output.
22015         ($(objpfx)tst-langinfo-static.out): New.
22016         * localedata/tst-langinfo.sh: Send output to stdout.
22017         * localedata/tst-langinfo-static.c: New file.
22019         [BZ #16965]
22020         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
22021         when the shift amount is modulo the limb size.
22023 2014-05-20  Richard Henderson  <rth@redhat.com>
22025         [BZ #16967]
22026         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
22027         Change type of sa_flags from unsigned int to int.
22029         [BZ #16966]
22030         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
22032         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
22034 2014-05-20  Will Newton  <will.newton@linaro.org>
22036         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
22037         Test the return value of the system call in the nocancel case.
22039 2014-05-20  Will Newton  <will.newton@linaro.org>
22040             Yvan Roux  <yvan.roux@linaro.org>
22042         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
22043         #include of asm/ptrace.h.
22044         (PTRACE_GET_THREAD_AREA): Remove #undef.
22045         (PTRACE_GETHBPREGS): Likewise.
22046         (PTRACE_SETHBPREGS): Likewise.
22047         (struct user_regs_struct): New structure.
22048         (struct user_fpsimd_struct): New structure.
22049         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
22050         #include of asm/ptrace.h and second #include of sys/user.h.
22051         (PTRACE_GET_THREAD_AREA): Remove #undef.
22052         (PTRACE_GETHBPREGS): Likewise.
22053         (PTRACE_SETHBPREGS): Likewise.
22054         (ELF_NGREG): Use new struct user_regs_struct.
22055         (elf_fpregset_t): Use new struct user_fpsimd_struct.
22057 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22059         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
22060         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
22062 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
22064         [BZ #16958]
22065         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
22066         membar to avoid block loads/stores to overlap previous stores.
22068 2014-05-17  Richard Henderson  <rth@redhat.com>
22070         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
22071         Create the __##syscall_name##_nocancel entry point.
22072         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
22073         Remove; let the sysdep-cancel.h code create it.
22075 2014-05-17  David S. Miller  <davem@davemloft.net>
22077         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
22078         Protect with __USE_GNU.
22079         (TIOCSET_TEMPT): Likewise.
22080         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
22081         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
22082         these are already provided in bits/ioctl-types.h
22084 2014-05-16  Roland McGrath  <roland@hack.frob.com>
22086         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
22087         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
22089         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
22090         Use wait4 regardless of [__NR_waitpid].
22092 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
22094         PR libgcc/60166
22095         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
22096         (_FP_NANSIGN_Q): Set the quiet bit.
22098 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
22100         * benchtests/Makefile
22101         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
22102         not $(common-objpfx)math/libm.so.
22103         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
22104         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
22105         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
22106         $(common-objpfx)dlfcn/libdl.so.
22107         ($(objpfx)tst-audit8): Depend on $(libm), not
22108         $(common-objpfx)math/libm.so.
22109         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
22110         not $(common-objpfx)dlfcn/libdl.so.
22111         * math/Makefile
22112         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
22113         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
22114         [$(build-shared) = yes].
22115         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
22116         $(common-objpfx)nptl/libpthread.so.
22117         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
22118         $(common-objpfx)math/libm.so$(libm.so-version) or
22119         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
22120         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
22121         $(common-objpfx)dlfcn/libdl.so.
22122         * setjmp/Makefile (link-libm): Remove variable.
22123         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
22124         * stdio-common/Makefile (link-libm): Remove variable.
22125         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
22126         * stdlib/Makefile (link-libm): Remove variable.
22127         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
22128         ($(objpfx)tst-strtod-round): Likewise.
22129         ($(objpfx)tst-tininess): Likewise.
22130         ($(objpfx)tst-strtod-underflow): Likewise.
22131         ($(objpfx)tst-strtod6): Likewise.
22132         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
22133         $(libdl), not $(common-objpfx)nptl/libpthread.so and
22134         $(common-objpfx)dlfcn/libdl.so.
22136 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22138         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
22139         BSD terminal modes definitions.
22141 2014-05-16  Roland McGrath  <roland@hack.frob.com>
22143         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
22144         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
22146         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
22147         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
22148         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
22149         Don't do #include_next.
22150         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
22151         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
22152         Don't do #include_next.
22153         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
22154         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
22155         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
22156         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
22158 2014-05-16  Allan McRae  <allan@archlinux.org>
22160         * po/sv.po: Update Swedish translation from translation project.
22162         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
22163         in sed expression.
22165 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
22167         [BZ #16917]
22168         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
22169         errno if the TIOCGPTN ioctl fails with an error different than
22170         EINVAL.
22171         * login/tst-ptsname.c: New file.
22172         * login/Makefile (tests): Add tst-ptsname.
22174         [BZ #16943]
22175         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
22176         and prlimit64.
22178 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22180         [BZ #16849]
22181         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
22182         herrno to return EAI_AGAIN.
22184 2014-05-14  Roland McGrath  <roland@hack.frob.com>
22186         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
22187         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
22188         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
22189         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
22190         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
22191         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
22192         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
22193         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
22194         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
22195         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
22196         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
22197         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
22198         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
22199         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
22200         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
22201         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
22202         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
22203         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
22204         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
22205         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
22206         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
22207         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
22208         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
22209         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
22210         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
22211         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
22212         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
22213         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
22214         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
22215         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
22216         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
22217         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
22218         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
22219         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
22220         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
22221         Moved ...
22222         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
22223         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
22224         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
22225         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
22226         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
22227         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
22228         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
22229         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
22230         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
22231         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
22232         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
22233         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
22234         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
22235         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
22236         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
22237         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
22238         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
22239         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
22240         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
22241         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
22242         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
22243         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
22244         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
22245         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
22246         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
22247         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
22248         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
22249         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
22250         Moved ...
22251         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
22252         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
22253         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
22254         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
22255         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
22256         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
22257         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
22258         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
22259         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
22260         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
22261         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
22262         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
22263         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
22264         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
22265         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
22266         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
22267         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
22268         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
22269         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
22270         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
22271         Moved ...
22272         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
22273         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
22274         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
22276         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
22277         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
22278         (libpthread-sysdep_routines): Add elision-related stuff here instead.
22279         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
22280         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
22281         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
22282         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
22283         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
22284         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
22285         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
22286         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
22287         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
22288         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
22289         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
22290         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
22291         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
22292         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
22293         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
22294         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
22295         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
22296         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
22297         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
22298         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
22299         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
22300         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
22301         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
22302         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
22303         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
22304         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
22305         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
22306         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
22308         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
22309         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
22311         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
22312         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
22313         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
22314         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
22315         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
22316         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
22317         Moved ...
22318         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
22319         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
22320         Moved ...
22321         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
22322         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
22323         Moved ...
22324         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
22325         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
22326         Moved ...
22327         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
22328         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
22329         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
22330         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
22331         Moved ...
22332         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
22333         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
22334         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
22335         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
22336         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
22337         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
22338         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
22339         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
22340         Moved ...
22341         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
22342         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
22343         Moved ...
22344         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
22345         ... here.
22346         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
22347         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
22348         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
22349         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
22350         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
22351         Moved ...
22352         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
22353         ... here.
22354         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
22355         Moved ...
22356         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
22357         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
22358         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
22359         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
22360         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
22361         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
22362         Moved ...
22363         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
22364         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
22365         Moved ...
22366         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
22367         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
22368         Moved ...
22369         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
22370         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
22371         Moved ...
22372         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
22373         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
22374         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
22375         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
22376         Moved ...
22377         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
22378         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
22379         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
22380         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
22381         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
22382         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
22383         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
22384         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
22385         Moved ...
22386         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
22387         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
22388         Moved ...
22389         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
22390         ... here.
22391         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
22392         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
22393         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
22394         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
22395         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
22396         Moved ...
22397         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
22398         ... here.
22399         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
22400         Moved ...
22401         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
22402         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
22403         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
22404         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
22405         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
22406         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
22407         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
22408         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
22409         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
22410         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
22411         Moved ...
22412         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
22413         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
22414         Moved ...
22415         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
22416         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
22417         Moved ...
22418         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
22419         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
22420         Moved ...
22421         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
22422         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
22423         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
22424         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
22425         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
22426         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
22427         Moved ...
22428         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
22429         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
22430         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
22431         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
22432         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
22433         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
22434         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
22435         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
22436         Moved ...
22437         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
22438         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
22439         Moved ...
22440         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
22441         ... here.
22442         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
22443         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
22444         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
22445         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
22446         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
22447         Moved ...
22448         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
22449         ... here.
22450         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
22451         Moved ...
22452         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
22453         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
22454         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
22455         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
22456         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
22457         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
22458         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
22459         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
22460         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
22461         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
22462         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
22464         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
22465         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
22467         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
22468         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
22470         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
22471         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
22472         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
22473         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
22474         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
22475         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
22476         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
22477         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
22478         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
22479         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
22480         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
22481         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
22482         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
22483         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
22484         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
22485         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
22486         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
22487         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
22488         Moved ...
22489         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
22490         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
22491         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
22492         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
22493         Moved ...
22494         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
22495         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
22496         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
22497         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
22498         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
22499         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
22500         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
22501         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
22502         Moved ...
22503         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
22504         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
22505         Moved ...
22506         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
22507         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
22508         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
22509         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
22510         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
22511         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
22512         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
22513         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
22514         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
22515         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
22516         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
22517         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
22518         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
22519         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
22520         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
22521         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
22522         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
22524         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
22525         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
22526         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
22527         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
22528         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
22530         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
22531         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
22532         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
22533         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
22534         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
22535         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
22536         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
22537         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
22538         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
22539         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
22541         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
22542         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
22544         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
22545         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
22546         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
22547         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
22548         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
22549         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
22550         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
22551         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
22552         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
22553         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
22554         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
22555         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
22556         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
22557         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
22558         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
22559         Update #include.
22560         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
22561         Likewise.
22562         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
22563         Likewise.
22564         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
22565         Likewise.
22566         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
22567         Likewise.
22568         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
22569         Likewise.
22570         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
22571         Likewise.
22572         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
22573         Likewise.
22574         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
22575         Likewise.
22576         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
22577         Likewise.
22578         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
22579         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
22580         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
22581         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
22582         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
22583         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
22584         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
22585         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
22586         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
22587         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
22588         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
22589         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
22590         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
22591         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
22592         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
22594         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
22595         that was previously under [RESET_PID].
22596         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
22597         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
22598         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
22600         * sysdeps/i386/nptl/Implies: New file.
22601         * sysdeps/x86_64/nptl/Implies: New file.
22602         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
22603         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
22604         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
22605         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
22607         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
22608         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
22609         (__libc_vfork): New strong alias.
22610         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
22611         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
22613         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
22614         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
22615         (__libc_vfork): New strong alias.
22616         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
22617         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
22619         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
22620         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
22621         (__libc_vfork): New strong alias.
22622         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
22623         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
22624         * nptl/pt-vfork.c: New file.
22625         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
22626         (libpthread: GLIBC_2.20): New version set (empty).
22628 2014-05-14  Will Newton  <will.newton@linaro.org>
22630         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
22631         rather than #if.
22633 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
22635         [BZ #16564]
22636         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
22637         arguments with exponent 65 or above.
22638         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
22639         arguments 0x1p113L or above.
22640         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
22641         to arguments 0x1p107L or above.
22642         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
22643         positive arguments with exponent 65 or above.
22644         * math/auto-libm-test-in: Add more tests of log1p.
22645         * math/auto-libm-test-out: Regenerated.
22647         [BZ #16928]
22648         * math/s_cacos.c (__cacos): Ensure zero real part of result from
22649         non-finite arguments is +0.
22650         * math/s_cacosf.c (__cacosf): Likewise.
22651         * math/s_cacosl.c (__cacosl): Likewise.
22652         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
22653         * sysdeps/i386/fpu/libm-test-ulps: Update.
22654         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22656         [BZ #16927]
22657         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
22658         value.
22659         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
22660         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
22661         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
22662         for explicit high bit of mantissa when testing for argument equal
22663         to 1.
22664         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
22665         * sysdeps/i386/fpu/libm-test-ulps: Update.
22666         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22668         [BZ #16516]
22669         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
22670         (__erf): Scale by 16 instead of 8 in potentially underflowing
22671         case.  Ensure exception if result actually underflows.
22672         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
22673         (__erff): Scale by 16 instead of 8 in potentially underflowing
22674         case.  Ensure exception if result actually underflows.
22675         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
22676         (efx8): Remove variable.
22677         (__erfl): Scale by 16 instead of 8 in potentially underflowing
22678         case.  Ensure exception if result actually underflows.
22679         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
22680         (efx8): Remove variable.
22681         (__erfl): Scale by 16 instead of 8 in potentially underflowing
22682         case.  Ensure exception if result actually underflows.
22683         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
22684         (efx8): Remove variable.
22685         (__erfl): Scale by 16 instead of 8 in potentially underflowing
22686         case.  Ensure exception if result actually underflows.
22687         * math/auto-libm-test-in: Add more tests of erf.
22688         * math/auto-libm-test-out: Regenerated.
22690 2014-05-14  Andreas Schwab  <schwab@suse.de>
22692         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
22693         Remove code conditionalized on USE___THREAD.
22695         * config.h.in (HAVE_PT_CHOWN): Define as 0.
22696         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
22697         not definedness.
22699 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
22701         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
22702         Define unconditionally.
22703         (__ASSUME_O_CLOEXEC): Likewise.
22704         (__ASSUME_SOCK_CLOEXEC): Likewise.
22705         (__ASSUME_IN_NONBLOCK): Likewise.
22706         (__ASSUME_PIPE2): Likewise.
22707         (__ASSUME_EVENTFD2): Likewise.
22708         (__ASSUME_SIGNALFD4): Likewise.
22709         (__ASSUME_DUP3): Likewise.
22710         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22711         (__ASSUME_DUP3): Do not define.
22712         (__ASSUME_EVENTFD2): Likewise.
22713         (__ASSUME_IN_NONBLOCK): Likewise.
22714         (__ASSUME_O_CLOEXEC): Likewise.
22715         (__ASSUME_PIPE2): Likewise.
22716         (__ASSUME_SIGNALFD4): Likewise.
22717         (__ASSUME_SOCK_CLOEXEC): Likewise.
22718         (__ASSUME_UTIMES): Undefine.
22719         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22720         (__ASSUME_UTIMES): Do not define.
22721         (__ASSUME_O_CLOEXEC): Likewise.
22722         (__ASSUME_SOCK_CLOEXEC): Likewise.
22723         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
22724         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
22725         0x020621].
22726         (__ASSUME_PIPE2): Likewise.
22727         (__ASSUME_EVENTFD2): Likewise.
22728         (__ASSUME_SIGNALFD4): Likewise.
22729         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
22730         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
22731         Do not define.
22732         (__ASSUME_EVENTFD2): Likewise.
22733         (__ASSUME_SIGNALFD4): Likewise.
22734         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
22735         (__ASSUME_32BITUIDS): Likewise.
22736         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
22737         (__ASSUME_IPC64): Likewise.
22738         (__ASSUME_ST_INO_64_BIT): Likewise.
22739         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
22740         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
22741         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22742         (__ASSUME_UTIMES): Do not define.
22743         (__ASSUME_PSELECT): Likewise.
22744         (__ASSUME_PPOLL): Likewise.
22745         (__ASSUME_O_CLOEXEC): Likewise.
22746         (__ASSUME_SOCK_CLOEXEC): Likewise.
22747         (__ASSUME_IN_NONBLOCK): Likewise.
22748         (__ASSUME_PIPE2): Likewise.
22749         (__ASSUME_EVENTFD2): Likewise.
22750         (__ASSUME_SIGNALFD4): Likewise.
22751         (__ASSUME_DUP3): Likewise.
22752         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
22753         (__ASSUME_UTIMES): Likewise.
22754         (__ASSUME_O_CLOEXEC): Likewise.
22755         (__ASSUME_SOCK_CLOEXEC): Likewise.
22756         (__ASSUME_IN_NONBLOCK): Likewise.
22757         (__ASSUME_PIPE2): Likewise.
22758         (__ASSUME_EVENTFD2): Likewise.
22759         (__ASSUME_SIGNALFD4): Likewise.
22760         (__ASSUME_DUP3): Likewise.
22761         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22762         (__ASSUME_UTIMES): Likewise.
22763         (__ASSUME_O_CLOEXEC): Likewise.
22764         (__ASSUME_SOCK_CLOEXEC): Likewise.
22765         (__ASSUME_IN_NONBLOCK): Likewise.
22766         (__ASSUME_PIPE2): Likewise.
22767         (__ASSUME_EVENTFD2): Likewise.
22768         (__ASSUME_SIGNALFD4): Likewise.
22769         (__ASSUME_DUP3): Likewise.
22770         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
22771         Likewise.
22772         (__ASSUME_UTIMES): Likewise.
22773         (__ASSUME_EVENTFD2): Likewise.
22774         (__ASSUME_SIGNALFD4): Likewise.
22775         * sysdeps/unix/sysv/linux/tile/kernel-features.h
22776         (__ASSUME_O_CLOEXEC): Likewise.
22777         (__ASSUME_SOCK_CLOEXEC): Likewise.
22778         (__ASSUME_IN_NONBLOCK): Likewise.
22779         (__ASSUME_PIPE2): Likewise.
22780         (__ASSUME_EVENTFD2): Likewise.
22781         (__ASSUME_SIGNALFD4): Likewise.
22782         (__ASSUME_DUP3): Likewise.
22783         (__ASSUME_UTIMES): Undefine.
22785         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
22786         feclearexcept.  Remove symbol versioning code.
22787         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
22788         symbol versioning code.
22789         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
22790         symbol versioning code.
22791         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
22792         feupdateenv.  Remove symbol versioning code.
22793         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
22794         fegetexceptflag.  Remove symbol versioning code.
22795         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
22796         fesetexceptflag.  Remove symbol versioning code.
22797         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
22798         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
22799         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
22800         (__posix_fadvise64_l32): Remove prototype.
22801         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
22802         code.
22804 2014-05-13  Roland McGrath  <roland@hack.frob.com>
22806         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
22807         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
22808         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
22809         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
22811 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
22813         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
22814         current working directory
22816 2014-05-13  Roland McGrath  <roland@hack.frob.com>
22818         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
22819         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
22820         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
22821         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
22822         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
22823         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
22824         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
22825         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
22826         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
22827         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
22828         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
22829         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
22830         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
22831         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
22832         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
22833         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
22834         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
22835         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
22836         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
22837         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
22838         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
22839         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
22840         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
22841         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
22842         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
22843         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
22844         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
22845         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
22846         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
22847         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
22848         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
22849         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
22850         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
22851         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
22852         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
22853         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
22854         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
22855         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
22856         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
22857         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
22858         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
22859         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
22861         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
22862         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
22864         * sysdeps/unix/sysv/linux/arm/Makefile
22865         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
22866         Add rt-aeabi_unwind_cpp_pr1.
22867         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
22868         Add nptl-aeabi_unwind_cpp_pr1.
22869         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
22870         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
22871         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
22872         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
22873         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
22874         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
22876         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
22877         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
22878         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
22879         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
22881         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
22882         Deconditionalize the code that was previously under [RESET_PID].
22883         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
22885         * sysdeps/generic/exit-thread.h: New file.
22886         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
22887         * include/unistd.h (__exit_thread): Remove declaration.
22888         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
22889         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
22890         * csu/libc-start.c: Include <exit-thread.h>.
22891         (LIBC_START_MAIN): Pass no argument to __exit_thread.
22892         * nptl/pthread_create.c: Include <exit-thread.h>.
22893         (start_thread): Call __exit_thread in place of __exit_thread_inline.
22894         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
22895         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
22896         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
22897         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
22898         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
22899         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
22900         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
22901         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
22902         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
22903         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
22904         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
22905         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
22906         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
22907         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
22908         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
22909         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
22911 2014-05-13  Andreas Schwab  <schwab@suse.de>
22913         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
22915 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
22917         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
22918         (__ASSUME_UTIMES): Do not condition on kernel version.
22919         (__ASSUME_PSELECT): Define unconditionally.
22920         (__ASSUME_PPOLL): Likewise.
22921         (__ASSUME_ATFCTS): Likewise.
22922         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
22923         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
22924         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
22925         (__ASSUME_UTIMENSAT): Define unconditionally.
22926         (__ASSUME_PRIVATE_FUTEX): Likewise.
22927         (__ASSUME_FALLOCATE): Likewise.
22928         (__ASSUME_O_CLOEXEC): Likewise.
22929         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
22930         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
22931         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
22932         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
22933         (__ASSUME_IN_NONBLOCK): Likewise.
22934         (__ASSUME_PIPE2): Likewise.
22935         (__ASSUME_EVENTFD2): Likewise.
22936         (__ASSUME_SIGNALFD4): Likewise.
22937         (__ASSUME_DUP3): Likewise.
22938         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
22939         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
22940         (__ASSUME_AT_RANDOM): Likewise.
22941         (__ASSUME_PREADV): Likewise.
22942         (__ASSUME_PWRITEV): Likewise.
22943         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
22944         (__ASSUME_F_GETOWN_EX): Define unconditionally.
22945         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
22946         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
22947         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
22948         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22949         (__ASSUME_O_CLOEXEC): Define unconditionally.
22950         (__ASSUME_PSELECT): Do not undefine conditionally.
22951         (__ASSUME_PPOLL): Likewise.
22952         (__ASSUME_ATFCTS): Likewise.
22953         (__ASSUME_SET_ROBUST_LIST): Likewise.
22954         (__ASSUME_UTIMENSAT): Likewise.
22955         (__ASSUME_FDATASYNC): Define unconditionally.
22956         * sysdeps/unix/sysv/linux/arm/kernel-features.h
22957         (__ASSUME_SIGFRAME_V2): Likewise.
22958         )__ASSUME_EVENTFD2): Likewise.
22959         (__ASSUME_SIGNALFD4): Likewise.
22960         (__ASSUME_PSELECT): Do not undefine conditionally.
22961         (__ASSUME_PPOLL): Likewise.
22962         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22963         (__ASSUME_PSELECT): Define unconditionally.
22964         (__ASSUME_PPOLL): Likewise.
22965         (__ASSUME_O_CLOEXEC): Likewise.
22966         (__ASSUME_SOCK_CLOEXEC): Likewise.
22967         (__ASSUME_IN_NONBLOCK): Likewise.
22968         (__ASSUME_PIPE2): Likewise.
22969         (__ASSUME_EVENTFD2): Likewise.
22970         (__ASSUME_SIGNALFD4): Likewise.
22971         (__ASSUME_DUP3): Likewise.
22972         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
22973         (__ASSUME_O_CLOEXEC): Likewise.
22974         (__ASSUME_SOCK_CLOEXEC): Likewise.
22975         (__ASSUME_IN_NONBLOCK): Likewise.
22976         (__ASSUME_PIPE2): Likewise.
22977         (__ASSUME_EVENTFD2): Likewise.
22978         (__ASSUME_SIGNALFD4): Likewise.
22979         (__ASSUME_DUP3): Likewise.
22980         * sysdeps/unix/sysv/linux/mips/kernel-features.h
22981         (__ASSUME_EVENTFD2): Likewise.
22982         (__ASSUME_SIGNALFD4): Likewise.
22983         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
22985 2014-05-12  Andreas Schwab  <schwab@suse.de>
22987         [BZ #16932]
22988         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
22989         (_nss_nis_gethostbyname4_r): Return error if item length is larger
22990         than maximum RPC packet size.
22991         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
22992         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
22993         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
22994         (_nss_nis_getservbyport_r): Likewise.
22996 2014-05-12  Will Newton  <will.newton@linaro.org>
22998         * malloc/Makefile (tests): Add tst-mallopt.
22999         * malloc/tst-mallopt.c: New file.
23001 2014-05-09  Roland McGrath  <roland@hack.frob.com>
23003         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
23004         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
23006 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23008         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
23009         (tst-tlsmod6.so): Likewise.
23011 2014-05-09  Roland McGrath  <roland@hack.frob.com>
23013         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
23015 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
23017         [BZ #16064]
23018         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
23019         and <dl-procinfo.h>.
23020         (__fegetenv): Save SSE state in envp->__eip if supported.
23021         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
23022         envp->__eip if supported.
23023         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
23024         and <dl-procinfo.h>.
23025         (__fesetenv): Always set __eip, __cs_selector, __opcode,
23026         __data_offset and __data_selector in environment to 0.  Set SSE
23027         state if supported.
23028         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
23029         test-fenv-sse.
23030         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
23031         -mfpmath=sse.
23032         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
23034 2014-05-09  Will Newton  <will.newton@linaro.org>
23036         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
23037         and libc_relro_required for ARM.
23038         * sysdeps/arm/preconfigure: Regenerate.
23040 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
23041             Stefan Liebler  <stli@linux.vnet.ibm.com>
23043         * config.make.in (enable-lock-elision): New Makefile variable.
23044         * configure.ac: Likewise.
23045         * configure: Regenerate.
23046         * sysdeps/s390/configure.ac:
23047         Add check for gcc transactions support.
23048         * sysdeps/s390/configure: Regenerate.
23049         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
23050         Build elision files if enabled.
23051         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
23052         Add lock elision support for s390.
23053         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
23054         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
23055         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
23056         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
23057         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
23058         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
23059         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
23060         Likewise.
23061         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
23062         Likewise.
23063         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
23064         Likewise.
23065         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
23066         Likewise.
23067         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
23068         (__lll_timedlock_elision, __lll_lock_elision)
23069         (__lll_unlock_elision, __lll_trylock_elision)
23070         (lll_timedlock_elision, lll_lock_elision)
23071         (lll_unlock_elision, lll_trylock_elision): Add.
23072         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
23073         (pthread_mutex_t): Add lock elision support for s390.
23075 2014-05-14  Wilco  <wdijkstr@arm.com>
23077         * sysdeps/arm/fclrexcpt.c: Cleanup.
23078         * sysdeps/arm/fedisblxcpt.c: Cleanup.
23079         * sysdeps/arm/feenablxcpt.c: Cleanup.
23080         * sysdeps/arm/fegetenv.c: Cleanup.
23081         * sysdeps/arm/fegetexcept.c: Cleanup.
23082         * sysdeps/arm/fegetround.c: Cleanup.
23083         * sysdeps/arm/feholdexcpt.c: Cleanup.
23084         * sysdeps/arm/fesetenv.c: Cleanup.
23085         * sysdeps/arm/fesetround.c: Cleanup.
23086         * sysdeps/arm/feupdateenv.c: Cleanup.
23087         * sysdeps/arm/fgetexcptflg.c: Cleanup.
23088         * sysdeps/arm/fraiseexcpt.c: Cleanup.
23089         * sysdeps/arm/fsetexcptflg.c: Cleanup.
23090         * sysdeps/arm/ftestexcept.c: Cleanup.
23091         * sysdeps/arm/get-rounding-mode.h: Cleanup.
23092         * sysdeps/arm/setfpucw.c: Cleanup.
23094 2014-05-09  Will Newton  <will.newton@linaro.org>
23096         * sysdeps/arm/armv7/strcmp.S: New file.
23097         * NEWS: Mention addition of ARMv7 optimized strcmp.
23099 2014-05-08  Roland McGrath  <roland@hack.frob.com>
23101         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
23102         look for %.ac rather than %.in.
23104         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
23105         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
23106         * sysdeps/mach/hurd/configure: Regenerated.
23107         * sysdeps/unix/sysv/linux/configure: Regenerated.
23109         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
23111 2014-05-07  Steve Ellcey  <sellcey@mips.com>
23113         [BZ# 16922]
23114         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
23115         (LONG_SUB): Ditto.
23116         (PTR_SUB): Ditto.
23118 2014-05-07  Andreas Schwab  <schwab@suse.de>
23120         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
23121         when skipping over non-matching result from nscd.
23123 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
23125         [BZ #16876]
23126         * nptl/sockperf.c (client): Check socket return value.
23128         [BZ #16877]
23129         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
23130         nscd security class.
23132 2014-05-06  Roland McGrath  <roland@hack.frob.com>
23134         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
23135         * sysdeps/arm/unwind.h: ... here.
23137 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
23139         [BZ# 16916]
23140         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
23141         Define.
23143 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
23145         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
23146         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
23147         multiarch strncpy for PPC64.
23148         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
23149         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
23150         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
23151         multiarch optimizations.
23152         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
23153         (__libc_ifunc_impl_list): Likewise.
23154         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
23155         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
23156         multiarch stpncpy for PPC64.
23157         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
23158         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
23160 2014-05-06  Andreas Schwab  <schwab@suse.de>
23162         [BZ #16912]
23163         * gmon/mcount.c (_MCOUNT_DECL): Use
23164         atomic_compare_and_exchange_bool_acq instead of
23165         catomic_compare_and_exchange_bool_acq.
23167 2014-05-05  Roland McGrath  <roland@hack.frob.com>
23169         * elf/Makefile (others, install-bin): Remove pldd.
23170         (pldd-modules): Variable removed.
23171         ($(objpfx)pldd): Target removed.
23172         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
23173         (others, install-bin): Append pldd here.
23174         ($(objpfx)pldd): New target.
23176         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
23177         to 0, so the first #if test emitted later doesn't see it undefined.
23178         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
23179         * sysdeps/gnu/errlist.c: Regenerated.
23181 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23183         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
23184         [libc_hidden_builtin_def]: Define to empty value.
23185         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
23186         [libc_hidden_builtin_def]: Likewise.
23187         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
23188         [libc_hidden_builtin_def]: Likewise.
23189         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
23190         [libc_hidden_builtin_def]: Likewise.
23191         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
23192         __redirect_memcpy and define ifunc as default hidden symbol.
23193         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
23194         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
23196 2014-05-04  Adam Conrad  <adconrad@0c3.net>
23198         * locale/iso-4217.def: Reintroduce XDR currency.
23200 2014-05-04  Allan McRae  <allan@archlinux.org>
23202         * po/eo.po: Update Esperanto translation from translation project.
23204 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
23206         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
23207         and FEATURE_INDEX_MAX to 1.
23208         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
23210 2014-05-01  Steve Ellcey  <sellcey@mips.com>
23212         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
23213         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
23214         * iconvdata/big5.c (ONE_DIRECTION): Define.
23215         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
23216         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
23217         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
23218         * iconvdata/cp932.c (ONE_DIRECTION): Define.
23219         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
23220         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
23221         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
23222         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
23223         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
23224         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
23225         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
23226         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
23227         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
23228         * iconvdata/gbk.c (ONE_DIRECTION): Define.
23229         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
23230         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
23231         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
23232         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
23233         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
23234         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
23235         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
23236         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
23237         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
23238         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
23239         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
23240         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
23241         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
23242         * iconvdata/iso646.c (ONE_DIRECTION): Define.
23243         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
23244         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
23245         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
23246         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
23247         * iconvdata/johab.c (ONE_DIRECTION): Define.
23248         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
23249         * iconvdata/sjis.c (ONE_DIRECTION): Define.
23250         * iconvdata/t.61.c (ONE_DIRECTION): Define.
23251         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
23252         * iconvdata/tscii.c (ONE_DIRECTION): Define.
23253         * iconvdata/uhc.c (ONE_DIRECTION): Define.
23254         * iconvdata/unicode.c (ONE_DIRECTION): Define.
23255         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
23256         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
23257         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
23259 2014-05-01  Roland McGrath  <roland@hack.frob.com>
23261         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
23262         (_IO_JUMPS_OFFSET): Define to 0.
23264         * nptl/sysdeps/pthread/bits/libc-lock.h
23265         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
23266         (__libc_lock_define_initialized_recursive): Always define using
23267         initializer.  Modern compilers treat uninitialized (implicit zero) and
23268         explicit zero initializers the same (i.e. put the datum in bss).
23270 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
23272         * nscd/nscd-client.h: Include <string.h>.
23274 2014-05-01  David S. Miller  <davem@davemloft.net>
23276         [BZ #16885]
23277         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
23278         multiple zero bytes exist at the end of a string.
23279         Reported by Aurelien Jarno <aurelien@aurel32.net>
23281         * string/test-strcmp.c (check): Add explicit test for situations where
23282         there are multiple zero bytes after the first.
23284 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
23286         [BZ #16890]
23287         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
23288         when compiling wprintf.
23289         * stdio-common/tstdiomisc.c (t3): New function.
23290         (main): Call it.
23292 2014-05-01  Steve Ellcey  <sellcey@mips.com>
23294         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
23295         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
23296         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
23297         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
23299 2014-05-01  Steve Ellcey  <sellcey@mips.com>
23301         * stdlib/longlong.h: Updated from GCC.
23303 2014-05-01  Will Newton  <will.newton@linaro.org>
23304             Bernard Ogden  <bernie.ogden@linaro.org>
23306         * NEWS: Update fixed bug list.
23308         [BZ #15119]
23309         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
23311 2014-04-30  David S. Miller  <davem@davemloft.net>
23313         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
23314         (libc_feholdexcept_setround_sparc_ctx): New function.
23315         (libc_fesetenv_sparc_ctx): Likewise.
23316         (libc_feupdateenv_sparc_ctx): Likewise.
23317         (libc_feholdsetround_sparc_ctx): Likewise.
23318         (libc_feholdexcept_setround_ctx): Define.
23319         (libc_feholdexcept_setroundf_ctx): Likewise.
23320         (libc_feholdexcept_setroundl_ctx): Likewise.
23321         (libc_fesetenv_ctx): Likewise.
23322         (libc_fesetenvf_ctx): Likewise.
23323         (libc_fesetenvl_ctx): Likewise.
23324         (libc_feupdateenv_ctx): Likewise.
23325         (libc_feupdateenvf_ctx): Likewise.
23326         (libc_feupdateenvl_ctx): Likewise.
23327         (libc_feresetround_ctx): Likewise.
23328         (libc_feresetroundf_ctx): Likewise.
23329         (libc_feresetroundl_ctx): Likewise.
23330         (libc_feholdsetround_ctx): Likewise.
23331         (libc_feholdsetroundf_ctx): Likewise.
23332         (libc_feholdsetroundl_ctx): Likewise.
23334         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
23335         with __USE_GNU instead of XOPEN cpp guards.
23337         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
23338         0.
23340         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
23341         with XOPEN cpp guards.
23343 2014-04-30  Julian Brown  <julian@codesourcery.com>
23345         [BZ #16888]
23346         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
23347         handling.
23349 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
23351         [BZ #9894]
23352         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
23353         Change to 2.6.32.
23354         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
23355         * sysdeps/unix/sysv/linux/configure: Regenerated.
23356         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
23357         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
23358         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
23359         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
23360         * README: Update reference to required Linux kernel version.
23361         * manual/install.texi (Linux): Update reference to required Linux
23362         kernel headers version.
23363         * INSTALL: Regenerated.
23365         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
23366         header inclusion.
23367         [POSIX] (limits.h): Likewise.
23368         [POSIX] (math.h): Likewise.
23369         [POSIX] (sys/wait.h): Likewise.
23370         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
23371         function.
23372         [POSIX] (stddef.h): Do not allow header inclusion.
23374 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23376         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
23378 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
23380         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
23381         Return immediately after lll_futex_wake.
23383 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
23385         [BZ #16791]
23386         * nscd/nscd-client.h (datahead_init_common): Initialize entire
23387         structure.
23388         (datahead_init_pos): Call datahead_init_common early.
23389         (datahead_init_neg): Likewise.
23391         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
23392         datahead_init_neg): New functions.
23393         * nscd/aicache.c (addhstaiX): Use them.
23394         * nscd/grpcache.c (cache_addgr): Likewise.
23395         * nscd/hstcache.c (cache_addhst): Likewise.
23396         * nscd/initgrcache.c (addinitgroupsX): Likewise.
23397         * nscd/netgroupcache.c (do_notfound): Likewise.
23398         (addgetnetgrentX): Likewise.
23399         (addinnetgrX): Likewise.
23400         * nscd/pwdcache.c (cache_addpw): Likewise.
23401         * nscd/servicescache.c (cache_addserv): Likewise.
23403 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
23404             Atsushi Onoe  <atsushi@onoe.org>
23406         [BZ #14308]
23407         [BZ #12994]
23408         [BZ #13651]
23409         * resolv/res_query.c (__libc_res_nsearch): Return if at least
23410         one response is valid.
23411         * resolv/res_send.c (send_dg): Check for validity of other
23412         response if the current response is a referral.
23414 2014-04-29  Steve Ellcey  <sellcey@mips.com>
23416         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
23418 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
23420         [BZ #16823]
23421         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
23422         Always divide by positive zero when computing -Inf result.
23423         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
23424         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
23426 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23428         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
23429         FPSCR if value do not change.
23430         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
23431         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
23432         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
23433         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
23434         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
23435         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
23436         function.
23438 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
23440         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
23441         * sysdeps/unix/sysv/linux/hppa: Move directory from
23442         ports/systeps/unix/sysv/linux/hppa.
23443         * README: Update listing for hppa-*-linux-gnu.
23445 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
23447         [BZ #16754]
23448         * manual/stdio.texi (Hook functions): Fix types of stream hook
23449         functions.
23450         [BZ #16854]
23451         * socket/sys/socket.h: Fix typo in comment.
23453 2014-04-28  Wilco  <wdijkstr@arm.com>
23455         * sysdeps/arm/fenv_private.h: New file.
23456         * sysdeps/arm/math_private.h: New file.
23457         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
23459 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
23461         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
23462         with __int128_t.
23463         (La_x86_64_retval): Likewise.
23465 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
23467         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
23468         fpsr if value didn't change.
23469         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
23470         to fpcr if value didn't change.
23471         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
23472         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
23473         fpsr or fpcr if value didn't change.
23474         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
23475         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
23476         fpcr if value didn't change.
23477         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
23478         to fpsr if value didn't change.
23480 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
23482         * nptl/tst-sem3.c: Use test-skeleton.c
23483         (main): Rename to do_test.  Use return instead of
23484         exit.
23485         * nptl/tst-sem4.c: Use test-skeleton.c
23486         (main): Rename to do_test.
23488 2014-04-22  David S. Miller  <davem@davemloft.net>
23490         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
23491         (struct sigaction): New struct member __glibc_reserved0, change
23492         type of sa_flags to int.
23494 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
23496         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
23497         (COUNT_LEADING_ZEROS_0): Define for AArch64.
23499 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
23501         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
23502         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
23504 2014-04-22  Will Newton  <will.newton@linaro.org>
23505             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
23507         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
23508         (__longjmp): Add longjmp and longjmp_target SystemTap
23509         probes.
23510         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
23511         (__sigsetjmp): Add setjmp SystemTap probe.
23513 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
23515         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
23516         match manual order.
23518 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23520         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
23522         * sysdeps/powerpc/fpu/fenv_private.h
23523         (libc_feholdexcept_setroundl_ctx): Define to
23524         libc_feholdexcept_setround_ppc_ctx.
23525         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
23526         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
23527         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
23528         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
23530 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
23532         * sysdeps/aarch64/math-tests.h: New file.
23534 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
23536         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
23537         New.
23538         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23539         Check and set bit_AVX2_Usable.
23540         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
23541         macro.
23542         (bit_AVX2): Likewise.
23543         (index_AVX2_Usable): Likewise.
23544         (CPUID_AVX2): Likewise.
23545         (HAS_AVX2): Likewise.
23547 2014-04-17  Will Newton  <will.newton@linaro.org>
23549         * manual/setjmp.texi (System V contexts): Add note that
23550         calling setcontext on a context created by a call to a
23551         signal handler is undefined.  Update text to note that
23552         setcontext from a signal handler is possible but not
23553         recommended.
23555         [BZ #16629]
23556         * stdlib/tst-setcontext.c: Include signal.h.
23557         (main): Check that the signal stack before and
23558         after swapcontext is the same.
23560         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
23561         Re-implement to restore registers in user code and avoid
23562         rt_sigreturn system call.
23564 2014-04-17  Wilco  <wdijkstr@arm.com>
23566         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
23567         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
23568         * math/test-fenv.c: Skip exception trap tests on targets which only
23569         support non-stop mode.
23571 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
23572             Wilco Dijkstra  <wilco.dijkstra@arm.com>
23574         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
23575         (libc_feholdsetround_aarch64_ctx)
23576         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
23577         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
23578         (libc_feresetround_ctx, libc_feresetroundf_ctx)
23579         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
23580         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
23581         (libc_feresetround_noexl_ctx): Define.
23583 2014-04-16  Richard Henderson  <rth@redhat.com>
23585         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
23587         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
23588         unwind tables.
23590         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
23591         const from the non-libc, non-ldso copy.
23593         * sysdeps/alpha/libm-test-ulps: Regenerate.
23595 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
23596             Wilco Dijkstra  <wilco.dijkstra@arm.com>
23598         * sysdeps/aarch64/fpu/math_private.h: New file.
23600 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
23602         * sysdeps/aarch64/libm-test-ulps: Regenerate.
23604 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
23606         [BZ #16275]
23607         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
23608         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
23609         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
23610         Intel MPX bound registers before _dl_profile_fixup.
23611         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
23612         registers after _dl_profile_fixup.  Save and restore bound
23613         registers bnd0/bnd1 when calling _dl_call_pltexit.
23614         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
23615         (LR_BND_OFFSET): Likewise.
23616         (LRV_BND0_OFFSET): Likewise.
23617         (LRV_BND1_OFFSET): Likewise.
23619 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23621         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
23622         to...
23623         * sysdeps/mach/hurd/i386/tls.h: ... here.
23624         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
23625         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
23626         fields.
23628 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23630         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
23632 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
23634         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
23636 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
23638         [BZ #14770]
23639         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
23640         * sysdeps/s390/configure: Regenerate.
23642         [BZ #16824]
23643         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
23644         Set round-to-nearest internally to reduce error accumulation.
23646 2014-04-16  Alan Modra  <amodra@gmail.com>
23648         [BZ #16740]
23649         [BZ #16619]
23650         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
23651         * math/libm-test.inc (frexp_test_data): Add tests.
23652         * NEWS: Update fixed bug list.
23654 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
23656         * benchtests/Makefile: Depend on libraries in build directory.
23657         (bench-math): Separate out math tests.
23658         (bench-pthread): Separate out pthread tests.
23659         (bench): Include math and pthread tests.
23661 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
23663         [BZ #16831]
23664         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
23665         _dl_debug_initialize.
23667         * configure.ac: Remove SELinux header check.
23668         * configure: Regenerate.
23669         * nscd/selinux.c (perms): Array of const char* to permission names.
23670         (nscd_request_avc_has_perm): Call security_deny_unknown to find
23671         default policy. Call string_to_security_class and string_to_av_perm to
23672         translate strings. Enforce default policy and call avs_has_perm with
23673         results of translated strings.
23675 2014-04-13  David S. Miller  <davem@davemloft.net>
23677         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23679 2014-04-12  Allan McRae  <allan@archlinux.org>
23681         [BZ #16838]
23682         * manual/string.texi (Collation Functions): Fix qsort argument
23683         order in example.
23684         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
23686 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
23688         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
23689         Make the test a no-op if there are no exceptions defined.
23691 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
23693         * elf/Makefile (tests): make tst-dlopen-aout conditional on
23694         enable-hardcoded-path-in-tests
23696 2014-04-11  Will Newton  <will.newton@linaro.org>
23698         * benchtests/Makefile (extra-objs): Add json-lib.o.
23699         (bench-func): Tidy up JSON output.
23700         * benchtests/bench-skeleton.c: Include json-lib.h.
23701         (main): Use JSON library functions to do output of
23702         benchmark results.
23703         * benchtests/bench-timing-type.c (main): Output the
23704         timing type simply, leaving formatting to the user.
23705         * benchtests/json-lib.c: New file.
23706         * benchtests/json-lib.h: Likewise.
23708 2014-04-11  Torvald Riegel  <triegel@redhat.com>
23710         [BZ #15215]
23711         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
23712         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
23713         memory barriers.  Add comments.
23714         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
23715         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
23716         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
23717         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
23718         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
23719         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
23721 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
23723         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
23724         * sysdeps/s390/s390-64/configure.ac: ... this ...
23725         * sysdeps/s390/configure.ac: ... to here.
23726         * sysdeps/s390/s390-32/configure: Delete file.
23727         * sysdeps/s390/s390-64/configure: Delete file.
23728         * sysdeps/s390/configure: Regenerate.
23730 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
23732         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
23734 2014-04-11  Will Newton  <will.newton@linaro.org>
23736         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
23737         to zero if it is not defined elsewhere.  (mtrim): Test
23738         the value of MALLOC_DEBUG with #if rather than #ifdef.
23740 2014-04-10 Torvald Riegel  <triegel@redhat.com>
23742         * benchtests/pthread_once-inputs: New file.
23743         * benchtests/pthread_once-source.c: New file.
23744         * benchtests/README: Update documentation.
23746 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
23747             H.J. Lu  <hongjiu.lu@intel.com>
23749         [BZ #16275]
23750         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
23751         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
23752         * sysdeps/x86_64/configure: Regenerated.
23753         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
23754         macro.
23755         (REGISTER_SAVE_RAX): Likewise.
23756         (REGISTER_SAVE_RCX): Likewise.
23757         (REGISTER_SAVE_RDX): Likewise.
23758         (REGISTER_SAVE_RSI): Likewise.
23759         (REGISTER_SAVE_RDI): Likewise.
23760         (REGISTER_SAVE_R8): Likewise.
23761         (REGISTER_SAVE_R9): Likewise.
23762         (REGISTER_SAVE_BND0): Likewise.
23763         (REGISTER_SAVE_BND1): Likewise.
23764         (REGISTER_SAVE_BND2): Likewise.
23765         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
23766         bound registers when calling _dl_fixup.
23768 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23770         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
23771         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
23772         of its definition.
23773         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
23774         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
23775         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
23776         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
23777         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
23778         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
23779         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
23781 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
23783         [BZ #15514]
23784         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
23785         pathconf(_PC_NAME_MAX).
23787 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23789         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
23790         Remove macro usage.
23791         (__PTHREAD_SPINS): Move definition to ...
23792         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
23793         (__PTHREAD_SPINS): ... here.
23794         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
23795         (__PTHREAD_SPIN): Likewise.
23796         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
23797         (__PTHREAD_SPIN): Likewise.
23798         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
23799         (__PTHREAD_SPIN): Likewise.
23800         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
23801         (__PTHREAD_SPIN): Likewise.
23802         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
23803         (__PTHREAD_SPIN): Likewise.
23804         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
23805         (__PTHREAD_SPIN): Likewise.
23806         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
23807         (__PTHREAD_SPIN): Likewise.
23808         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
23809         (__PTHREAD_SPIN): Likewise.
23810         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
23811         (__PTHREAD_SPIN): Likewise.
23812         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
23813         (__PTHREAD_SPIN): Likewise.
23814         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
23815         (__PTHREAD_SPIN): Likewise.
23816         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
23817         (__PTHREAD_SPIN): Likewise.
23819         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
23820         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
23821         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
23822         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
23823         imply folder.
23824         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
23825         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
23826         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
23827         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
23828         correct imply path.
23829         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
23830         strlen symbol for non multi-arch builds.
23831         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
23832         missing hidden_def and weak_alias.
23834 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
23836         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
23838 2014-04-07  Will Newton  <will.newton@linaro.org>
23840         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
23841         and contents.  [!_LIBC] Remove #ifndef and contents.
23842         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
23843         * string/memccpy.c (__memccpy): Use ANSI prototype.
23844         * string/memfrob.c (memfrob): Likewise.
23845         * string/strcoll.c (STRCOLL): Likewise.
23846         * string/strlen.c (strlen): Likewise.
23847         * string/strtok.c (STRTOK): Likewise.
23848         * string/strcat.c: Remove unused #include of memcopy.h.
23849         (strcat): Use ANSI prototype.
23850         * string/strchr.c: Remove unused #include of memcopy.h.
23851         (strchr): Use ANSI prototype.
23852         * string/strcmp.c: Remove unused #include of memcopy.h.
23853         (strcmp): Use ANSI prototype.
23854         * string/strcpy.c: Remove unused #include of memcopy.h.
23855         (strcpy): Use ANSI prototype.
23857 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23859         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
23860         * config.make.in (config-extra-cppflags): Set it from
23861         libc_extra_cppflags.
23862         * configure.ac (libc_extra_cflags): Make it accumulate over
23863         configure fragments.
23864         (libc_extra_cppflags): New flag.
23865         * configure. Regenerate.
23866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
23867         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
23868         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
23869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
23871         [BZ #16815]
23872         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
23873         result for FE_DOWNWARD rounding mode.
23874         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
23875         Likewise.
23876         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23878 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
23880         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
23881         in function argument name.
23883 2014-04-03  David Svoboda  <svoboda@cert.org>
23885         [BZ #5666]
23886         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
23887         explicitly.
23889 2014-04-03  Roland McGrath  <roland@hack.frob.com>
23891         * elf/dl-unmap-segments.h: New file.
23892         * sysdeps/generic/ldsodefs.h
23893         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
23894         * elf/dl-close.c: Include <dl-unmap-segments.h>.
23895         * elf/dl-fptr.c: Likewise.
23896         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
23897         * sysdeps/aarch64/tlsdesc.c: Likewise.
23898         * sysdeps/arm/tlsdesc.c: Likewise.
23899         * sysdeps/i386/tlsdesc.c: Likewise.
23900         * sysdeps/tile/dl-runtime.c: Likewise.
23901         * sysdeps/x86_64/tlsdesc.c: Likewise.
23902         * elf/dl-load.h: New file.
23903         * elf/dl-load.c: Include it.
23904         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
23905         Macros moved to dl-load.h.
23906         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
23907         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
23908         Use _dl_unmap_segments in place of __munmap.
23909         Break out segment-mapping loop into ...
23910         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
23912 2014-04-03  Will Newton  <will.newton@linaro.org>
23914         * elf/dl-lookup.c (do_lookup_x): Remove comment
23915         referring to nested function and move variable
23916         declarations down to before first use.
23918 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
23920         [BZ #16799]
23921         [BZ #16800]
23922         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
23923         with 0 numerator.
23924         * math/s_catanf.c (__catanf): Likewise.
23925         * math/s_catanh.c (__catanh): Likewise.
23926         * math/s_catanhf.c (__catanhf): Likewise.
23927         * math/s_catanhl.c (__catanhl): Likewise.
23928         * math/s_catanl.c (__catanl): Likewise.
23929         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
23930         by positive zero when computing -Inf result.
23931         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
23932         (catanh_test): Likewise.
23933         * sysdeps/i386/fpu/libm-test-ulps: Update.
23934         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23936         [BZ #16789]
23937         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
23938         instead of using underflowing value in computing result.
23939         * math/s_clog10.c (__clog10): Likewise.
23940         * math/s_clog10f.c (__clog10f): Likewise.
23941         * math/s_clog10l.c (__clog10l): Likewise.
23942         * math/s_clogf.c (__clogf): Likewise.
23943         * math/s_clogl.c (__clogl): Likewise.
23944         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
23945         (clog10_test): Likewise.
23946         * sysdeps/i386/fpu/libm-test-ulps: Update.
23947         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23949 2014-04-02  Alan Modra  <amodra@gmail.com>
23951         [BZ #16739]
23952         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
23953         output when value is near a power of two.  Use int64_t for lx and
23954         remove casts.  Use decimal rather than hex exponent constants.
23955         Don't use long double multiplication when double will suffice.
23956         * math/libm-test.inc (nextafter_test_data): Add tests.
23957         * NEWS: Add 16739 and 16786 to bug list.
23959         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
23961         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
23963 2014-04-01  Will Newton  <will.newton@linaro.org>
23965         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
23966         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
23968 2014-04-01  Florian Weimer  <fweimer@redhat.com>
23970         [BZ #13347]
23971         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
23972         * nptl/tst-setuid2.c: New file.
23973         * nptl/Makefile (xtests): Add tst-setuid2.
23975 2014-04-01  Alan Modra  <amodra@gmail.com>
23977         [BZ #16786]
23978         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
23980 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
23982         [BZ #6803]
23983         [BZ #6804]
23984         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
23985         set errno as appropriate.
23986         * math/w_scalbf.c (__scalbf): Likewise.
23987         * math/w_scalbl.c (__scalbl): Likewise.
23988         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
23989         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
23990         * math/libm-test.inc (scalb_test_data): Add errno expectations.
23991         Add more NaN tests.
23993         [BZ #16349]
23994         * math/w_atan2.c: Include <errno.h>.
23995         (__atan2): Set errno for result underflowing to zero.
23996         * math/w_atan2f.c: Include <errno.h>.
23997         (__atan2f): Set errno for result underflowing to zero.
23998         * math/w_atan2l.c: Include <errno.h>.
23999         (__atan2l): Set errno for result underflowing to zero.
24000         * math/auto-libm-test-in: Don't allow missing errno for some atan2
24001         tests.
24002         * math/auto-libm-test-out: Regenerated.
24004 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24006         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
24007         Encode instruction correctly in little endian.
24008         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
24009         Likewise.
24010         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
24011         Likewise.
24012         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
24013         Likewise.
24014         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
24015         Likewise.
24017 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
24019         [BZ #9894]
24020         * sysdeps/unix/sysv/linux/kernel-features.h
24021         [__sparc__ && !__arch64__ && !__sparc_v9__]
24022         (__ASSUME_SET_ROBUST_LIST): Do not define.
24023         [__sparc__ && !__arch64__ && !__sparc_v9__]
24024         (__ASSUME_FUTEX_LOCK_PI): Likewise.
24025         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
24026         Likewise.
24027         * sysdeps/unix/sysv/linux/arm/kernel-features.h
24028         (__ASSUME_FUTEX_LOCK_PI): Undefine.
24029         (__ASSUME_REQUEUE_PI): Likewise.
24030         (__ASSUME_SET_ROBUST_LIST): Likewise.
24031         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
24032         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
24033         Undefine.
24034         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24035         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
24036         Likewise.
24037         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
24038         Likewise.
24039         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
24040         Likewise.
24041         * sysdeps/unix/sysv/linux/mips/kernel-features.h
24042         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
24043         Undefine.
24044         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
24045         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
24046         Likewise.
24048         [BZ #16648]
24049         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24050         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
24051         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
24053 2014-03-31  Will Newton  <will.newton@linaro.org>
24055         * benchtests/Makefile (bench): Add ffs and ffsll to list
24056         of tests.
24057         * benchtests/ffs-inputs: New file.
24058         * benchtests/ffsll-inputs: Likewise.
24060 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
24062         [BZ #16770]
24063         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
24064         too large before casting to int.
24065         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
24066         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
24067         * math/libm-test.inc (scalb_test_data): Add more tests.
24069 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
24071         * benchtests/Makefile (DETAILED_OPT): New make option.
24072         (bench-func): Run benchmark program with -d if DETAILED_OPT is
24073         set.
24074         * benchtests/bench-skeleton.c: Include stdbool.h.
24075         (main): Store and print timings per input.
24076         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
24077         member to each argument value.
24078         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
24079         (_print_arg_data): Initialize per-input timing to 0.
24081         * benchtests/Makefile (timing-type): New binary.
24082         (bench-clean): Also remove bench-timing-type.
24083         (bench): New target for timing-type.
24084         (bench-func): Print output in JSON format.
24085         * benchtests/bench-skeleton.c (main): Print output in JSON
24086         format.
24087         * benchtests/bench-timing-type.c: New file.
24088         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
24089         (TIMING_PRINT_STATS): Remove.
24090         * benchtests/scripts/bench.py (_print_arg_data): Store variant
24091         name separately.
24093         * benchtests/bench-modf.c: Remove.
24094         * benchtests/modf-inputs: New inputs file.
24096 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
24098         [BZ #16362]
24099         * math/s_clog10.c (M_PI_LOG10E): New macro.
24100         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
24101         imaginary parts are 0.
24102         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
24103         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
24104         imaginary parts are 0.
24105         * math/s_clog10l.c (M_PI_LOG10El): New macro.
24106         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
24107         imaginary parts are 0.
24108         * math/libm-test.inc (clog10_test_data): Update expected results
24109         for when real and imaginary parts are 0.
24111 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
24113         * elf/dl-load.c: Finish conversion of __builtin_expect into
24114         __glibc_{un}likely.
24116 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
24118         [BZ #16348]
24119         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
24120         1+x for argument with exponent below -67.
24121         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
24122         Likewise.
24123         * math/auto-libm-test-in: Add more tests of exp.
24124         * math/auto-libm-test-out: Regenerated.
24126 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
24128         [BZ #16759]
24129         * inet/getnetgrent_r.c (get_nonempty_val): New function.
24130         (nscd_getnetgrent): Use it.
24132         [BZ #16760]
24133         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
24134         of stpcpy.
24136 2014-03-27  Andi Kleen  <ak@linux.intel.com>
24138         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
24139         (lll_robust_lock, lll_cond_lock, lll_timedlock)
24140         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
24141         (lll_robust_unlock): Remove out of line section. Use cfi
24142         intrinsics.
24143         (LLL_STUB_UNWIND_INFO*): Remove.
24144         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
24145         (lll_robust_lock, lll_cond_lock, lll_timedlock)
24146         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
24147         (lll_robust_unlock): Remove out of line section. Use cfi
24148         intrinsics.
24149         (LLL_STUB_UNWIND_INFO*): Remove.
24151 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
24153         [BZ #16758]
24154         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
24155         blank values.
24157 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
24159         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
24161 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
24163         [BZ #16198]
24164         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
24165         fnstenv.
24166         * math/test-fenv-preserve.c: New file.
24167         * math/Makefile (tests): Add test-fenv-preserve.
24169 2014-03-26  Will Newton <will.newton@linaro.org>
24171         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
24173 2014-03-25  Roland McGrath  <roland@hack.frob.com>
24175         * scripts/versionlist.awk: Partition the version sets and emit all
24176         GLIBC_* (sorted) before all others (sorted).
24178 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
24180         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
24181         GLIBC_2.2.5 version.
24183 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24185         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
24186         calls.
24188         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
24189         previous change.
24191         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24193 2014-03-25  Andreas Schwab  <schwab@suse.de>
24195         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
24196         label to be used after in6ailist is initialized.
24198 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24200         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
24201         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
24203 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
24205         [BZ #16357]
24206         [BZ #16599]
24207         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
24208         min_plus_half.
24209         (fp_formats): Update initializers.
24210         (init_fp_formats): Initialize new field.
24211         (output_for_one_input_case): Allow underflow for results up to
24212         min_plus_half.
24213         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
24214         * math/auto-libm-test-in: Don't mark some underflows from asin and
24215         atanh as spurious.
24216         * math/auto-libm-test-out: Regenerated.
24217         * sysdeps/i386/fpu/libm-test-ulps: Update.
24218         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24220 2014-03-25  Andreas Schwab  <schwab@suse.de>
24222         * libio/Makefile (tst-ftell-partial-wide-ENV)
24223         (tst-ftell-active-handler-ENV): Define.
24225 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
24227         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
24229 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
24231         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
24233 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
24235         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
24236         * sysdeps/x86_64/fpu/multiarch/e_exp.c
24237         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
24239 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
24241         [BZ #16634]
24242         * elf/dl-load.c (open_verify): Add mode parameter.
24243         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
24244         (open_path): Change from boolean 'secure' to complete flag 'mode'
24245         (_dl_map_object): Adjust.
24246         * elf/Makefile (tests): Add tst-dlopen-aout.
24247         * elf/tst-dlopen-aout.c: New test.
24249 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
24251         [BZ #16714]
24252         * sysdeps/unix/sysv/linux/s390/bits/stat.h
24253         (struct stat): Rename member pad0 to __glibc_reserved0.
24255         [BZ #16712]
24256         * sysdeps/s390/s390-32/bits/wordsize.h
24257         (__WORDSIZE32_SIZE_ULONG): New define.
24258         * sysdeps/s390/s390-64/bits/wordsize.h
24259         (__WORDSIZE32_SIZE_ULONG): Likewise.
24260         * sysdeps/generic/stdint.h (SIZE_MAX):
24261         Define as UL if __WORDSIZE32_SIZE_ULONG.
24263         [BZ #16713]
24264         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
24265         (__glibc_reserved0): New variable.
24266         (sa_flags): Change type to int.
24268         * posix/Makefile (before-compile): Use += before-compile instead
24269         of a :=.
24271         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
24272         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
24274 2014-03-20  Andreas Schwab  <schwab@suse.de>
24276         [BZ #16743]
24277         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
24278         non-matching result from nscd.
24280 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
24282         * scripts/bench.py: Moved to ...
24283         * benchtests/scripts/bench.py: ... here.
24284         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
24286 2014-03-24  Andreas Schwab  <schwab@suse.de>
24288         [BZ #16002]
24289         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
24290         alloca_account and account alloca use for struct in6ailist.
24292 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
24294         [BZ #16284]
24295         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
24296         rounding mode to recompute results that overflow to infinity or
24297         underflow to zero.
24298         * math/auto-libm-test-in: Don't mark tests as expected to fail for
24299         bug 16284.
24300         * math/auto-libm-test-out: Regenerated.
24301         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
24302         (ccosh_test): Likewise.
24303         (csin_test_data): Use plus_oflow.
24304         (csin_test): Use ALL_RM_TEST.
24305         (csinh_test_data): Use plus_oflow.
24306         (csinh_test): Use ALL_RM_TEST.
24307         * sysdeps/i386/fpu/libm-test-ulps: Update.
24308         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24310 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
24312         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
24313         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
24314         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
24316         [BZ #16731]
24317         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
24318         when x - 1 is zero.
24319         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
24320         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
24321         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
24322         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
24323         argument is 1.
24324         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
24325         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
24326         zero.
24327         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
24328         * sysdeps/i386/fpu/libm-test-ulps: Update.
24329         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24331 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24333         * scripts/bench.pl: Remove file.
24334         * scripts/bench.py: New benchmark script.
24335         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
24336         * benchtests/README: Mention python dependency.
24337         * scripts/pylintrc: New file.
24338         * scripts/pylint: New file.
24340         * bits/mathdef.h: Use #ifdef instead of #if.
24341         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
24342         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
24343         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
24344         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
24345         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
24346         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
24348 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24349             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
24351         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
24352         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
24353         and strpbrk-ppc64 objects.
24354         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24355         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
24356         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
24357         multiarch strpbrk for POWER7.
24358         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
24359         multiarch strpbrk for PPC64.
24360         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
24361         ifunc selector.
24362         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
24363         strpbrk for POWER7.
24365 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
24367         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
24368         (atan_test): Likewise.
24369         (atanh_test_data): Use NO_TEST_INLINE for two tests.
24370         (atanh_test): Use ALL_RM_TEST.
24371         (atan2_test_data): Likewise.
24372         (cabs_test): Likewise.
24373         (cacosh_test): Likewise.
24374         (carg_test): Likewise.
24375         (casin_test): Likewise.
24376         (casinh_test): Likewise.
24377         (cbrt_test): Likewise.
24378         (csqrt_test): Likewise.
24379         (erf_test): Likewise.
24380         (erfc_test): Likewise.
24381         (pow10_test): Likewise.
24382         (exp2_test): Likewise.
24383         (hypot_test): Likewise.
24384         (j0_test): Likewise.
24385         (j1_test): Likewise.
24386         (lgamma_test): Likewise.
24387         (gamma_test): Likewise.
24388         (sincos_test): Likewise.
24389         (tanh_test): Likewise.
24390         (y0_test): Likewise.
24391         (y1_test): Likewise.
24392         * sysdeps/i386/fpu/libm-test-ulps: Update.
24393         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24395 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24397         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
24398         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
24399         and strcspn-ppc64 objects.
24400         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24401         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
24402         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
24403         multiarch strcspn for POWER7.
24404         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
24405         multiarch strcspn for PPC64.
24406         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
24407         ifunc selector.
24408         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
24409         strcspn for POWER7.
24411 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
24413         * math/gen-libm-test.pl (generate_testfile): Expect only function
24414         name as argument to AUTO_TESTS_* and pass results for all rounding
24415         modes to parse_args.
24416         (parse_auto_input): Separate inputs of automatic tests from
24417         outputs before storing in %auto_tests.
24418         * math/libm-test.inc (acos_test_data): Update call to
24419         AUTO_TESTS_f_f.
24420         (acos_test): Use ALL_RM_TEST.
24421         (acos_tonearest_test_data): Remove.
24422         (acos_test_tonearest): Likewise.
24423         (acos_towardzero_test_data): Likewise.
24424         (acos_test_towardzero): Likewise.
24425         (acos_downward_test_data): Likewise.
24426         (acos_test_downward): Likewise.
24427         (acos_upward_test_data): Likewise.
24428         (acos_test_upward): Likewise.
24429         (acosh_test_data): Update call to AUTO_TESTS_f_f.
24430         (asin_test_data): Likewise.
24431         (asin_test): Use ALL_RM_TEST.
24432         (asin_tonearest_test_data): Remove.
24433         (asin_test_tonearest): Likewise.
24434         (asin_towardzero_test_data): Likewise.
24435         (asin_test_towardzero): Likewise.
24436         (asin_downward_test_data): Likewise.
24437         (asin_test_downward): Likewise.
24438         (asin_upward_test_data): Likewise.
24439         (asin_test_upward): Likewise.
24440         (asinh_test_data): Update call to AUTO_TESTS_f_f.
24441         (atan_test_data): Likewise.
24442         (atanh_test_data): Likewise.
24443         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
24444         (cabs_test_data): Update call to AUTO_TESTS_c_f.
24445         (carg_test_data): Likewise.
24446         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
24447         (ccos_test_data): Update call to AUTO_TESTS_c_c.
24448         (ccosh_test_data): Likewise.
24449         (cexp_test_data): Likewise.
24450         (clog_test_data): Likewise.
24451         (clog10_test_data): Likewise.
24452         (cos_test_data): Update call to AUTO_TESTS_f_f.
24453         (cos_test): Use ALL_RM_TEST.
24454         (cos_tonearest_test_data): Remove.
24455         (cos_test_tonearest): Likewise.
24456         (cos_towardzero_test_data): Likewise.
24457         (cos_test_towardzero): Likewise.
24458         (cos_downward_test_data): Likewise.
24459         (cos_test_downward): Likewise.
24460         (cos_upward_test_data): Likewise.
24461         (cos_test_upward): Likewise.
24462         (cosh_test_data): Update call to AUTO_TESTS_f_f.
24463         (cosh_test): Use ALL_RM_TEST.
24464         (cosh_tonearest_test_data): Remove.
24465         (cosh_test_tonearest): Likewise.
24466         (cosh_towardzero_test_data): Likewise.
24467         (cosh_test_towardzero): Likewise.
24468         (cosh_downward_test_data): Likewise.
24469         (cosh_test_downward): Likewise.
24470         (cosh_upward_test_data): Likewise.
24471         (cosh_test_upward): Likewise.
24472         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
24473         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
24474         (ctan_test_data): Likewise.
24475         (ctan_test): Use ALL_RM_TEST.
24476         (ctan_tonearest_test_data): Remove.
24477         (ctan_test_tonearest): Likewise.
24478         (ctan_towardzero_test_data): Likewise.
24479         (ctan_test_towardzero): Likewise.
24480         (ctan_downward_test_data): Likewise.
24481         (ctan_test_downward): Likewise.
24482         (ctan_upward_test_data): Likewise.
24483         (ctan_test_upward): Likewise.
24484         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
24485         (ctanh_test): Use ALL_RM_TEST.
24486         (ctanh_tonearest_test_data): Remove.
24487         (ctanh_test_tonearest): Likewise.
24488         (ctanh_towardzero_test_data): Likewise.
24489         (ctanh_test_towardzero): Likewise.
24490         (ctanh_downward_test_data): Likewise.
24491         (ctanh_test_downward): Likewise.
24492         (ctanh_upward_test_data): Likewise.
24493         (ctanh_test_upward): Likewise.
24494         (erf_test_data): Update call to AUTO_TESTS_f_f.
24495         (erfc_test_data): Likewise.
24496         (exp_test_data): Likewise.
24497         (exp_test): Use ALL_RM_TEST.
24498         (exp_tonearest_test_data): Remove.
24499         (exp_test_tonearest): Likewise.
24500         (exp_towardzero_test_data): Likewise.
24501         (exp_test_towardzero): Likewise.
24502         (exp_downward_test_data): Likewise.
24503         (exp_test_downward): Likewise.
24504         (exp_upward_test_data): Likewise.
24505         (exp_test_upward): Likewise.
24506         (exp10_test_data): Update call to AUTO_TESTS_f_f.
24507         (exp10_test): Use ALL_RM_TEST.
24508         (exp10_tonearest_test_data): Remove.
24509         (exp10_test_tonearest): Likewise.
24510         (exp10_towardzero_test_data): Likewise.
24511         (exp10_test_towardzero): Likewise.
24512         (exp10_downward_test_data): Likewise.
24513         (exp10_test_downward): Likewise.
24514         (exp10_upward_test_data): Likewise.
24515         (exp10_test_upward): Likewise.
24516         (exp2_test_data): Update call to AUTO_TESTS_f_f.
24517         (expm1_test_data): Likewise.
24518         (expm1_test): Use ALL_RM_TEST.
24519         (expm1_tonearest_test_data): Remove.
24520         (expm1_test_tonearest): Likewise.
24521         (expm1_towardzero_test_data): Likewise.
24522         (expm1_test_towardzero): Likewise.
24523         (expm1_downward_test_data): Likewise.
24524         (expm1_test_downward): Likewise.
24525         (expm1_upward_test_data): Likewise.
24526         (expm1_test_upward): Likewise.
24527         (fma_test_data): Update call to AUTO_TESTS_fff_f.
24528         (fma_test): Use ALL_RM_TEST.
24529         (fma_towardzero_test_data): Remove.
24530         (fma_test_towardzero): Likewise.
24531         (fma_downward_test_data): Likewise.
24532         (fma_test_downward): Likewise.
24533         (fma_upward_test_data): Likewise.
24534         (fma_test_upward): Likewise.
24535         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
24536         (j0_test_data): Update call to AUTO_TESTS_f_f.
24537         (j1_test_data): Likewise.
24538         (jn_test_data): Update call to AUTO_TESTS_if_f.
24539         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
24540         (log_test_data): Update call to AUTO_TESTS_f_f.
24541         (log10_test_data): Likewise.
24542         (log1p_test_data): Likewise.
24543         (log2_test_data): Likewise.
24544         (pow_test_data): Update call to AUTO_TESTS_ff_f.
24545         (pow_tonearest_test_data): Likewise.
24546         (sin_test_data): Update call to AUTO_TESTS_f_f.
24547         (sin_test): Use ALL_RM_TEST.
24548         (sin_tonearest_test_data): Remove.
24549         (sin_test_tonearest): Likewise.
24550         (sin_towardzero_test_data): Likewise.
24551         (sin_test_towardzero): Likewise.
24552         (sin_downward_test_data): Likewise.
24553         (sin_test_downward): Likewise.
24554         (sin_upward_test_data): Likewise.
24555         (sin_test_upward): Likewise.
24556         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
24557         (sinh_test_data): Update call to AUTO_TESTS_f_f.
24558         (sinh_test): Use ALL_RM_TEST.
24559         (sinh_tonearest_test_data): Remove.
24560         (sinh_test_tonearest): Likewise.
24561         (sinh_towardzero_test_data): Likewise.
24562         (sinh_test_towardzero): Likewise.
24563         (sinh_downward_test_data): Likewise.
24564         (sinh_test_downward): Likewise.
24565         (sinh_upward_test_data): Likewise.
24566         (sinh_test_upward): Likewise.
24567         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
24568         (sqrt_test): Use ALL_RM_TEST.
24569         (sqrt_tonearest_test_data): Remove.
24570         (sqrt_test_tonearest): Likewise.
24571         (sqrt_towardzero_test_data): Likewise.
24572         (sqrt_test_towardzero): Likewise.
24573         (sqrt_downward_test_data): Likewise.
24574         (sqrt_test_downward): Likewise.
24575         (sqrt_upward_test_data): Likewise.
24576         (sqrt_test_upward): Likewise.
24577         (tan_test_data): Update call to AUTO_TESTS_f_f.
24578         (tan_test): Use ALL_RM_TEST.
24579         (tan_tonearest_test_data): Remove.
24580         (tan_test_tonearest): Likewise.
24581         (tan_towardzero_test_data): Likewise.
24582         (tan_test_towardzero): Likewise.
24583         (tan_downward_test_data): Likewise.
24584         (tan_test_downward): Likewise.
24585         (tan_upward_test_data): Likewise.
24586         (tan_test_upward): Likewise.
24587         (tanh_test_data): Update call to AUTO_TESTS_f_f.
24588         (tgamma_test_data): Likewise.
24589         (y0_test_data): Likewise.
24590         (y1_test_data): Likewise.
24591         (yn_test_data): Update call to AUTO_TESTS_if_f.
24592         (main): Do not call removed functions.
24594 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
24596         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
24597         (ldexp_test_data): Remove.
24598         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
24599         scalbn_test_data.
24600         (scalb_test): Use ALL_RM_TEST.
24602 2014-03-19  Andreas Schwab  <schwab@suse.de>
24604         * nscd/nscd.service: Also invalidate netgroup cache on reload.
24606 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
24608         [BZ #16649]
24609         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
24610         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
24611         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
24612         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24613         (__ASSUME_PREADV): Undefine.
24614         (__ASSUME_PWRITEV): Likewise.
24616 2014-03-18  Roland McGrath  <roland@hack.frob.com>
24618         * bits/mman-linux.h: Add comment about non-Linux use.
24619         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
24620         bits/mman-linux.h resting place.
24622         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
24623         * bits/mman-linux.h: ... here.
24625 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24627         * conform/conformtest.pl: Add standard definition when calling C
24628         preprocessor on data files.
24629         (checknamespace): Remove unused variable.
24631 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
24633         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
24634         minus_oflow, plus_uflow and minus_uflow in expected results.
24635         * math/libm-test.inc (scalbn_test_data): Add more tests of
24636         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
24637         minus_uflow.
24638         (scalbn_test): Use ALL_RM_TEST.
24639         (scalbln_test_data): Add more tests of negative arguments.  Use
24640         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
24641         (scalbln_test): Use ALL_RM_TEST.
24643 2014-03-18  Roland McGrath  <roland@hack.frob.com>
24645         * scripts/abilist.awk: Ignore symbols marked with .hidden.
24647 2014-03-18  Will Newton  <will.newton@linaro.org>
24649         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
24650         inaccurate comment.
24652 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
24654         * Makerules [!subdir] (check-abi): Exit with error status if a
24655         test failed.
24657 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
24659         * math/libm-test.inc (nearbyint_test_data): Include all tests used
24660         for rint.  Include results for all rounding modes.
24661         (nearbyint_test): Use ALL_RM_TEST.
24662         (rint_test_data): Include all tests used for nearbyint.
24664 2014-03-17  Will Newton  <will.newton@linaro.org>
24666         * nptl/sysdeps/pthread/pthread.h: Revert previous
24667         change.
24669         * sysdeps/generic/ldsodefs.h: Revert previous
24670         change.
24672         * libio/genops.c: Revert previous change.
24673         * libio/libioP.h: Likewise.
24674         * stdio-common/vfprintf.c: Likewise.
24676         * sysdeps/generic/math_private.h: Revert previous
24677         change.
24679         * sysdeps/generic/math_private.h: Check whether
24680         HAVE_RM_CTX is defined with #ifdef rather
24681         than #if.
24683         * argp/argp-fmtstream.h: Check whether
24684         __STRICT_ANSI__ is defined with #ifdef rather
24685         than #if.
24686         * argp/argp.h: Likewise.
24688         * libio/genops.c: Check whether
24689         _IO_JUMPS_OFFSET is defined with #ifdef rather
24690         than #if.
24691         * libio/libioP.h: Likewise.
24692         * stdio-common/vfprintf.c: Likewise.
24694         * sysdeps/generic/ldsodefs.h: Check whether
24695         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
24696         than #if.
24698         * nptl/sysdeps/pthread/pthread.h: Check
24699         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
24700         its value.
24702 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
24704         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
24705         setting O_APPEND.
24706         * libio/tst-ftell-active-handler.c (do_append_test): Add a
24707         test case.
24709         [BZ #16680]
24710         * libio/fileops.c (_IO_file_open): Seek to end of file but
24711         don't cache the offset.
24712         (get_file_offset): Remove function.
24713         (do_ftell): Use cached offset when available.
24714         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
24715         don't cache the offset.
24716         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
24717         case.
24718         (do_one_test): Call it.
24719         (do_ftell_test): Fix up expected old offset for a+ mode.
24720         * libio/wfileops.c (do_ftell_wide): Used cached offset when
24721         available.
24723         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
24724         up test status with function return status.
24725         (do_write_test): Likewise.
24726         (do_append_test): Likewise.
24728         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
24729         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
24730         Remove.
24732 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
24734         * math/gen-libm-test.pl (parse_args): Handle results specified for
24735         each rounding mode separately.
24736         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
24737         tests and results from lrint_tonearest_test_data,
24738         lrint_towardzero_test_data, lrint_downward_test_data and
24739         lrint_upward_test_data.
24740         (lrint_test): Use ALL_RM_TEST.
24741         (lrint_tonearest_test_data): Remove.
24742         (lrint_test_tonearest): Likewise.
24743         (lrint_towardzero_test_data): Likewise.
24744         (lrint_test_towardzero): Likewise.
24745         (lrint_downward_test_data): Likewise.
24746         (lrint_test_downward): Likewise.
24747         (lrint_upward_test_data): Likewise.
24748         (lrint_test_upward): Likewise.
24749         (llrint_test_data): Merge in per-rounding-mode tests and results
24750         from llrint_tonearest_test_data, llrint_towardzero_test_data,
24751         llrint_downward_test_data and llrint_upward_test_data.
24752         (llrint_test): Use ALL_RM_TEST.
24753         (llrint_tonearest_test_data): Remove.
24754         (llrint_test_tonearest): Likewise.
24755         (llrint_towardzero_test_data): Likewise.
24756         (llrint_test_towardzero): Likewise.
24757         (llrint_downward_test_data): Likewise.
24758         (llrint_test_downward): Likewise.
24759         (llrint_upward_test_data): Likewise.
24760         (llrint_test_upward): Likewise.
24761         (rint_test_data): Merge in per-rounding-mode tests and results
24762         from rint_tonearest_test_data, rint_towardzero_test_data,
24763         rint_downward_test_data and rint_upward_test_data.  Add
24764         per-rounding-mode results for tests not in those arrays.
24765         (rint_test): Use ALL_RM_TEST.
24766         (rint_tonearest_test_data): Remove.
24767         (rint_test_tonearest): Likewise.
24768         (rint_towardzero_test_data): Likewise.
24769         (rint_test_towardzero): Likewise.
24770         (rint_downward_test_data): Likewise.
24771         (rint_test_downward): Likewise.
24772         (rint_upward_test_data): Likewise.
24773         (rint_test_upward): Likewise.
24774         (main): Don't call removed functions.
24776 2014-03-14  Roland McGrath  <roland@hack.frob.com>
24778         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
24779         "Compiled on ..." crapola.  It is anti-useful.
24781 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
24783         * scripts/evaluate-test.sh: Handle fourth argument to determine
24784         whether test run should stop on failure.
24785         * Makeconfig (stop-on-test-failure): New variable.
24786         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
24787         $(stop-on-test-failure).
24788         * Makefile (tests): Give a summary of results from testing and
24789         exit with failure status if they include an ERROR or FAIL.
24790         (xtests): Likewise.
24791         * manual/install.texi (Configuring and compiling): Mention
24792         stop-on-test-failure=y.
24793         * INSTALL: Regenerated.
24795 2014-03-14  Roland McGrath  <roland@hack.frob.com>
24797         * scripts/versionlist.awk: New file.
24798         * Makerules [$(build-shared) = yes]
24799         (postclean-generated): Add Versions.def, not Versions.def.v and
24800         Versions.def.v.i.
24801         ($(common-objpfx)Versions.def.v.i): Target removed.
24802         ($(common-objpfx)Versions.def): New target.
24803         ($(common-objpfx)Versions.all): Depend on that rather that
24804         $(common-objpfx)Versions.def.v.
24805         * Versions.def: File removed.
24807         * Makeconfig (+gccwarn): Add -Wundef.
24808         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
24809         a dl-sysdep.h breaking its contract.
24810         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
24811         * include/stackinfo.h: New file.
24812         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
24813         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
24814         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
24815         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
24816         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
24817         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
24818         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
24819         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
24820         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
24821         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
24822         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
24823         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
24824         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
24825         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
24826         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
24828 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24830         [BZ #16707]
24831         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
24832         implementation.
24833         * math/libm-test.inc (round_test_data): Add more tests.
24835         [BZ #16706]
24836         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
24837         implementation.
24838         * math/libm-test.inc (nearbyint_test_data): Add more tests.
24840         [BZ #16701]
24841         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
24842         implementation.
24843         * math/libm-test.inc (ceil_test_data): Add more tests.
24845         * math/libm-test.inc (trunc_test_data): Add more tests related to
24846         BZ#16414.
24848 2014-03-14  Roland McGrath  <roland@hack.frob.com>
24850         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
24851         with #if rather than #ifdef.
24852         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
24854 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
24856         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
24857         first.  Disable AVX-512 GCC support if assembler doesn't support
24858         it.
24859         * sysdeps/x86_64/configure: Regenerated.
24861 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
24863         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
24864         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
24865         (__old_pthread_attr_setstack): Likewise.
24866         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
24867         [!_STACK_GROWS_DOWN]: Likewise.
24869 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
24871         * config.make.in (have-bash2): Delete.
24872         * configure.ac (libc_cv_have_bash2): Delete.
24873         * configure: Regenerate.
24874         * elf/Makefile (common-ldd-rewrite): Rename to ...
24875         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
24876         (sh-ldd-rewrite): Delete.
24877         (bash-ldd-rewrite): Delete.
24878         (have-bash2): Delete checks.
24879         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
24880         ldd-rewrite.
24882         * config.make.in (have-ksh): Delete.
24883         (KSH): Delete.
24884         * configure.ac (libc_cv_have_ksh): Delete.
24885         * configure: Regenerate.
24887         * elf/Makefile: Delete $(have-ksh) check.
24888         ($(objpfx)sotruss): Change KSH to BASH.
24889         * elf/sotruss.ksh: Rename to ...
24890         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
24891         function style to match POSIX.  Drop ksh vim mode setting.
24893         * manual/time.texi (Specifying the Time Zone with TZ): Change
24894         Tuesday to Thursday.
24896         * debug/tst-longjmp_chk2.c: Update header comment.
24897         (stackoverflow_handler): Add comment.  Call assert on pass value.
24899 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
24901         [BZ #16194]
24902         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
24903         (HAVE_AVX512_ASM_SUPPORT): Likewise.
24904         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
24905         (La_x86_64_vector): Add zmm.
24906         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
24907         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
24908         ($(objpfx)tst-audit10): New target.
24909         ($(objpfx)tst-audit10.out): Likewise.
24910         (tst-audit10-ENV): New.
24911         (AVX512-CFLAGS): Likewise.
24912         (CFLAGS-tst-audit10.c): Likewise.
24913         (CFLAGS-tst-auditmod10a.c): Likewise.
24914         (CFLAGS-tst-auditmod10b.c): Likewise.
24915         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
24916         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
24917         * sysdeps/x86_64/configure: Regenerated.
24918         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
24919         AVX-512 zmm register support.
24920         (_dl_x86_64_save_sse): Likewise.
24921         (_dl_x86_64_restore_sse): Likewise.
24922         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
24923         size vector registers.
24924         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
24925         (ZMM_SIZE): Likewise.
24926         * sysdeps/x86_64/tst-audit10.c: New file.
24927         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
24928         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
24930 2014-03-13  Roland McGrath  <roland@hack.frob.com>
24932         * configure.ac (HAVE_EHDR_START): New check.
24933         * configure: Regenerated.
24934         * config.h.in (HAVE_EHDR_START): New #undef.
24935         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
24936         assuming the lowest-addressed segment maps the start of the file.
24938 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
24940         * INSTALL: Regenerated.
24942 2014-03-13  Will Newton  <will.newton@linaro.org>
24944         * manual/setjmp.texi (System V contexts): Improve
24945         clarity and grammar of documentation.
24947 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
24949         [BZ #16381]
24950         * elf/Makefile (tests): Add tst-pie2.
24951         (tests-pie): Add tst-pie2.
24952         * elf/tst-pie2.c: New file.
24953         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
24954         for ET_EXEC.
24955         * elf/rtld.c (map_doit): Load executable as lt_executable.
24956         (dl_main): Likewise.
24958 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
24960         [BZ #16642]
24961         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24962         (__ASSUME_PSELECT): Undefine.
24964 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24966         [BZ #16689]
24967         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
24968         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
24969         static build.
24970         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
24971         selector for static builds.
24973 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
24975         [BZ #16695]
24976         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
24977         key in the buffer.
24979 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24981         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
24982         IFUNC selector for static builds.
24984 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
24986         * sysdeps/mips/math_private.h [__mips_hard_float]
24987         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
24988         libc_feresetround_mips_ctx.
24989         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
24990         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
24991         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
24993         [BZ #16677]
24994         * math/s_nextafter.c (__nextafter): Do not return value from
24995         overflowing computation.
24996         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
24997         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
24998         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
24999         Likewise.
25000         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
25001         Likewise.
25002         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
25003         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
25005 2014-03-11  Roland McGrath  <roland@hack.frob.com>
25007         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
25008         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
25009         Move sfi_sp use from the load-multiple (that no longer sets sp) to
25010         the new mov targetting sp.
25012 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25014         [BZ #16683]
25015         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
25016         Define it for static builds as well.
25017         (NO_BZERO_IMPL): Likewise.
25019 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
25021         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
25022         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
25023         multiarch strspn for PPC64.
25024         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
25025         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
25026         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
25027         (__libc_ifunc_impl_list): Likewise.
25028         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
25029         multiarch optimizations
25030         * string/strspn.c (strspn): Using macro to redefine symbol name.
25032 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
25033             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25035         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
25036         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
25037         multiarch strncat for PPC64.
25038         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
25039         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
25040         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
25041         (__libc_ifunc_impl_list): Likewise.
25042         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
25043         multiarch optimizations
25045 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
25047         [BZ #16639]
25048         * nscd/nscd.service: Make service type forking.
25050 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25052         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
25053         sign in non default rounding modes.
25054         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
25056 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
25058         * math/libm-test.inc (ALL_RM_TEST): New macro.
25059         (ceil_test): Use ALL_RM_TEST.
25060         (cimag_test): Likewise.
25061         (conj_test): Likewise.
25062         (copysign_test): Likewise.
25063         (cproj_test): Likewise.
25064         (creal_test): Likewise.
25065         (fabs_test): Likewise.
25066         (floor_test): Likewise.
25067         (fmax_test): Likewise.
25068         (fmin_test): Likewise.
25069         (fmod_test): Likewise.
25070         (fpclassify_test): Likewise.
25071         (frexp_test): Likewise.
25072         (ilogb_test): Likewise.
25073         (isfinite_test): Likewise.
25074         (finite_test): Likewise.
25075         (isgreater_test): Likewise.
25076         (isgreaterequal_test): Likewise.
25077         (isinf_test): Likewise.
25078         (isless_test): Likewise.
25079         (islessequal_test): Likewise.
25080         (islessgreater_test): Likewise.
25081         (isnan_test): Likewise.
25082         (isnormal_test): Likewise.
25083         (issignaling_test): Likewise.
25084         (isunordered_test): Likewise.
25085         (logb_test): Likewise.
25086         (logb_downward_test_data): Remove.
25087         (logb_test_downward): Likewise.
25088         (lround_test): Use ALL_RM_TEST.
25089         (llround_test): Likewise.
25090         (modf_test): Likewise.
25091         (nexttoward_test): Likewise.
25092         (remainder_test): Likewise.
25093         (drem_test): Likewise.
25094         (remainder_tonearest_test_data): Likewise.
25095         (remainder_test_tonearest): Likewise.
25096         (drem_test_tonearest): Likewise.
25097         (remainder_towardzero_test_data): Likewise.
25098         (remainder_test_towardzero): Likewise.
25099         (drem_test_towardzero): Likewise.
25100         (remainder_downward_test_data): Likewise.
25101         (remainder_test_downward): Likewise.
25102         (drem_test_downward): Likewise.
25103         (remainder_upward_test_data): Likewise.
25104         (remainder_test_upward): Likewise.
25105         (drem_test_upward): Likewise.
25106         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
25107         (round_test): Use ALL_RM_TEST.
25108         (signbit_test): Likewise.
25109         (trunc_test): Likewise.
25110         (significand_test): Likewise.
25111         (main): Don't call removed functions.
25113 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
25115         [BZ #16674]
25116         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
25117         || __USE_XOPEN2K8].
25118         (ILL_ILLOPN): Likewise.
25119         (ILL_ILLADR): Likewise.
25120         (ILL_ILLTRP): Likewise.
25121         (ILL_PRVOPC): Likewise.
25122         (ILL_PRVREG): Likewise.
25123         (ILL_COPROC): Likewise.
25124         (ILL_BADSTK): Likewise.
25125         (FPE_INTDIV): Likewise.
25126         (FPE_INTOVF): Likewise.
25127         (FPE_FLTDIV): Likewise.
25128         (FPE_FLTOVF): Likewise.
25129         (FPE_FLTUND): Likewise.
25130         (FPE_FLTRES): Likewise.
25131         (FPE_FLTINV): Likewise.
25132         (FPE_FLTSUB): Likewise.
25133         (SEGV_MAPERR): Likewise.
25134         (SEGV_ACCERR): Likewise.
25135         (BUS_ADRALN): Likewise.
25136         (BUS_ADRERR): Likewise.
25137         (BUS_OBJERR): Likewise.
25138         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
25139         (TRAP_TRACE): Likewise.
25140         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
25141         __USE_XOPEN2K8].
25142         (CLD_KILLED): Likewise.
25143         (CLD_DUMPED): Likewise.
25144         (CLD_TRAPPED): Likewise.
25145         (CLD_STOPPED): Likewise.
25146         (CLD_CONTINUED): Likewise.
25147         (POLL_IN): Likewise.
25148         (POLL_OUT): Likewise.
25149         (POLL_MSG): Likewise.
25150         (POLL_ERR): Likewise.
25151         (POLL_PRI): Likewise.
25152         (POLL_HUP): Likewise.
25153         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
25154         Likewise.
25155         (ILL_ILLOPN): Likewise.
25156         (ILL_ILLADR): Likewise.
25157         (ILL_ILLTRP): Likewise.
25158         (ILL_PRVOPC): Likewise.
25159         (ILL_PRVREG): Likewise.
25160         (ILL_COPROC): Likewise.
25161         (ILL_BADSTK): Likewise.
25162         (FPE_INTDIV): Likewise.
25163         (FPE_INTOVF): Likewise.
25164         (FPE_FLTDIV): Likewise.
25165         (FPE_FLTOVF): Likewise.
25166         (FPE_FLTUND): Likewise.
25167         (FPE_FLTRES): Likewise.
25168         (FPE_FLTINV): Likewise.
25169         (FPE_FLTSUB): Likewise.
25170         (SEGV_MAPERR): Likewise.
25171         (SEGV_ACCERR): Likewise.
25172         (BUS_ADRALN): Likewise.
25173         (BUS_ADRERR): Likewise.
25174         (BUS_OBJERR): Likewise.
25175         (BUS_MCEERR_AR): Likewise.
25176         (BUS_MCEERR_AO): Likewise.
25177         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
25178         (TRAP_TRACE): Likewise.
25179         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
25180         __USE_XOPEN2K8].
25181         (CLD_KILLED): Likewise.
25182         (CLD_DUMPED): Likewise.
25183         (CLD_TRAPPED): Likewise.
25184         (CLD_STOPPED): Likewise.
25185         (CLD_CONTINUED): Likewise.
25186         (POLL_IN): Likewise.
25187         (POLL_OUT): Likewise.
25188         (POLL_MSG): Likewise.
25189         (POLL_ERR): Likewise.
25190         (POLL_PRI): Likewise.
25191         (POLL_HUP): Likewise.
25192         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
25193         (ILL_ILLOPN): Likewise.
25194         (ILL_ILLADR): Likewise.
25195         (ILL_ILLTRP): Likewise.
25196         (ILL_PRVOPC): Likewise.
25197         (ILL_PRVREG): Likewise.
25198         (ILL_COPROC): Likewise.
25199         (ILL_BADSTK): Likewise.
25200         (FPE_INTDIV): Likewise.
25201         (FPE_INTOVF): Likewise.
25202         (FPE_FLTDIV): Likewise.
25203         (FPE_FLTOVF): Likewise.
25204         (FPE_FLTUND): Likewise.
25205         (FPE_FLTRES): Likewise.
25206         (FPE_FLTINV): Likewise.
25207         (FPE_FLTSUB): Likewise.
25208         (SEGV_MAPERR): Likewise.
25209         (SEGV_ACCERR): Likewise.
25210         (BUS_ADRALN): Likewise.
25211         (BUS_ADRERR): Likewise.
25212         (BUS_OBJERR): Likewise.
25213         (BUS_MCEERR_AR): Likewise.
25214         (BUS_MCEERR_AO): Likewise.
25215         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
25216         (TRAP_TRACE): Likewise.
25217         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
25218         __USE_XOPEN2K8].
25219         (CLD_KILLED): Likewise.
25220         (CLD_DUMPED): Likewise.
25221         (CLD_TRAPPED): Likewise.
25222         (CLD_STOPPED): Likewise.
25223         (CLD_CONTINUED): Likewise.
25224         (POLL_IN): Likewise.
25225         (POLL_OUT): Likewise.
25226         (POLL_MSG): Likewise.
25227         (POLL_ERR): Likewise.
25228         (POLL_PRI): Likewise.
25229         (POLL_HUP): Likewise.
25230         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
25231         Likewise.
25232         (ILL_ILLOPN): Likewise.
25233         (ILL_ILLADR): Likewise.
25234         (ILL_ILLTRP): Likewise.
25235         (ILL_PRVOPC): Likewise.
25236         (ILL_PRVREG): Likewise.
25237         (ILL_COPROC): Likewise.
25238         (ILL_BADSTK): Likewise.
25239         (ILL_BADIADDR): Likewise.
25240         (ILL_BREAK): Likewise.
25241         (FPE_INTDIV): Likewise.
25242         (FPE_INTOVF): Likewise.
25243         (FPE_FLTDIV): Likewise.
25244         (FPE_FLTOVF): Likewise.
25245         (FPE_FLTUND): Likewise.
25246         (FPE_FLTRES): Likewise.
25247         (FPE_FLTINV): Likewise.
25248         (FPE_FLTSUB): Likewise.
25249         (FPE_DECOVF): Likewise.
25250         (FPE_DECDIV): Likewise.
25251         (FPE_DECERR): Likewise.
25252         (FPE_INVASC): Likewise.
25253         (FPE_INVDEC): Likewise.
25254         (SEGV_MAPERR): Likewise.
25255         (SEGV_ACCERR): Likewise.
25256         (SEGV_PSTKOVF): Likewise.
25257         (BUS_ADRALN): Likewise.
25258         (BUS_ADRERR): Likewise.
25259         (BUS_OBJERR): Likewise.
25260         (BUS_MCEERR_AR): Likewise.
25261         (BUS_MCEERR_AO): Likewise.
25262         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
25263         (TRAP_TRACE): Likewise.
25264         (TRAP_BRANCH): Likewise.
25265         (TRAP_HWBKPT): Likewise.
25266         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
25267         __USE_XOPEN2K8].
25268         (CLD_KILLED): Likewise.
25269         (CLD_DUMPED): Likewise.
25270         (CLD_TRAPPED): Likewise.
25271         (CLD_STOPPED): Likewise.
25272         (CLD_CONTINUED): Likewise.
25273         (POLL_IN): Likewise.
25274         (POLL_OUT): Likewise.
25275         (POLL_MSG): Likewise.
25276         (POLL_ERR): Likewise.
25277         (POLL_PRI): Likewise.
25278         (POLL_HUP): Likewise.
25279         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
25280         (ILL_ILLOPN): Likewise.
25281         (ILL_ILLADR): Likewise.
25282         (ILL_ILLTRP): Likewise.
25283         (ILL_PRVOPC): Likewise.
25284         (ILL_PRVREG): Likewise.
25285         (ILL_COPROC): Likewise.
25286         (ILL_BADSTK): Likewise.
25287         (FPE_INTDIV): Likewise.
25288         (FPE_INTOVF): Likewise.
25289         (FPE_FLTDIV): Likewise.
25290         (FPE_FLTOVF): Likewise.
25291         (FPE_FLTUND): Likewise.
25292         (FPE_FLTRES): Likewise.
25293         (FPE_FLTINV): Likewise.
25294         (FPE_FLTSUB): Likewise.
25295         (SEGV_MAPERR): Likewise.
25296         (SEGV_ACCERR): Likewise.
25297         (BUS_ADRALN): Likewise.
25298         (BUS_ADRERR): Likewise.
25299         (BUS_OBJERR): Likewise.
25300         (BUS_MCEERR_AR): Likewise.
25301         (BUS_MCEERR_AO): Likewise.
25302         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
25303         (TRAP_TRACE): Likewise.
25304         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
25305         __USE_XOPEN2K8].
25306         (CLD_KILLED): Likewise.
25307         (CLD_DUMPED): Likewise.
25308         (CLD_TRAPPED): Likewise.
25309         (CLD_STOPPED): Likewise.
25310         (CLD_CONTINUED): Likewise.
25311         (POLL_IN): Likewise.
25312         (POLL_OUT): Likewise.
25313         (POLL_MSG): Likewise.
25314         (POLL_ERR): Likewise.
25315         (POLL_PRI): Likewise.
25316         (POLL_HUP): Likewise.
25317         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
25318         (ILL_ILLOPN): Likewise.
25319         (ILL_ILLADR): Likewise.
25320         (ILL_ILLTRP): Likewise.
25321         (ILL_PRVOPC): Likewise.
25322         (ILL_PRVREG): Likewise.
25323         (ILL_COPROC): Likewise.
25324         (ILL_BADSTK): Likewise.
25325         (FPE_INTDIV): Likewise.
25326         (FPE_INTOVF): Likewise.
25327         (FPE_FLTDIV): Likewise.
25328         (FPE_FLTOVF): Likewise.
25329         (FPE_FLTUND): Likewise.
25330         (FPE_FLTRES): Likewise.
25331         (FPE_FLTINV): Likewise.
25332         (FPE_FLTSUB): Likewise.
25333         (SEGV_MAPERR): Likewise.
25334         (SEGV_ACCERR): Likewise.
25335         (BUS_ADRALN): Likewise.
25336         (BUS_ADRERR): Likewise.
25337         (BUS_OBJERR): Likewise.
25338         (BUS_MCEERR_AR): Likewise.
25339         (BUS_MCEERR_AO): Likewise.
25340         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
25341         (TRAP_TRACE): Likewise.
25342         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
25343         __USE_XOPEN2K8].
25344         (CLD_KILLED): Likewise.
25345         (CLD_DUMPED): Likewise.
25346         (CLD_TRAPPED): Likewise.
25347         (CLD_STOPPED): Likewise.
25348         (CLD_CONTINUED): Likewise.
25349         (POLL_IN): Likewise.
25350         (POLL_OUT): Likewise.
25351         (POLL_MSG): Likewise.
25352         (POLL_ERR): Likewise.
25353         (POLL_PRI): Likewise.
25354         (POLL_HUP): Likewise.
25355         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
25356         (ILL_ILLOPN): Likewise.
25357         (ILL_ILLADR): Likewise.
25358         (ILL_ILLTRP): Likewise.
25359         (ILL_PRVOPC): Likewise.
25360         (ILL_PRVREG): Likewise.
25361         (ILL_COPROC): Likewise.
25362         (ILL_BADSTK): Likewise.
25363         (FPE_INTDIV): Likewise.
25364         (FPE_INTOVF): Likewise.
25365         (FPE_FLTDIV): Likewise.
25366         (FPE_FLTOVF): Likewise.
25367         (FPE_FLTUND): Likewise.
25368         (FPE_FLTRES): Likewise.
25369         (FPE_FLTINV): Likewise.
25370         (FPE_FLTSUB): Likewise.
25371         (SEGV_MAPERR): Likewise.
25372         (SEGV_ACCERR): Likewise.
25373         (BUS_ADRALN): Likewise.
25374         (BUS_ADRERR): Likewise.
25375         (BUS_OBJERR): Likewise.
25376         (BUS_MCEERR_AR): Likewise.
25377         (BUS_MCEERR_AO): Likewise.
25378         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
25379         (TRAP_TRACE): Likewise.
25380         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
25381         __USE_XOPEN2K8].
25382         (CLD_KILLED): Likewise.
25383         (CLD_DUMPED): Likewise.
25384         (CLD_TRAPPED): Likewise.
25385         (CLD_STOPPED): Likewise.
25386         (CLD_CONTINUED): Likewise.
25387         (POLL_IN): Likewise.
25388         (POLL_OUT): Likewise.
25389         (POLL_MSG): Likewise.
25390         (POLL_ERR): Likewise.
25391         (POLL_PRI): Likewise.
25392         (POLL_HUP): Likewise.
25393         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
25394         (ILL_ILLOPN): Likewise.
25395         (ILL_ILLADR): Likewise.
25396         (ILL_ILLTRP): Likewise.
25397         (ILL_PRVOPC): Likewise.
25398         (ILL_PRVREG): Likewise.
25399         (ILL_COPROC): Likewise.
25400         (ILL_BADSTK): Likewise.
25401         (ILL_DBLFLT): Likewise.
25402         (ILL_HARDWALL): Likewise.
25403         (FPE_INTDIV): Likewise.
25404         (FPE_INTOVF): Likewise.
25405         (FPE_FLTDIV): Likewise.
25406         (FPE_FLTOVF): Likewise.
25407         (FPE_FLTUND): Likewise.
25408         (FPE_FLTRES): Likewise.
25409         (FPE_FLTINV): Likewise.
25410         (FPE_FLTSUB): Likewise.
25411         (SEGV_MAPERR): Likewise.
25412         (SEGV_ACCERR): Likewise.
25413         (BUS_ADRALN): Likewise.
25414         (BUS_ADRERR): Likewise.
25415         (BUS_OBJERR): Likewise.
25416         (BUS_MCEERR_AR): Likewise.
25417         (BUS_MCEERR_AO): Likewise.
25418         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
25419         (TRAP_TRACE): Likewise.
25420         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
25421         __USE_XOPEN2K8].
25422         (CLD_KILLED): Likewise.
25423         (CLD_DUMPED): Likewise.
25424         (CLD_TRAPPED): Likewise.
25425         (CLD_STOPPED): Likewise.
25426         (CLD_CONTINUED): Likewise.
25427         (POLL_IN): Likewise.
25428         (POLL_OUT): Likewise.
25429         (POLL_MSG): Likewise.
25430         (POLL_ERR): Likewise.
25431         (POLL_PRI): Likewise.
25432         (POLL_HUP): Likewise.
25433         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
25434         (ILL_ILLOPN): Likewise.
25435         (ILL_ILLADR): Likewise.
25436         (ILL_ILLTRP): Likewise.
25437         (ILL_PRVOPC): Likewise.
25438         (ILL_PRVREG): Likewise.
25439         (ILL_COPROC): Likewise.
25440         (ILL_BADSTK): Likewise.
25441         (FPE_INTDIV): Likewise.
25442         (FPE_INTOVF): Likewise.
25443         (FPE_FLTDIV): Likewise.
25444         (FPE_FLTOVF): Likewise.
25445         (FPE_FLTUND): Likewise.
25446         (FPE_FLTRES): Likewise.
25447         (FPE_FLTINV): Likewise.
25448         (FPE_FLTSUB): Likewise.
25449         (SEGV_MAPERR): Likewise.
25450         (SEGV_ACCERR): Likewise.
25451         (BUS_ADRALN): Likewise.
25452         (BUS_ADRERR): Likewise.
25453         (BUS_OBJERR): Likewise.
25454         (BUS_MCEERR_AR): Likewise.
25455         (BUS_MCEERR_AO): Likewise.
25456         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
25457         (TRAP_TRACE): Likewise.
25458         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
25459         __USE_XOPEN2K8].
25460         (CLD_KILLED): Likewise.
25461         (CLD_DUMPED): Likewise.
25462         (CLD_TRAPPED): Likewise.
25463         (CLD_STOPPED): Likewise.
25464         (CLD_CONTINUED): Likewise.
25465         (POLL_IN): Likewise.
25466         (POLL_OUT): Likewise.
25467         (POLL_MSG): Likewise.
25468         (POLL_ERR): Likewise.
25469         (POLL_PRI): Likewise.
25470         (POLL_HUP): Likewise.
25471         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
25472         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
25474         [BZ #16670]
25475         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
25476         before #include of <time.h>.
25477         [!__USE_XOPEN2K] (__need_timespec): Likewise.
25478         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
25479         (test-xfail-UNIX98/sched.h/conform): Likewise.
25481 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
25483         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
25484         error absence of trapping exception support.
25485         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
25487 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
25489         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
25490         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
25491         * timezone/Makefile (testdata): Move definition above include of
25492         Rules.
25493         (test-zones): New variable.
25494         (tests-special): Add zone files.
25495         (build-testdata): Use $(evaluate-test).
25497         * elf/Makefile (tests-special): Rename tests to end with .out.
25498         ($(objpfx)noload-mem): Likewise.
25499         ($(objpfx)tst-leaks1-mem): Likewise.
25500         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
25501         * iconv/Makefile (xtests-special): Change test-iconvconfig to
25502         $(objpfx)test-iconvconfig.out.
25503         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
25504         set -e inside subshell and redirect output to file.
25505         * iconvdata/Makefile (generated): Rename tests to end with .out.
25506         Correct type.
25507         (tests-special): Rename tests to end with .out.
25508         ($(objpfx)mtrace-tst-loading): Likewise.
25509         * intl/Makefile (generated): Likewise.
25510         (tests-special): Likewise.
25511         ($(objpfx)mtrace-tst-gettext): Likewise.
25512         * misc/Makefile (generated): Likewise.
25513         (tests-special): Likewise.
25514         ($(objpfx)tst-error1-mem): Likewise.
25515         * nptl/Makefile (tests-special): Likewise.
25516         ($(objpfx)tst-stack3-mem): Likewise.
25517         (generated): Likewise.
25518         * posix/Makefile (generated): Likewise.
25519         (tests-special): Likewise.
25520         (xtests-special): Likewise.
25521         ($(objpfx)tst-fnmatch-mem): Likewise.
25522         ($(objpfx)bug-regex2-mem): Likewise.
25523         ($(objpfx)bug-regex14-mem): Likewise.
25524         ($(objpfx)bug-regex21-mem): Likewise.
25525         ($(objpfx)bug-regex31-mem): Likewise.
25526         ($(objpfx)tst-vfork3-mem): Likewise.
25527         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
25528         ($(objpfx)tst-pcre-mem): Likewise.
25529         ($(objpfx)tst-boost-mem): Likewise.
25530         ($(objpfx)bug-ga2-mem): Likewise.
25531         ($(objpfx)bug-glob2-mem): Likewise.
25532         * resolv/Makefile (generate): Likewise.
25533         (tests-special): Likewise.
25534         (xtests-special): Likewise.
25535         (generated): Likewise.
25536         ($(objpfx)mtrace-tst-leaks): Likewise.
25537         ($(objpfx)mtrace-tst-leaks2): Likewise.
25539         * scripts/merge-test-results.sh: New file.
25540         * Makefile (tests-special-notdir): New variable.
25541         (tests): Run merge-test-results.sh.
25542         (xtests): Likewise.
25543         * Rules (tests-special-notdir): New variable.
25544         (xtests-special-notdir): Likewise.
25545         (tests): Run merge-test-results.sh
25546         (xtests): Likewise.
25548         * Makeconfig (test-xfail-name): New variable.
25549         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
25550         compute variable name for expected failures.
25551         * conform/Makefile (conformtest-headers-data): New variable.
25552         (conformtest-standards): Likewise.
25553         (conformtest-headers-ISO): Likewise.
25554         (conformtest-headers-ISO99): Likewise.
25555         (conformtest-headers-ISO11): Likewise.
25556         (conformtest-headers-POSIX): Likewise.
25557         (conformtest-headers-XPG3): Likewise.
25558         (conformtest-headers-XPG4): Likewise.
25559         (conformtest-headers-UNIX98): Likewise.
25560         (conformtest-headers-XOPEN2K): Likewise.
25561         (conformtest-headers-POSIX2008): Likewise.
25562         (conformtest-headers-XOPEN2K8): Likewise.
25563         (conformtest-header-list-base): Likewise.
25564         (conformtest-header-list-tests): Likewise.
25565         (conformtest-header-base): Likewise.
25566         (conformtest-header-tests): Likewise.
25567         (tests-special): Add $(conformtest-header-list-tests).  If
25568         [$(fast-check) && !$(cross-compiling)], add
25569         $(conformtest-header-tests) instead of
25570         $(objpfx)run-conformtest.out.
25571         (generated): Add $(conformtest-header-list-base).  If
25572         [$(fast-check) && !$(cross-compiling)], add
25573         $(conformtest-header-base).  Remove previous setting.
25574         ($(conformtest-header-list-tests)): New target.
25575         (test-xfail-run-conformtest): Remove variable.
25576         ($(objpfx)run-conformtest.out): Remove target.
25577         (test-xfail-ISO11/complex.h/conform): New variable.
25578         (test-xfail-ISO11/stdalign.h/conform): Likewise.
25579         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
25580         (test-xfail-XPG3/varargs.h/conform): Likewise.
25581         (test-xfail-XPG4/varargs.h/conform): Likewise.
25582         (test-xfail-UNIX98/varargs.h/conform): Likewise.
25583         (test-xfail-XPG4/ndbm.h/conform): Likewise.
25584         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
25585         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
25586         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
25587         (test-xfail-XPG3/fcntl.h/conform): Likewise.
25588         (test-xfail-XPG3/ftw.h/conform): Likewise.
25589         (test-xfail-XPG3/grp.h/conform): Likewise.
25590         (test-xfail-XPG3/langinfo.h/conform): Likewise.
25591         (test-xfail-XPG3/limits.h/conform): Likewise.
25592         (test-xfail-XPG3/pwd.h/conform): Likewise.
25593         (test-xfail-XPG3/search.h/conform): Likewise.
25594         (test-xfail-XPG3/signal.h/conform): Likewise.
25595         (test-xfail-XPG3/stdio.h/conform): Likewise.
25596         (test-xfail-XPG3/stdlib.h/conform): Likewise.
25597         (test-xfail-XPG3/string.h/conform): Likewise.
25598         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
25599         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
25600         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
25601         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
25602         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
25603         (test-xfail-XPG3/sys/types.h/conform): Likewise.
25604         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
25605         (test-xfail-XPG3/termios.h/conform): Likewise.
25606         (test-xfail-XPG3/time.h/conform): Likewise.
25607         (test-xfail-XPG3/unistd.h/conform): Likewise.
25608         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
25609         (test-xfail-XPG4/fcntl.h/conform): Likewise.
25610         (test-xfail-XPG4/langinfo.h/conform): Likewise.
25611         (test-xfail-XPG4/netdb.h/conform): Likewise.
25612         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
25613         (test-xfail-XPG4/signal.h/conform): Likewise.
25614         (test-xfail-XPG4/stdio.h/conform): Likewise.
25615         (test-xfail-XPG4/stdlib.h/conform): Likewise.
25616         (test-xfail-XPG4/stropts.h/conform): Likewise.
25617         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
25618         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
25619         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
25620         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
25621         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
25622         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
25623         (test-xfail-XPG4/sys/time.h/conform): Likewise.
25624         (test-xfail-XPG4/sys/types.h/conform): Likewise.
25625         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
25626         (test-xfail-XPG4/termios.h/conform): Likewise.
25627         (test-xfail-XPG4/ucontext.h/conform): Likewise.
25628         (test-xfail-XPG4/unistd.h/conform): Likewise.
25629         (test-xfail-XPG4/utmpx.h/conform): Likewise.
25630         (test-xfail-POSIX/sched.h/conform): Likewise.
25631         (test-xfail-POSIX/signal.h/conform): Likewise.
25632         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
25633         (test-xfail-POSIX/tar.h/conform): Likewise.
25634         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
25635         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
25636         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
25637         (test-xfail-UNIX98/netdb.h/conform): Likewise.
25638         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
25639         (test-xfail-UNIX98/sched.h/conform): Likewise.
25640         (test-xfail-UNIX98/signal.h/conform): Likewise.
25641         (test-xfail-UNIX98/stdio.h/conform): Likewise.
25642         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
25643         (test-xfail-UNIX98/stropts.h/conform): Likewise.
25644         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
25645         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
25646         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
25647         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
25648         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
25649         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
25650         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
25651         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
25652         (test-xfail-UNIX98/unistd.h/conform): Likewise.
25653         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
25654         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
25655         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
25656         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
25657         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
25658         (test-xfail-XOPEN2K/math.h/conform): Likewise.
25659         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
25660         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
25661         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
25662         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
25663         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
25664         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
25665         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
25666         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
25667         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
25668         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
25669         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
25670         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
25671         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
25672         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
25673         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
25674         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
25675         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
25676         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
25677         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
25678         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
25679         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
25680         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
25681         (test-xfail-POSIX2008/signal.h/conform): Likewise.
25682         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
25683         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
25684         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
25685         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
25686         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
25687         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
25688         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
25689         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
25690         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
25691         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
25692         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
25693         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
25694         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
25695         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
25696         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
25697         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
25698         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
25699         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
25700         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
25701         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
25702         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
25703         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
25704         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
25705         (conformtest-cc-flags): Likewise.
25706         ($(conformtest-header-tests): New target.
25707         * conform/check-header-lists.sh: New file.
25708         * conform/run-conformtest.sh: Remove.
25710         * conform/conformtest.pl: Allow ' and \ in values given for
25711         constants.
25712         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
25713         inclusion.
25714         [POSIX] (sys/types.h): Likewise.
25715         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
25716         inclusion.
25717         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
25718         inclusion.
25719         * conform/data/signal.h-data (SIGIO): Remove expectation.
25720         [XPG3] (SIGBUS): Do not expect.
25721         [POSIX || XPG3] (SIGPOLL): Likewise.
25722         [POSIX || XPG3] (SIGPROF): Likewise.
25723         [POSIX || XPG3] (SIGSYS): Likewise.
25724         [XPG3] (SIGTRAP): Likewise.
25725         [POSIX || XPG3] (SIGURG): Likewise.
25726         [POSIX || XPG3] (SIGVTALRM): Likewise.
25727         [POSIX || XPG3] (SIGXCPU): Likewise.
25728         [POSIX || XPG3] (SIGXFSZ): Likewise.
25729         [POSIX] (SA_SIGINFO): Expect.
25730         [XPG3] (siginfo_t): Do not expect type or contents.
25731         [POSIX] (si_pid): Do not expect element.
25732         [POSIX] (si_uid): Likewise.
25733         [POSIX] (si_addr): Likewise.
25734         [POSIX] (si_status): Likewise.
25735         [POSIX] (si_band): Likewise.
25736         [XPG4] (si_value): Likewise.
25737         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
25738         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
25739         [POSIX || XPG3] (ILL_ILLADR): Likewise.
25740         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
25741         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
25742         [POSIX || XPG3] (ILL_PRVREG): Likewise.
25743         [POSIX || XPG3] (ILL_COPROC): Likewise.
25744         [POSIX || XPG3] (ILL_BADSTK): Likewise.
25745         [POSIX || XPG3] (FPE_INTDIV): Likewise.
25746         [POSIX || XPG3] (FPE_INTOVF): Likewise.
25747         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
25748         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
25749         [POSIX || XPG3] (FPE_FLTUND): Likewise.
25750         [POSIX || XPG3] (FPE_FLTRES): Likewise.
25751         [POSIX || XPG3] (FPE_FLTINV): Likewise.
25752         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
25753         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
25754         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
25755         [POSIX || XPG3] (BUS_ADRALN): Likewise.
25756         [POSIX || XPG3] (BUS_ADRERR): Likewise.
25757         [POSIX || XPG3] (BUS_OBJERR): Likewise.
25758         [POSIX || XPG3] (CLD_EXITED): Likewise.
25759         [POSIX || XPG3] (CLD_KILLED): Likewise.
25760         [POSIX || XPG3] (CLD_DUMPED): Likewise.
25761         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
25762         [POSIX || XPG3] (CLD_STOPPED): Likewise.
25763         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
25764         [POSIX || XPG3] (POLL_IN): Likewise.
25765         [POSIX || XPG3] (POLL_OUT): Likewise.
25766         [POSIX || XPG3] (POLL_MSG): Likewise.
25767         [POSIX || XPG3] (POLL_ERR): Likewise.
25768         [POSIX || XPG3] (POLL_PRI): Likewise.
25769         [POSIX || XPG3] (POLL_HUP): Likewise.
25770         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
25771         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
25772         (SIG*): Do not allow.
25773         [XPG3] (si_*): Likewise.
25774         [XPG3] (SI_*): Likewise.
25775         [XPG3 || XPG4] (sigev_*): Likewise.
25776         [XPG3 || XPG4] (SIGEV_*): Likewise.
25777         [XPG3 || XPG4] (sival_*): Likewise.
25778         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
25779         [POSIX || XPG3] (BUS_*): Likewise.
25780         [POSIX || XPG3] (CLD_*): Likewise.
25781         [POSIX || XPG3] (FPE_*): Likewise.
25782         [POSIX || XPG3] (ILL_*): Likewise.
25783         [POSIX || XPG3] (POLL_*): Likewise.
25784         [POSIX || XPG3] (SEGV_*): Likewise.
25785         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
25786         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
25787         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
25788         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
25789         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
25790         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
25791         Specify type and value.
25792         (TVERSLEN): Likewise.
25793         (REGTYPE): Likewise.
25794         (AREGTYPE): Likewise.
25795         (LNKTYPE): Likewise.
25796         (SYMTYPE): Likewise.
25797         (CHRTYPE): Likewise.
25798         (BLKTYPE): Likewise.
25799         (DIRTYPE): Likewise.
25800         (FIFOTYPE): Likewise.
25801         (CONTTYPE): Likewise.
25802         (TSUID): Likewise.
25803         (TSGID): Likewise.
25804         (TSVTX): Likewise.
25805         (TUREAD): Likewise.
25806         (TUWRITE): Likewise.
25807         (TUEXEC): Likewise.
25808         (TGREAD): Likewise.
25809         (TGWRITE): Likewise.
25810         (TGEXEC): Likewise.
25811         (TOREAD): Likewise.
25812         (TOWRITE): Likewise.
25813         (TOEXEC): Likewise.
25814         [POSIX] (TSVTX): Expect constant.
25816 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
25818         * Makefile (tests): Change dependencies to ....
25819         (tests-special): ... additions to this variable.
25820         (tests): Depend on $(tests-special).
25821         * Makerules (check-abi-list): New variable.
25822         (check-abi): Depend on $(check-abi-list).
25823         [$(subdir) = elf] (tests-special): Add
25824         $(objpfx)check-abi-libc.out.
25825         [$(build-shared) = yes && subdir] (tests-special): Add
25826         $(check-abi-list).
25827         [$(build-shared) = yes && subdir] (tests): Do not depend on
25828         check-abi.
25829         * Rules (tests): Depend on $(tests-special).
25830         (xtests): Depend on $(xtests-special).
25831         * catgets/Makefile (tests): Change dependencies to ....
25832         (tests-special): ... additions to this variable.
25833         * conform/Makefile (tests): Change dependencies to ....
25834         (tests-special): ... additions to this variable.
25835         * elf/Makefile (tests): Change dependencies to ....
25836         (tests-special): ... additions to this variable.
25837         * grp/Makefile (tests): Change dependencies to ....
25838         (tests-special): ... additions to this variable.
25839         * iconv/Makefile (xtests): Change dependencies to ....
25840         (xtests-special): ... additions to this variable.
25841         * iconvdata/Makefile (tests): Change dependencies to ....
25842         (tests-special): ... additions to this variable.
25843         * intl/Makefile (tests): Change dependencies to ....
25844         (tests-special): ... additions to this variable.  Also add
25845         $(objpfx)tst-gettext.out.
25846         * io/Makefile (tests): Change dependencies to ....
25847         (tests-special): ... additions to this variable.
25848         * libio/Makefile (tests): Change dependencies to ....
25849         (tests-special): ... additions to this variable.
25850         * malloc/Makefile (tests): Change dependencies to ....
25851         (tests-special): ... additions to this variable.
25852         * misc/Makefile (tests): Change dependencies to ....
25853         (tests-special): ... additions to this variable.
25854         * nptl/Makefile (tests): Change dependencies to ....
25855         (tests-special): ... additions to this variable.
25856         * nptl_db/Makefile (tests): Change dependencies to ....
25857         (tests-special): ... additions to this variable.
25858         * posix/Makefile (tests): Change dependencies to ....
25859         (tests-special): ... additions to this variable.
25860         (xtests): Change dependencies to ....
25861         (xtests-special): ... additions to this variable.
25862         * resolv/Makefile (tests): Change dependencies to ....
25863         (tests-special): ... additions to this variable.
25864         (xtests): Change dependencies to ....
25865         (xtests-special): ... additions to this variable.
25866         * stdio-common/Makefile (tests): Change dependencies to ....
25867         (tests-special): ... additions to this variable.
25868         (do-tst-unbputc): Remove target.
25869         (do-tst-printf): Likewise.
25870         * stdlib/Makefile (tests): Change dependencies to ....
25871         (tests-special): ... additions to this variable.
25872         * string/Makefile (tests): Change dependencies to ....
25873         (tests-special): ... additions to this variable.
25874         * sysdeps/x86/Makefile (tests): Change dependencies to ....
25875         (tests-special): ... additions to this variable.
25877         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
25878         whole file.
25879         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
25880         whole file.
25881         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
25882         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
25884         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
25885         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
25886         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
25887         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
25888         * conform/data/libgen.h-data [XPG3]: Likewise.
25889         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
25890         * conform/data/ndbm.h-data [XPG3]: Likewise.
25891         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
25892         * conform/data/netdb.h-data [XPG3]: Likewise.
25893         * conform/data/netinet/in.h-data [XPG3]: Likewise.
25894         * conform/data/poll.h-data [XPG3]: Likewise.
25895         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
25896         * conform/data/strings.h-data [XPG3]: Likewise.
25897         * conform/data/stropts.h-data [XPG3]: Likewise.
25898         * conform/data/sys/mman.h-data [XPG3]: Likewise.
25899         * conform/data/sys/resource.h-data [XPG3]: Likewise.
25900         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
25901         Likewise.
25902         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
25903         * conform/data/sys/time.h-data [XPG3]: Likewise.
25904         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
25905         * conform/data/sys/uio.h-data [XPG3]: Likewise.
25906         * conform/data/sys/un.h-data [XPG3]: Likewise.
25907         * conform/data/syslog.h-data [XPG3]: Likewise.
25908         * conform/data/ucontext.h-data [XPG3]: Likewise.
25909         * conform/data/utmpx.h-data [XPG3]: Likewise.
25910         * conform/data/varargs.h-data [UNIX98]: Enable file.
25912         * manual/Makefile (INSTALL_INFO): Remove variable setting.
25914         * math/libm-test.inc (struct test_f_f_data): Move expected results
25915         into structure for each rounding mode.
25916         (struct test_ff_f_data): Likewise.
25917         (struct test_ff_f_data_nexttoward): Likewise.
25918         (struct test_fi_f_data): Likewise.
25919         (struct test_fl_f_data): Likewise.
25920         (struct test_if_f_data): Likewise.
25921         (struct test_fff_f_data): Likewise.
25922         (struct test_c_f_data): Likewise.
25923         (struct test_f_f1_data): Likewise.
25924         (struct test_fF_f1_data): Likewise.
25925         (struct test_ffI_f1_data): Likewise.
25926         (struct test_c_c_data): Likewise.
25927         (struct test_cc_c_data): Likewise.
25928         (struct test_f_i_data): Likewise.
25929         (struct test_ff_i_data): Likewise.
25930         (struct test_f_l_data): Likewise.
25931         (struct test_f_L_data): Likewise.
25932         (struct test_fFF_11_data): Likewise.
25933         (RM_): New macro.
25934         (RM_FE_DOWNWARD): Likewise.
25935         (RM_FE_TONEAREST): Likewise.
25936         (RM_FE_TOWARDZERO): Likewise.
25937         (RM_FE_UPWARD): Likewise.
25938         (RUN_TEST_LOOP_f_f): Update references to expected results.
25939         (RUN_TEST_LOOP_2_f): Likewise.
25940         (RUN_TEST_LOOP_fff_f): Likewise.
25941         (RUN_TEST_LOOP_c_f): Likewise.
25942         (RUN_TEST_LOOP_f_f1): Likewise.
25943         (RUN_TEST_LOOP_fF_f1): Likewise.
25944         (RUN_TEST_LOOP_fI_f1): Likewise.
25945         (RUN_TEST_LOOP_ffI_f1): Likewise.
25946         (RUN_TEST_LOOP_c_c): Likewise.
25947         (RUN_TEST_LOOP_cc_c): Likewise.
25948         (RUN_TEST_LOOP_f_i): Likewise.
25949         (RUN_TEST_LOOP_f_i_tg): Likewise.
25950         (RUN_TEST_LOOP_ff_i_tg): Likewise.
25951         (RUN_TEST_LOOP_f_b): Likewise.
25952         (RUN_TEST_LOOP_f_b_tg): Likewise.
25953         (RUN_TEST_LOOP_f_l): Likewise.
25954         (RUN_TEST_LOOP_f_L): Likewise.
25955         (RUN_TEST_LOOP_fFF_11): Likewise.
25956         * math/gen-libm-test.pl (parse_args): Output four copies of
25957         expected results for each test.
25959         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
25960         (__ASSUME_UTIMES): Remove.
25961         * sysdeps/unix/sysv/linux/tile/kernel-features.h
25962         (__ASSUME_UTIMES): Likewise.
25964         * math/gen-auto-libm-tests.c: Update comment on output format.
25965         (output_for_one_input_case): Generate before-rounding and
25966         after-rounding information as conditions on output flags not
25967         floating-point format.
25968         * math/auto-libm-test-out: Regenerated.
25969         * math/gen-libm-test.pl (cond_value): New function.
25970         (or_cond_value): Use cond_value.
25971         (generate_testfile): Handle conditional exceptions.
25973 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
25975         * math/libm-test.inc (max_valid_error): New variable.
25976         (init_max_error): Take new argument specifying whether function
25977         results are exactly determined.  Set max_valid_error and bound
25978         other variables for errors based on this argument.
25979         (set_max_error): Do not record results above max_valid_error.
25980         (check_float_internal): Only accept errors of up to 0.5ulps if
25981         also at most max_valid_error.
25982         (START): Take new argument EXACT and pass it to init_max_error.
25983         (acos_test): Update call to START.
25984         (acos_test_tonearest): Likewise.
25985         (acos_test_towardzero): Likewise.
25986         (acos_test_downward): Likewise.
25987         (acos_test_upward): Likewise.
25988         (acosh_test): Likewise.
25989         (asin_test): Likewise.
25990         (asin_test_tonearest): Likewise.
25991         (asin_test_towardzero): Likewise.
25992         (asin_test_downward): Likewise.
25993         (asin_test_upward): Likewise.
25994         (asinh_test): Likewise.
25995         (atan_test): Likewise.
25996         (atanh_test): Likewise.
25997         (atan2_test): Likewise.
25998         (cabs_test): Likewise.
25999         (cacos_test): Likewise.
26000         (cacosh_test): Likewise.
26001         (carg_test): Likewise.
26002         (casin_test): Likewise.
26003         (casinh_test): Likewise.
26004         (catan_test): Likewise.
26005         (catanh_test): Likewise.
26006         (cbrt_test): Likewise.
26007         (ccos_test): Likewise.
26008         (ccosh_test): Likewise.
26009         (ceil_test): Likewise.
26010         (cexp_test): Likewise.
26011         (cimag_test): Likewise.
26012         (clog_test): Likewise.
26013         (clog10_test): Likewise.
26014         (conj_test): Likewise.
26015         (copysign_test): Likewise.
26016         (cos_test): Likewise.
26017         (cos_test_tonearest): Likewise.
26018         (cos_test_towardzero): Likewise.
26019         (cos_test_downward): Likewise.
26020         (cos_test_upward): Likewise.
26021         (cosh_test): Likewise.
26022         (cosh_test_tonearest): Likewise.
26023         (cosh_test_towardzero): Likewise.
26024         (cosh_test_downward): Likewise.
26025         (cosh_test_upward): Likewise.
26026         (cpow_test): Likewise.
26027         (cproj_test): Likewise.
26028         (creal_test): Likewise.
26029         (csin_test): Likewise.
26030         (csinh_test): Likewise.
26031         (csqrt_test): Likewise.
26032         (ctan_test): Likewise.
26033         (ctan_test_tonearest): Likewise.
26034         (ctan_test_towardzero): Likewise.
26035         (ctan_test_downward): Likewise.
26036         (ctan_test_upward): Likewise.
26037         (ctanh_test): Likewise.
26038         (ctanh_test_tonearest): Likewise.
26039         (ctanh_test_towardzero): Likewise.
26040         (ctanh_test_downward): Likewise.
26041         (ctanh_test_upward): Likewise.
26042         (erf_test): Likewise.
26043         (erfc_test): Likewise.
26044         (exp_test): Likewise.
26045         (exp_test_tonearest): Likewise.
26046         (exp_test_towardzero): Likewise.
26047         (exp_test_downward): Likewise.
26048         (exp_test_upward): Likewise.
26049         (exp10_test): Likewise.
26050         (exp10_test_tonearest): Likewise.
26051         (exp10_test_towardzero): Likewise.
26052         (exp10_test_downward): Likewise.
26053         (exp10_test_upward): Likewise.
26054         (pow10_test): Likewise.
26055         (exp2_test): Likewise.
26056         (expm1_test): Likewise.
26057         (expm1_test_tonearest): Likewise.
26058         (expm1_test_towardzero): Likewise.
26059         (expm1_test_downward): Likewise.
26060         (expm1_test_upward): Likewise.
26061         (fabs_test): Likewise.
26062         (fdim_test): Likewise.
26063         (floor_test): Likewise.
26064         (fma_test): Likewise.
26065         (fma_test_towardzero): Likewise.
26066         (fma_test_downward): Likewise.
26067         (fma_test_upward): Likewise.
26068         (fmax_test): Likewise.
26069         (fmin_test): Likewise.
26070         (fmod_test): Likewise.
26071         (fpclassify_test): Likewise.
26072         (frexp_test): Likewise.
26073         (hypot_test): Likewise.
26074         (ilogb_test): Likewise.
26075         (isfinite_test): Likewise.
26076         (finite_test): Likewise.
26077         (isgreater_test): Likewise.
26078         (isgreaterequal_test): Likewise.
26079         (isinf_test): Likewise.
26080         (isless_test): Likewise.
26081         (islessequal_test): Likewise.
26082         (islessgreater_test): Likewise.
26083         (isnan_test): Likewise.
26084         (isnormal_test): Likewise.
26085         (issignaling_test): Likewise.
26086         (isunordered_test): Likewise.
26087         (j0_test): Likewise.
26088         (j1_test): Likewise.
26089         (jn_test): Likewise.
26090         (ldexp_test): Likewise.
26091         (lgamma_test): Likewise.
26092         (gamma_test): Likewise.
26093         (lrint_test): Likewise.
26094         (lrint_test_tonearest): Likewise.
26095         (lrint_test_towardzero): Likewise.
26096         (lrint_test_downward): Likewise.
26097         (lrint_test_upward): Likewise.
26098         (llrint_test): Likewise.
26099         (llrint_test_tonearest): Likewise.
26100         (llrint_test_towardzero): Likewise.
26101         (llrint_test_downward): Likewise.
26102         (llrint_test_upward): Likewise.
26103         (log_test): Likewise.
26104         (log10_test): Likewise.
26105         (log1p_test): Likewise.
26106         (log2_test): Likewise.
26107         (logb_test): Likewise.
26108         (logb_test_downward): Likewise.
26109         (lround_test): Likewise.
26110         (llround_test): Likewise.
26111         (modf_test): Likewise.
26112         (nearbyint_test): Likewise.
26113         (nextafter_test): Likewise.
26114         (nexttoward_test): Likewise.
26115         (pow_test): Likewise.
26116         (pow_test_tonearest): Likewise.
26117         (pow_test_towardzero): Likewise.
26118         (pow_test_downward): Likewise.
26119         (pow_test_upward): Likewise.
26120         (remainder_test): Likewise.
26121         (drem_test): Likewise.
26122         (remainder_test_tonearest): Likewise.
26123         (drem_test_tonearest): Likewise.
26124         (remainder_test_towardzero): Likewise.
26125         (drem_test_towardzero): Likewise.
26126         (remainder_test_downward): Likewise.
26127         (drem_test_downward): Likewise.
26128         (remainder_test_upward): Likewise.
26129         (drem_test_upward): Likewise.
26130         (remquo_test): Likewise.
26131         (rint_test): Likewise.
26132         (rint_test_tonearest): Likewise.
26133         (rint_test_towardzero): Likewise.
26134         (rint_test_downward): Likewise.
26135         (rint_test_upward): Likewise.
26136         (round_test): Likewise.
26137         (scalb_test): Likewise.
26138         (scalbn_test): Likewise.
26139         (scalbln_test): Likewise.
26140         (signbit_test): Likewise.
26141         (sin_test): Likewise.
26142         (sin_test_tonearest): Likewise.
26143         (sin_test_towardzero): Likewise.
26144         (sin_test_downward): Likewise.
26145         (sin_test_upward): Likewise.
26146         (sincos_test): Likewise.
26147         (sinh_test): Likewise.
26148         (sinh_test_tonearest): Likewise.
26149         (sinh_test_towardzero): Likewise.
26150         (sinh_test_downward): Likewise.
26151         (sinh_test_upward): Likewise.
26152         (sqrt_test): Likewise.
26153         (sqrt_test_tonearest): Likewise.
26154         (sqrt_test_towardzero): Likewise.
26155         (sqrt_test_downward): Likewise.
26156         (sqrt_test_upward): Likewise.
26157         (tan_test): Likewise.
26158         (tan_test_tonearest): Likewise.
26159         (tan_test_towardzero): Likewise.
26160         (tan_test_downward): Likewise.
26161         (tan_test_upward): Likewise.
26162         (tanh_test): Likewise.
26163         (tgamma_test): Likewise.
26164         (trunc_test): Likewise.
26165         (y0_test): Likewise.
26166         (y1_test): Likewise.
26167         (yn_test): Likewise.
26168         (significand_test): Likewise.
26170         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
26171         individual tests in comment.
26172         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
26173         (prev_max_error): New variable.
26174         (prev_real_max_error): Likewise.
26175         (prev_imag_max_error): Likewise.
26176         (compare_ulp_data): Don't refer to test names in comment.
26177         (find_test_ulps): Remove function.
26178         (find_function_ulps): Likewise.
26179         (find_complex_function_ulps): Likewise.
26180         (init_max_error): Take function name as argument.  Look up ulps
26181         for that function.
26182         (print_ulps): Remove function.
26183         (print_max_error): Use prev_max_error instead of calling
26184         find_function_ulps.
26185         (print_complex_max_error): Use prev_real_max_error and
26186         prev_imag_max_error instead of calling find_complex_function_ulps.
26187         (check_float_internal): Take max_ulp parameter instead of calling
26188         find_test_ulps.  Don't call print_ulps.
26189         (check_float): Update call to check_float_internal.
26190         (check_complex): Update calls to check_float_internal.
26191         (START): Pass argument to init_max_error.
26192         * math/gen-libm-test.pl (%results): Don't include "kind"
26193         information.
26194         (parse_ulps): Don't handle ulps of individual tests.
26195         (print_ulps_file): Likewise.
26196         (output_ulps): Likewise.
26197         * math/README.libm-test: Update.
26198         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
26199         individual tests.
26200         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
26201         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
26202         * sysdeps/arm/libm-test-ulps: Likewise.
26203         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
26204         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
26205         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
26206         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
26207         * sysdeps/microblaze/libm-test-ulps: Likewise.
26208         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
26209         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
26210         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26211         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
26212         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
26213         * sysdeps/sh/libm-test-ulps: Likewise.
26214         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
26215         * sysdeps/tile/libm-test-ulps: Likewise.
26216         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26218 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
26220         * math/libm-test.inc (print_complex_max_error): Check separately
26221         whether real and imaginary errors are within allowed range and
26222         pass 0 to print_complex_function_ulps instead of value within
26223         allowed range.
26225 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
26227         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
26228         formatting.
26229         (get_handles_fopen): Likewise.
26230         (do_write_test): Likewise.
26232         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
26234         * libio/fileops.c (do_ftell): Use cached offset when
26235         available.
26236         * libio/iofwide.c (do_ftell_wide): Likewise.
26237         * libio/iofdopen.c (_IO_new_fdopen): Don't use
26238         _IO_file_attach.
26239         * libio/wfileops.c (_IO_fwide): Don't cache offset.
26241         [BZ #16532]
26242         * libio/libioP.h (get_file_offset): New function.
26243         * libio/fileops.c (get_file_offset): Likewise.
26244         (do_ftell): Likewise.
26245         (_IO_new_file_seekoff): Split out ftell logic.
26246         * libio/wfileops.c (do_ftell_wide): Likewise.
26247         (_IO_wfile_seekoff): Split out ftell logic.
26248         * libio/tst-ftell-active-handler.c: New test case.
26249         * libio/Makefile (tests): Add it.
26251 2014-03-03  Roland McGrath  <roland@hack.frob.com>
26253         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
26254         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
26256 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
26258         [BZ #16639]
26259         * nscd/connections.c (nscd_init): Call do_exit.
26260         (start_threads): Call do_exit and notify_parent.
26261         (begin_drop_privileges): Call do_exit.
26262         (finish_drop_privileges): Likewise.
26263         * nscd/selinux.c (preserve_capabilities): Likewise.
26264         (install_real_capabilities): Likewise.
26265         (nscd_selinux_enabled): Likewise.
26266         (avc_create_thread): Likewise.
26267         (avc_alloc_lock): Likewise.
26268         (nscd_avc_init): Likewise.
26269         * nscd/nscd.c (parent_fd): New static variable.
26270         (main): Create a pipe between parent and child processes.
26271         Skip closing parent_fd.
26272         (monitor_child): New function.
26273         (do_exit): Likewise.
26274         (notify_parent): Likewise.
26275         * nscd/nscd.h (notify_parent): Likewise.
26276         (do_exit): Likewise.
26278 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
26280         * malloc/malloc.c (__libc_calloc): Revert last change.
26282 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26284         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26286 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26288         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
26289         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
26290         implementation.
26291         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
26292         (__libc_ifunc_impl_list): Likewise.
26293         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
26294         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
26295         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
26296         * string/strrchr.c: Define STRRCHR.
26298 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
26300         * benchtest/bench-strtok.c (simple_strtok): Delete.
26301         (strtok_string): Use as benchmark.
26302         * string/strtok (STRTOK): New macro.
26304 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
26306         * manual/threads.texi: Add header and standard comments to all
26307         functions.
26309         * elf/dl-lookup.c (check_match): New function.
26310         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
26311         (do_lookup_x): Remove nested function check_match. Use non-nested
26312         function check_match.
26314 2014-02-28  Roland McGrath  <roland@hack.frob.com>
26316         * csu/Makefile (generated, before-compile): Use += rather than =.
26317         * catgets/Makefile (generated, generated-dirs): Likewise.
26318         * debug/Makefile (generated): Likewise.
26319         * dlfcn/Makefile (generated): Likewise.
26320         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
26321         * iconvdata/Makefile (before-compile, generated): Likewise.
26322         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
26323         * libio/Makefile (generated): Likewise.
26324         * malloc/Makefile (generated): Likewise.
26325         * manual/Makefile (generated, generated-dirs): Likewise.
26326         * misc/Makefile (generated): Likewise.
26327         * posix/Makefile (generated): Likewise.
26328         * resolv/Makefile (generated): Likewise.
26329         * sunrpc/Makefile (generated, generated-dirs): Likewise.
26330         * timezone/Makefile (generated, generated-dirs): Likewise.
26332         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
26334 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26336         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
26337         power8 implementation.
26338         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
26339         file: POWER8 llround ifunc implementation.
26340         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
26341         (__lllround): Add POWER8 implementation.
26342         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
26343         POWER8 llround implementation.
26345         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
26346         power8 implementation.
26347         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
26348         file: POWER8 llrint ifunc implementation.
26349         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
26350         Add POWER8 implementation.
26351         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
26352         POWER8 llrint implementation.
26354         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
26355         power8 implementation.
26356         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
26357         file: POWER8 finite ifunc implementation.
26358         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
26359         Add POWER8 implementation.
26360         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
26361         Likewise.
26362         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
26363         POWER8 finite implementation.
26364         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
26366         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
26367         power8 implementation.
26368         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
26369         file: POWER8 isinf ifunc implementation.
26370         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
26371         POWER8 implementation.
26372         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
26373         Likewise.
26374         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
26375         isinf implementation.
26376         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
26378         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
26379         (INIT_ARCH): Add hwcap2 initialization.
26380         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
26381         power8 implementation.
26382         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
26383         file: POWER8 isnan ifunc implementation.
26384         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
26385         POWER8 implementation.
26386         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
26387         Likewise.
26388         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
26389         isnan implementation.
26390         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
26392 2014-02-27  Joey Ye  <joey.ye@arm.com>
26394         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
26395         (_FP_NANFRAC_Q): Set to zero.
26397 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
26399         [BZ #16623]
26400         * math/auto-libm-test-in: New test inputs.
26401         * math/auto-libm-test-out: Regenerate.
26402         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
26403         and DA.
26404         (__cos): Likewise.
26405         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
26407 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
26409         * scripts/evaluate-test.sh: Take new argument indicating whether
26410         failure is expected.
26411         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
26412         indicating whether failure is expected.
26413         * conform/Makefile (test-xfail-run-conformtest): New variable.
26414         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
26415         level.
26416         * posix/Makefile (test-xfail-annexc): New variable.
26417         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
26419 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
26421         * argp/Makefile: Include Makeconfig immediately after defining
26422         subdir.
26423         * assert/Makefile: Likewise.
26424         * benchtests/Makefile: Likewise.
26425         * catgets/Makefile: Likewise.
26426         * conform/Makefile: Likewise.
26427         * crypt/Makefile: Likewise.
26428         * csu/Makefile: Likewise.
26429         (all): Remove target.
26430         * ctype/Makefile: Include Makeconfig immediately after defining
26431         subdir.
26432         * debug/Makefile: Likewise.
26433         * dirent/Makefile: Likewise.
26434         * dlfcn/Makefile: Likewise.
26435         * gmon/Makefile: Likewise.
26436         * gnulib/Makefile: Likewise.
26437         * grp/Makefile: Likewise.
26438         * gshadow/Makefile: Likewise.
26439         * hesiod/Makefile: Likewise.
26440         * hurd/Makefile: Likewise.
26441         (all): Remove target.
26442         * iconvdata/Makefile: Include Makeconfig immediately after
26443         defining subdir.
26444         * inet/Makefile: Likewise.
26445         * intl/Makefile: Likewise.
26446         * io/Makefile: Likewise.
26447         * libio/Makefile: Likewise.
26448         (all): Remove target.
26449         * locale/Makefile: Include Makeconfig immediately after defining
26450         subdir.
26451         * login/Makefile: Likewise.
26452         * mach/Makefile: Likewise.
26453         (all): Remove target.
26454         * malloc/Makefile: Include Makeconfig immediately after defining
26455         subdir.
26456         (all): Remove target.
26457         * manual/Makefile: Include Makeconfig immediately after defining
26458         subdir.
26459         * math/Makefile: Likewise.
26460         * misc/Makefile: Likewise.
26461         * nis/Makefile: Likewise.
26462         * nss/Makefile: Likewise.
26463         * po/Makefile: Likewise.
26464         (all): Remove target.
26465         * posix/Makefile: Include Makeconfig immediately after defining
26466         subdir.
26467         * pwd/Makefile: Likewise.
26468         * resolv/Makefile: Likewise.
26469         * resource/Makefile: Likewise.
26470         * rt/Makefile: Likewise.
26471         * setjmp/Makefile: Likewise.
26472         * shadow/Makefile: Likewise.
26473         * signal/Makefile: Likewise.
26474         * socket/Makefile: Likewise.
26475         * soft-fp/Makefile: Likewise.
26476         * stdio-common/Makefile: Likewise.
26477         * stdlib/Makefile: Likewise.
26478         * streams/Makefile: Likewise.
26479         * string/Makefile: Likewise.
26480         * sunrpc/Makefile: Likewise.
26481         (all): Remove target.
26482         * sysvipc/Makefile: Include Makeconfig immediately after defining
26483         subdir.
26484         * termios/Makefile: Likewise.
26485         * time/Makefile: Likewise.
26486         * timezone/Makefile: Likewise.
26487         (all): Remove target.
26488         * wcsmbs/Makefile: Include Makeconfig immediately after defining
26489         subdir.
26490         * wctype/Makefile: Likewise.
26492 2014-02-26  Steve Ellcey  <sellcey@mips.com>
26494         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
26495         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
26496         (libc_feholdexcept_setround_mips): Ditto.
26497         (libc_feholdsetround): New.
26498         (libc_feholdsetroundf): New.
26499         (libc_feholdsetroundl): New.
26500         (libc_feupdateenv_test_mips): New.
26501         (libc_feupdateenv_test): New.
26502         (libc_feupdateenv_testf): New.
26503         (libc_feupdateenv_testl): New.
26504         (libc_feresetround): New.
26505         (libc_feresetroundf): New.
26506         (libc_feresetroundl): New.
26507         (libc_fetestexcept_mips): New.
26508         (libc_fetestexcept): New.
26509         (libc_fetestexceptf): New.
26510         (libc_fetestexceptl): New.
26511         (HAVE_RM_CTX): New.
26512         (libc_feholdexcept_setround_mips_ctx): New.
26513         (libc_feholdexcept_setround_ctx): New.
26514         (libc_feholdexcept_setroundf_ctx): New.
26515         (libc_feholdexcept_setroundl_ctx): New.
26516         (libc_fesetenv_mips_ctx): New.
26517         (libc_fesetenv_ctx): New.
26518         (libc_fesetenv_ctxf): New.
26519         (libc_fesetenv_ctxl): New.
26520         (libc_feupdateenv_mips_ctx): New.
26521         (libc_feupdateenv_ctx): New.
26522         (libc_feupdateenvf_ctx): New.
26523         (libc_feupdateenvl_ctx): New.
26524         (libc_feholdsetround_mips_ctx): New.
26525         (libc_feholdsetround_ctx): New.
26526         (libc_feholdsetroundf_ctx): New.
26527         (libc_feholdsetroundl_ctx): New.
26528         (libc_feresetround_mips_ctx): New.
26529         (libc_feresetround_ctx): New.
26530         (libc_feresetroundf_ctx): New.
26531         (libc_feresetroundl_ctx): New.
26533 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
26535         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
26537         * manual/ipc.texi: New file.
26538         * manual/Makefile (chapters): Add ipc.
26539         * manual/job.texi: Add "Inter-Process Communication" to next.
26540         * manual/process.texi: Add "Inter-Process Communication" to prev.
26542 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26544         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26546 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
26548         * malloc/malloc.c (__libc_calloc): Simplify implementation.
26550         * manual/arith.texi: Fix spaces after sentences.
26551         * manual/charset.texi: Likewise.
26552         * manual/errno.texi: Likewise.
26553         * manual/install.texi: Likewise.
26554         * manual/llio.texi: Likewise.
26555         * manual/locale.texi: Likewise.
26556         * manual/maint.texi: Likewise.
26557         * manual/math.texi: Likewise.
26558         * manual/memory.texi: Likewise.
26559         * manual/message.texi: Likewise.
26560         * manual/probes.texi: Likewise.
26561         * manual/resource.texi: Likewise.
26562         * manual/signal.texi: Likewise.
26563         * manual/socket.texi: Likewise.
26564         * manual/stdio.texi: Likewise.
26565         * manual/string.texi: Likewise.
26566         * manual/time.texi: Likewise.
26567         * manual/users.texi: Likewise.
26569 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
26571         [BZ #16632]
26572         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
26573         _DEFAULT_SOURCE is defined.
26575 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
26576             Carlos O'Donell  <carlos@redhat.com>
26578         [BZ #16613]
26579         * elf/dl-tls.c (_dl_count_modids): New function.
26580         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
26581         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
26582         audit library and increment generation counter.
26583         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
26584         * elf/tst-audit9.c: New file.
26585         * elf/tst-auditmod9a.c: New file.
26586         * elf/tst-auditmod9b.c: New file.
26587         * elf/Makefile: Add rules to build and run tst-audit9.
26589 2014-02-25  Florian Weimer  <fweimer@redhat.com>
26591         [BZ #15347]
26592         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
26594 2014-02-25  Will Newton  <will.newton@linaro.org>
26596         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
26597         (__longjmp): Restore sp and lr before restoring callee
26598         saved registers.  Add longjmp and longjmp_target
26599         SystemTap probe point.
26600         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
26601         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
26602         Define to zero to match jmpbuf layout.
26603         * sysdeps/arm/setjmp.S: Include stap-probe.h.
26604         (__sigsetjmp): Save sp and lr before saving callee
26605         saved registers.  Add setjmp SystemTap probe point.
26607 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
26609         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
26611 2014-02-24  Andreas Schwab  <schwab@suse.de>
26613         [BZ #15804]
26614         * elf/pldd.c (wait_for_ptrace_stop): New function.
26615         (main): Call it after attaching.
26617 2014-02-22  Roland McGrath  <roland@hack.frob.com>
26619         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
26620         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
26621         Versions files is now verboten.
26622         * hurd/Versions (libc: GLIBC_2.0):
26623         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
26624         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
26625         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
26626         * mach/Versions: Likewise.
26628         * csu/Versions: Remove unused %include.
26629         * resolv/Versions: Likewise.
26631 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
26633         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
26634         ($(objpfx)check-local-headers.out): Likewise.
26635         ($(objpfx)begin-end-check.out): Likewise.
26636         * Makerules (check-abi-%.out): Likewise.
26637         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
26638         ($(objpfx)test2.cat): Likewise.
26639         ($(objpfx)de/libc.cat): Likewise.
26640         ($(objpfx)test-gencat.out): Likewise.
26641         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
26642         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
26643         ($(objpfx)noload-mem): Likewise.
26644         ($(objpfx)tst-pathopt.out): Likewise.
26645         ($(objpfx)tst-rtld-load-self.out): Likewise.
26646         ($(objpfx)tst-array1-cmp.out): Likewise.
26647         ($(objpfx)tst-array1-static-cmp.out): Likewise.
26648         ($(objpfx)tst-array2-cmp.out): Likewise.
26649         ($(objpfx)tst-array3-cmp.out): Likewise.
26650         ($(objpfx)tst-array4-cmp.out): Likewise.
26651         ($(objpfx)tst-array5-cmp.out): Likewise.
26652         ($(objpfx)tst-array5-static-cmp.out): Likewise.
26653         ($(objpfx)check-textrel.out): Likewise.
26654         ($(objpfx)check-execstack.out): Likewise.
26655         ($(objpfx)check-localplt.out): Likewise.
26656         ($(objpfx)order2-cmp.out): Likewise.
26657         ($(objpfx)tst-leaks1-mem): Likewise.
26658         ($(objpfx)tst-leaks1-static-mem): Likewise.
26659         ($(objpfx)tst-initorder-cmp.out): Likewise.
26660         ($(objpfx)tst-initorder2-cmp.out): Likewise.
26661         ($(objpfx)tst-unused-dep.out): Likewise.
26662         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
26663         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
26664         * iconv/Makefile (test-iconvconfig): Likewise.
26665         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
26666         ($(objpfx)iconv-test.out): Likewise.
26667         ($(objpfx)tst-tables.out): Likewise.
26668         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
26669         ($(objpfx)tst-gettext.out): Likewise.
26670         ($(objpfx)tst-translit.out): Likewise.
26671         ($(objpfx)tst-gettext2.out): Likewise.
26672         ($(objpfx)tst-gettext4.out): Likewise.
26673         ($(objpfx)tst-gettext6.out): Likewise.
26674         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
26675         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
26676         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
26677         ($(objpfx)tst-fopenloc-mem.out): Likewise.
26678         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
26679         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
26680         * posix/Makefile ($(objpfx)globtest.out): Likewise.
26681         ($(objpfx)wordexp-tst.out): Likewise.
26682         ($(objpfx)annexc.out): Likewise.
26683         ($(objpfx)tst-fnmatch-mem): Likewise.
26684         ($(objpfx)bug-regex2-mem): Likewise.
26685         ($(objpfx)bug-regex14-mem): Likewise.
26686         ($(objpfx)bug-regex21-mem): Likewise.
26687         ($(objpfx)bug-regex31-mem): Likewise.
26688         ($(objpfx)tst-vfork3-mem): Likewise.
26689         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
26690         ($(objpfx)tst-pcre-mem): Likewise.
26691         ($(objpfx)tst-boost-mem): Likewise.
26692         ($(objpfx)tst-getconf.out): Likewise.
26693         ($(objpfx)bug-ga2-mem): Likewise.
26694         ($(objpfx)bug-glob2-mem): Likewise.
26695         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
26696         ($(objpfx)mtrace-tst-leaks2): Likewise.
26697         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
26698         ($(objpfx)tst-printf.out): Likewise.
26699         ($(objpfx)tst-setvbuf1.out): Likewise.
26700         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
26701         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
26702         ($(objpfx)tst-fmtmsg.out): Likewise.
26703         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
26704         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
26706         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
26707         * bits/sigaction.h [__USE_MISC]: Likewise.
26708         * bits/waitstatus.h: Update #endif comments.
26709         * ctype/ctype.h: Likewise.
26710         * dirent/dirent.h: Likewise.
26711         [__USE_MISC]: Remove redundant conditionals.
26712         * grp/grp.h: Update #endif comments.
26713         [__USE_GNU]: Remove redundant conditionals.
26714         [__USE_MISC]: Likewise.
26715         * inet/netinet/in.h [__USE_GNU]: Likewise.
26716         * io/sys/stat.h [__USE_MISC]: Likewise.
26717         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
26718         * libio/bits/stdio.h: Update #endif comments.
26719         [__USE_MISC]: Remove redundant conditionals.
26720         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
26721         * libio/stdio.h: Update #endif comments.
26722         [__USE_MISC]: Remove redundant conditionals.
26723         * math/bits/math-finite.h [__USE_MISC]: Likewise.
26724         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
26725         * math/math.h: Update #else and #endif comments.
26726         [__USE_MISC]: Remove redundant conditionals.
26727         * misc/sys/uio.h: Update #endif comments.
26728         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
26729         * posix/glob.h [__USE_MISC]: Likewise.
26730         * posix/sys/types.h: Update #endif comments.
26731         [__USE_MISC]: Remove redundant conditionals.
26732         * posix/sys/wait.h: Update #endif comments.
26733         [__USE_MISC]: Remove redundant conditionals.
26734         * posix/unistd.h: Update #endif comments.
26735         [__USE_MISC]: Remove redundant conditionals.
26736         * pwd/pwd.h [__USE_GNU]: Likewise.
26737         [__USE_MISC]: Likewise.
26738         * resolv/netdb.h [__USE_GNU]: Likewise.
26739         * signal/signal.h: Update #endif comments.
26740         [__USE_MISC]: Remove redundant conditionals.
26741         * stdlib/stdlib.h: Update #else and #endif comments.
26742         [__USE_MISC]: Remove redundant conditionals.
26743         [__USE_GNU]: Likewise.
26744         * string/bits/string2.h [__USE_MISC]: Likewise.
26745         * string/string.h: Update #endif comments.
26746         [__USE_MISC]: Remove redundant conditionals.
26747         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
26748         Likewise.
26749         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
26750         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
26751         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
26752         Likewise.
26753         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
26754         Likewise.
26755         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
26756         comments.
26757         [__USE_MISC]: Remove redundant conditionals.
26758         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
26759         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
26760         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
26761         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
26762         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
26763         Likewise.
26764         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
26765         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
26766         Likewise.
26767         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
26768         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
26769         Likewise.
26770         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
26771         Likewise.
26772         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
26773         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
26774         Likewise.
26775         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
26776         Likewise.
26777         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
26778         * sysdeps/x86/bits/string.h: Update #endif comments.
26779         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
26780         conditionals.
26781         * time/sys/time.h: Update #endif comments.
26782         * time/time.h: Likewise.
26783         [__USE_MISC]: Remove redundant conditionals.
26785 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
26787         [BZ #16600]
26788         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
26790 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
26792         * Versions.def (librt): Add GLIBC_2.17.
26794 2014-02-21  Adam Conrad  <adconrad@0c3.net>
26796         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
26797         synonym for _SYS_AUXV_H to allow direct inclusion.
26798         * sysdeps/sparc/bits/hwcap.h: Likewise.
26799         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
26800         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
26801         * sysdeps/sparc/sysdep.h: Likewise.
26803 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
26805         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
26807 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
26809         * benchtests/bench-strrchr.c: Print length instead of position.
26811 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
26813         [BZ #16611]
26814         * sysdeps/unix/sysv/linux/kernel-features.h
26815         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
26816         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
26817         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
26818         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
26819         Likewise.
26820         [__i386__ || __powerpc__ || __sh__ || __sparc__]
26821         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
26822         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
26823         (__ASSUME_SENDMMSG): Define instead of using previous
26824         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
26825         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
26826         (__ASSUME_SENDMMSG_SYSCALL): Define.
26827         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
26828         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
26829         Likewise.
26830         * sysdeps/unix/sysv/linux/arm/kernel-features.h
26831         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
26832         Likewise.
26833         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
26834         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
26835         Likewise.
26836         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
26837         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
26838         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
26839         [__ASSUME_SENDMMSG]: Change conditionals to
26840         [__ASSUME_SENDMMSG_SOCKETCALL].
26841         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
26842         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
26843         Define.
26844         * sysdeps/unix/sysv/linux/mips/kernel-features.h
26845         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
26846         Likewise.
26847         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
26848         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
26849         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
26850         [!__ASSUME_SENDMMSG]: Change conditional to
26851         [!__ASSUME_SENDMMSG_SOCKETCALL].
26852         * sysdeps/unix/sysv/linux/tile/kernel-features.h
26853         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
26854         Define.
26856         [BZ #16610]
26857         * sysdeps/unix/sysv/linux/kernel-features.h
26858         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
26859         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
26860         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
26861         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
26862         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
26863         [__i386__ || __sparc__]
26864         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
26865         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
26866         (__ASSUME_RECVMMSG): Define instead of using previous
26867         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
26868         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
26869         (__ASSUME_RECVMMSG_SYSCALL): Define.
26870         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
26871         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
26872         Likewise.
26873         * sysdeps/unix/sysv/linux/arm/kernel-features.h
26874         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
26875         Likewise.
26876         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
26877         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
26878         Likewise.
26879         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
26880         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
26881         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
26882         [__ASSUME_RECVMMSG]: Change condition to
26883         [__ASSUME_RECVMMSG_SOCKETCALL].
26884         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
26885         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
26886         Define.
26887         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
26888         * sysdeps/unix/sysv/linux/mips/kernel-features.h
26889         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
26890         Likewise.
26891         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
26892         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
26893         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
26894         [!__ASSUME_RECVMMSG]: Change condition to
26895         [!__ASSUME_RECVMMSG_SOCKETCALL].
26896         * sysdeps/unix/sysv/linux/tile/kernel-features.h
26897         (__ASSUME_RECVMMSG_SYSCALL): Define.
26899         [BZ #16609]
26900         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
26901         __powerpc__ || __s390__ || __sh__ || __sparc__]
26902         (__ASSUME_SOCKETCALL): Define.
26903         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
26904         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
26905         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
26906         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
26907         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
26908         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
26909         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
26910         (__ASSUME_ACCEPT4): Define instead of using previous
26911         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
26912         __powerpc__ || __sparc__ || __s390__)] condition.
26913         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
26914         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
26915         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
26916         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
26917         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
26918         [!__ASSUME_ACCEPT4]: Change condition to
26919         [!__ASSUME_ACCEPT4_SOCKETCALL].
26920         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
26921         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
26922         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
26923         * sysdeps/unix/sysv/linux/arm/kernel-features.h
26924         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
26925         __ASSUME_ACCEPT4_SYSCALL.
26926         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
26927         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
26928         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
26929         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
26930         __ASSUME_ACCEPT4_SYSCALL.
26931         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
26932         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
26933         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
26934         [__ASSUME_ACCEPT4]: Change condition to
26935         [__ASSUME_ACCEPT4_SOCKETCALL].
26936         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
26937         (__ASSUME_SOCKETCALL): Define.
26938         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
26939         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
26940         (__ASSUME_SOCKETCALL): Define.
26941         (__ASSUME_ACCEPT4): Remove.
26942         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
26943         Define.
26944         * sysdeps/unix/sysv/linux/mips/kernel-features.h
26945         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
26946         Likewise.
26947         * sysdeps/unix/sysv/linux/tile/kernel-features.h
26948         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
26950         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
26951         macro.
26952         (HWCAP_ARM_LPAE): Likewise.
26953         (HWCAP_ARM_EVTSTRM): Likewise.
26954         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
26955         Add vpfd32, lpae and evtstrm.
26956         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
26957         Increase to 22.
26959 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
26961         * math/auto-libm-test-in: Add tests of clog10.
26962         * math/auto-libm-test-out: Regenerated.
26963         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
26964         * sysdeps/i386/fpu/libm-test-ulps: Update.
26965         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26967 2014-02-18  Andreas Schwab  <schwab@suse.de>
26969         [BZ #16574]
26970         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
26971         Store non-zero if the second buffer was newly allocated.
26972         (send_dg): Likewise.
26973         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
26974         to send_vc and send_dg.
26975         (res_nsend): Pass NULL for ansp2_malloced.
26976         * resolv/res_query.c (__libc_res_nquery): Add parameter
26977         answerp2_malloced and pass it down to __libc_res_nsend.
26978         (res_nquery): Pass additional NULL to __libc_res_nquery.
26979         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
26980         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
26981         second answer buffer if answerp2_malloced was set.
26982         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
26983         (__libc_res_nquerydomain): Add parameter
26984         answerp2_malloced and pass it down to __libc_res_nquery.
26985         (res_nquerydomain): Pass additional NULL to
26986         __libc_res_nquerydomain.
26987         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
26988         additional NULL to __libc_res_nsend and __libc_res_nquery.
26989         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
26990         additional NULL to __libc_res_nsearch.
26991         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
26992         parameter of __libc_res_nsearch to check for separately allocated
26993         second buffer.
26994         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
26995         __libc_res_nquery.
26996         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
26997         additional NULL to __libc_res_nquery.
26998         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
26999         __libc_res_nsearch.
27000         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
27001         * include/resolv.h: Update prototypes of __libc_res_nquery,
27002         __libc_res_nsearch, __libc_res_nsend.
27004 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
27006         * math/auto-libm-test-in: Add tests of fma.
27007         * math/auto-libm-test-out: Regenerated.
27008         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
27009         (fma_towardzero_test_data): Likewise.
27010         (fma_downward_test_data): Likewise.
27011         (fma_upward_test_data): Likewise.
27012         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
27013         mpc_mode.
27014         (rounding_modes): Add values for new field.
27015         (func_calc_method): Add value mpfr_fff_f.
27016         (func_calc_desc): Add mpfr_fff_f union field.
27017         (test_function): Add field exact_args.
27018         (FUNC): Add macro argument EXACT_ARGS.
27019         (FUNC_mpfr_f_f): Update call to FUNC.
27020         (FUNC_mpfr_f_f): Likewise.
27021         (FUNC_mpfr_ff_f): Likewise.
27022         (FUNC_mpfr_if_f): Likewise.
27023         (FUNC_mpc_c_f): Likewise.
27024         (FUNC_mpc_c_c): Likewise.
27025         (test_functions): Add fma.  Update calls to FUNC.
27026         (handle_input_arg): Add argument exact_args.
27027         (add_test): Update call to handle_input_arg.
27028         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
27029         (output_for_one_input_case): Update call to calc_generic_results.
27030         Recalculate exact zero results in each rounding mode.
27032         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
27033         non-negative before setting low bit.
27034         * math/auto-libm-test-in: Mark one asin test possibly having
27035         spurious underflow.
27036         * math/auto-libm-test-out: Regenerated.
27037         * sysdeps/i386/fpu/libm-test-ulps: Update.
27038         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27040 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
27042         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
27043         * sysdeps/unix/sysv/linux/microblaze: Move directory from
27044         ports/sysdeps/unix/sysv/linux/microblaze.
27045         * README: Add missing listing for microblaze*-*-linux-gnu.
27047 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
27049         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
27050         duplicate code
27052 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
27054         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
27055         * sysdeps/unix/sysv/linux/ia64: Move directory from
27056         ports/sysdeps/unix/sysv/linux/ia64.
27057         * README: Update listing for ia64-*-linux-gnu.
27059 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
27060             Joseph Myers  <joseph@codesourcery.com>
27062         * Makeconfig (test-name): New variable.
27063         (evaluate-test): Likewise.
27064         * Makerules (do-test-clean): Remove .test-result files.
27065         (common-mostlyclean): Likewise.
27066         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
27067         * scripts/evaluate-test.sh: New file.
27069 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
27071         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
27072         separate $(objpfx)tst-fopenloc-cmp.out and
27073         $(objpfx)tst-fopenloc-mem.out targets.
27074         (tests): Update dependencies.
27075         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
27076         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
27077         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
27078         (tst-rxspencer-no-utf8-ARGS): New variable.
27079         (tst-rxspencer-no-utf8-ENV): Likewise.
27080         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
27081         instead of $(objpfx)tst-rxspencer-mem.
27082         ($(objpfx)tst-rxspencer-mem): Change target to
27083         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
27084         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
27085         * posix/tst-rxspencer-no-utf8.c: New file.
27087         * elf/Makefile ($(objpfx)order.out): Remove rule.
27088         [$(run-built-tests) = yes] (tests): Depend on
27089         $(objpfx)order-cmp.out.
27090         ($(objpfx)order-cmp.out): New rule.
27091         [$(run-built-tests) = yes] (tests): Depend on
27092         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
27093         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
27094         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
27095         $(objpfx)tst-array5-static-cmp.out.
27096         ($(objpfx)tst-array1.out): Remove rule.
27097         ($(objpfx)tst-array1-cmp.out): New rule.
27098         ($(objpfx)tst-array1-static.out): Remove rule.
27099         ($(objpfx)tst-array1-static-cmp.out): New rule.
27100         ($(objpfx)tst-array2.out): Remove rule.
27101         ($(objpfx)tst-array2-cmp.out): New rule.
27102         ($(objpfx)tst-array3.out): Remove rule.
27103         ($(objpfx)tst-array3-cmp.out): New rule.
27104         ($(objpfx)tst-array4.out): Remove rule.
27105         ($(objpfx)tst-array4-cmp.out): New rule.
27106         ($(objpfx)tst-array5.out): Remove rule.
27107         ($(objpfx)tst-array5-cmp.out): New rule.
27108         ($(objpfx)tst-array5-static.out): Remove rule.
27109         ($(objpfx)tst-array5-static-cmp.out): New rule.
27110         [$(run-built-tests) = yes] (tests): Depend on
27111         $(objpfx)order2-cmp.out.
27112         ($(objpfx)order2.out): Remove rule.
27113         ($(objpfx)order2-cmp.out): New rule.
27114         ($(objpfx)tst-initorder.out): Remove rule.
27115         [$(run-built-tests) = yes] (tests): Depend on
27116         $(objpfx)tst-initorder-cmp.out.
27117         ($(objpfx)tst-initorder-cmp.out): New rule.
27118         ($(objpfx)tst-initorder2.out): Remove rule.
27119         [$(run-built-tests) = yes] (tests): Depend on
27120         $(objpfx)tst-initorder2-cmp.out.
27121         ($(objpfx)tst-initorder2-cmp.out): New rule.
27122         [$(run-built-tests) = yes] (tests): Depend on
27123         $(objpfx)tst-unused-dep-cmp.out.
27124         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
27125         ($(objpfx)tst-unused-dep-cmp.out): New rule.
27126         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
27127         on $(objpfx)tst-setvbuf1-cmp.out.
27128         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
27129         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
27130         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
27131         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
27132         ($(objpfx)tst-svc.out): Remove rule.
27133         ($(objpfx)tst-svc-cmp.out): New rule.
27135 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
27137         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
27138         * ctype/ctype.h [__USE_MISC]: Likewise.
27139         * dirent/dirent.h [__USE_MISC]: Likewise.
27140         * grp/grp.h [__USE_MISC]: Likewise.
27141         * io/fcntl.h [__USE_MISC]: Likewise.
27142         * io/sys/stat.h [__USE_MISC]: Likewise.
27143         * libio/stdio.h [__USE_MISC]: Likewise.
27144         * posix/unistd.h [__USE_MISC]: Likewise.
27145         * pwd/pwd.h [__USE_MISC]: Likewise.
27146         * stdlib.h [__USE_MISC]: Likewise.
27147         * string/bits/string2.h [__USE_MISC]: Likewise.
27148         * string/string.h [__USE_MISC]: Likewise.
27149         * time/time.h [__USE_MISC]: Likewise.
27151 2014-02-13  Andreas Schwab  <schwab@suse.de>
27153         [BZ #16574]
27154         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
27155         second answer buffer if it was separately allocated.
27157 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
27159         * sysdeps/mips/math-tests.h: Include <features.h>.
27160         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
27161         (ROUNDING_TESTS_long_double): Do not define.
27162         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
27163         (EXCEPTION_TESTS_long_double): Likewise.
27164         * sysdeps/mips/mips64/libm-test-ulps: Update.
27166         * include/features.h (__USE_BSD): Remove macro definitions.
27167         (__USE_SVID): Likewise.
27168         (_BSD_SOURCE): Likewise.
27169         (_SVID_SOURCE): Likewise.
27170         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
27171         from definition of _DEFAULT_SOURCE.
27172         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
27173         [_DEFAULT_SOURCE].
27174         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
27175         * bits/mman.h [__USE_BSD]: Likewise.
27176         * bits/termios.h [__USE_BSD]: Likewise.
27177         * bits/waitstatus.h [__USE_BSD]: Likewise.
27178         * ctype/ctype.h [__USE_SVID]: Likewise.
27179         * dirent/dirent.h [__USE_BSD]: Likewise.
27180         * grp/grp.h [__USE_SVID]: Likewise.
27181         [__USE_BSD]: Likewise.
27182         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
27183         * io/fcntl.h [__USE_BSD]: Likewise.
27184         * io/ftw.h [__USE_BSD]: Likewise.
27185         * io/sys/stat.h [__USE_BSD]: Likewise.
27186         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
27187         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
27188         * libio/stdio.h [__USE_SVID]: Likewise.
27189         [__USE_BSD]: Likewise.
27190         * math/math.h [__USE_SVID]: Likewise.
27191         [__USE_BSD]: Likewise.
27192         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
27193         * misc/bits/syslog.h [__USE_BSD]: Likewise.
27194         * misc/search.h [__USE_SVID]: Likewise.
27195         * misc/sys/mman.h [__USE_BSD]: Likewise.
27196         * misc/sys/syslog.h [__USE_BSD]: Likewise.
27197         * misc/sys/uio.h [__USE_BSD]: Likewise.
27198         * posix/bits/unistd.h [__USE_BSD]: Likewise.
27199         * posix/glob.h [__USE_BSD]: Likewise.
27200         * posix/regex.h [__USE_BSD]: Likewise.
27201         * posix/sys/types.h [__USE_BSD]: Likewise.
27202         [__USE_SVID]: Likewise.
27203         * posix/sys/utsname.h [__USE_SVID]: Likewise.
27204         * posix/sys/wait.h [__USE_BSD]: Likewise.
27205         [__USE_SVID]: Likewise.
27206         * posix/unistd.h [__USE_BSD]: Likewise.
27207         [__USE_SVID]: Likewise.
27208         * pwd/pwd.h [__USE_SVID]: Likewise.
27209         * resolv/netdb.h [__USE_BSD]: Likewise.
27210         * setjmp/setjmp.h [__USE_BSD]: Likewise.
27211         * signal/signal.h [__USE_BSD]: Likewise.
27212         [__USE_SVID]: Likewise.
27213         * socket/sys/socket.h [__USE_BSD]: Likewise.
27214         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
27215         * stdlib/stdlib.h [__USE_BSD]: Likewise.
27216         [__USE_SVID]: Likewise.
27217         * string/bits/string2.h [__USE_BSD]: Likewise.
27218         [__USE_SVID]: Likewise.
27219         * string/bits/string3.h [__USE_BSD]: Likewise.
27220         * string/endian.h [__USE_BSD]: Likewise.
27221         * string/string.h [__USE_SVID]: Likewise.
27222         [__USE_BSD]: Likewise.
27223         * string/strings.h [__USE_BSD]: Likewise.
27224         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
27225         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
27226         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
27227         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
27228         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
27229         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
27230         Likewise.
27231         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
27232         Likewise.
27233         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
27234         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
27235         Likewise.
27236         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
27237         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
27238         Likewise.
27239         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
27240         Likewise.
27241         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
27242         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
27243         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
27244         Likewise.
27245         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
27246         Likewise.
27247         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
27248         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
27249         * termios/termios.h [__USE_BSD]: Likewise.
27250         * time/sys/time.h [__USE_BSD]: Likewise.
27251         * time/time.h [__USE_BSD]: Likewise.
27252         [__USE_SVID]: Likewise.
27254         * Makefile (subdir_targets): Remove subdir_lint.out.
27256         * stdio-common/Makefile (do-tst-unbputc): Remove target.
27257         (do-tst-printf): Likewise.
27258         (tests): Depend directly on $(objpfx)tst-unbputc.out and
27259         $(objpfx)tst-printf.out.
27261         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
27263         * Makerules (check-abi-%): Change target to
27264         $(objpfx)check-abi-%.out.
27265         (check-abi target): Update dependencies.
27266         (check-abi-pattern variable): Redirect output of diff to $@.
27267         (check-abi variable): Likewise.
27268         * elf/Makefile (check-abi): Update dependencies.
27270         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
27271         unused.
27272         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
27273         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
27274         subnormal range.
27275         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
27276         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
27277         value has largest subnormal exponent.
27278         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
27279         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
27280         * sysdeps/aarch64/soft-fp/sfp-machine.h
27281         (_FP_TININESS_AFTER_ROUNDING): New macro.
27282         * sysdeps/alpha/soft-fp/sfp-machine.h
27283         (_FP_TININESS_AFTER_ROUNDING): Likewise.
27284         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
27285         Likewise.
27286         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
27287         (_FP_TININESS_AFTER_ROUNDING): Likewise.
27288         * sysdeps/mips/soft-fp/sfp-machine.h
27289         (_FP_TININESS_AFTER_ROUNDING): Likewise.
27290         * sysdeps/powerpc/soft-fp/sfp-machine.h
27291         (_FP_TININESS_AFTER_ROUNDING): Likewise.
27292         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
27293         Likewise.
27294         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
27295         (_FP_TININESS_AFTER_ROUNDING): Likewise.
27296         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
27297         (_FP_TININESS_AFTER_ROUNDING): Likewise.
27298         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
27299         Likewise.
27301 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
27303         [BZ #16545]
27304         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
27305         model 1.
27307 2014-02-12  Richard Henderson  <rth@redhat.com>
27309         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
27310         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
27311         * sysdeps/unix/sysv/linux/alpha: Move directory from
27312         ports/sysdeps/unix/sysv/linux/alpha.
27313         * README: Update listing for alpha-*-linux-gnu.
27315 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
27317         * include/features.h: Update comment documenting feature test
27318         macros.
27319         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
27320         _DEFAULT_SOURCE.
27321         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
27322         (_SVID_SOURCE): Likewise.
27323         (_DEFAULT_SOURCE): Update description of default features.
27324         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
27325         with _GNU_SOURCE.
27326         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
27327         (S_ISVTX): Likewise.
27328         * manual/math.texi (Mathematical Constants): Likewise.
27329         * manual/signal.texi (Interrupted Primitives): Likewise.
27330         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
27331         * math/test-matherr.c (_SVID_SOURCE): Do not define.
27332         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
27333         Don't refer to _SVID_SOURCE in warning text.
27335         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27337         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
27338         already defined.
27339         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
27340         * sysdeps/mips/dl-lookup.c: Remove.
27341         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
27343 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
27345         [BZ #16447]
27346         * math/auto-libm-test-in: Add testcase for expl.
27347         * math/auto-libm-test-out: Regenerate.
27348         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
27349         calculation of unsafe.
27350         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
27352 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
27354         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
27355         * sysdeps/unix/sysv/linux/aarch64: Move directory from
27356         ports/sysdeps/unix/sysv/linux/aarch64.
27357         * README: Update listing for aarch64*-*-linux-gnu.
27359 2014-02-11  Will Newton  <will.newton@linaro.org>
27361         * manual/probes.texi (Mathematical Function Probes): Use
27362         "triggered" instead of "hit".
27364         * manual/probes.texi (Internal Probes): Add documentation
27365         of setjmp, longjmp and longjmp_target probes.
27367         * include/stap-probe.h: Add comment about probe argument
27368         format.
27370         * malloc/mtrace.c (attribute_hidden): Remove unused macro
27371         definition.  (tr_where, tr_freehook, tr_mallochook,
27372         tr_reallochook, tr_memalignhook): Use ANSI protoype.
27374 2014-02-11  David S. Miller  <davem@davemloft.net>
27376         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
27377         processing int_tests.
27379 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
27381         * sysdeps/mips: Move directory from ports/sysdeps/mips.
27382         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
27383         * sysdeps/unix/sysv/linux/mips: Move directory from
27384         ports/sysdeps/unix/sysv/linux/mips.
27385         * README: Update listing for mips-*-linux-gnu and
27386         mips64-*-linux-gnu.
27388 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
27390         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
27391         * sysdeps/unix/sysv/linux/m68k: Move directory from
27392         ports/sysdeps/unix/sysv/linux/m68k.
27393         * README: Update listing for m68k-*-linux-gnu.
27395 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
27397         * sysdeps/tile: Move directory from ports/sysdeps/tile.
27398         * sysdeps/unix/sysv/linux/generic: Move directory from
27399         ports/sysdeps/unix/sysv/linux/generic.
27400         * sysdeps/unix/sysv/linux/tile: Move directory from
27401         ports/sysdeps/unix/sysv/linux/tile.
27402         * README: Update listing for tile*-*-linux-gnu.
27404 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
27406         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
27407         __builtin_expect.
27408         * benchtests/bench-memmem.c (simple_memmem): Likewise.
27409         * catgets/open_catalog.c (__open_catalog): Likewise.
27410         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
27411         * debug/confstr_chk.c: Likewise.
27412         * debug/fread_chk.c (__fread_chk): Likewise.
27413         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
27414         * debug/getgroups_chk.c: Likewise.
27415         * debug/mbsnrtowcs_chk.c: Likewise.
27416         * debug/mbsrtowcs_chk.c: Likewise.
27417         * debug/mbstowcs_chk.c: Likewise.
27418         * debug/memcpy_chk.c: Likewise.
27419         * debug/memmove_chk.c: Likewise.
27420         * debug/mempcpy_chk.c: Likewise.
27421         * debug/memset_chk.c: Likewise.
27422         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
27423         * debug/strcat_chk.c (__strcat_chk): Likewise.
27424         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
27425         * debug/strncat_chk.c (__strncat_chk): Likewise.
27426         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
27427         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
27428         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
27429         * debug/wcpncpy_chk.c: Likewise.
27430         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
27431         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
27432         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
27433         * debug/wcsncpy_chk.c: Likewise.
27434         * debug/wcsnrtombs_chk.c: Likewise.
27435         * debug/wcsrtombs_chk.c: Likewise.
27436         * debug/wcstombs_chk.c: Likewise.
27437         * debug/wmemcpy_chk.c: Likewise.
27438         * debug/wmemmove_chk.c: Likewise.
27439         * debug/wmempcpy_chk.c: Likewise.
27440         * debug/wmemset_chk.c: Likewise.
27441         * dirent/scandirat.c (SCANDIRAT): Likewise.
27442         * dlfcn/dladdr1.c (dladdr1): Likewise.
27443         * dlfcn/dladdr.c (dladdr): Likewise.
27444         * dlfcn/dlclose.c (dlclose_doit): Likewise.
27445         * dlfcn/dlerror.c (__dlerror): Likewise.
27446         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
27447         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
27448         * dlfcn/dlopen.c (dlopen_doit): Likewise.
27449         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
27450         * dlfcn/dlsym.c (dlsym_doit): Likewise.
27451         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
27452         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
27453         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
27454         Likewise.
27455         * elf/dl-conflict.c: Likewise.
27456         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
27457         * elf/dl-dst.h: Likewise.
27458         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
27459         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
27460         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
27461         * elf/dl-init.c (call_init, _dl_init): Likewise.
27462         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
27463         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
27464         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
27465         Likewise.
27466         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
27467         Likewise.
27468         * elf/dl-minimal.c (__libc_memalign): Likewise.
27469         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
27470         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
27471         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
27472         * elf/dl-sym.c (do_sym): Likewise.
27473         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
27474         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
27475         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
27476         * elf/dl-writev.h (_dl_writev): Likewise.
27477         * elf/ldconfig.c (search_dir): Likewise.
27478         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
27479         (dl_main): Likewise.
27480         * elf/setup-vdso.h (setup_vdso): Likewise.
27481         * grp/compat-initgroups.c (compat_call): Likewise.
27482         * grp/fgetgrent.c (fgetgrent): Likewise.
27483         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
27484         * grp/putgrent.c (putgrent): Likewise.
27485         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
27486         Likewise.
27487         * hurd/hurdinit.c: Likewise.
27488         * iconvdata/8bit-gap.c (struct): Likewise.
27489         * iconvdata/ansi_x3.110.c : Likewise.
27490         * iconvdata/big5.c : Likewise.
27491         * iconvdata/big5hkscs.c : Likewise.
27492         * iconvdata/cp1255.c: Likewise.
27493         * iconvdata/cp1258.c : Likewise.
27494         * iconvdata/cp932.c : Likewise.
27495         * iconvdata/euc-cn.c: Likewise.
27496         * iconvdata/euc-jisx0213.c : Likewise.
27497         * iconvdata/euc-jp.c: Likewise.
27498         * iconvdata/euc-jp-ms.c : Likewise.
27499         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
27500         * iconvdata/gb18030.c : Likewise.
27501         * iconvdata/gbbig5.c (const): Likewise.
27502         * iconvdata/gbgbk.c: Likewise.
27503         * iconvdata/gbk.c : Likewise.
27504         * iconvdata/ibm1364.c : Likewise.
27505         * iconvdata/ibm930.c : Likewise.
27506         * iconvdata/ibm932.c: Likewise.
27507         * iconvdata/ibm933.c : Likewise.
27508         * iconvdata/ibm935.c : Likewise.
27509         * iconvdata/ibm937.c : Likewise.
27510         * iconvdata/ibm939.c : Likewise.
27511         * iconvdata/ibm943.c: Likewise.
27512         * iconvdata/iso_11548-1.c: Likewise.
27513         * iconvdata/iso-2022-cn.c : Likewise.
27514         * iconvdata/iso-2022-cn-ext.c : Likewise.
27515         * iconvdata/iso-2022-jp-3.c: Likewise.
27516         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
27517         * iconvdata/iso-2022-kr.c : Likewise.
27518         * iconvdata/iso646.c (gconv_end): Likewise.
27519         * iconvdata/iso_6937-2.c : Likewise.
27520         * iconvdata/iso_6937.c : Likewise.
27521         * iconvdata/iso8859-1.c: Likewise.
27522         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
27523         * iconvdata/shift_jisx0213.c : Likewise.
27524         * iconvdata/sjis.c : Likewise.
27525         * iconvdata/t.61.c : Likewise.
27526         * iconvdata/tcvn5712-1.c : Likewise.
27527         * iconvdata/tscii.c: Likewise.
27528         * iconvdata/uhc.c : Likewise.
27529         * iconvdata/unicode.c (gconv_end): Likewise.
27530         * iconvdata/utf-16.c (gconv_end): Likewise.
27531         * iconvdata/utf-32.c (gconv_end): Likewise.
27532         * iconvdata/utf-7.c (base64): Likewise.
27533         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
27534         * iconv/gconv_close.c (__gconv_close): Likewise.
27535         * iconv/gconv_open.c (__gconv_open): Likewise.
27536         * iconv/gconv_simple.c (internal_ucs4_loop_single)
27537         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
27538         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
27539         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
27540         (ucs4le_internal_loop_single): Likewise.
27541         * iconv/iconv.c (iconv): Likewise.
27542         * iconv/iconv_close.c: Likewise.
27543         * iconv/loop.c (SINGLE): Likewise.
27544         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
27545         * include/atomic.h: Likewise.
27546         * inet/inet6_option.c (option_alloc): Likewise.
27547         * intl/bindtextdom.c (set_binding_values): Likewise.
27548         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
27549         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
27550         * intl/localealias.c (read_alias_file): Likewise.
27551         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
27552         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
27553         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
27554         * libio/fmemopen.c (fmemopen): Likewise.
27555         * libio/iofgets.c (_IO_fgets): Likewise.
27556         * libio/iofgets_u.c (fgets_unlocked): Likewise.
27557         * libio/iofgetws.c (fgetws): Likewise.
27558         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
27559         * libio/iogetdelim.c (_IO_getdelim): Likewise.
27560         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
27561         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
27562         * locale/findlocale.c (_nl_find_locale): Likewise.
27563         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
27564         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
27565         Likewise.
27566         * locale/setlocale.c (setlocale): Likewise.
27567         * login/programs/pt_chown.c (main): Likewise.
27568         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
27569         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
27570         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
27571         (mmap, mmap64, mremap, munmap): Likewise.
27572         * math/e_exp2l.c: Likewise.
27573         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
27574         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
27575         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
27576         * math/s_catan.c (__catan): Likewise.
27577         * math/s_catanf.c (__catanf): Likewise.
27578         * math/s_catanh.c (__catanh): Likewise.
27579         * math/s_catanhf.c (__catanhf): Likewise.
27580         * math/s_catanhl.c (__catanhl): Likewise.
27581         * math/s_catanl.c (__catanl): Likewise.
27582         * math/s_ccosh.c (__ccosh): Likewise.
27583         * math/s_ccoshf.c (__ccoshf): Likewise.
27584         * math/s_ccoshl.c (__ccoshl): Likewise.
27585         * math/s_cexp.c (__cexp): Likewise.
27586         * math/s_cexpf.c (__cexpf): Likewise.
27587         * math/s_cexpl.c (__cexpl): Likewise.
27588         * math/s_clog10.c (__clog10): Likewise.
27589         * math/s_clog10f.c (__clog10f): Likewise.
27590         * math/s_clog10l.c (__clog10l): Likewise.
27591         * math/s_clog.c (__clog): Likewise.
27592         * math/s_clogf.c (__clogf): Likewise.
27593         * math/s_clogl.c (__clogl): Likewise.
27594         * math/s_csin.c (__csin): Likewise.
27595         * math/s_csinf.c (__csinf): Likewise.
27596         * math/s_csinh.c (__csinh): Likewise.
27597         * math/s_csinhf.c (__csinhf): Likewise.
27598         * math/s_csinhl.c (__csinhl): Likewise.
27599         * math/s_csinl.c (__csinl): Likewise.
27600         * math/s_csqrt.c (__csqrt): Likewise.
27601         * math/s_csqrtf.c (__csqrtf): Likewise.
27602         * math/s_csqrtl.c (__csqrtl): Likewise.
27603         * math/s_ctan.c (__ctan): Likewise.
27604         * math/s_ctanf.c (__ctanf): Likewise.
27605         * math/s_ctanh.c (__ctanh): Likewise.
27606         * math/s_ctanhf.c (__ctanhf): Likewise.
27607         * math/s_ctanhl.c (__ctanhl): Likewise.
27608         * math/s_ctanl.c (__ctanl): Likewise.
27609         * math/w_pow.c: Likewise.
27610         * math/w_powf.c: Likewise.
27611         * math/w_powl.c: Likewise.
27612         * math/w_scalb.c (sysv_scalb): Likewise.
27613         * math/w_scalbf.c (sysv_scalbf): Likewise.
27614         * math/w_scalbl.c (sysv_scalbl): Likewise.
27615         * misc/error.c (error_tail): Likewise.
27616         * misc/pselect.c (__pselect): Likewise.
27617         * nis/nis_callback.c (__nis_create_callback): Likewise.
27618         * nis/nis_call.c (__nisfind_server): Likewise.
27619         * nis/nis_creategroup.c (nis_creategroup): Likewise.
27620         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
27621         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
27622         * nis/nis_getservlist.c (nis_getservlist): Likewise.
27623         * nis/nis_lookup.c (nis_lookup): Likewise.
27624         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
27625         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
27626         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
27627         * nis/nis_xdr.c (xdr_endpoint): Likewise.
27628         * nis/nss_compat/compat-grp.c (getgrent_next_file)
27629         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
27630         * nis/nss_compat/compat-initgroups.c (add_group)
27631         (internal_getgrent_r): Likewise.
27632         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
27633         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
27634         * nis/nss_compat/compat-spwd.c (getspent_next_file)
27635         (internal_getspnam_r): Likewise.
27636         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
27637         (_nss_nis_getaliasbyname_r): Likewise.
27638         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
27639         (_nss_nis_getntohost_r): Likewise.
27640         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
27641         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
27642         (_nss_nis_getgrgid_r): Likewise.
27643         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
27644         (internal_nis_gethostent_r, internal_gethostbyname2_r)
27645         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
27646         (_nss_nis_gethostbyname4_r): Likewise.
27647         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
27648         (initgroups_netid): Likewise.
27649         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
27650         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
27651         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
27652         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
27653         (_nss_nis_getprotobynumber_r): Likewise.
27654         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
27655         (_nss_nis_getsecretkey): Likewise.
27656         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
27657         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
27658         (_nss_nis_getpwuid_r): Likewise.
27659         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
27660         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
27661         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
27662         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
27663         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
27664         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
27665         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
27666         Likewise.
27667         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
27668         (_nss_nisplus_getntohost_r): Likewise.
27669         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
27670         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
27671         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
27672         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
27673         Likewise.
27674         * nis/nss_nisplus/nisplus-initgroups.c
27675         (_nss_nisplus_initgroups_dyn): Likewise.
27676         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
27677         (_nss_nisplus_getnetbyaddr_r): Likewise.
27678         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
27679         (_nss_nisplus_getprotobynumber_r): Likewise.
27680         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
27681         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
27682         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
27683         Likewise.
27684         * nis/nss_nisplus/nisplus-service.c
27685         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
27686         (_nss_nisplus_getservbyport_r): Likewise.
27687         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
27688         (_nss_nisplus_getspnam_r): Likewise.
27689         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
27690         Likewise.
27691         * nscd/aicache.c (addhstaiX): Likewise.
27692         * nscd/cache.c (cache_search, prune_cache): Likewise.
27693         * nscd/connections.c (register_traced_file, send_ro_fd)
27694         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
27695         (main_loop_epoll): Likewise.
27696         * nscd/grpcache.c (addgrbyX): Likewise.
27697         * nscd/hstcache.c (addhstbyX): Likewise.
27698         * nscd/initgrcache.c (addinitgroupsX): Likewise.
27699         * nscd/mem.c (gc, mempool_alloc): Likewise.
27700         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
27701         (addinnetgrX): Likewise.
27702         * nscd/nscd-client.h (__nscd_acquire_maplock)
27703         (__nscd_drop_map_ref): Likewise.
27704         * nscd/nscd_getai.c (__nscd_getai): Likewise.
27705         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
27706         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
27707         Likewise.
27708         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
27709         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
27710         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
27711         (__nscd_get_map_ref): Likewise.
27712         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
27713         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
27714         Likewise.
27715         * nscd/pwdcache.c (addpwbyX): Likewise.
27716         * nscd/selinux.c (preserve_capabilities): Likewise.
27717         * nscd/servicescache.c (addservbyX): Likewise.
27718         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
27719         * posix/fnmatch.c (fnmatch): Likewise.
27720         * posix/getopt.c (_getopt_internal_r): Likewise.
27721         * posix/glob.c (glob, glob_in_dir): Likewise.
27722         * posix/wordexp.c (exec_comm_child): Likewise.
27723         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
27724         (getanswer_r, gaih_getanswer_slice): Likewise.
27725         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
27726         * resolv/res_init.c: Likewise.
27727         * resolv/res_mkquery.c (res_nmkquery): Likewise.
27728         * resolv/res_query.c (__libc_res_nquery): Likewise.
27729         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
27730         Likewise.
27731         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
27732         * stdio-common/perror.c (perror): Likewise.
27733         * stdio-common/printf_fp.c (___printf_fp): Likewise.
27734         * stdio-common/tmpnam.c (tmpnam): Likewise.
27735         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
27736         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
27737         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
27738         Likewise.
27739         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
27740         * stdlib/putenv.c (putenv): Likewise.
27741         * stdlib/setenv.c (__add_to_environ): Likewise.
27742         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
27743         * stdlib/strtol_l.c (INTERNAL): Likewise.
27744         * string/memmem.c (memmem): Likewise.
27745         * string/strerror.c (strerror): Likewise.
27746         * string/strnlen.c (__strnlen): Likewise.
27747         * string/test-memmem.c (simple_memmem): Likewise.
27748         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
27749         * sunrpc/pm_getport.c (__get_socket): Likewise.
27750         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
27751         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
27752         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
27753         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
27754         Likewise.
27755         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
27756         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
27757         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
27758         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
27759         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
27760         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
27761         Likewise.
27762         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
27763         Likewise.
27764         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
27765         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
27766         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
27767         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
27768         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
27769         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
27770         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
27771         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
27772         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
27773         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
27774         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
27775         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
27776         Likewise.
27777         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
27778         Likewise.
27779         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
27780         Likewise.
27781         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
27782         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
27783         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
27784         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
27785         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
27786         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
27787         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
27788         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
27789         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
27790         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
27791         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
27792         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27793         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
27794         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
27795         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27796         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
27797         Likewise.
27798         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
27799         Likewise.
27800         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
27801         Likewise.
27802         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
27803         Likewise.
27804         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27805         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27806         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
27807         Likewise.
27808         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
27809         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
27810         * sysdeps/posix/opendir.c (__opendirat): Likewise.
27811         * sysdeps/posix/sleep.c: Likewise.
27812         * sysdeps/posix/tempname.c: Likewise.
27813         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
27814         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
27815         Likewise.
27816         * sysdeps/powerpc/powerpc32/dl-machine.h
27817         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
27818         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
27819         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
27820         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
27821         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
27822         Likewise.
27823         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
27824         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
27825         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
27826         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
27827         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
27828         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
27829         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
27830         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
27831         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
27832         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
27833         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
27834         (elf_machine_lazy_rel): Likewise.
27835         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
27836         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
27837         (elf_machine_lazy_rel): Likewise.
27838         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
27839         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
27840         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
27841         * sysdeps/unix/grantpt.c (grantpt): Likewise.
27842         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
27843         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
27844         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
27845         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
27846         Likewise.
27847         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
27848         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
27849         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
27850         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
27851         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
27852         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
27853         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
27854         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
27855         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
27856         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
27857         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
27858         Likewise.
27859         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
27860         (__posix_fallocate64_l64): Likewise.
27861         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
27862         (posix_fallocate): Likewise.
27863         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
27864         Likewise.
27865         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27866         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
27867         (getifaddrs_internal): Likewise.
27868         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
27869         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
27870         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
27871         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
27872         * sysdeps/unix/sysv/linux/posix_fallocate64.c
27873         (__posix_fallocate64_l64): Likewise.
27874         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
27875         Likewise.
27876         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
27877         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
27878         (__get_clockfreq): Likewise.
27879         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
27880         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
27881         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
27882         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27883         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27884         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
27885         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
27886         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
27887         Likewise.
27888         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
27889         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
27890         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
27891         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
27892         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
27893         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
27894         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
27895         Likewise.
27896         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
27897         (posix_fallocate): Likewise.
27898         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27899         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
27900         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
27901         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
27902         (elf_machine_rela, elf_machine_rela_relative)
27903         (elf_machine_lazy_rel): Likewise.
27904         * time/asctime.c (asctime_internal): Likewise.
27905         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
27906         * time/tzset.c (__tzset_parse_tz): Likewise.
27907         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
27908         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
27909         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
27910         * wcsmbs/wcsmbsload.h: Likewise.
27912         [BZ #15894]
27913         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
27915         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
27916         (arena_get2): Remove THREAD_STATS conditionals.
27917         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
27918         (__malloc_stats, int): Likewise.
27920 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
27922         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
27923         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
27925         * manual/setjmp.texi: Fix typos/grammar errors.
27927         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
27928         Only return early when n is <= 0.  Delete unused return statement.
27930         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
27931         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
27932         * debug/tst-longjmp_chk3.c: New file.
27934         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
27935         (test_main): Replace code with set_fortify_handler call.
27936         * debug/test-strcpy_chk.c: Likewise.
27937         * debug/tst-chk1.c: Likewise.
27938         * debug/tst-longjmp_chk.c: Likewise.
27939         * test-skeleton.c: Include fcntl.h & paths.h
27940         (set_fortify_handler): Define.
27942         * debug/tst-longjmp_chk.c: Add header comment and include
27943         ../test-skeleton.c.
27944         (do_test): Mark static.
27945         (TEST_FUNCTION): Define.
27947         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
27948         (IP_PMTUDISC_INTERFACE): Likewise.
27949         (IP_MULTICAST_IF): Likewise.
27950         (IP_MULTICAST_TTL): Likewise.
27951         (IP_MULTICAST_LOOP): Likewise.
27952         (IP_ADD_MEMBERSHIP): Likewise.
27953         (IP_DROP_MEMBERSHIP): Likewise.
27954         (IP_UNBLOCK_SOURCE): Likewise.
27955         (IP_BLOCK_SOURCE): Likewise.
27956         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
27957         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
27958         (IP_MSFILTER): Likewise.
27959         (MCAST_JOIN_GROUP): Likewise.
27960         (MCAST_BLOCK_SOURCE): Likewise.
27961         (MCAST_UNBLOCK_SOURCE): Likewise.
27962         (MCAST_LEAVE_GROUP): Likewise.
27963         (MCAST_JOIN_SOURCE_GROUP): Likewise.
27964         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
27965         (MCAST_MSFILTER): Likewise.
27966         (IP_MULTICAST_ALL): Likewise.
27967         (IP_UNICAST_IF): Likewise.
27969         * timezone/Makefile: Delete $(have-ksh) check.
27970         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
27971         * timezone/tzselect.ksh: Add +x mode bits.
27973         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
27974         (ANON_INODE_FS_MAGIC): Likewise.
27975         (BDEVFS_MAGIC): Likewise.
27976         (BINFMTFS_MAGIC): Likewise.
27977         (BTRFS_TEST_MAGIC): Likewise.
27978         (CRAMFS_MAGIC_WEND): Likewise.
27979         (DEBUGFS_MAGIC): Likewise.
27980         (ECRYPTFS_SUPER_MAGIC): Likewise.
27981         (EXT3_SUPER_MAGIC): Likewise.
27982         (EXT4_SUPER_MAGIC): Likewise.
27983         (FUTEXFS_SUPER_MAGIC): Likewise.
27984         (HOSTFS_SUPER_MAGIC): Likewise.
27985         (HUGETLBFS_MAGIC): Likewise.
27986         (MINIX3_SUPER_MAGIC): Likewise.
27987         (MTD_INODE_FS_MAGIC): Likewise.
27988         (NILFS_SUPER_MAGIC): Likewise.
27989         (OPENPROM_SUPER_MAGIC): Likewise.
27990         (PIPEFS_MAGIC): Likewise.
27991         (PSTOREFS_MAGIC): Likewise.
27992         (QNX6_SUPER_MAGIC): Likewise.
27993         (RAMFS_MAGIC): Likewise.
27994         (REISERFS_SUPER_MAGIC_STRING): Likewise.
27995         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
27996         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
27997         (SECURITYFS_MAGIC): Likewise.
27998         (SELINUX_MAGIC): Likewise.
27999         (SMACK_MAGIC): Likewise.
28000         (SOCKFS_MAGIC): Likewise.
28001         (SQUASHFS_MAGIC): Likewise.
28002         (STACK_END_MAGIC): Likewise.
28003         (TMPFS_MAGIC): Likewise.
28004         (USBDEVICE_SUPER_MAGIC): Likewise.
28005         (V9FS_MAGIC): Likewise.
28006         (XENFS_SUPER_MAGIC): Likewise.
28007         (CRAMFS_MAGIC): Fix typo in comment.
28008         (EXT2_SUPER_MAGIC): Update comment.
28009         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
28011 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
28013         * sysdeps/arm: Move directory from ports/sysdeps/arm.
28014         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
28015         * sysdeps/unix/sysv/linux/arm: Move directory from
28016         ports/sysdeps/unix/sysv/linux/arm.
28017         * README: Update listing for arm-*-linux-gnueabi.
28019         * README: Remove mention of am33.
28021 2014-02-07  Roland McGrath  <roland@hack.frob.com>
28023         * bits/sigset.h (__sigemptyset): Use a statement expression rather
28024         than the comma operator, to avoid "rhs of comma has no effect"
28025         compiler warnings.
28026         (__sigfillset, __sigandset, __sigorset): Likewise.
28027         * include/signal.h (__sigemptyset): Likewise.
28028         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
28030 2014-02-07  Allan McRae  <allan@archlinux.org>
28032         * version.h (RELEASE): Set to "development".
28033         (VERSION): Set to "2.19.90"
28034         * NEWS: Add 2.20 section.
28036 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
28038         [BZ #16529]
28039         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
28041 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
28043         * manual/contrib.texi: Update entry for Carlos O'Donell,
28044         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
28046 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
28048         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
28050         * sysdeps/unix/sysv/linux/kernel-features.h
28051         [__LINUX_KERNEL_VERSION >= 0x020621]
28052         (__ASSUME_PROC_PID_TASK_COMM): Define.
28054 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
28056         [BZ #16398]
28057         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
28058         conversion when destination buffer does not have enough space.
28059         * libio/tst-ftell-partial-wide.c: New test case.
28060         * libio/Makefile (tests): Add tst-ftell-partial-wide.
28062         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
28063         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
28064         Leonard and Allan McRae.
28066 2014-02-04  David S. Miller  <davem@davemloft.net>
28068         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
28069         32-bit.
28071 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
28074         New file
28075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
28076         New file
28077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
28078         New file.
28079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
28080         New file.
28081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
28082         New file.
28083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
28084         New file.
28085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
28086         New file.
28087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
28088         New file.
28089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
28090         New file.
28091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
28092         New file.
28093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
28094         New file.
28095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
28096         New file.
28097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
28098         New file.
28100 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28102         * nptl/shlib-versions: Change powerpc*le start to 2.17.
28103         * shlib-versions: Likewise.
28105 2014-02-04  Roland McGrath  <roland@hack.frob.com>
28106             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28108         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
28109         (abilist-pattern): New variable, set to %-le.abilist.
28111         * Makerules (abilist-pattern): New variable.
28112         (vpath): Use $(abilist-pattern) in place of %.abilist.
28113         (check-abi-% pattern rule): Likewise.
28114         (check-abi, update-abi): Likewise.
28116 2014-02-04  Eric Wong  <normalperson@yhbt.net>
28118         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28120 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
28122         * manual/startup.texi: Add next, previous, and top entries for
28123         the `Program Arguments' and `Environment Variables' nodes.
28125 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
28127         * manual/macros.texi: Add comments before MTASC-safety macros.
28129         * manual/users.texi: Document MTASC-safety properties.
28131         * manual/threads.texi (pthread_key_create, pthread_key_delete)
28132         (pthread_getspecific, pthread_setspecific): Format with
28133         @deftypefun, and add @safety note.
28134         * manual/signal.texi: Move comments that analyze the above
28135         functions to their home place.
28137 2014-02-03  Allan McRae  <allan@archlinux.org>
28139         * po/sl.po: Update Slovenian translation from translation project.
28141 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
28143         * manual/time.texi (timegm): Add missing blank after @c.
28144         Reported by Joseph Myers <joseph@codesourcery.com>.
28146 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
28148         * manual/check-safety.sh: New.
28149         * manual/Makefile ($(objpfx)stamp-summary): Run it.
28151         * manual/terminal.texi: Document MTASC-safety properties.
28153         * manual/filesys.texi: Document MTASC-safety properties.
28155         * manual/errno.texi: Document MTASC-safety properties.
28157         * manual/intro.texi: Document safety identifiers and
28158         conditionals.
28160         * manual/string.texi (wcstok): Fix prototype.
28161         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
28163         * manual/time.texi: Document MTASC-safety properties.
28165         * manual/string.texi: Document MTASC-safety properties.
28167         * manual/threads.texi: Document MTASC-safety properties.
28169         * manual/stdio.texi: Document MTASC-safety properties.
28171         * manual/syslog.texi: Document MTASC-safety properties.
28173         * manual/sysinfo.texi: Document MTASC-safety properties.
28175         * manual/startup.texi: Document MTASC-safety properties.
28177         * manual/socket.texi: Document MTASC-safety properties.
28179         * manual/signal.texi: Document MTASC-safety properties.
28181 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
28183         * manual/setjmp.texi: Document MTASC-safety properties.
28185         * manual/search.texi: Document MTASC-safety properties.
28187         * manual/resource.texi: Document MTASC-safety properties.
28189         * manual/process.texi: Document MTASC-safety properties.
28191         * manual/platform.texi: Document MTASC-safety properties.
28193         * manual/pipe.texi: Document MTASC-safety properties.
28195         * manual/pattern.texi: Document MTASC-safety properties.
28197         * manual/message.texi: Document MTASC-safety properties.
28199         [BZ #12751]
28200         * manual/memory.texi: Document MTASC-safety properties.
28202         * manual/math.texi: Document MTASC-safety properties.
28204         * manual/locale.texi: Document MTASC-safety properties.
28206         * manual/llio.texi: Document MTASC-safety properties.
28208         * manual/libdl.texi: New.
28210         * manual/lang.texi: Document MTASC-safety properties.
28212         * manual/job.texi: Document MTASC-safety properties.
28214         * manual/getopt.texi: Document MTASC-safety properties.
28216         * manual/ctype.texi: Document MTASC-safety properties.
28218 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
28220         [BZ #16046]
28221         * csu/libc-tls.c (static_map): Remove variable.
28222         (__libc_setup_tls): Use main executable's link map for TLS data.
28223         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
28224         casing for LM_ID_BASE and GL(dl_nns).
28225         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
28226         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
28227         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
28228         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
28229         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
28230         member.
28231         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
28232         l_phnum members.
28234 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
28236         * manual/debug.texi: Document MTASC-safety properties.
28238 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
28240         [BZ #16510]
28241         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
28242         of __x86_64__ when disabling x87 inline functions.
28244 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
28246         * manual/charset.texi: Document MTASC-safety properties.
28248         * manual/crypt.texi: Document MTASC-safety properties.
28250         * manual/conf.texi: Document MTASC-safety properties.
28252         * manual/arith.texi: Document MTASC-safety properties.
28254         * manual/argp.texi: Document MTASC-safety properties.
28256         * manual/macros.texi: Introduce macros to document multi
28257         thread, asynchronous signal and asynchronous cancellation
28258         safety properties.
28259         * manual/intro.texi: Introduce the properties themselves.
28261 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
28263         * sysdeps/sh/sh4/Makefile: New file.
28265 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
28267         * math/gen-libm-test.pl ($srcdir): New variable.
28268         ($auto_input): Use it.
28270 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
28272         [BZ #16506]
28273         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
28274         access beyond array bounds when parsing netgroups file.
28276         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
28277         the old buffer before realloc.
28279 2014-01-27  Allan McRae  <allan@archlinux.org>
28281         * po/fr.po: Update French translation from translation project.
28283 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
28285         * sysdeps/sh/libm-test-ulps: Regenerate.
28287 2014-01-24  David S. Miller  <davem@davemloft.net>
28289         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
28291 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
28293         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
28294         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
28296 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
28298         [BZ #16474]
28299         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
28300         string pointers after reallocation.
28302 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
28304         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
28305         __SH4A__ instead of __SH_FPU_ANY__.
28307 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
28309         * sysdeps/sh/fpu_control.h: New file.
28310         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
28311         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
28312         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
28313         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
28314         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
28315         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
28316         * sysdeps/sh/sys/ucontext.h: Remove.
28317         * sysdeps/sh/sys: Remove directory.
28319 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28321         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
28322         s390/sys/ucontext.h.
28323         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
28324         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
28326 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
28328         [BZ #15605]
28329         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
28331 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28333         [BZ#16431]
28334         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
28335         Adjust the vDSO correctly for internal calls.
28336         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
28338 2014-01-20  Allan McRae  <allan@archlinux.org>
28340         * po/ca.po: Update Catalan translation from translation project.
28342 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
28344         * sysdeps/s390/sotruss-lib.c: New file.
28346 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28348         [BZ#16430]
28349         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
28350         (__GI___gettimeofday): Alias for a different internal symbol to avoid
28351         local calls issues by not having a PLT stub required for IFUNC calls.
28352         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
28354 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
28356         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
28357         * math/test-fpucw-static.c: Likewise.
28359 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
28361         [BZ #16453]
28362         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
28364 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28366         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
28367         implementation for powerpc.
28369 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
28371         [BZ #14782]
28372         * sysdeps/posix/system.c (__libc_system): Do not enable
28373         asynchronous cancellation.
28375 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28377         [BZ #16427]
28378         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
28379         handling only for numbers special also in the IEEE case.
28381 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28383         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
28385 2014-01-11  Allan McRae  <allan@archlinux.org>
28387         * po/bg.po: Update Bulgarian translation from translation project.
28389         * po/de.po: Update German translation from translation project.
28391 2014-01-10  Roland McGrath  <roland@hack.frob.com>
28393         * sysdeps/generic/gcc-compat.h: New file.
28395 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
28397         * benchtests/asin-inputs: Correct slow inputs.
28398         * benchtests/acos-inputs: Likewise.
28400 2014-01-10  Allan McRae  <allan@archlinux.org>
28402         * po:sv.po: Update Swedish translation from translation project.
28404         * po/vi.po: Update Vietnamese translation from translation project.
28406         * po/eo.po: Update Esperanto translation from translation project.
28408         * po/cs.po: Update Czech translation from translation project.
28410         * po/nl.po: Update Dutch translation from translation project.
28412         * po/pl.po: Update Polish translation from translation project.
28414         * po/ru.po: Update Russian translation from translation project.
28416         * po/uk.po: Update Ukrainian translation from translation project.
28418 2014-01-08  Brooks Moses  <bmoses@google.com>
28420         * elf/dl-load.c: Fix comment typo.
28422 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
28424         * po/header.pot: Rename to...
28425         * po/pot.header: ... this.
28426         * po/Makefile: Use pot.header.
28428 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
28429             Maxim Kuvyrkov  <maxim@kugelworks.com>
28431         [BZ #16394]
28432         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
28433         SRC and DEST against LEN.
28435 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28437         [BZ #16414]
28438         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
28439         implementation.
28440         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
28442 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28444         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28446 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
28448         [BZ #16408]
28449         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
28450         for large positive arguments.
28452 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
28454         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
28456         * math/auto-libm-test-in: Mark various tests with
28457         xfail-rounding:ldbl-128ibm.
28458         * math/auto-libm-test-out: Regenerated.
28460         [BZ #16407]
28461         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
28462         Increase overflow threshold.
28464 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
28466         [BZ #14286]
28467         * stdio-common/vfprintf.c: Check for integer overflow.
28469 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28471         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
28472         the first argument and return value of __tls_get_addr_internal.
28474 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28476         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
28477         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
28479 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28481         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
28482         * sysdeps/s390/rtld-global-offsets.sym: New file.
28483         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
28484         GLIBC_2.19 symbol.
28485         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
28486         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
28487         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
28488         ... this.
28489         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
28490         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
28491         ... this.
28492         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
28493         Regenerate.
28494         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
28495         Regenerate.
28496         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
28497         halfs of GPRs for high_gprs contexts.
28498         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
28499         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
28500         field.
28501         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
28502         uc_flags field.
28503         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
28504         64 bit versions:
28505         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
28506         for high GPRs (uc_high_gprs) and for future extensions
28507         (__reserved).
28508         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
28509         for future extensions (__reserved).
28510         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
28511         64 bit versions:
28512         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
28513         SC_HIGHGPRS offset definition.
28514         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
28515         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
28517         * Versions.def: Add GLIBC_2.19 for libpthread.
28518         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
28519         siglongjmp for libpthread with GLIBC_2.19 symver.
28520         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
28521         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
28522         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
28523         * sysdeps/s390/__longjmp.c: New file.
28524         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
28525         * sysdeps/s390/longjmp.c: New file.
28526         * sysdeps/s390/setjmp.S: New file.
28527         * sysdeps/s390/sigjmp.S: New file.
28528         * sysdeps/s390/v1-longjmp.c: New file.
28529         * sysdeps/s390/v1-setjmp.h: New file.
28530         * sysdeps/s390/v1-sigjmp.c: New file.
28531         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
28532         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
28533         GLIBC_2.19 version.
28534         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
28535         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
28536         versioned symbols for ____longjmp_chk.
28537         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
28538         Likewise.
28539         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
28540         Regenerate.
28541         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
28542         Regenerate.
28543         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
28544         Regenerate.
28545         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
28546         Regenerate.
28547         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
28548         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
28549         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
28550         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
28551         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
28552         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
28553         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
28554         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
28555         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
28556         * sysdeps/s390/rtld-__longjmp.c: New file.
28557         * sysdeps/s390/rtld-setjmp.S: New file.
28559 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
28561         [BZ #16400]
28562         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
28563         Return -__logl (x) for small positive arguments without evaluating
28564         a polynomial.
28566 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
28568         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
28569         Rename to ...
28570         (__ptrace_peeksiginfo_args): ... this.
28571         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28572         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28573         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28575 2014-01-06  Allan McRae  <allan@archlinux.org>
28577         * inet/netinet/in.h: Fix typo in comment.
28579 2014-01-05  Andreas Jaeger  <aj@suse.de>
28581         * sysdeps/i386/fpu/libm-test-ulps: Update.
28583 2014-01-05  Allan McRae  <allan@archlinux.org>
28585         * po/libc.pot: Regenerated.
28587         * malloc/memusagestat.c: Fix gettext call formatting.
28589 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
28591         * nscd/nscd.c: Improve usage() output.
28593 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
28595         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
28596         * sysdeps/unix/sysv/linux/configure: Regenerated.
28597         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
28598         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
28600 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
28602         [BZ #16390]
28603         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
28604         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
28606 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28608         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
28609         extra tokens at end of #undef directive.
28610         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
28611         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
28612         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
28614 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
28616         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
28618         * math/auto-libm-test-in: Mark various tests with
28619         xfail-rounding:ldbl-128ibm.
28620         * math/auto-libm-test-out: Regenerated.
28622 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
28624         [BZ #16386]
28625         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
28626         numbers with subnormal high part when calculating exponent.
28628         [BZ #16385]
28629         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
28630         fabs.
28632         [BZ #16384]
28633         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
28634         M_LN2l.
28635         (__ieee754_acoshl): Use __log1pl not __log1p.
28637 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
28639         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
28640         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
28641         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
28642         (grow_heap, heap_trim, _int_new_arena, get_free_list)
28643         (reused_arena, arena_get2): Convert to GNU style.
28644         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
28645         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
28646         (memalign_check, __malloc_set_state): Likewise.
28647         * malloc/mallocbug.c (main): Likewise.
28648         * malloc/malloc.c (__malloc_assert, malloc_init_state)
28649         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
28650         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
28651         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
28652         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
28653         (__posix_memalign, malloc_info): Likewise.
28654         * malloc/malloc.h: Likewise.
28655         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
28656         (mallochook, memalignhook, reallochook, mabort): Likewise.
28657         * malloc/mcheck.h: Likewise.
28658         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
28659         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
28660         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
28661         * malloc/morecore.c (__default_morecore): Likewise.
28662         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
28663         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
28664         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
28665         (print_and_abort): Likewise.
28666         * malloc/obstack.h: Likewise.
28667         * malloc/set-freeres.c (__libc_freeres): Likewise.
28668         * malloc/tst-mallocstate.c (main): Likewise.
28669         * malloc/tst-mtrace.c (main): Likewise.
28670         * malloc/tst-realloc.c (do_test): Likewise.
28672 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
28674         [BZ #16366]
28675         * nscd/netgroupcache.c (do_notfound): New function.
28676         (addgetnetgrentX): Use it.
28678         [BZ # 16365]
28679         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
28680         NSS_STATUS_NOTFOUND.
28682 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
28684         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
28685         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28687 2014-01-01  Allan McRae  <allan@archlinux.org>
28689         * scripts/update-copyrights: Update configure input file suffix.
28691         * NEWS: Update copyright year.
28692         * catgets/gencat.c: Likewise.
28693         * csu/version.c: Likewise.
28694         * debug/catchsegv.sh: Likewise.
28695         * debug/pcprofiledump.c: Likewise.
28696         * debug/xtrace.sh: Likewise.
28697         * elf/ldconfig.c: Likewise.
28698         * elf/ldd.bash.in: Likewise.
28699         * elf/pldd.c: Likewise.
28700         * elf/sotruss.ksh: Likewise.
28701         * elf/sprof.c: Likewise.
28702         * iconv/iconv_prog.c: Likewise.
28703         * iconv/iconvconfig.c: Likewise.
28704         * locale/programs/locale.c: Likewise.
28705         * locale/programs/localedef.c: Likewise.
28706         * login/programs/pt_chown.c: Likewise.
28707         * malloc/memusage.sh: Likewise.
28708         * malloc/memusagestat.c: Likewise.
28709         * malloc/mtrace.pl: Likewise.
28710         * manual/libc.texinfo: Likewise.
28711         * nscd/nscd.c: Likewise.
28712         * nss/getent.c: Likewise.
28713         * nss/makedb.c: Likewise.
28714         * posix/getconf.c: Likewise.
28715         * scripts/test-installation.pl: Likewise.
28717         * All files with FSF copyright notices: Update copyright dates
28718         using scripts/update-copyrights.
28719         * intl/plural.c: Regenerated.
28720         * locale/programs/charmap-kw.h: Likewise.
28721         * locale/programs/locfile-kw.h: Likewise.
28723 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
28725         * sysdeps/unix/sysv/linux/configure: Regenerated.
28726         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
28727         the linux/fanotify.h header.
28728         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
28729         HAVE_LINUX_FANOTIFY_H is defined.
28731 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
28733         * benchtests/cos-inputs: New inputs.
28734         * benchtests/sin-inputs: Likewise.
28736         * benchtests/atan-inputs: New inputs. Fix name of multiple
28737         precision fallback inputs.
28739         * benchtests/atanh-inputs: New inputs.
28740         * benchtests/tanh-inputs: Likewise.
28742         * benchtests/acosh-inputs: New inputs.
28743         * benchtests/asinh-inputs: Likewise.
28745         * benchtests/cosh-inputs: New inputs.
28746         * benchtests/sinh-inputs: Likewise.
28748         * benchtests/acos-inputs: Add more inputs.
28749         * benchtests/asin-inputs: Likewise.
28751 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
28753         [BZ #16375]
28754         * manual/arith.texi: Fix spelling.
28755         * manual/charset.texi: Likewise.
28756         * manual/errno.texi: Likewise.
28757         * manual/filesys.texi: Likewise.
28758         * manual/lang.texi: Likewise.
28759         * manual/llio.texi: Likewise.
28760         * manual/locale.texi: Likewise.
28761         * manual/message.texi: Likewise.
28762         * manual/resource.texi: Likewise.
28763         * manual/search.texi: Likewise.
28764         * manual/setjmp.texi: Likewise.
28765         * manual/stdio.texi: Likewise.
28766         * manual/string.texi: Likewise.
28767         * manual/sysinfo.texi: Likewise.
28768         * manual/time.texi: Likewise.
28770 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
28772         * po/sl.po: New file.
28774 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
28776         * .gitignore: Add core/.gdbinit/.gdb_history.
28778 2013-12-27  Allan McRae  <allan@archlinux.org>
28780         [BZ #16369]
28781         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
28782         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
28784 2013-12-24  Brooks Moses  <bmoses@google.com>
28786         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
28787         all compilers that claim C++98 compliance, not just GCC.
28788         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
28789         Likewise.
28791 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
28793         * NEWS: Restore accidentally deleted bug-fix entries.
28795 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
28796             Ondřej Bílka  <neleai@seznam.cz>
28798         [BZ #15073]
28799         * malloc/malloc.c (_int_free): Perform sanity check only if we
28800         have_lock.
28802 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
28804         [BZ #12986]
28805         * manual/stdio.texi (String Input Conversions): Clarify that character
28806         classes are not supported.
28808 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28810         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28812 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
28814         [BZ #16337]
28815         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
28816         Calculate results for small negative arguments directly rather
28817         than using reflection formula with special underflow handling.
28819         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
28820         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
28821         sysdeps/unix/bsd/bsd4.4/syscalls.list.
28822         (fchflags): Likewise.
28823         (revoke): Likewise.
28824         (setlogin): Likewise.
28825         (sigaltstack): Likewise.
28826         (wait4): Likewise.
28827         (sigblock): Remove.
28828         (sigsetmask): Likewise.
28829         (wait3): Likewise.
28830         (waitpid): Likewise.
28831         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
28832         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
28833         file.
28834         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
28835         * sysdeps/unix/bsd/Makefile: ... here.
28836         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
28837         * sysdeps/unix/bsd/Versions: ... here.
28838         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
28839         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
28840         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
28841         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
28842         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
28843         * sysdeps/unix/bsd/sigblock.c: ... here.
28844         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
28845         * sysdeps/unix/bsd/sigsetmask.c: ... here.
28846         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
28847         * sysdeps/unix/bsd/sigvec.c: ... here.
28848         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
28849         * sysdeps/unix/bsd/tcdrain.c: ... here.
28850         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
28851         * sysdeps/unix/bsd/tcgetattr.c: ... here.
28852         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
28853         * sysdeps/unix/bsd/tcsetattr.c: ... here.
28854         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
28855         * sysdeps/unix/bsd/wait.c: ... here.
28856         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
28857         * sysdeps/unix/bsd/wait3.c: ... here.
28858         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
28859         * sysdeps/unix/bsd/waitpid.c: ... here.
28861 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
28863         [BZ #16356]
28864         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
28865         round-to-nearest for [!USE_AS_EXPM1L].
28866         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
28867         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
28868         more tests of exp and exp10.  Expect some exp10 tests to miss
28869         exceptions or fail in directed rounding modes.
28870         * math/auto-libm-test-out: Regenerated.
28871         * math/libm-test.inc (exp10_tonearest_test_data): New array.
28872         (exp10_test_tonearest): New function.
28873         (exp10_towardzero_test_data): New array.
28874         (exp10_test_towardzero): New function.
28875         (exp10_downward_test_data): New array.
28876         (exp10_test_downward): New function.
28877         (exp10_upward_test_data): New array.
28878         (exp10_test_upward): New function.
28879         (main): Call the new functions.
28880         * sysdeps/i386/fpu/libm-test-ulps: Update.
28881         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28883 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
28885         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
28886         asinh, atan, atan2, atanh, cbrt, cos and cosh.
28887         * math/auto-libm-test-out: Regenerated.
28888         * math/libm-test.inc (acosh_test_data): Add more tests.
28889         (atanh_test_data): Likewise.
28890         (ceil_test_data): Likewise.
28891         (copysign_test_data): Likewise.
28892         * sysdeps/i386/fpu/libm-test-ulps: Update.
28893         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28895         * timezone/checktab.awk: Update from tzcode 2013i.
28896         * timezone/private.h: Likewise.
28897         * timezone/scheck.c: Likewise.
28898         * timezone/tzfile.h: Likewise.
28899         * timezone/tzselect.ksh: Likewise.
28900         * timezone/zdump.c: Likewise.
28901         * timezone/zic.c: Likewise.
28903         * math/auto-libm-test-in: Add tests of cpow.
28904         * math/auto-libm-test-out: Regenerated.
28905         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
28906         * math/gen-auto-libm-tests.c (func_calc_method): Add value
28907         mpc_cc_c.
28908         (func_calc_desc): Add mpc_cc_c union field.
28909         (test_functions): Add cpow.
28910         (special_fill_2pi): New function.
28911         (special_real_inputs): Add 2pi.
28912         (calc_generic_results): Handle mpc_cc_c.
28913         * sysdeps/i386/fpu/libm-test-ulps: Update.
28914         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28916         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
28917         csqrt, ctan and ctanh.
28918         * math/auto-libm-test-out: Regenerated.
28919         * math/libm-test.inc (TEST_COND_x86_64): New macro.
28920         (TEST_COND_x86): Likewise.
28921         (ccos_test_data): Use AUTO_TESTS_c_c.
28922         (ccosh_test_data): Likewise.
28923         (cexp_test_data): Likewise.
28924         (clog_test_data): Likewise.
28925         (csqrt_test_data): Likewise.
28926         (ctan_test_data): Likewise.
28927         (ctan_tonearest_test_data): Likewise.
28928         (ctan_towardzero_test_data): Likewise.
28929         (ctan_downward_test_data): Likewise.
28930         (ctan_upward_test_data): Likewise.
28931         (ctanh_test_data): Likewise.
28932         (ctanh_tonearest_test_data): Likewise.
28933         (ctanh_towardzero_test_data): Likewise.
28934         (ctanh_downward_test_data): Likewise.
28935         (ctanh_upward_test_data): Likewise.
28936         * math/gen-auto-libm-tests.c (func_calc_method): Add value
28937         mpc_c_c.
28938         (func_calc_desc): Add mpc_c_c union field.
28939         (FUNC_mpc_c_c): New macro.
28940         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
28941         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
28942         ctanh.
28943         (special_fill_min_subnorm_p120): New function.
28944         (special_real_inputs): Add min_subnorm_p120.
28945         (calc_generic_results): Handle mpc_c_c.
28946         * sysdeps/i386/fpu/libm-test-ulps: Update.
28947         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28949 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
28951         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
28952         (do_sin_slow): New functions.
28953         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
28954         (cslow2, csloww1, csloww2): Use the new functions.
28956         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
28957         Use M to change sign of result instead of X.  Assume X is
28958         positive.
28959         (csloww1): Likewise.
28960         (__sin): Adjust.
28961         (__cos): Adjust.
28963         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
28964         arguments A and DA.
28965         (__sin): Adjust.
28966         (__cos): Likewise.
28968         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
28969         (__cos): Likewise.
28970         (sloww1): Don't adjust sign of DX.
28971         (csloww1): Likewise.
28972         (sloww2): Use X directly and don't adjust sign of DX.
28973         (csloww2): Likewise.
28975 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
28977         * math/auto-libm-test-in: Add tests of cabs and carg.
28978         * math/auto-libm-test-out: Regenerated.
28979         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
28980         (carg_test_data): Likewise.
28981         * math/gen-auto-libm-tests.c (func_calc_method): Add value
28982         mpc_c_f.
28983         (func_calc_desc): Add mpc_c_f union field.
28984         (test_functions): Add cabs and carg.
28985         (calc_generic_results): Handle mpc_c_f.
28987         * sysdeps/powerpc/powerpc32/libgcc-compat.S
28988         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
28989         as a macro and a compat symbol.
28990         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
28991         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
28992         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
28993         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
28994         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
28995         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
28996         not use .hidden.
28997         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
28998         Likewise.
28999         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
29000         Likewise.
29001         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
29002         Likewise.
29003         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
29004         Likewise.
29005         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
29006         Likewise.
29007         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
29008         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
29009         from GLIBC_2.3.2.
29011 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29013         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29015 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
29017         * manual/texinfo.tex: Update to version 2013-11-26.10 with
29018         trailing whitespace removed.
29019         * scripts/config.guess: Update to version 2013-11-29.
29020         * scripts/config.sub: Update to version 2013-10-01.
29022         * math/auto-libm-test-in: Add tests of sincos.
29023         * math/auto-libm-test-out: Regenerated.
29024         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
29025         * math/gen-auto-libm-tests.c (func_calc_method): Add value
29026         mpfr_f_11.
29027         (func_calc_desc): Add mpfr_f_11 union field.
29028         (test_functions): Add sincos.
29029         (calc_generic_results): Handle mpfr_f_11.
29030         * sysdeps/i386/fpu/libm-test-ulps: Update.
29031         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29033 2013-12-19  Andreas Schwab  <schwab@suse.de>
29035         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
29036         CALL_MCOUNT.
29037         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
29038         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
29039         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
29041 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
29043         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
29044         * sysdeps/i386/fpu/libm-test-ulps: Update.
29045         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29047         [BZ #16293]
29048         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
29049         round-to-nearest mode when using frndint.
29050         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
29051         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
29052         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
29053         Likewise.
29054         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
29055         sinh test to fail.
29056         * math/auto-libm-test-out: Regenerated.
29057         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
29058         (TEST_COND_x86): Likewise.
29059         (expm1_tonearest_test_data): New array.
29060         (expm1_test_tonearest): New function.
29061         (expm1_towardzero_test_data): New array.
29062         (expm1_test_towardzero): New function.
29063         (expm1_downward_test_data): New array.
29064         (expm1_test_downward): New function.
29065         (expm1_upward_test_data): New array.
29066         (expm1_test_upward): New function.
29067         (main): Run the new test functions.
29068         * sysdeps/i386/fpu/libm-test-ulps: Update.
29069         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29071         * include/features.h: Update comment documenting feature test
29072         macros.  Mention _DEFAULT_SOURCE in comment.
29073         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
29074         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
29075         _BSD_SOURCE and _SVID_SOURCE.
29076         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
29077         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
29078         !_SVID_SOURCE]: Likewise.
29079         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
29080         (__USE_POSIX_IMPLICITLY): Define.
29081         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
29082         (_POSIX_SOURCE): Undefine and redefine.
29083         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
29084         (_POSIX_C_SOURCE): Likewise.
29085         * manual/creature.texi (_DEFAULT_SOURCE): Document.
29086         (Feature Test Macros): Update documentation of default features.
29088 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
29090         * benchtests/Makefile: Add bench-strtok.
29091         * benchtests/bench-strtok.c: New file: strtok benchtest.
29093 2013-12-19  Allan McRae  <allan@archlinux.org>
29095         * manual/install.texi: Suppress menu for plain text output.
29096         * INSTALL: Regenerated.
29098 2013-12-18  Brooks Moses  <bmoses@google.com>
29100         [BZ #15846]
29101         * misc/getauxval.c: Include errno.h.
29102         (__getauxval): Set errno to ENOENT if the requested type is not
29103         found.
29104         * misc/sys/auxv.h (getauxval): Document that it may set errno;
29105         don't declare with __attribute_const__.
29106         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
29107         * manual/startup.texi: Document that getauxval sets errno.
29109 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
29111         * math/auto-libm-test-in: Add tests of jn and yn.
29112         * math/auto-libm-test-out: Regenerated.
29113         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
29114         (yn_test_data): Likewise.
29115         * math/gen-auto-libm-tests.c (func_calc_method): Add value
29116         mpfr_if_f.
29117         (func_calc_desc): Add mpfr_if_f union field.
29118         (FUNC_mpfr_if_f): New macro.
29119         (test_functions): Add jn and yn.
29120         (calc_generic_results): Assert type of second input for
29121         mpfr_ff_f.  Handle mpfr_if_f.
29122         (output_for_one_input_case): Disable all checking for arguments
29123         fitting floating-point types in case of an integer argument.
29124         * sysdeps/i386/fpu/libm-test-ulps: Update.
29125         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
29128         Don't expect fegetround reference in libm.so.
29130 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
29132         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
29133         $(config-cflags-nofma).
29135 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
29137         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
29138         * math/auto-libm-test-out: Regenerated.
29140         [BZ #16338]
29141         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
29142         to determine exponent and adjust argument to have exponent of -1.
29143         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
29144         log2.
29145         * math/auto-libm-test-out: Regenerated.
29146         * sysdeps/i386/fpu/libm-test-ulps: Update.
29147         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29149 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
29151         * manual/probes.texi: Remove cases when per-thread arenas are
29152         disabled.
29154 2013-12-18  Andreas Schwab  <schwab@suse.de>
29156         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
29157         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
29158         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
29159         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
29160         * sysdeps/i386/i686/multiarch/Makefile: Update.
29161         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
29163 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
29165         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
29166         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
29168 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
29170         [BZ #15968]
29171         Support TZ transition times < 00:00:00.
29172         This is needed for version-3 tz-format files; it supports time
29173         stamps past 2037 for America/Godthab (the only entry in the tz
29174         database for which this change is relevant).
29175         * manual/time.texi (TZ Variable): Document transition times
29176         from -167:59:59 through -00:00:01.
29177         * time/tzset.c (tz_rule): Time of day is now signed.
29178         (__tzset_parse_tz): Parse negative time of day.
29180         Document TZ transition times >= 25:00:00.
29181         * manual/time.texi (TZ Variable): Document transition times from
29182         25:00:00 through 167:59:59.  These are already supported, and this
29183         support will help with version-3 tz-format files.
29185         * manual/time.texi (TZ Variable): Modernize North America example
29186         to reflect current (i.e., 2007-and-later) daylight saving rules.
29188         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
29190 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
29192         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
29193         * sysdeps/unix/bsd/bits/stat.h: Likewise.
29194         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
29195         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
29196         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
29197         * sysdeps/unix/bsd/bsdstat.h: Likewise.
29198         * sysdeps/unix/bsd/clock.c: Likewise.
29199         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
29200         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
29201         * sysdeps/unix/bsd/init-posix.c: Likewise.
29202         * sysdeps/unix/bsd/poll.c: Likewise.
29203         * sysdeps/unix/bsd/ptsname.c: Likewise.
29204         * sysdeps/unix/bsd/seekdir.c: Likewise.
29205         * sysdeps/unix/bsd/setegid.c: Likewise.
29206         * sysdeps/unix/bsd/seteuid.c: Likewise.
29207         * sysdeps/unix/bsd/setgid.c: Likewise.
29208         * sysdeps/unix/bsd/setrgid.c: Likewise.
29209         * sysdeps/unix/bsd/setruid.c: Likewise.
29210         * sysdeps/unix/bsd/setsid.c: Likewise.
29211         * sysdeps/unix/bsd/setuid.c: Likewise.
29212         * sysdeps/unix/bsd/sigaction.c: Likewise.
29213         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
29214         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
29215         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
29216         * sysdeps/unix/bsd/telldir.c: Likewise.
29217         * sysdeps/unix/bsd/times.c: Likewise.
29218         * sysdeps/unix/bsd/usleep.c: Likewise.
29220         * misc/Makefile (install-lib): Remove libbsd-compat.a.
29221         ($(objpfx)libbsd-compat.a): Remove rule.
29223         * include/features.h (__FAVOR_BSD): Do not define.
29224         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
29225         features conflicting with POSIX.
29226         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
29227         (_BSD_SOURCE): Remove description of not being a subset of other
29228         feature test macros.
29229         * manual/job.texi (getpgrp): Do not document BSD version.
29230         (getpgid): Do not document by reference to BSD getpgrp.
29231         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
29232         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
29233         * signal/signal.h [__FAVOR_BSD]: Likewise.
29234         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
29235         instead of making contents conditional on [__FAVOR_BSD].
29236         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
29238 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29240         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29242 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
29244         [BZ #16314]
29245         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
29246         values below 2**-450, not 2**-500.
29247         * math/auto-libm-test-in: Don't allow spurious underflow from
29248         hypot.
29249         * math/auto-libm-test-out: Regenerated.
29251         [BZ #16316]
29252         [BZ #16330]
29253         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
29254         values of ha and hb and sort them after adjusting subnormal
29255         arguments.
29256         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
29257         Likewise.
29258         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
29259         values of ea and eb and sort them after adjusting subnormal
29260         arguments.
29261         * math/auto-libm-test-in: Do not expect some hypot tests of
29262         subnormals to fail.  Add more hypot tests.
29263         * math/auto-libm-test-out: Regenerated.
29265 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
29267         [BZ #13304]
29268         * sysdeps/sh/s_fma.c: New file.
29269         * sysdeps/sh/s_fmaf.c: New file.
29270         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
29271         version.
29272         * sysdeps/sh/Implies: Add sh/soft-fp.
29274 2013-12-16  Roland McGrath  <roland@hack.frob.com>
29276         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
29277         level of indirection to members `objname', `errstring', `malloced'.
29278         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
29279         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
29280         it as the __longjmp argument (just pass 1 instead).
29281         (_dl_catch_error): Initialize C with argument pointers and address of
29282         volatile local ERRCODE rather than copying values out of C at return.
29284 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
29286         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
29287         * math/auto-libm-test-out: Regenerated.
29288         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
29289         (hypot_test_data): Likewise.
29290         (pow_test_data): Likewise.
29291         (pow_tonearest_test_data): Likewise.
29292         * math/gen-auto-libm-tests.c (func_calc_method): Add value
29293         mpfr_ff_f.
29294         (func_calc_desc): Add mpfr_ff_f union field.
29295         (FUNC_mpfr_ff_f): New macro.
29296         (test_functions): Add atan2, hypot and pow.
29297         (special_fill_min): New function.
29298         (special_fill_minus_min): Likewise.
29299         (special_fill_min_subnorm): Likewise.
29300         (special_fill_minus_min_subnorm): Likewise.
29301         (special_real_inputs): Add min, -min, min_subnorm and
29302         -min_subnorm.
29303         (calc_generic_results): Handle mpfr_ff_f.
29304         * sysdeps/i386/fpu/libm-test-ulps: Update.
29305         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29307 2013-12-16  Will Newton  <will.newton@linaro.org>
29309         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
29310         (Aligned Memory Blocks): Add documentation for aligned_alloc
29311         and suggest it as an alternative to posix_memalign.
29312         (Hooks for Malloc): Document __memalign_hook is also called
29313         for aligned_alloc.  (Summary of Malloc): Add summary for
29314         aligned alloc.  Document __memalign_hook is also called
29315         for aligned_alloc.
29317 2013-12-16  Will Newton  <will.newton@linaro.org>
29319         * manual/memory.texi (Malloc Examples): Clarify default
29320         alignment documentation.  Suggest posix_memalign rather
29321         than memalign or valloc.
29322         (Aligned Memory Blocks): Remove suggestion to use memalign
29323         or valloc.  Remove obsolete comment about BSD.
29324         Document memalign errno values and mark the function obsolete.
29325         Document posix_memalign returned error codes.  Mark valloc
29326         as obsolete.  (Hooks for Malloc): __memalign_hook is also
29327         called for posix_memalign and valloc.
29328         (Summary of Malloc): Add posix_memalign to function summary.
29329         __memalign_hook is also called for posix_memalign and valloc.
29331 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
29333         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
29334         TAYLOR_SIN.
29335         (__sin): Adjust.
29336         (__cos): Likewise.
29337         (sloww): Use mynumber union.  Expand ternary operator into
29338         if-else statements.
29339         (cslow): use mynumber union.
29341 2013-12-16  Allan McRae  <allan@archlinux.org>
29343         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
29344         * configure: Regenerated.
29346         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
29348         [BZ #14120]
29349         * configure.ac: Added --enable-maintainer-mode. Check for
29350         autoconf when enabled.
29351         * configure: Regenerated.
29353         * nscd/nscd.service: New file.
29354         * nscd/nscd.tmpfiles: New file.
29356 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
29358         [BZ #12100]
29359         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
29360         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
29361         * sysdeps/x86_64/multiarch/strstr.c: ... here.
29362         (strstr): Add __strstr_sse2_unaligned ifunc.
29363         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
29364         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
29365         (strcasestr): Remove __strcasestr_sse42 ifunc.
29366         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
29367         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
29368         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
29370 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
29372         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
29373         * sysdeps/sh/bits/fenv.h: ... here.
29374         * sysdeps/sh/sh4/fpu/bits: Remove directory.
29376 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29378         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
29380         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
29381         hypotf multiarch implementations.
29382         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
29383         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
29384         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
29385         multiarch hypot for PPC64.
29386         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
29387         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
29388         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
29389         multiarch hypotf for PPC64.
29391         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
29392         modff multiarch implementations.
29393         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
29394         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
29395         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
29396         multiarch modf for PPC64.
29397         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
29398         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
29399         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
29400         multiarch modff for PPC64.
29402         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
29403         and logl multiarch implementations.
29404         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
29405         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
29406         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
29407         multiarch logb for PPC64.
29408         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
29409         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
29410         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
29411         multiarch logb for PPC64.
29412         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
29413         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
29414         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
29415         multiarch logb for PPC64.
29417         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
29418         isinff multiarch implementation.
29419         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
29420         file.
29421         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
29422         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
29423         multiarch isinf for PPC64.
29424         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
29425         file.
29426         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
29427         multiarch isinff for PPC64.
29429         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
29430         finitef multiarch implementation.
29431         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
29432         file.
29433         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
29434         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
29435         multiarch finite for PPC64.
29436         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
29437         file.
29438         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
29439         multiarch finitef for PPC64.
29441         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
29442         lrint multiarch implementation.
29443         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
29444         file.
29445         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
29446         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
29447         multiarch llrint for PPC64.
29448         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
29449         multiarch lrint for PPC64.
29451         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
29452         copysignf multiarch implementation.
29453         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
29454         file.
29455         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
29456         file.
29457         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
29458         multiarch copysign for PPC64.
29459         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
29460         multiarch copysignf for PPC64.
29462         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
29463         multiarch implementation.
29464         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
29465         file.
29466         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
29467         file.
29468         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
29469         file.
29470         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
29471         file.
29472         multiarch llround for PPC64.
29473         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
29474         multiarch trunc for PPC64.
29475         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
29476         multiarch truncf for PPC64.
29478         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
29479         multiarch implementation.
29480         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
29481         file.
29482         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
29483         file.
29484         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
29485         file.
29486         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
29487         file.
29488         multiarch llround for PPC64.
29489         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
29490         multiarch round for PPC64.
29491         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
29492         multiarch roundf for PPC64.
29494         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
29495         multiarch implementation.
29496         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
29497         file.
29498         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
29499         file.
29500         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
29501         file.
29502         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
29503         file.
29504         multiarch llround for PPC64.
29505         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
29506         multiarch floor for PPC64.
29507         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
29508         multiarch floorf for PPC64.
29510         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
29511         multiarch implementation.
29512         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
29513         file.
29514         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
29515         file.
29516         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
29517         file.
29518         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
29519         file.
29520         multiarch llround for PPC64.
29521         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
29522         multiarch ceil for PPC64.
29523         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
29524         multiarch ceilf for PPC64.
29526         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
29527         multiarch implementation.
29528         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
29529         file.
29530         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
29531         file.
29532         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
29533         file.
29534         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
29535         multiarch llround for PPC64.
29536         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
29537         multiarch lround for PPC64.
29539         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
29540         multiarch implementation.
29541         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
29542         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
29543         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
29544         file.
29545         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
29546         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
29547         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
29548         multiarch isnan for PPC64.
29549         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
29550         multiarch isnanf for PPC64.
29552         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
29553         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
29554         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
29555         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
29556         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
29557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
29559         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
29560         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
29561         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
29562         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
29564         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
29565         multiarch implementations.
29566         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29567         (__libc_ifunc_impl_list): Likewise.
29568         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
29569         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
29570         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
29571         multiarch stpcpy for PPC64.
29573         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
29574         multiarch implementations.
29575         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29576         (__libc_ifunc_impl_list): Likewise.
29577         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
29578         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
29579         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
29580         multiarch strcpy for PPC64.
29582         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
29583         redefine function name.
29584         (_wordcopy_fwd_dest_aligned): Likewise.
29585         (_wordcopy_bwd_aligned): Likewise.
29586         (_wordcopy_bwd_dest_aligned): Likewise.
29587         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
29588         multiarch implementations.
29589         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29590         (__libc_ifunc_impl_list): Likewise.
29591         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
29592         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
29593         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
29594         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
29595         multiarch wcscpy for PPC64.
29597         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
29598         multiarch implementations.
29599         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29600         (__libc_ifunc_impl_list): Likewise.
29601         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
29602         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
29603         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
29604         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
29605         multiarch wcscpy for PPC64.
29607         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
29608         multiarch implementations.
29609         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29610         (__libc_ifunc_impl_list): Likewise.
29611         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
29612         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
29613         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
29614         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
29615         multiarch wcsrchr for PPC64.
29617         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
29618         multiarch implementations.
29619         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29620         (__libc_ifunc_impl_list): Likewise.
29621         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
29622         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
29623         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
29624         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
29625         multiarch wcschr for PPC64.
29627         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
29628         multiarch implementations.
29629         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29630         (__libc_ifunc_impl_list): Likewise.
29631         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
29632         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
29633         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
29634         multiarch strchrnul for PPC64.
29636         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
29637         implementations.
29638         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29639         (__libc_ifunc_impl_list): Likewise.
29640         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
29641         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
29642         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
29643         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
29644         strchr for PPC64.
29646         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
29647         implementations.
29648         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29649         (__libc_ifunc_impl_list): Likewise.
29650         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
29651         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
29652         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
29653         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
29654         strncmp for PPC64.
29656         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
29657         multiarch implementations.
29658         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29659         (__libc_ifunc_impl_list): Likewise.
29660         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
29661         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
29662         strncasecmp for PPC64.
29663         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
29664         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
29665         multiarch strncasecmp_l for PPC64.
29667         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
29668         multiarch implementations.
29669         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
29670         (__libc_ifunc_impl_list): Likewise.
29671         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
29672         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
29673         multiarch strcasecmp for PPC64.
29674         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
29675         file.
29676         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
29677         multiarch strcasecmp_l for PPC64.
29679         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
29680         implementations.
29681         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29682         (__libc_ifunc_impl_list): Likewise.
29683         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
29684         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
29685         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
29686         strnlen for PPC64.
29688         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
29689         implementations.
29690         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29691         (__libc_ifunc_impl_list): Likewise.
29692         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
29693         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
29694         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
29695         strlen for PPC64.
29697         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
29698         implementations.
29699         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29700         (__libc_ifunc_impl_list): Likewise.
29701         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
29702         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
29703         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
29704         rawmemrchr for PPC64.
29706         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
29707         implementation.
29708         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29709         (__libc_ifunc_impl_list): Likewise.
29710         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
29711         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
29712         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
29713         memrchr for PPC64.
29715         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
29716         implementation.
29717         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29718         (__libc_ifunc_impl_list): Likewise.
29719         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
29720         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
29721         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
29722         memchr for PPC64.
29724         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
29725         implementation.
29726         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29727         (__libc_ifunc_impl_list): Likewise.
29728         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
29729         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
29730         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
29731         mempcpy for PPC64.
29733         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
29734         avoid cretion of __bzero symbol.
29735         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
29736         Likewise.
29737         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
29738         Likewise.
29739         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
29740         Likewise.
29741         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
29742         multiarch implementations.
29743         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29744         (__libc_ifunc_impl_list): Likewise.
29745         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
29746         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
29747         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
29748         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
29749         bzero for PPC32.
29750         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
29751         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
29752         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
29753         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
29754         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
29755         memset for PPC64.
29756         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
29758         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
29759         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
29760         implementations.
29761         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29762         (__libc_ifunc_impl_list): Likewise.
29763         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
29764         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
29765         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
29766         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
29767         memcmp for PPC64.
29769         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
29770         multiarch for POWER/PPC64.
29771         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
29772         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
29773         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
29774         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
29775         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
29776         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
29777         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
29778         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
29779         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
29780         memcpy for PPC64.
29782         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
29783         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
29784         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
29785         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
29786         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
29787         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
29788         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
29789         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
29790         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
29791         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
29792         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
29793         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
29794         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
29795         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
29796         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
29797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
29798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
29799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
29800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
29801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
29802         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
29803         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
29805 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
29807         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
29809 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
29811         * benchtests/Makefile (bench): Add exp2 and log2.
29812         (LDLIBS-bench-exp2): Add -lm.
29813         (LDLIBS-bench-log2): Likewise.
29814         * benchtests/exp2-inputs: New inputs file.
29815         * benchtests/log2-inputs: New inputs file.
29816         * benchtests/log-inputs: Add new inputs.
29817         * benchtests/tan-inputs: Likewise.
29819 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
29821         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
29822         definition...
29823         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
29824         (csloww2): ... from here.
29826         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
29827         instead of structures.
29828         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
29829         (POLYNOMIAL): Likewise.
29830         (TAYLOR_SLOW): Likewise.
29831         (__sin): Likewise.
29832         (__cos): Likewise.
29833         (slow1): Likewise.
29834         (slow2): Likewise.
29835         (sloww): Likewise.
29836         (sloww1); Likewise.
29837         (sloww2): Likewise.
29838         (bsloww1): Likewise.
29839         (bsloww2): Likewise.
29840         (cslow2): Likewise.
29841         (csloww): Likewise.
29842         (csloww1): Likewise.
29843         (csloww2): Likewise.
29845 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
29847         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
29848         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
29849         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
29850         * malloc/hooks.c (realloc_check): Likewise.
29852         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
29853         * malloc/arena.c: Remove PER_THREAD conditional.
29854         [!PER_THREAD]: Remove code.
29855         (ptmalloc_unlock_all2): Likewise.
29856         (ptmalloc_init): Likewise.
29857         (_int_new_arena): Likewise.
29858         (arena_get2): Likewise.
29859         * malloc/hooks.c (__malloc_get_state): Likewise.
29860         (__malloc_set_state): Likewise.
29861         * malloc/malloc.c: Likewise.
29862         (struct malloc_state): Likewise.
29863         (struct malloc_par): Likewise.
29864         (__libc_realloc): Likewise.
29865         (__libc_mallopt): Likewise.
29867 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29869         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
29871 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
29873         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
29874         macro to a function.  Check for zero perturb_byte.
29875         (_int_malloc, _int_free): Remove zero perturb_byte checks.
29877         * malloc/malloc.c: (force_reg): Remove.
29878         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
29879         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
29880         force_reg by atomic_forced_read.
29881         * malloc/arena.c (ptmalloc_init): Likewise.
29882         * malloc/hooks.c (top_check): Likewise.
29884 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29886         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29888 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
29890         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29892 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
29894         * math/auto-libm-test-in: Add tests of lgamma.
29895         * math/auto-libm-test-out: Regenerated.
29896         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
29897         (M_LOG_2_SQRT_PIl): Likewise.
29898         (lgamma_test_data): Use AUTO_TESTS_f_f1.
29899         * math/gen-auto-libm-tests.c (func_calc_method): Add value
29900         mpfr_f_f1.
29901         (func_calc_desc): Add mpfr_f_f1 union field.
29902         (ARGS1): New macro.
29903         (ARGS2): Likewise.
29904         (ARGS3): Likewise.
29905         (ARGS4): Likewise.
29906         (RET1): Likewise.
29907         (RET2): Likewise.
29908         (CALC): Likewise.
29909         (FUNC): Likewise.
29910         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
29911         (test_functions): Add lgamma.
29912         (calc_generic_results): Handle mpfr_f_f1.
29913         * sysdeps/i386/fpu/libm-test-ulps: Update.
29914         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29916 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29918         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
29919         __mpn_add_n for PowerPC64/POWER7.
29920         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
29921         __mpn_sub_n for PowerPC64/POWER7.
29923         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
29924         __mpn_addmul_1 for PowerPC64.
29925         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
29926         __mpn_submul_1 for PowerPC64.
29927         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
29928         for PowerPC64.
29929         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
29930         for PowerPC64.
29932 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
29934         [BZ #15089]
29935         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
29937 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29939         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
29941         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
29942         add multiarch folders.
29943         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
29944         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
29945         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
29946         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
29947         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
29948         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
29949         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
29950         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
29951         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
29952         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
29953         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
29954         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
29955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
29956         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
29957         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
29958         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
29959         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
29961         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
29962         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
29963         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
29964         New file.
29965         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
29966         New file.
29967         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
29968         multiarch __ieee754_hypot for PowerPC32.
29969         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
29970         New file.
29971         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
29972         New file.
29973         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
29974         multiarch __ieee754_hypotf for PowerPC32.
29976         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
29977         long_double_symbol only if __logbl is defined.
29978         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
29979         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
29980         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
29981         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
29982         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
29983         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
29984         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
29985         path for implementation.
29986         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
29987         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
29988         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
29989         logb, and logbl multiarch implementations for PowerPC32.
29990         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
29991         file.
29992         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
29993         file.
29994         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
29995         multiarch logb for PowerPC32.
29996         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
29997         file.
29998         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
29999         file.
30000         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
30001         multiarch logbf for PowerPC32.
30002         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
30003         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
30004         file.
30005         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
30006         multiarch logbl implementation for PowerPC32.
30008         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
30009         and modff multiarch implementations.
30010         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
30011         New file.
30012         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
30013         New file.
30014         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
30015         multiarch modf for PowerPC32.
30016         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
30017         New file.
30018         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
30019         New file.
30020         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
30021         multiarch modff for PowerPC32.
30023         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
30024         and lrintf multiarch implementations.
30025         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
30026         New file.
30027         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
30028         New file.
30029         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
30030         multiarch lrint for PowerPC32.
30031         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
30032         file: multiarch lrintf for PowerPC32.
30034         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
30035         and lroundf multiarch implementations.
30036         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
30037         New file.
30038         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
30039         New file.
30040         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
30041         New file.
30042         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
30043         multiarch lround for PowerPC32.
30044         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
30045         file: multiarch lroundf for PowerPC32.
30047         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
30048         copysign and copysignf multiarch implementations.
30049         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
30050         New file.
30051         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
30052         New file.
30053         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
30054         file: multiarch copysign for PowerPC32.
30055         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
30056         file: multiarch copysignf for PowerPC32.
30058         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
30059         and truncf multiarch implementations.
30060         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
30061         New file.
30062         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
30063         file.
30064         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
30065         multiarch trunc for PowerPC32.
30066         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
30067         New file.
30068         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
30069         New file.
30070         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
30071         multiarch truncf for PowerPC32.
30073         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
30074         and roundf multiarch implementations.
30075         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
30076         New file.
30077         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
30078         file.
30079         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
30080         multiarch round for PowerPC32.
30081         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
30082         New file.
30083         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
30084         New file.
30085         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
30086         multiarch roundf for PowerPC32.
30088         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
30089         and floorf multiarch implementations.
30090         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
30091         New file.
30092         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
30093         file.
30094         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
30095         multiarch floor for PowerPC32.
30096         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
30097         New file.
30098         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
30099         New file.
30100         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
30101         multiarch floorf for PowerPC32.
30103         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
30104         and ceilf multiarch implementations.
30105         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
30106         New file.
30107         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
30108         file.
30109         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
30110         multiarch ceil for PowerPC32.
30111         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
30112         New file.
30113         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
30114         file.
30115         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
30116         multiarch ceilf for PowerPC32.
30118         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
30119         is defined.
30120         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
30121         FINITEF is defined.
30122         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
30123         and finitef multiarch implementations.
30124         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
30125         New file.
30126         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
30127         file.
30128         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
30129         multiarch finite for PowerPC32.
30130         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
30131         New file.
30132         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
30133         file: multiarch finitef for PowerPC32.
30135         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
30136         and isinff multiarch implementations.
30137         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
30138         file.
30139         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
30140         file.
30141         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
30142         multiarch isinf for PowerPC32.
30143         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
30144         New file.
30145         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
30146         multiarch isinff for PowerPC32.
30148         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
30149         alias when __isnan is defined.
30150         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
30151         and isnanf multiarch implementations.
30152         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
30153         file.
30154         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
30155         file.
30156         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
30157         file.
30158         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
30159         file.
30160         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
30161         multiarch isnan for PowerPC32.
30162         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
30163         New file.
30164         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
30165         New file.
30166         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
30167         multiarch isnanf for PowerPC32.
30169         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
30170         and sqrtf multiarch implementations.
30171         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
30172         file.
30173         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
30174         file.
30175         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
30176         multiarch sqrt for PowerPC32.
30177         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
30178         file.
30179         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
30180         file.
30181         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
30182         multiarch sqrtf for PowerPC32.
30184         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
30185         and llroundf multiarch implementations.
30186         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
30187         New file.
30188         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
30189         New file.
30190         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
30191         New file.
30192         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
30193         file: multiarch llround for PowerPC32.
30194         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
30195         file: multiarch llroundf for PowerPC32.
30197         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
30198         multiarch PowerPC32 fpu implementations.
30199         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
30200         New file.
30201         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
30202         New file.
30203         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
30204         multiarch llrint for PowerPC32.
30205         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
30206         New file.
30207         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
30208         New file.
30209         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
30210         file.
30212         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
30214         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
30215         file.
30216         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
30217         file.
30218         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
30219         file.
30220         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
30221         multiarch wordcopy for PPC32.
30222         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
30223         wordcopy objects.
30224         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30225         (__libc_ifunc_impl_list): Likewise.
30226         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
30227         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
30228         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
30229         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
30230         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
30231         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
30233         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
30234         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
30235         file.
30236         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
30237         file.
30238         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
30239         file.
30240         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
30241         multiarch wcscpy for PPC32.
30242         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
30243         multiarch objects.
30244         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30245         (__libc_ifunc_impl_list): Likewise.
30246         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
30247         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
30248         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
30249         sysdeps/powerpc/power6/wcscpy.c.
30251         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
30252         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
30253         file.
30254         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
30255         file.
30256         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
30257         file.
30258         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
30259         multiarch wcsrchr for PPC32.
30260         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
30261         multiarch objects.
30262         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30263         (__libc_ifunc_impl_list): Likewise.
30264         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
30265         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
30266         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
30267         sysdeps/powerpc/power6/wcsrchr.c.
30269         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
30270         file.
30271         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
30272         file.
30273         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
30274         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
30275         multiarch wcschr for PPc32.
30276         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
30277         multiarch objects.
30278         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30279         (__libc_ifunc_impl_list): Likewise.
30280         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
30281         * sysdeps/powerpc/power6/wcschr.c: ... to here.
30282         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
30283         sysdeps/powerpc/power6/wcschr.c.
30285         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
30286         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
30287         file.
30288         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
30289         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
30290         file: multiarch strchr for PPC32.
30291         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
30292         multiarch objects.
30293         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30294         (__libc_ifunc_impl_list): Likewise.
30296         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
30297         name.
30298         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
30299         file.
30300         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
30301         file.
30302         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
30303         multiarch strchrnul for PPC32.
30304         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
30305         multiarch objects.
30306         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30307         (__libc_ifunc_impl_list): Likewise.
30309         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
30310         file.
30311         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
30312         multiarch strncasecmp for PPC32.
30313         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
30314         file.
30315         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
30316         multiarch strncasecmp_l for PPC32.
30317         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
30318         strncasecmp multiarch objects.
30319         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30320         (__libc_ifunc_impl_list): Likewise.
30322         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
30323         file.
30324         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
30325         multiarch strncasecmp for PPC32.
30326         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
30327         New file.
30328         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
30329         multiarch strcasecmp_l for PPC32.
30330         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
30331         multiarch objects.
30332         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30333         (__libc_ifunc_impl_list): Likewise.
30335         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
30336         file.
30337         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
30338         file.
30339         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
30340         multiarch strncmp for PPC32.
30341         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
30342         multiarch objects.
30343         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30344         (__libc_ifunc_impl_list): Likewise.
30346         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
30347         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
30348         file.
30349         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
30350         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
30351         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
30352         multiarch objects.
30353         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30354         (__libc_ifunc_impl_list): Likewise.
30356         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
30357         file.
30358         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
30359         file.
30360         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
30361         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
30362         multiarch objects.
30363         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30364         (__libc_ifunc_impl_list): Likewise.
30366         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
30367         file.
30368         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
30369         file.
30370         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
30371         multiarch rawmemchr for PPC32.
30372         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
30373         multiarch objects.
30374         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30375         (__libc_ifunc_impl_list): Likewise.
30377         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
30378         file.
30379         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
30380         file.
30381         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
30382         file: memrchr multiarch for PPC32.
30383         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
30384         multiarch objects.
30385         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30386         (__libc_ifunc_impl_list): Likewise.
30388         * string/memchr.c (__memchr): Using macro to redefine symbol name.
30389         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
30390         file.
30391         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
30392         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
30393         multiarch memchr for PPC32.
30394         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
30395         multiarch objects.
30396         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
30397         (__libc_ifunc_impl_list): Likewise.
30399         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
30400         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
30401         file.
30402         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
30403         file.
30404         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
30405         file: multiarch mempcpy for PPC32.
30406         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
30407         multiarch objects.
30408         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
30409         (__libc_ifunc_impl_list): Likewise.
30411         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
30412         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
30413         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
30414         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
30415         multiarch bzero for PPC32.
30416         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
30417         file.
30418         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
30419         file.
30420         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
30421         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
30422         file: multiarch memset for PPC32.
30423         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
30424         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
30425         memset multiarch objects.
30426         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
30427         (__libc_ifunc_impl_list): Likewise.
30429         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
30430         file.
30431         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
30432         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
30433         memcmp for PPC32.
30434         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
30435         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
30436         multiarch objects.
30437         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
30438         (__libc_ifunc_impl_list): Likewise.
30440         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
30441         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
30442         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
30443         file.
30444         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
30445         file.
30446         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
30447         file.
30448         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
30449         multiarch memcpy for PPC32.
30450         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
30451         multiarch objects.
30452         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
30453         (__libc_ifunc_impl_list): Likewise.
30455         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
30456         support multiarch for POWER/PPC32.
30457         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
30458         Likewise.
30459         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
30460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
30461         Implies file to make multiarch folder appers before the fpu and
30462         default folder for power4 configuration.
30464 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
30466         * scripts/bench.pl: Append volatile keyword to type.
30468 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30470         * sysdeps/sh/sotruss-lib.c: New file.
30471         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
30473 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30475         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30477 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
30479         [BZ #6810]
30480         * math/w_tgamma.c: Include <errno.h>.
30481         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
30482         * math/w_tgammaf.c: Include <errno.h>.
30483         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
30484         * math/w_tgammal.c: Include <errno.h>.
30485         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
30486         * math/auto-libm-test-in: Do not allow missing errno on tgamma
30487         underflow.  Add more tgamma tests.
30488         * math/auto-libm-test-out: Regenerated.
30489         * sysdeps/i386/fpu/libm-test-ulps: Update.
30490         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30492         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
30493         sin, sinh, tan, tanh, tgamma, y0 and y1.
30494         * math/auto-libm-test-out: Regenerated.
30495         * math/libm-test.inc (TEST_COND_x86_64): New macro.
30496         (TEST_COND_x86): Likewise.
30497         (M_E2l): Remove macro.
30498         (M_E3l): Likewise.
30499         (M_2_SQRT_PIl): Likewise.
30500         (M_SQRT_PIl): Likewise.
30501         (M_1_DIV_El): Likewise.
30502         (log_test_data): Use AUTO_TESTS_f_f.
30503         (log10_test_data): Likewise.
30504         (log1p_test_data): Likewise.
30505         (log2_test_data): Likewise.
30506         (sin_test_data): Likewise.
30507         (sin_tonearest_test_data): Likewise.
30508         (sin_towardzero_test_data): Likewise.
30509         (sin_downward_test_data): Likewise.
30510         (sin_upward_test_data): Likewise.
30511         (sinh_test_data): Likewise.
30512         (sinh_tonearest_test_data): Likewise.
30513         (sinh_towardzero_test_data): Likewise.
30514         (sinh_downward_test_data): Likewise.
30515         (sinh_upward_test_data): Likewise.
30516         (tan_test_data): Likewise.
30517         (tan_tonearest_test_data): Likewise.
30518         (tan_towardzero_test_data): Likewise.
30519         (tan_downward_test_data): Likewise.
30520         (tan_upward_test_data): Likewise.
30521         (tanh_test_data): Likewise.
30522         (tgamma_test_data): Likewise.
30523         (y0_test_data): Likewise.
30524         (y1_test_data): Likewise.
30525         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
30526         (special_real_inputs): Add pi/4.
30527         * sysdeps/i386/fpu/libm-test-ulps: Update.
30528         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30530 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30532         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
30533         "longjmp_target" static probes.
30534         (__longjmp): Rename to __longjmp_symbol.
30535         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
30536         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
30537         on which longjmp to generate.
30538         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
30539         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
30540         probe.
30541         (__sigsetjmp): Rename to __sigsetjmp_symbol.
30542         (__sigjmp_save): Rename to __sigjmp_save_symbol.
30543         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
30544         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
30545         and __sigjmp_save_symbol based on which sigsetjmp to generated.
30546         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
30547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
30548         __longjmp_symbol based on which __longjmp to generate.
30549         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
30550         probe.
30551         (setjmp): Rename to setjmp_symbol.
30552         (__sigsetjmp): Rename to __sigsetjmp_symbol.
30553         (_setjmp): Rename to _setjmp_symbol.
30554         (__sigsetjmp): Rename to __sigsetjmp_symbol.
30555         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
30556         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
30557         which setjmp to generate.
30558         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
30559         "longjmp_target" static probes.
30561 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
30563         * benchtests/README: Add note about output arguments.
30564         * benchtests/bench-sincos.c: Remove file.
30565         * benchtests/sincos-inputs: New file.
30566         * scripts/bench.pl: Identify output arguments and define
30567         static variables for them.
30569         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
30571         [BZ #15941]
30572         * Makefile (INSTALL): Add install-plain.texi as the primary
30573         dependency.
30574         * manual/install-plain.texi: New file.
30575         * manual/install.texi: Include node directive only for
30576         non-plaintext output.
30578 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
30580         * stdlib/longlong.h: Update from GCC.
30582         [BZ #6807]
30583         [BZ #15901]
30584         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
30585         * math/w_j0f.c (y0f): Likewise.
30586         * math/w_j0l.c (__y0l): Likewise.
30587         * math/w_j1.c (y1): Likewise.
30588         * math/w_j1f.c (y1f): Likewise.
30589         * math/w_j1l.c (__y1l): Likewise
30590         * math/w_jn.c (yn): Likewise.
30591         * math/w_jnf.c (ynf): Likewise.
30592         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
30593         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
30594         value for Bessel function domain errors outside _SVID_ mode.
30595         Adjust sign of return value for yn (negative integer, 0).
30596         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
30597         by zero in return for negative x and set sign appropriately for
30598         negative n.
30599         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
30600         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
30601         * math/libm-test.inc (y0_test_data): Add more tests and adjust
30602         expectations in error cases.
30603         (y1_test_data): Likewise.
30604         (yn_test_data): Likewise.
30605         * sysdeps/i386/fpu/libm-test-ulps: Update.
30606         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30608 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
30610         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
30611         "64" to "64-v1".  Add "64-v2".
30612         (abi-64-options): Rename to ...
30613         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
30614         (abi-64-condition): Rename to ...
30615         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
30616         (abi-64-ld-soname): Rename to ...
30617         (abi-64-v1-ld-soname): ... this.
30618         (abi-64-v2-options): Define.
30619         (abi-64-v2-condition): Likewise.
30620         (abi-64-v2-ld-soname): Likewise.
30621         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
30622         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
30623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
30624         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
30625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
30627 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
30628             Alan Modra  <amodra@gmail.com>
30630         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
30631         New versions for use with the ELFv2 ABI.
30632         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
30633         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
30634         declaration.
30635         (struct La_ppc64v2_retval): Likewise.
30636         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
30637         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
30638         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
30639         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
30640         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
30641         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
30642         Do not save or restore CR.
30643         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
30644         (_dl_profile_resolve): Do no save or restore CR.  Support extended
30645         return values for ELFv2 ABI.  Fix location of FPR return registers.
30646         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
30647         updated values for _CALL_ELF == 2.
30648         (La_regs, La_retval, int_retval): Likewise.
30650 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
30652         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
30653         (FRAME_MIN_SIZE_PARM): Likewise.
30654         (FRAME_BACKCHAIN): Likewise.
30655         (FRAME_CR_SAVE): Likewise.
30656         (FRAME_LR_SAVE): Likewise.
30657         (FRAME_TOC_SAVE): Likewise.
30658         (FRAME_PARM_SAVE): Likewise.
30659         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
30660         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
30661         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
30662         (call_mcount_parm_offset): New macro.
30663         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
30664         (PROF): Use symbolic stack frame offsets.
30665         (TAIL_CALL_SYSCALL_ERROR): Likewise.
30666         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
30667         Redefine in terms of FRAME_MIN_SIZE.
30668         (_dl_runtime_resolve): Use symbolic stack frame offsets.
30669         (_dl_profile_resolve): Likewise.  Update comment.
30670         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
30671         symbols stack frame offsets.
30672         (__sigsetjmp): Likewise.
30673         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
30674         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
30675         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
30676         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
30678         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
30679         (FRAME_BACKCHAIN): Remove.
30680         (FRAME_CR_SAVE): Likewise.
30681         (FRAME_LR_SAVE): Likewise.
30682         (FRAME_COMPILER_DW): Likewise.
30683         (FRAME_LINKER_DW): Likewise.
30684         (FRAME_TOC_SAVE): Likewise.
30685         (FRAME_PARM_SAVE): Likewise.
30686         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
30687         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
30688         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
30689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
30690         (CHECK_SP): Use symbolic stack frame offsets.
30691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
30692         zone" instead of caller's parameter save area for temp storage.
30693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
30694         Likewise.  Also, use symbolic stack frame offsets.
30695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
30696         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
30697         our own stack frame instead of the caller's.
30698         (__socket): Use symbolic stack frame offsets.
30700 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
30701             Alan Modra  <amodra@gmail.com>
30703         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
30704         Define.
30705         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
30706         (PPC64_LOCAL_ENTRY_OFFSET): Define.
30707         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
30708         New function.
30709         (elf_machine_fixup_plt): Call it.
30710         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
30711         reloc arguments.
30712         (elf_machine_rela): Update call to elf_machine_plt_conflict.
30713         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
30714         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
30715         r2 before calling target.
30717 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
30718             Alan Modra  <amodra@gmail.com>
30720         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
30721         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
30722         versions of macros to support ELFv2 ABI.
30723         (LOCALENTRY): New macro.
30724         (ENTRY, EALIGN): Use it.
30725         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
30726         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
30727         fall through into ENTRY entry point.
30728         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
30729         Only define if _CALL_ELF != 2.
30731         (elf_machine_matches_host): Verify ABI version matches.
30732         (RTLD_START): Use LOCALENTRY.
30733         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
30734         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
30735         (PLT_ENTRY_WORDS): New macro.
30736         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
30737         (elf_machine_runtime_setup): Support ELFv2 ABI.
30738         (elf_machine_fixup_plt): Likewise.
30739         (elf_machine_plt_conflict): Likewise.
30740         (resolve_ifunc): Likewise.
30741         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
30742         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
30743         Likewise.
30744         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
30745         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
30746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
30747         (makecontext): Support ELFv2 ABI.
30748         * elf/elf.h (EF_PPC64_ABI): Define.
30750 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
30752         * sysdeps/powerpc/powerpc64/sysdep.h
30753         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
30754         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
30755         (ENTRY) [ASSEMBLER]: ... but instead here ...
30756         (EALIGN) [ASSEMBLER]: ... and here.
30757         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
30758         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
30759         (ENTRY_2) [!ASSEMBLER]: Use it.
30760         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
30761         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
30762         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
30763         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
30764         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
30765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
30766         Use PPC64_LOAD_FUNCPTR.
30768         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
30770 2013-12-04  Alan Modra  <amodra@gmail.com>
30772         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
30773         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
30774         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
30775         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
30777         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
30778         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
30779         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
30780         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
30781         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
30782         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
30784 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
30786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
30787         (__makecontext): Fix incorrect CFI when backtracing out of
30788         context created via makecontext.
30789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
30790         (__setcontext): Fix incorrect CFI during switch to new context.
30791         (__novec_setcontext): Likewise.
30793 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
30795         [BZ #4772]
30796         * time/strptime_l.c (__strptime_internal): Allow modifiers
30797         in strptime.
30798         * time/tst-strptime.c (day_tests): Add testcase.
30800 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
30802         * scripts/bench.pl: Skip over blank lines.
30804 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
30806         [BZ #926]
30807         * manual/time.texi (Calendar Time): Clarify what timezone functions
30808         use.
30810 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30812         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30814 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
30816         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
30817         implementation.
30818         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
30819         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
30820         * debug/memset_chk.c (__memset_chk): Likewise.
30821         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
30822         * debug/strncpy_chk.c: Likewise.
30824 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
30826         [BZ #15268]
30827         [BZ #15425]
30828         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
30829         (__ieee754_exp): For possibly underflowing results, check size of
30830         result and force underflow exception if required.
30831         * math/auto-libm-test-in: Add more tests of exp.
30832         * math/auto-libm-test-out: Regenerated.
30833         * sysdeps/i386/fpu/libm-test-ulps: Update.
30834         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30836         [BZ #16283]
30837         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
30838         * math/w_exp2f.c (__exp2f): Likewise.
30839         * math/w_exp2l.c (__exp2l): Likewise.
30840         * math/auto-libm-test-in: Do not allow missing errno on exp2
30841         underflow.
30842         * math/auto-libm-test-out: Regenerated.
30844 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
30846         [BZ #16274]
30847         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
30848         handle filename validation.
30849         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
30850         (do_open): Delete.
30852 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
30854         [BZ #6786]
30855         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
30856         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
30857         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
30858         <float.h>.
30859         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
30860         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
30861         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
30862         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
30863         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
30864         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
30865         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
30866         * math/auto-libm-test-in: Don't allow missing errno from erfc.
30867         Add more erfc tests.
30868         * math/auto-libm-test-out: Regenerated.
30869         * sysdeps/i386/fpu/libm-test-ulps: Update.
30870         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30872         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
30873         exp2, expm1, j0 and j1.
30874         * math/auto-libm-test-out: Regenerated.
30875         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
30876         (erfc_test_data): Likewise.
30877         (exp_test_data): Likewise.
30878         (exp_tonearest_test_data): Likewise.
30879         (exp_towardzero_test_data): Likewise.
30880         (exp_downward_test_data): Likewise.
30881         (exp_upward_test_data): Likewise.
30882         (exp10_test_data): Likewise.
30883         (exp2_test_data): Likewise.
30884         (expm1_test_data): Likewise.
30885         (j0_test_data): Likewise.
30886         (j1_test_data): Likewise.
30887         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
30888         (input_flag_type): Add flag_xfail_rounding.
30889         (input_flags): Add xfail-rounding.
30890         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
30891         (output_for_one_input_case): Handle flag_xfail_rounding.
30892         * sysdeps/i386/fpu/libm-test-ulps: Update.
30893         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30895 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
30897         [BZ #16289]
30898         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
30899         division by 0.
30901 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
30903         [BZ #16195]
30904         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
30905         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
30906         (STAP_PROBE0): New macro.
30907         (STAP_PROBE1): Likewise.
30908         (STAP_PROBE2): Likewise.
30909         (STAP_PROBE3): Likewise.
30910         (STAP_PROBE4): Likewise.
30912 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
30914         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
30916 2013-12-02  Steve Ellcey  <sellcey@mips.com>
30918         * benchtests/Makefile (bench): Add sqrt.
30919         (LDLIBS-bench-sqrt): New.
30920         * benchtests/sqrt-input: New.
30922 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
30924         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
30925         (GAIH_EAI): Likewise.
30926         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
30927         (gaih_inet): Likewise.
30928         (getaddrinfo): Don't use GAIH_EAI.
30930         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
30931         (struct gaih): Remove definition.
30933 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
30935         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
30936         Use HERRNOP directly.
30938 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30940         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30942 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
30944         * math/gen-auto-libm-tests.c (test_functions): Add more
30945         single-argument functions.
30946         (special_fill_pi_2): New function.
30947         (special_fill_minus_pi_2): Likewise.
30948         (special_fill_pi_6): Likewise.
30949         (special_fill_minus_pi_6): Likewise.
30950         (special_fill_pi_3): Likewise.
30951         (special_fill_2pi_3): Likewise.
30952         (special_fill_e): Likewise.
30953         (special_fill_1_e): Likewise.
30954         (special_fill_e_minus_1): Likewise.
30955         (special_real_inputs): Add more special inputs.
30956         (output_for_one_input_case): Do not require ERANGE on underflow to
30957         zero if round-to-nearest result does not underflow to zero, unless
30958         exact results required.
30959         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
30960         atan, atanh, cbrt, cos and cosh.
30961         * math/auto-libm-test-out: Regenerated.
30962         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
30963         (acos_tonearest_test_data): Likewise.
30964         (acos_towardzero_test_data): Likewise.
30965         (acos_downward_test_data): Likewise.
30966         (acos_upward_test_data): Likewise.
30967         (acosh_test_data): Likewise.
30968         (asin_test_data): Likewise.
30969         (asin_tonearest_test_data): Likewise.
30970         (asin_towardzero_test_data): Likewise.
30971         (asin_upward_test_data): Likewise.
30972         (asinh_test_data): Likewise.
30973         (atan_test_data): Likewise.
30974         (atanh_test_data): Likewise.
30975         (cbrt_test_data): Likewise.
30976         (cos_test_data): Likewise.
30977         (cos_tonearest_test_data): Likewise.
30978         (cos_towardzero_test_data): Likewise.
30979         (cos_downward_test_data): Likewise.
30980         (cos_upward_test_data): Likewise.
30981         (cosh_test_data): Likewise.
30982         (cosh_tonearest_test_data): Likewise.
30983         (cosh_towardzero_test_data): Likewise.
30984         (cosh_downward_test_data): Likewise.
30985         (cosh_upward_test_data): Likewise.
30986         * sysdeps/i386/fpu/libm-test-ulps: Update.
30987         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30989 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
30991         [BZ #6787]
30992         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
30993         * math/w_exp10f.c (__exp10f): Likewise.
30994         * math/w_exp10l.c (__exp10l): Likewise.
30995         * math/libm-test.inc (exp10_test_data): Add more tests and expect
30996         errno settings in existing tests.
30998         [BZ #14032]
30999         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
31000         precision control set to double precision.
31001         * sysdeps/i386/fpu/w_sqrt.c: New file.
31002         * math/auto-libm-test-in: Add more tests.
31003         * math/auto-libm-test-out: Update.
31005         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
31006         (sqrt_test_tonearest): New function.
31007         (sqrt_towardzero_test_data): New variable.
31008         (sqrt_test_towardzero): New function.
31009         (sqrt_downward_test_data): New variable.
31010         (sqrt_test_downward): New function.
31011         (sqrt_upward_test_data): New variable.
31012         (sqrt_test_upward): New function.
31013         (main): Call the new functions.
31015         * math/gen-auto-libm-tests.c: New file.
31016         * math/auto-libm-test-in: Likewise.
31017         * math/auto-libm-test-out: New generated file.
31018         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
31019         variables.
31020         (%beautify): Add generated representations of zero.
31021         (top level): Set $auto_input and call parse_auto_input.
31022         (beautify): Remove trailing "f" from hex float constants.
31023         (parse_args): Handle XFAIL_TEST.
31024         (convert_condition): New function.
31025         (or_value): Likewise.
31026         (or_cond_value): Likewise.
31027         (generate_testfile): Handle AUTO_TESTS_* lines.
31028         (parse_auto_input): New function.
31029         * math/libm-test.inc (XFAIL_TEST): New macro.
31030         (ERRNO_UNCHANGED): Update value.
31031         (ERRNO_EDOM): Likewise.
31032         (ERRNO_ERANGE): Likewise.
31033         (IGNORE_RESULT): Likewise.
31034         (TEST_COND_flt_32): New macro.
31035         (TEST_COND_dbl_64): Likewise.
31036         (TEST_COND_ldbl_96_intel): Likewise.
31037         (TEST_COND_ldbl_96_m68k): Likewise.
31038         (TEST_COND_ldbl_128): Likewise.
31039         (TEST_COND_ldbl_128ibm): Likewise.
31040         (TEST_COND_long32): Likewise.
31041         (TEST_COND_long64): Likewise.
31042         (TEST_COND_before_rounding): Likewise.
31043         (TEST_COND_after_rounding): Likewise.
31044         (enable_test): Handle XFAIL_TEST flag.
31045         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
31046         with finite results.
31047         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
31048         auto-libm-test-out.
31050 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
31051             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31053         [BZ #16214]
31054         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
31055         __tls_get_addr_internal instead of __tls_get_offset in order to
31056         avoid GOT pointer dependency.  Make rtld export
31057         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
31058         __tls_get_addr since we are a __tls_get_offset platform.
31059         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
31060         GOT pointer being set up before.
31061         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
31063 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
31065         * manual/math.texi (Errors in Math Functions): Document accuracy
31066         goals.
31068         [BZ #15004]
31069         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
31070         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
31071         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
31072         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
31073         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
31074         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
31075         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
31076         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
31077         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
31078         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
31079         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
31080         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
31081         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
31082         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
31083         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
31084         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
31086         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
31087         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
31088         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
31089         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
31090         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
31091         Likewise.
31092         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
31093         Likewise.
31094         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
31095         Likewise.
31096         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
31097         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
31098         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
31099         atomic-feupdateenv and flt-rounds.
31100         * sysdeps/powerpc/nofpu/Versions (libc): Add
31101         __atomic_feholdexcept, __atomic_feclearexcept,
31102         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
31103         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
31104         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
31105         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
31106         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
31107         here.
31108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
31109         Update.
31111         * manual/arith.texi (FP Exceptions): Document that exceptions may
31112         not be raised when matherr is used.
31113         (Math Error Reporting): Document overflow in directed rounding
31114         modes.  Document that errno may not be set when finite values are
31115         returned on overflow.  Document intent to set errno on underflow
31116         only for underflow to zero.
31118         [BZ #16271]
31119         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
31120         round-to-nearest then adjust result for other rounding modes.
31121         * include/fenv.h (fegetround): Use libm_hidden_proto.
31122         * math/fegetround.c (fegetround): Use libm_hidden_def.
31123         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
31124         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
31125         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
31126         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
31127         Likewise.
31128         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
31129         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
31130         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
31131         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
31133 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31135         [BZ #16077]
31136         * nss/Versions (libnss_files): Add
31137         _nss_files_gethostbyname3_r.
31138         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
31139         New function.
31140         (HOST_DB_LOOKUP): Remove macro.
31141         (_nss_files_gethostbyname_r): Implement function without the
31142         HOST_DB_LOOKUP macro.
31143         (_nss_files_gethostbyname2_r): Likewise.
31145 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
31147         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
31149 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
31151         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
31152         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
31153         warning.
31155 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31157         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
31158         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
31159         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
31160         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
31161         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
31162         __fe_nomask_env_priv and attribute_hidden.
31163         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
31164         (libc_feupdateenv_test_ppc): Likewise.
31165         (libc_feresetround_ppc): Likewise.
31166         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
31167         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
31168         compat_symbol macro.
31169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
31170         (__fe_nomask_env): Likewise.
31171         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
31173 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
31175         * string/Makefile: Remove ifunc tests.
31176         * string/test-string.h: Define TEST_IFUNC.
31177         * string/test-bcopy-ifunc.c: Remove.
31178         * string/test-bzero-ifunc.c: Likewise.
31179         * string/test-memccpy-ifunc.c: Likewise.
31180         * string/test-memchr-ifunc.c: Likewise.
31181         * string/test-memcmp-ifunc.c: Likewise.
31182         * string/test-memcpy-ifunc.c: Likewise.
31183         * string/test-memmem-ifunc.c: Likewise.
31184         * string/test-memmove-ifunc.c: Likewise.
31185         * string/test-mempcpy-ifunc.c: Likewise.
31186         * string/test-memrchr-ifunc.c: Likewise.
31187         * string/test-memset-ifunc.c: Likewise.
31188         * string/test-rawmemchr-ifunc.c: Likewise.
31189         * string/test-stpcpy-ifunc.c: Likewise.
31190         * string/test-stpncpy-ifunc.c: Likewise.
31191         * string/test-strcasecmp-ifunc.c: Likewise.
31192         * string/test-strcasestr-ifunc.c: Likewise.
31193         * string/test-strcat-ifunc.c: Likewise.
31194         * string/test-strchr-ifunc.c: Likewise.
31195         * string/test-strchrnul-ifunc.c: Likewise.
31196         * string/test-strcmp-ifunc.c: Likewise.
31197         * string/test-strcpy-ifunc.c: Likewise.
31198         * string/test-strcspn-ifunc.c: Likewise.
31199         * string/test-strlen-ifunc.c: Likewise.
31200         * string/test-strncasecmp-ifunc.c: Likewise.
31201         * string/test-strncat-ifunc.c: Likewise.
31202         * string/test-strncmp-ifunc.c: Likewise.
31203         * string/test-strncpy-ifunc.c: Likewise.
31204         * string/test-strnlen-ifunc.c: Likewise.
31205         * string/test-strpbrk-ifunc.c: Likewise.
31206         * string/test-strrchr-ifunc.c: Likewise.
31207         * string/test-strspn-ifunc.c: Likewise.
31208         * string/test-strstr-ifunc.c: Likewise.
31210 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
31212         * benchtests/Makefile: Remove ifunc tests.
31213         * benchtests/bench-string.h: Define TEST_IFUNC.
31214         * benchtests/bench-bcopy-ifunc.c: Remove.
31215         * benchtests/bench-bzero-ifunc.c: Likewise.
31216         * benchtests/bench-memccpy-ifunc.c: Likewise.
31217         * benchtests/bench-memchr-ifunc.c: Likewise.
31218         * benchtests/bench-memcmp-ifunc.c: Likewise.
31219         * benchtests/bench-memcpy-ifunc.c: Likewise.
31220         * benchtests/bench-memmem-ifunc.c: Likewise.
31221         * benchtests/bench-memmove-ifunc.c: Likewise.
31222         * benchtests/bench-mempcpy-ifunc.c: Likewise.
31223         * benchtests/bench-memrchr-ifunc.c: Likewise.
31224         * benchtests/bench-memset-ifunc.c: Likewise.
31225         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
31226         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
31227         * benchtests/bench-stpcpy-ifunc.c: Likewise.
31228         * benchtests/bench-stpncpy-ifunc.c: Likewise.
31229         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
31230         * benchtests/bench-strcasestr-ifunc.c: Likewise.
31231         * benchtests/bench-strcat-ifunc.c: Likewise.
31232         * benchtests/bench-strchr-ifunc.c: Likewise.
31233         * benchtests/bench-strchrnul-ifunc.c: Likewise.
31234         * benchtests/bench-strcmp-ifunc.c: Likewise.
31235         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
31236         * benchtests/bench-strcpy-ifunc.c: Likewise.
31237         * benchtests/bench-strcspn-ifunc.c: Likewise.
31238         * benchtests/bench-strlen-ifunc.c: Likewise.
31239         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
31240         * benchtests/bench-strncat-ifunc.c: Likewise.
31241         * benchtests/bench-strncmp-ifunc.c: Likewise.
31242         * benchtests/bench-strncpy-ifunc.c: Likewise.
31243         * benchtests/bench-strnlen-ifunc.c: Likewise.
31244         * benchtests/bench-strpbrk-ifunc.c: Likewise.
31245         * benchtests/bench-strrchr-ifunc.c: Likewise.
31246         * benchtests/bench-strsep-ifunc.c: Likewise.
31247         * benchtests/bench-strspn-ifunc.c: Likewise.
31248         * benchtests/bench-strstr-ifunc.c: Likewise.
31250 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
31252         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
31254 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
31256         * resolv/netdb.h: Use __glibc_reserved instead __unused.
31257         * rt/aio.h: Likewise.
31258         * sysdeps/gnu/bits/utmp.h: Likewise.
31259         * sysdeps/gnu/bits/utmpx.h: Likewise.
31260         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
31261         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
31262         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
31263         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
31264         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
31265         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
31266         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
31267         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
31268         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
31269         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
31270         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
31271         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
31272         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
31273         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
31274         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
31275         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
31276         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
31277         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
31278         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
31279         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
31280         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
31281         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
31282         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
31283         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
31284         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
31285         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31286         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
31287         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
31288         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
31289         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
31290         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
31291         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
31292         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
31293         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
31294         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
31295         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
31296         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
31297         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
31298         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
31299         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
31300         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
31301         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
31303 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
31305         [BZ #16245]
31306         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
31307         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
31309 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
31311         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
31312         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
31313         Likewise.
31315 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31317         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
31318         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
31319         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
31320         (__fesetround): Remove define.
31321         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
31322         rounding and exceptions handling.
31323         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
31324         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
31325         (__fe_nomask_env): Likewise.
31326         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
31327         __fegetround instead of fegetround.
31328         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
31329         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
31331 2013-11-21  Roland McGrath  <roland@hack.frob.com>
31333         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
31334         it's there.
31336         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
31338 2013-11-21  Meador Inge  <meadori@codesourcery.com>
31340         [BZ #11157]
31341         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
31342         (encrypt_r): Likewise.
31343         * malloc/obstack.h (obstack_free): Likewise.
31344         * posix/unistd.h (encrypt): Likewise.
31346 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
31348         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
31349         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
31350         DL_CALL_DT_FINI() that call the functions directly.
31351         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
31352         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
31353         * elf/dl-fini.c: Likewise.
31355 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
31357         * malloc/hooks.c (memalign_check): Add alignment rounding.
31358         * malloc/malloc.c (_mid_memalign): New function.
31359         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
31360         Implement by calling _mid_memalign.
31361         * manual/probes.texi (Memory Allocation Probes): Remove
31362         memory_valloc_retry and memory_pvalloc_retry.
31364 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
31366         * locale/programs/locarchive.c (open_archive): Add const
31367         qualifier to ARCHIVEFNAME and copy default fname to
31368         DEFAULT_FNAME.
31370         [BZ #15601]
31371         * libio/tst-widetext.input: Rename Oriya to Odia.
31372         * locale/iso-639.def: Likewise.
31374         * manual/probes.texi (Mathematical Function Probes): Add
31375         documentation for sin, cos, asin and acos probes.
31376         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
31377         (__sin32): Add slowasin probe.
31378         (__cos32): Add slowacos probe.
31379         (__mpsin): Add slowsin probe.
31380         (__mpcos): Add slowcos probe.
31382 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
31384         [BZ #15483]
31385         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
31386         thread-local __sim_exceptions_thread and global
31387         __sim_exceptions_global.
31388         (__sim_disabled_exceptions): Change to thread-local
31389         __sim_disabled_exceptions_thread and global
31390         __sim_disabled_exceptions_global.
31391         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
31392         and global __sim_round_mode_global.
31393         (__simulate_exceptions): Use thread-local floating-point state and
31394         set global state from it as needed.
31395         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
31396         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
31397         __sim_round_mode_thread.
31398         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
31399         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
31400         and global __sim_exceptions_global.
31401         (__sim_disabled_exceptions): Change to thread-local
31402         __sim_disabled_exceptions_thread and global
31403         __sim_disabled_exceptions_global.
31404         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
31405         and global __sim_round_mode_global.
31406         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
31407         (SIM_SET_GLOBAL): Likewise.
31408         * sysdeps/powerpc/soft-fp/sfp-machine.h
31409         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
31410         __sim_round_mode_thread.
31411         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
31412         __sim_disabled_exceptions_thread.
31413         (__sim_exceptions): Change to __sim_exceptions_thread.
31414         (__sim_disabled_exceptions): Change to
31415         __sim_disabled_exceptions_thread.
31416         (__sim_round_mode): Change to __sim_round_mode_thread.
31417         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
31418         thread-local floating-point state and set global state from it as
31419         needed.
31420         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
31421         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
31422         (__sim_disabled_exceptions): Remove extern declaration.
31423         (feenableexcept): Use thread-local floating-point state and set
31424         global state from it as needed.
31425         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
31426         extern declaration.
31427         (__sim_disabled_exceptions): Likewise.
31428         (__sim_round_mode): Likewise.
31429         (__fegetenv): Use thread-local floating-point state.
31430         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
31431         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
31432         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
31433         floating-point state and set global state from it as needed.
31434         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
31435         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
31436         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
31437         Likewise.
31438         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
31439         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
31440         Likewise.
31441         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
31442         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
31443         Use __sim_round_mode_thread.
31444         * math/test-fenv-tls.c: New file.
31445         * math/Makefile (tests): Add test-fenv-tls.
31446         ($(objpfx)test-fenv-tls): Depend on
31447         $(common-objpfx)nptl/libpthread.so.
31449 2013-11-19  Andreas Schwab  <schwab@suse.de>
31451         * locale/programs/locale.c (show_info): Decode wordarray elements.
31452         * locale/categories.def (LC_MONETARY): Add element for
31453         _NL_MONETARY_CRNCYSTR.
31454         * locale/C-monetary.c (conversion_rate): New variable.
31455         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
31456         element.
31458 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
31460         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
31461         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
31463 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
31465         * elf/Makefile (tst-auxv): New test.
31466         * elf/tst-auxv.c: New
31467         * elf/rtld.c (dl_main): Adjust AT_EXECFN
31469 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
31471         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
31472         (hidden_proto): Caller changed.
31473         (hidden_tls_proto): New macro.
31474         (libc_hidden_tls_proto): Likewise.
31475         (rtld_hidden_tls_proto): Likewise.
31476         (libm_hidden_tls_proto): Likewise.
31477         (libresolv_hidden_tls_proto): Likewise.
31478         (librt_hidden_tls_proto): Likewise.
31479         (libdl_hidden_tls_proto): Likewise.
31480         (libnss_files_hidden_tls_proto): Likewise.
31481         (libnsl_hidden_tls_proto): Likewise.
31482         (libnss_nisplus_hidden_tls_proto): Likewise.
31483         (libutil_hidden_tls_proto): Likewise.
31485 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
31487         [BZ #10253]
31488         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
31489         (decompose_rpath): Defer expansion to fillin_rpath.
31490         (_dl_init_paths): Pass linkmap to fillin_rpath.
31492 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
31494         * benchtests/Makefile: Add strsep.
31495         * benchtests/bench-strsep.c: New file: strsep benchtest.
31496         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
31498 2013-11-18  Andreas Schwab  <schwab@suse.de>
31500         * locale/programs/locale.c (show_info) [case byte]: Check for
31501         '\377' instead of '\177'.
31502         * locale/C-monetary.c (not_available): Always use "\377".
31503         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
31504         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
31505         detect unavailable sign_posn locale elements.
31506         * locale/localeconv.c (__localeconv): For grouping and
31507         mon_grouping handle "\177" and "\377" like no grouping.
31508         (INT_ELEM): New macro.  Use it to set all numeric members.
31509         * locale/programs/ld-monetary.c (monetary_read)
31510         <tok_mon_grouping>: Normalize single -1 to the empty string.
31511         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
31512         Likewise.
31514 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
31516         [BZ #16055]
31517         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
31518         when we match (nil).
31519         * stdio-common/tst-sscanf.c (struct test): Add testcase.
31521 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
31523         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
31524         (NO_TEST_INLINE): Update value.
31525         (ERRNO_UNCHANGED): Likewise.
31526         (ERRNO_EDOM): Likewise.
31527         (ERRNO_ERANGE): Likewise.
31528         (IGNORE_RESULT): Likewise.
31529         (check_float_internal): Check signs of NaN results if
31530         TEST_NAN_SIGN used.
31531         (check_complex): Pass TEST_NAN_SIGN flag through to second
31532         check_float_internal call.
31533         (copysign_test_data): Add tests with quiet NaNs as second
31534         argument.  Use TEST_NAN_SIGN.
31535         (fabs_test_data): Add test of negative quiet NaN argument.  Use
31536         TEST_NAN_SIGN.
31537         (signbit_test_data): Add tests of quiet NaN argument.
31538         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
31540         * math/gen-libm-test.pl (show_exceptions): Take extra argument
31541         $ignore_result.
31542         (parse_args): Handle function results specified as IGNORE.
31543         * math/libm-test.inc (IGNORE_RESULT): New macro.
31544         (check_float_internal): Do not check numerical result if flag
31545         IGNORE_RESULT set.
31546         (check_complex): Pass through IGNORE_RESULT to second
31547         check_float_internal call.
31548         (check_int): Do not check numerical result if flag IGNORE_RESULT
31549         set.
31550         (check_long): Likewise.
31551         (check_bool): Likewise.
31552         (check_longlong): Likewise.
31553         (lrint_test_data): Add tests of infinite and NaN arguments.
31554         (lrint_tonearest_test_data): Likewise.
31555         (lrint_towardzero_test_data): Likewise.
31556         (lrint_downward_test_data): Likewise.
31557         (lrint_upward_test_data): Likewise.
31558         (llrint_test_data): Likewise.
31559         (llrint_tonearest_test_data): Likewise.
31560         (llrint_towardzero_test_data): Likewise.
31561         (llrint_downward_test_data): Likewise.
31562         (llrint_upward_test_data): Likewise.
31563         (lround_test_data): Likewise.
31564         (llround_test_data): Likewise.
31566         * math/libm-test.inc (NO_TEST_INLINE): New macro.
31567         (ERRNO_UNCHANGED): Update value.
31568         (ERRNO_EDOM): Likewise.
31569         (ERRNO_ERANGE): Likewise.
31570         (NO_TEST_INLINE_FLOAT): New macro.
31571         (NO_TEST_INLINE_DOUBLE): Likewise.
31572         (enable_test): New function.
31573         (RUN_TEST_f_f): Check enable_test before running test.
31574         (RUN_TEST_2_f): Likewise.
31575         (RUN_TEST_fff_f): Likewise.
31576         (RUN_TEST_c_f): Likewise.
31577         (RUN_TEST_f_f1): Likewise.
31578         (RUN_TEST_fF_f1): Likewise.
31579         (RUN_TEST_fI_f1): Likewise.
31580         (RUN_TEST_ffI_f1): Likewise.
31581         (RUN_TEST_c_c): Likewise.
31582         (RUN_TEST_cc_c): Likewise.
31583         (RUN_TEST_f_i): Likewise.
31584         (RUN_TEST_f_i_tg): Likewise.
31585         (RUN_TEST_ff_i_tg): Likewise.
31586         (RUN_TEST_f_b): Likewise.
31587         (RUN_TEST_f_b_tg): Likewise.
31588         (RUN_TEST_f_l): Likewise.
31589         (RUN_TEST_f_L): Likewise.
31590         (RUN_TEST_fFF_11): Likewise.
31591         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
31592         conditionals.
31593         (cosh_test_data): Likewise.
31594         (exp_test_data): Likewise.
31595         (expm1_test_data): Likewise.
31596         (hypot_test_data): Likewise.
31597         (pow_test_data): Likewise.
31598         (sinh_test_data): Likewise.
31599         (tanh_test_data): Likewise.
31600         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
31601         flags argument.
31603         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
31604         tests with quiet NaN input and output.
31605         (acosh_test_data): Likewise.
31606         (asin_test_data): Likewise.
31607         (asinh_test_data): Likewise.
31608         (atan_test_data): Likewise.
31609         (atanh_test_data): Likewise.
31610         (atan2_test_data): Likewise.
31611         (cbrt_test_data): Likewise.
31612         (cos_test_data): Likewise.
31613         (cosh_test_data): Likewise.
31614         (erf_test_data): Likewise.
31615         (erfc_test_data): Likewise.
31616         (exp_test_data): Likewise.
31617         (exp10_test_data): Likewise.
31618         (exp2_test_data): Likewise.
31619         (expm1_test_data): Likewise.
31620         (hypot_test_data): Likewise.
31621         (j0_test_data): Likewise.
31622         (j1_test_data): Likewise.
31623         (jn_test_data): Likewise.
31624         (lgamma_test_data): Likewise.
31625         (log_test_data): Likewise.
31626         (log10_test_data): Likewise.
31627         (log1p_test_data): Likewise.
31628         (log2_test_data): Likewise.
31629         (pow_test_data): Likewise.
31630         (scalb_test_data): Likewise.
31631         (sin_test_data): Likewise.
31632         (sincos_test_data): Likewise.
31633         (sinh_test_data): Likewise.
31634         (tan_test_data): Likewise.
31635         (tanh_test_data): Likewise.
31636         (tgamma_test_data): Likewise.
31637         (y0_test_data): Likewise.
31638         (y1_test_data): Likewise.
31639         (yn_test_data): Likewise.
31641         [BZ #16167]
31642         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
31643         argument being NaN and avoid computations with second argument in
31644         that case.
31645         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
31646         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
31647         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
31649 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
31651         * locale/iso-639.def: Add Chitwani Tharu (the).
31653 2013-11-14  Andreas Schwab  <schwab@suse.de>
31655         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
31656         word instead of empty string.
31658 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
31661         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
31662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
31663         (__fe_nomask_env): Likewise.
31665 2013-11-13  Steve Ellcey  <sellcey@mips.com>
31667         * benchtests/bench-timing.h: Include time.h.
31669 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
31671         [BZ #15997]
31672         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
31673         to 3.4.0 for x32.
31674         * sysdeps/unix/sysv/linux/configure: Regenerated.
31676 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
31678         [BZ #16151]
31679         * stdlib/strtod_l.c (round_and_return): Do not consider
31680         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
31681         exponent one less than half the least subnormal exponent.
31682         * stdlib/test-strtod-round-data: Add more tests.
31683         * stdlib/tst-strtod-round.c (tests): Regenerated.
31685 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31687         [BZ #14143]
31688         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
31689         (__fe_mask_env): Likewise.
31690         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
31691         libm_hidden_proto and add function prototype.
31692         (__fe_mask_env): Add function prototype.
31693         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
31694         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
31695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
31696         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
31697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
31698         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
31700 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
31702         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
31703         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
31705 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
31707         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
31708         of htab_find_slot().
31710 2013-11-11  David S. Miller  <davem@davemloft.net>
31712         [BZ #16150]
31713         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
31714         symbol in the non-vis3 case in static builds.
31715         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
31716         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
31717         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
31718         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
31720 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
31722         [BZ #387]
31723         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
31724         it is empty.
31726 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31728         * benchtests/Makefile: Add bench-strtod.
31729         * benchtests/bench-strtod.c: New file: strtod benchtest
31731 2013-11-11  Andreas Schwab  <schwab@suse.de>
31733         [BZ #16153]
31734         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
31735         terminating NUL in key length.
31737 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31739         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
31740         Add artificial ODP entry for vDSO symbol for PPC64.
31741         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
31742         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
31744 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
31746         [BZ #15374]
31747         * nss/getent.c (services_keys): Recognize services starting with digit.
31749 2013-11-06  David S. Miller  <davem@davemloft.net>
31751         [BZ #15985]
31752         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
31753         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
31755 2013-11-06  Will Newton  <will.newton@linaro.org>
31757         * manual/memory.texi (Malloc Examples): Remove register
31758         keyword from examples.
31760 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
31762         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
31764 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
31766         [BZ #6981]
31767         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
31768         depending on [__GCC_IEC_559 > 0].
31769         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
31770         depending on [__GCC_IEC_559_COMPLEX > 0].
31772 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
31774         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
31775         to iso-639.def.
31777 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
31779         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
31781 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
31783         [BZ #16112]
31784         * malloc/malloc (malloc_info): Do not handle first bin as
31785         special case.
31787 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
31789         * locale/iso-639.def: Add Central Nahuatl (nhn).
31791 2013-11-01  Bruno Haible  <bruno@clisp.org>
31793         [BZ #7003]
31794         * manual/math.texi (BSD Random): Specify range upper bound as
31795         in POSIX.
31797 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
31799         * locale/iso-639.def: Add Meadow Mari (mhr).
31801 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
31803         [BZ #14752], [BZ #15763]
31804         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
31805         Validate name.
31806         * rt/tst_shm.c: Add test for escaping directory.
31808 2013-10-31  Andreas Schwab  <schwab@suse.de>
31810         [BZ #15917]
31811         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
31812         followed by 'x' as part of digit sequence.
31813         * stdio-common/tst-sscanf.c (double_tests2): New tests.
31815 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
31817         [BZ #16037]
31818         * configure.ac: allow GNU Make 4.0 and greater.
31819         * configure: Regenerated.
31821 2013-10-30  Will Newton  <will.newton@linaro.org>
31823         [BZ #16038]
31824         * malloc/hooks.c (memalign_check): Limit alignment to the
31825         maximum representable power of two.
31826         * malloc/malloc.c (__libc_memalign): Likewise.
31827         * malloc/tst-memalign.c (do_test): Add test for very
31828         large alignment values.
31829         * malloc/tst-posix_memalign.c (do_test): Likewise.
31831 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
31833         [BZ #11087]
31834         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
31835         (munmap_chunk): Likewise.
31836         (mremap_chunk): Likewise.
31838 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
31840         [BZ #15799]
31841         * stdlib/div.c (div): Remove obsolete code.
31842         * stdlib/ldiv.c (ldiv): Likewise.
31843         * stdlib/lldiv.c (lldiv): Likewise.
31845 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
31847         [BZ #16071]
31848         * nss/nss_files/files-XXX.c (get_contents_ret): New
31849         enumerator.
31850         (get_contents): New function.
31851         (internal_getent): Use it.  Expand size of LINEBUFLEN.
31853 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
31855         * configure.in: Moved to ...
31856         * configure.ac: ... here. Change reference to configure.in
31857         to configure.ac.
31858         * sysdeps/arm/preconfigure.ac: ... here.
31859         configure.in to configure.ac.
31860         * sysdeps/gnu/configure.in: Moved to ...
31861         * sysdeps/gnu/configure.ac: ... here.
31862         * sysdeps/i386/configure.in: Moved to ...
31863         * sysdeps/i386/configure.ac: ... here.
31864         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
31865         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
31866         * sysdeps/mach/configure.in: Moved to ...
31867         * sysdeps/mach/configure.ac: ... here.
31868         * sysdeps/mach/hurd/configure.in: Moved to ...
31869         * sysdeps/mach/hurd/configure.ac: ... here.
31870         * sysdeps/powerpc/configure.in: Moved to ...
31871         * sysdeps/powerpc/configure.ac: ... here.
31872         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
31873         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
31874         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
31875         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
31876         * sysdeps/s390/s390-32/configure.in: Moved to ...
31877         * sysdeps/s390/s390-32/configure.ac: ... here.
31878         * sysdeps/s390/s390-64/configure.in: Moved to ...
31879         * sysdeps/s390/s390-64/configure.ac: ... here.
31880         * sysdeps/sh/configure.in: Moved to ...
31881         * sysdeps/sh/configure.ac: ... here.
31882         * sysdeps/sparc/configure.in: Moved to ...
31883         * sysdeps/sparc/configure.ac: ... here.
31884         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
31885         * sysdeps/unix/sysv/linux/configure.ac: ... here.
31886         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
31887         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
31888         * sysdeps/x86_64/configure.in: Moved to ...
31889         * sysdeps/x86_64/configure.ac: ... here.
31890         * sysdeps/x86_64/preconfigure.in: Moved to ...
31891         * sysdeps/x86_64/preconfigure.ac: ... here.
31892         * aclocal.m4: Change reference to configure.in to configure.ac.
31893         * config.h.in: Likewise.
31894         * manual/install.texi: Likewise.
31895         * manual/maint.texi: Likewise.
31896         * Makefile: Likewise.
31897         * malloc/Makefile: Likewise.
31898         * nscd/Makefile: Likewise.
31899         * Makeconfig: Change reference to configure.in and
31900         preconfigure.in to configure.ac and preconfigure.ac
31901         respectively.
31902         * INSTALL: Regenerated.
31903         * configure: Likewise.
31904         * sysdeps/gnu/configure: Likewise.
31905         * sysdeps/i386/configure: Likewise.
31906         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
31907         * sysdeps/mach/configure: Likewise.
31908         * sysdeps/mach/hurd/configure: Likewise.
31909         * sysdeps/powerpc/configure: Likewise.
31910         * sysdeps/powerpc/powerpc32/configure: Likewise.
31911         * sysdeps/powerpc/powerpc64/configure: Likewise.
31912         * sysdeps/s390/s390-32/configure: Likewise.
31913         * sysdeps/s390/s390-64/configure: Likewise.
31914         * sysdeps/sh/configure: Likewise.
31915         * sysdeps/sparc/configure: Likewise.
31916         * sysdeps/unix/sysv/linux/configure: Likewise.
31917         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
31918         * sysdeps/x86_64/configure: Likewise.
31919         * sysdeps/x86_64/preconfigure: Likewise.
31921 2013-10-29  Andreas Schwab  <schwab@suse.de>
31923         * stdio-common/Makefile (tst-swscanf-ENV): Define.
31925 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31927         * benchtests/pow-inputs: Add new inputs.
31929         * benchtests/exp-inputs: Add new inputs.
31931         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
31932         conditional check for return value.
31933         (__cos32): Likewise.
31935 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31937         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
31938         to provide a boost for large inputs with word alignment.
31939         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
31940         implementation based on optimized PPC64 strcpy.
31941         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
31942         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
31943         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
31944         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
31946 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
31948         [BZ #2801]
31949         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
31951 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
31953         [BZ #14876]
31954         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
31955         * time/tst-strptime.c (day_tests): Add testcase.
31957 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
31959         [BZ #14029]
31960         * manual/pattern.texi: Acknowledge that fnmatch can fail.
31962 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
31964         [BZ #16074]
31965         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
31966         MAP_FAILED on error.
31968 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
31970         [BZ #16072]
31971         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
31972         heap for large requests.
31974 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
31976         [BZ #9954]
31977         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
31978         result if the result has no associated interface.
31979         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
31980         interface for all 127.X.Y.Z addresses.
31982 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
31984         * locale/iso-639.def: Add Ligurian (lij)
31986 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
31988         [BZ #15825]
31989         * sunrpc/rpc_main.c: Document rpcgen -5.
31991 2013-10-19  Michael Stahl  <mstahl@redhat.com>
31993         * elf/rtld.c (do_preload): Print the reason why preloading failed.
31995 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
31997         [BZ #10278]
31998         * posix/glob.c: Match only directories when trailing slash is present.
31999         * posix/tst-gnuglob.c (my_opendir): Do not open files.
32000         (main): Add testcase.
32002 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
32004         [BZ #15670]
32005         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
32007 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
32009         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
32010         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
32011         AUTH_DES and cindex for FIPS 140-2.
32012         (DES Encryption): Add cindex FIPS 46-3.
32014         * locale/locarchive.h (struct locarhandle): Add fname.
32015         * locale/programs/localedef.c (main): Pass ARGV[remaining]
32016         if an optional argument was specified to --list-archive,
32017         otherwise NULL.
32018         * locale/programs/locarchive.c (show_archive_content): Take new
32019         argument fname and pass it via ah.fname to open_archive.
32020         * locale/programs/localedef.h: Update decl.
32021         (open_archive): If AH->fname is non-null, open that file
32022         rather than the default file name, and don't ignore ENOENT.
32023         (create_archive): Set AH.fname to NULL.
32024         (delete_locales_from_archive): Likewise.
32025         (add_locales_to_archive): Likewise.
32026         * locale/programs/locfile.c (write_all_categories): Likewise.
32028 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
32029             Aldy Hernandez  <aldyh@redhat.com>
32031         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
32032         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
32033         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
32034         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
32035         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
32036         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
32037         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
32038         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
32039         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
32040         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
32041         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
32042         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
32043         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
32044         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
32045         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
32046         Likewise.
32047         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
32048         Likewise.
32049         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
32050         Likewise.
32051         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
32052         Likewise.
32053         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
32054         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
32055         Likewise.
32056         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
32057         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
32058         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
32059         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
32060         Likewise.
32061         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
32062         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
32063         * sysdeps/powerpc/preconfigure: Likewise.
32064         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
32065         Likewise.
32066         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
32067         Replace contents of file by #include of <fenv_libc.h>.
32068         * sysdeps/powerpc/soft-fp/sfp-machine.h
32069         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
32070         and <sys/prctl.h>.
32071         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
32072         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
32073         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
32074         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
32075         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
32076         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
32077         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
32078         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
32079         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
32080         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
32081         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
32082         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
32083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
32084         Allow copysignl PLT reference to be missing.
32086 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
32087             Joseph Myers  <joseph@codesourcery.com
32089         [BZ #15948]
32090         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
32091         single character.
32092         (add_to_tablewc): Assert sequence of wide characters is nonempty.
32094 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
32096         * elf/tst-tls-dlinfo.c: Don't include tls.h.
32097         * elf/tst-tls1.c: Likewise.
32098         * elf/tst-tls10.h: Likewise.
32099         * elf/tst-tls14.c: Likewise.
32100         * elf/tst-tls2.c: Likewise.
32101         * elf/tst-tls3.c: Likewise.
32102         * elf/tst-tls4.c: Likewise.
32103         * elf/tst-tls5.c: Likewise.
32104         * elf/tst-tls6.c: Likewise.
32105         * elf/tst-tls7.c: Likewise.
32106         * elf/tst-tls8.c: Likewise.
32107         * elf/tst-tls9.c: Likewise.
32108         * elf/tst-tlsmod1.c: Likewise.
32109         * elf/tst-tlsmod13.c: Likewise.
32110         * elf/tst-tlsmod13a.c: Likewise.
32111         * elf/tst-tlsmod14a.c: Likewise.
32112         * elf/tst-tlsmod16a.c: Likewise.
32113         * elf/tst-tlsmod16b.c: Likewise.
32114         * elf/tst-tlsmod2.c: Likewise.
32115         * elf/tst-tlsmod3.c: Likewise.
32116         * elf/tst-tlsmod4.c: Likewise.
32117         * elf/tst-tlsmod5.c: Likewise.
32118         * elf/tst-tlsmod6.c: Likewise.
32120 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
32122         [BZ #12486]
32123         * malloc/malloc.c: remove checks for statistics.
32125 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
32127         [BZ #15277]
32128         * inet/inet_net.c (inet_network): Detect additional invalid strings.
32129         * inet/tst-network.c: Add testcase.
32131 2013-10-17  Andreas Schwab  <schwab@suse.de>
32133         [BZ #15218]
32134         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
32135         to determine canonical name.
32137 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
32139         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
32140         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
32141         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32142         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
32143         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32144         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
32145         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
32146         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
32147         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
32148         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
32149         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
32150         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32151         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
32152         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
32153         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
32154         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
32155         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32156         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
32157         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
32158         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
32159         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32160         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32161         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
32162         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
32163         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
32164         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
32165         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
32166         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
32167         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
32168         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
32169         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
32170         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32171         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
32172         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
32173         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
32174         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
32175         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
32176         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
32177         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
32178         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32179         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
32180         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
32181         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
32182         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
32183         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
32184         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
32185         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
32186         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
32187         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
32188         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
32189         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
32190         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
32191         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
32192         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
32193         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32194         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
32195         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32196         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
32198 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
32200         [BZ #16041]
32201         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
32202         make result into a quiet NaN.
32204 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
32206         * soft-fp/adddf3.c: Fix horizontal whitespace.
32207         * soft-fp/addsf3.c: Likewise.
32208         * soft-fp/addtf3.c: Likewise.
32209         * soft-fp/divdf3.c: Likewise.
32210         * soft-fp/divsf3.c: Likewise.
32211         * soft-fp/divtf3.c: Likewise.
32212         * soft-fp/double.h: Likewise.
32213         * soft-fp/eqdf2.c: Likewise.
32214         * soft-fp/eqsf2.c: Likewise.
32215         * soft-fp/eqtf2.c: Likewise.
32216         * soft-fp/extenddftf2.c: Likewise.
32217         * soft-fp/extended.h: Likewise.
32218         * soft-fp/extendsfdf2.c: Likewise.
32219         * soft-fp/extendsftf2.c: Likewise.
32220         * soft-fp/extendxftf2.c: Likewise.
32221         * soft-fp/fixdfdi.c: Likewise.
32222         * soft-fp/fixdfsi.c: Likewise.
32223         * soft-fp/fixdfti.c: Likewise.
32224         * soft-fp/fixsfdi.c: Likewise.
32225         * soft-fp/fixsfsi.c: Likewise.
32226         * soft-fp/fixsfti.c: Likewise.
32227         * soft-fp/fixtfdi.c: Likewise.
32228         * soft-fp/fixtfsi.c: Likewise.
32229         * soft-fp/fixtfti.c: Likewise.
32230         * soft-fp/fixunsdfdi.c: Likewise.
32231         * soft-fp/fixunsdfsi.c: Likewise.
32232         * soft-fp/fixunsdfti.c: Likewise.
32233         * soft-fp/fixunssfdi.c: Likewise.
32234         * soft-fp/fixunssfsi.c: Likewise.
32235         * soft-fp/fixunssfti.c: Likewise.
32236         * soft-fp/fixunstfdi.c: Likewise.
32237         * soft-fp/fixunstfsi.c: Likewise.
32238         * soft-fp/fixunstfti.c: Likewise.
32239         * soft-fp/floatdidf.c: Likewise.
32240         * soft-fp/floatdisf.c: Likewise.
32241         * soft-fp/floatditf.c: Likewise.
32242         * soft-fp/floatsidf.c: Likewise.
32243         * soft-fp/floatsisf.c: Likewise.
32244         * soft-fp/floatsitf.c: Likewise.
32245         * soft-fp/floattidf.c: Likewise.
32246         * soft-fp/floattisf.c: Likewise.
32247         * soft-fp/floattitf.c: Likewise.
32248         * soft-fp/floatundidf.c: Likewise.
32249         * soft-fp/floatundisf.c: Likewise.
32250         * soft-fp/floatunditf.c: Likewise.
32251         * soft-fp/floatunsidf.c: Likewise.
32252         * soft-fp/floatunsisf.c: Likewise.
32253         * soft-fp/floatunsitf.c: Likewise.
32254         * soft-fp/floatuntidf.c: Likewise.
32255         * soft-fp/floatuntisf.c: Likewise.
32256         * soft-fp/floatuntitf.c: Likewise.
32257         * soft-fp/fmadf4.c: Likewise.
32258         * soft-fp/fmasf4.c: Likewise.
32259         * soft-fp/fmatf4.c: Likewise.
32260         * soft-fp/gedf2.c: Likewise.
32261         * soft-fp/gesf2.c: Likewise.
32262         * soft-fp/getf2.c: Likewise.
32263         * soft-fp/ledf2.c: Likewise.
32264         * soft-fp/lesf2.c: Likewise.
32265         * soft-fp/letf2.c: Likewise.
32266         * soft-fp/muldf3.c: Likewise.
32267         * soft-fp/mulsf3.c: Likewise.
32268         * soft-fp/multf3.c: Likewise.
32269         * soft-fp/negdf2.c: Likewise.
32270         * soft-fp/negsf2.c: Likewise.
32271         * soft-fp/negtf2.c: Likewise.
32272         * soft-fp/op-1.h: Likewise.
32273         * soft-fp/op-2.h: Likewise.
32274         * soft-fp/op-4.h: Likewise.
32275         * soft-fp/op-8.h: Likewise.
32276         * soft-fp/op-common.h: Likewise.
32277         * soft-fp/quad.h: Likewise.
32278         * soft-fp/single.h: Likewise.
32279         * soft-fp/soft-fp.h: Likewise.
32280         * soft-fp/sqrtdf2.c: Likewise.
32281         * soft-fp/sqrtsf2.c: Likewise.
32282         * soft-fp/sqrttf2.c: Likewise.
32283         * soft-fp/subdf3.c: Likewise.
32284         * soft-fp/subsf3.c: Likewise.
32285         * soft-fp/subtf3.c: Likewise.
32286         * soft-fp/truncdfsf2.c: Likewise.
32287         * soft-fp/trunctfdf2.c: Likewise.
32288         * soft-fp/trunctfsf2.c: Likewise.
32289         * soft-fp/trunctfxf2.c: Likewise.
32290         * soft-fp/unorddf2.c: Likewise.
32291         * soft-fp/unordsf2.c: Likewise.
32292         * soft-fp/unordtf2.c: Likewise.
32294 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
32296         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
32297         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
32299 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
32301         * elf/dl-libc.c: Clear initfini list after freeing.
32303 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
32305         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
32306         * soft-fp/addsf3.c: Likewise.
32307         * soft-fp/addtf3.c: Likewise.
32308         * soft-fp/divdf3.c: Likewise.
32309         * soft-fp/divsf3.c: Likewise.
32310         * soft-fp/divtf3.c: Likewise.
32311         * soft-fp/double.h: Likewise.
32312         * soft-fp/eqdf2.c: Likewise.
32313         * soft-fp/eqsf2.c: Likewise.
32314         * soft-fp/eqtf2.c: Likewise.
32315         * soft-fp/extenddftf2.c: Likewise.
32316         * soft-fp/extended.h: Likewise.
32317         * soft-fp/extendsfdf2.c: Likewise.
32318         * soft-fp/extendsftf2.c: Likewise.
32319         * soft-fp/extendxftf2.c: Likewise.
32320         * soft-fp/fixdfdi.c: Likewise.
32321         * soft-fp/fixdfsi.c: Likewise.
32322         * soft-fp/fixdfti.c: Likewise.
32323         * soft-fp/fixsfdi.c: Likewise.
32324         * soft-fp/fixsfsi.c: Likewise.
32325         * soft-fp/fixsfti.c: Likewise.
32326         * soft-fp/fixtfdi.c: Likewise.
32327         * soft-fp/fixtfsi.c: Likewise.
32328         * soft-fp/fixtfti.c: Likewise.
32329         * soft-fp/fixunsdfdi.c: Likewise.
32330         * soft-fp/fixunsdfsi.c: Likewise.
32331         * soft-fp/fixunsdfti.c: Likewise.
32332         * soft-fp/fixunssfdi.c: Likewise.
32333         * soft-fp/fixunssfsi.c: Likewise.
32334         * soft-fp/fixunssfti.c: Likewise.
32335         * soft-fp/fixunstfdi.c: Likewise.
32336         * soft-fp/fixunstfsi.c: Likewise.
32337         * soft-fp/fixunstfti.c: Likewise.
32338         * soft-fp/floatdidf.c: Likewise.
32339         * soft-fp/floatdisf.c: Likewise.
32340         * soft-fp/floatditf.c: Likewise.
32341         * soft-fp/floatsidf.c: Likewise.
32342         * soft-fp/floatsisf.c: Likewise.
32343         * soft-fp/floatsitf.c: Likewise.
32344         * soft-fp/floattidf.c: Likewise.
32345         * soft-fp/floattisf.c: Likewise.
32346         * soft-fp/floattitf.c: Likewise.
32347         * soft-fp/floatundidf.c: Likewise.
32348         * soft-fp/floatundisf.c: Likewise.
32349         * soft-fp/floatunsidf.c: Likewise.
32350         * soft-fp/floatunsisf.c: Likewise.
32351         * soft-fp/floatuntidf.c: Likewise.
32352         * soft-fp/floatuntisf.c: Likewise.
32353         * soft-fp/floatuntitf.c: Likewise.
32354         * soft-fp/fmadf4.c: Likewise.
32355         * soft-fp/fmasf4.c: Likewise.
32356         * soft-fp/fmatf4.c: Likewise.
32357         * soft-fp/gedf2.c: Likewise.
32358         * soft-fp/gesf2.c: Likewise.
32359         * soft-fp/getf2.c: Likewise.
32360         * soft-fp/ledf2.c: Likewise.
32361         * soft-fp/lesf2.c: Likewise.
32362         * soft-fp/letf2.c: Likewise.
32363         * soft-fp/muldf3.c: Likewise.
32364         * soft-fp/mulsf3.c: Likewise.
32365         * soft-fp/multf3.c: Likewise.
32366         * soft-fp/negdf2.c: Likewise.
32367         * soft-fp/negsf2.c: Likewise.
32368         * soft-fp/negtf2.c: Likewise.
32369         * soft-fp/op-1.h: Likewise.
32370         * soft-fp/op-2.h: Likewise.
32371         * soft-fp/op-4.h: Likewise.
32372         * soft-fp/op-8.h: Likewise.
32373         * soft-fp/op-common.h: Likewise.
32374         * soft-fp/quad.h: Likewise.
32375         * soft-fp/single.h: Likewise.
32376         * soft-fp/soft-fp.h: Likewise.
32377         * soft-fp/sqrtdf2.c: Likewise.
32378         * soft-fp/sqrtsf2.c: Likewise.
32379         * soft-fp/sqrttf2.c: Likewise.
32380         * soft-fp/subdf3.c: Likewise.
32381         * soft-fp/subsf3.c: Likewise.
32382         * soft-fp/subtf3.c: Likewise.
32383         * soft-fp/truncdfsf2.c: Likewise.
32384         * soft-fp/trunctfdf2.c: Likewise.
32385         * soft-fp/trunctfsf2.c: Likewise.
32386         * soft-fp/trunctfxf2.c: Likewise.
32387         * soft-fp/unorddf2.c: Likewise.
32388         * soft-fp/unordsf2.c: Likewise.
32389         * soft-fp/unordtf2.c: Likewise.
32391 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
32393         [BZ #15672]
32394         * misc/error.c (error_tail): Fix possible buffer overflow.
32396 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
32398         [BZ #13028]
32399         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
32400         address.
32402 2013-10-14  P. J. McDermott  <pj@pehjota.net>
32404         [BZ #832]
32405         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
32406         testing pipefail option.
32408 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
32410         * soft-fp/double.h: Indent preprocessor directives inside #if.
32411         * soft-fp/extended.h: Likewise.
32412         * soft-fp/op-2.h: Likewise.
32413         * soft-fp/op-4.h: Likewise.
32414         * soft-fp/op-common.h: Likewise.
32415         * soft-fp/quad.h: Likewise.
32416         * soft-fp/single.h: Likewise.
32417         * soft-fp/soft-fp.h: Likewise.
32419 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
32421         * iconv/iconv_prog.c: Fix typos.
32422         * stdio-common/psiginfo-data.h: Likewise.
32424 2013-10-12   Reuben Thomas <rrt@sc3d.org>
32426         [BZ #15764]
32427         * locale/setlocale.c: Fix typo.
32429 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
32431         [BZ #16036]
32432         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
32433         signaling NaN arguments.
32434         * soft-fp/unordsf2.c (__unordsf2): Likewise.
32435         * soft-fp/unordtf2.c (__unordtf2): Likewise.
32437         [BZ #14910]
32438         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
32439         unordered operands.
32440         * soft-fp/gesf2.c (__gesf2): Likewise.
32441         * soft-fp/getf2.c (__getf2): Likewise.
32442         * soft-fp/ledf2.c (__ledf2): Likewise.
32443         * soft-fp/lesf2.c (__lesf2): Likewise.
32444         * soft-fp/letf2.c (__letf2): Likewise.
32446         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
32447         * soft-fp/eqsf2.c (__eqsf2): Likewise.
32448         * soft-fp/eqtf2.c (__eqtf2): Likewise.
32449         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
32450         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
32451         * soft-fp/fixdfti.c (__fixdfti): Likewise.
32452         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
32453         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
32454         * soft-fp/fixsfti.c (__fixsfti): Likewise.
32455         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
32456         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
32457         * soft-fp/fixtfti.c (__fixtfti): Likewise.
32458         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
32459         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
32460         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
32461         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
32462         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
32463         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
32464         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
32465         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
32466         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
32467         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
32468         * soft-fp/floatdisf.c (__floatdisf): Likewise.
32469         * soft-fp/floatsisf.c (__floatsisf): Likewise.
32470         * soft-fp/floattidf.c (__floattidf): Likewise.
32471         * soft-fp/floattisf.c (__floattisf): Likewise.
32472         * soft-fp/floattitf.c (__floattitf): Likewise.
32473         * soft-fp/floatundidf.c (__floatundidf): Likewise.
32474         * soft-fp/floatundisf.c (__floatundisf): Likewise.
32475         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
32476         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
32477         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
32478         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
32479         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
32480         * soft-fp/gesf2.c (__gesf2): Likewise.
32481         * soft-fp/getf2.c (__getf2): Likewise.
32482         * soft-fp/ledf2.c (__ledf2): Likewise.
32483         * soft-fp/lesf2.c (__lesf2): Likewise.
32484         * soft-fp/letf2.c (__letf2): Likewise.
32486         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
32487         Undefine and redefine.
32488         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
32489         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
32490         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
32491         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
32492         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
32493         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
32494         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
32495         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
32496         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
32497         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
32498         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
32499         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
32500         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
32501         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
32502         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
32504         [BZ #16032]
32505         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
32506         without decrementing exponent if mantissa >= that for the
32507         denominator, not >.
32508         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
32509         denominator, not >.  Decrement exponent in < case instead of
32510         incrementing in >= case.
32511         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
32512         without decrementing exponent if mantissa >= that for the
32513         denominator, not >.
32515         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
32516         computing saturated result for unsigned overflow.
32518 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
32519             Jeff Law  <law@redhat.com>
32521         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
32522         (atan2Mp): Add systemtap probe marker.
32523         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
32524         (__ieee754_log): Add systemtap probe marker.
32525         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
32526         (atanMp): Add systemtap probe marker.
32527         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
32528         (tanMp): Add systemtap probe marker.
32529         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
32530         (__slowexp): Add systemtap probe marker.
32531         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
32532         (__slowpow): Add systemtap probe marker.
32533         * manual/probes.texi: Document probes.
32535 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
32537         [BZ #15362]
32538         * libio/fileops.c (_IO_new_file_write): Return count of bytes
32539         written.
32540         (_IO_new_file_xsputn): Don't return EOF if nothing has been
32541         written.
32542         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
32543         written to buffer but not flushed.
32544         * libio/iofwrite_u.c:  Likewise.
32545         * libio/iopadn.c:  Return bytes returned even if EOF was
32546         encountered.
32547         * libio/iowpadn.c:  Likewise.
32548         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
32549         if _IO_padn does not write the whole buffer.
32550         [!COMPILE_WPRINTF] (PAD): Likewise.
32552 2013-10-10  David S. Miller  <davem@davemloft.net>
32554         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
32555         directory block.
32557 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
32559         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
32560         instead of FSF address.
32561         * soft-fp/fixdfti.c: Likewise.
32562         * soft-fp/fixsfti.c: Likewise.
32563         * soft-fp/fixtfti.c: Likewise.
32564         * soft-fp/fixunsdfti.c: Likewise.
32565         * soft-fp/fixunssfti.c: Likewise.
32566         * soft-fp/fixunstfti.c: Likewise.
32567         * soft-fp/floattidf.c: Likewise.
32568         * soft-fp/floattisf.c: Likewise.
32569         * soft-fp/floattitf.c: Likewise.
32570         * soft-fp/floatuntidf.c: Likewise.
32571         * soft-fp/floatuntisf.c: Likewise.
32572         * soft-fp/floatuntitf.c: Likewise.
32573         * soft-fp/trunctfxf2.c: Likewise.
32575         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
32576         * soft-fp/fixdfti.c: Likewise.
32577         * soft-fp/fixsfti.c: Likewise.
32578         * soft-fp/fixtfti.c: Likewise.
32579         * soft-fp/fixunsdfti.c: Likewise.
32580         * soft-fp/fixunssfti.c: Likewise.
32581         * soft-fp/fixunstfti.c: Likewise.
32582         * soft-fp/floattidf.c: Likewise.
32583         * soft-fp/floattisf.c: Likewise.
32584         * soft-fp/floattitf.c: Likewise.
32585         * soft-fp/floatuntidf.c: Likewise.
32586         * soft-fp/floatuntisf.c: Likewise.
32587         * soft-fp/floatuntitf.c: Likewise.
32588         * soft-fp/trunctfxf2.c: Likewise.
32590 2013-10-10  David S. Miller  <davem@davemloft.net>
32592         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32594 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
32596         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
32597         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
32598         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
32599         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
32600         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
32601         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
32602         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
32604         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
32605         for NaNs before doing comparisons on argument.
32606         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
32607         Likewise.
32609 2013-10-10  Will Newton  <will.newton@linaro.org>
32611         * malloc/hooks.c (memalign_check): Ensure the value of bytes
32612         passed to _int_memalign does not overflow.
32614 2013-10-10  Torvald Riegel  <triegel@redhat.com>
32616         * scripts/bench.pl: Add include-sources directive.
32617         * benchtests/README: Update documentation.
32619 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
32621         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
32622         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
32623         instead of FP_INIT_ROUNDMODE.
32624         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
32625         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
32627         [BZ #16034]
32628         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
32629         copy class of input value.
32630         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
32631         not handle exceptions.
32632         * soft-fp/negsf2.c (__negsf2): Likewise.
32633         * soft-fp/negtf2.c (__negtf2): Likewise.
32634         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
32636 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
32638         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
32639         semicolon.  From Linux kernel.
32641 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
32643         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
32645 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
32647         [BZ #156]
32648         * manual/socket.texi: Added statement about buffer
32649         for gethostbyname2_r.
32651 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
32653         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
32654         Use .p2align directive instead, throughout.
32655         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
32656         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
32657         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
32658         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
32659         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
32660         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
32661         * sysdeps/x86_64/strchr.S: Likewise.
32662         * sysdeps/x86_64/strrchr.S: Likewise.
32664 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
32666         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
32668         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
32670         * sysdeps/generic/math_private.h (__mpsin1): Remove
32671         declaration.
32672         (__mpcos1): Likewise.
32673         (__mpsin): New argument __range_reduce.
32674         (__mpcos): Likewise.
32675         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32676         (slow): Use __mpsin and __mpcos.
32677         (slow1): Likewise.
32678         (slow2): Likewise.
32679         (sloww): Likewise.
32680         (sloww1): Likewise.
32681         (sloww2): Likewise.
32682         (bsloww): Likewise.
32683         (bsloww1): Likewise.
32684         (bsloww2): Likewise.
32685         (cslow2): Likewise.
32686         (csloww): Likewise.
32687         (csloww1): Likewise.
32688         (csloww2): Likewise.
32689         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
32690         range_reduce.  Merge in __mpsin1.
32691         (__mpcos): Likewise.
32692         (__mpsin1): Remove.
32693         (__mpcos1): Likewise.
32695 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
32697         * locale/loadlocale.c (_nl_intern_locale_data): Use
32698         LOCFILE_ALIGNED_P.
32699         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
32700         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
32701         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
32702         obstack data is appropriately aligned.
32703         (obstack_int32_grow_fast): Likewise.
32704         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
32705         * locale/programs/locfile.c (add_locale_uint32): Likewise.
32706         (add_locale_uint32_array): Likewise.
32708 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
32710         * benchtests/Makefile: Remove ARGLIST and RET variables.
32711         ($(objpfx)bench-%.c): Pass only function name to the script.
32712         * benchtests/README: Update documentation.
32713         * benchtests/acos-inputs: Add new directives.
32714         * benchtests/acosh-inputs: Likewise.
32715         * benchtests/asin-inputs: Likewise.
32716         * benchtests/asinh-inputs: Likewise.
32717         * benchtests/atan-inputs: Likewise.
32718         * benchtests/atanh-inputs: Likewise.
32719         * benchtests/cos-inputs: Likewise.
32720         * benchtests/cosh-inputs: Likewise.
32721         * benchtests/exp-inputs: Likewise.
32722         * benchtests/log-inputs: Likewise.
32723         * benchtests/pow-inputs: Likewise.
32724         * benchtests/rint-inputs: Likewise.
32725         * benchtests/sin-inputs: Likewise.
32726         * benchtests/sinh-inputs: Likewise.
32727         * benchtests/tan-inputs: Likewise.
32728         * benchtests/tanh-inputs: Likewise.
32729         * scripts/bench.pl: Add support for new directives.
32731 2013-10-07  Alan Modra  <amodra@gmail.com>
32733         * README: Fix careless merge.
32735 2013-10-05  Alan Modra  <amodra@gmail.com>
32737         * NEWS: Mention powerpc64le support and bugs fixed.
32738         * README: Both big-endian and little-endian powerpc64 supported.
32740 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32742         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
32743         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
32744         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
32745         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
32747 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
32749         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
32750         match prototype.
32752 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
32754         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
32755         Move -mhard-float appending from
32756         ports/sysdeps/powerpc/powerpc32/Makefile.
32757         [$(with-fp) = yes] (ASFLAGS): Likewise.
32758         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
32759         * sysdeps/powerpc/nofpu: Move directory from
32760         ports/sysdeps/powerpc/nofpu.
32761         * sysdeps/powerpc/soft-fp: Move directory from
32762         ports/sysdeps/powerpc/soft-fp.
32763         * sysdeps/powerpc/powerpc32/405: Move directory from
32764         ports/sysdeps/powerpc/powerpc32/405.
32765         * sysdeps/powerpc/powerpc32/440: Move directory from
32766         ports/sysdeps/powerpc/powerpc32/440.
32767         * sysdeps/powerpc/powerpc32/464: Move directory from
32768         ports/sysdeps/powerpc/powerpc32/464.
32769         * sysdeps/powerpc/powerpc32/476: Move directory from
32770         ports/sysdeps/powerpc/powerpc32/476.
32771         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
32772         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
32773         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
32774         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
32775         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
32776         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
32777         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
32778         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
32779         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
32780         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
32781         * README: Update for powerpc-*-linux-gnu software floating point
32782         support in libc.
32784         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
32785         case to powerpc/powerpc32*.
32786         * sysdeps/unix/sysv/linux/configure: Regenerated.
32788         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
32789         (_FPU_MASK_OM): Define as 0x04.
32790         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
32791         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
32792         0x00c10080.
32793         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
32794         0x0000003c.
32795         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
32797         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
32798         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
32799         getcontext_e500.
32800         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
32801         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
32802         setcontext_e500.
32803         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
32804         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
32805         and setcontext_e500.
32807 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
32809         * locale/iso-3166.def: Update iso-1366.def and related occurrences
32811 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
32813         * manual/threads.texi (Default Thread Attributes): Fix typo.
32815 2013-10-04  Will Newton  <will.newton@linaro.org>
32817         * malloc/Makefile: Add tst-memalign.
32818         * malloc/tst-memalign.c: New file.
32820         * malloc/tst-posix_memalign.c: Add comments.
32821         (do_test): Add comments and call free on all potentially
32822         allocated pointers. Add space after cast.
32824         * malloc/tst-pvalloc.c: Add comments.
32825         (do_test): Add comments and call free on all potentially
32826         allocated pointers. Remove duplicate check for NULL pointer.
32827         Add space after cast.
32829         * malloc/tst-valloc.c: Add comments.
32830         (do_test): Add comments and call free on all potentially
32831         allocated pointers. Remove duplicate check for NULL pointer.
32832         Add space after cast.
32834 2013-10-04  Alan Modra  <amodra@gmail.com>
32836         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
32837         Use stdint types in rather than __attribute__((mode())).
32838         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
32840 2013-10-04  Alan Modra  <amodra@gmail.com>
32842         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
32843         Correct handling of unaligned relocs for little-endian.
32844         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
32846 2013-10-04  Alan Modra  <amodra@gmail.com>
32848         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
32849         * configure: Regenerate.
32850         * nptl/shlib-versions: Powerpc*le starts at 2.18.
32851         * shlib-versions: Likewise.
32853 2013-10-04  Alan Modra  <amodra@gmail.com>
32855         * string/tester.c (test_memrchr): Increment reported test cycle.
32857 2013-10-04  Alan Modra  <amodra@gmail.com>
32859         * string/test-memcpy.c (do_one_test): When reporting errors, print
32860         string address and don't overrun end of string.
32862 2013-10-04  Alan Modra  <amodra@gmail.com>
32864         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
32865         insrdi.  Make better use of reg selection to speed exit slightly.
32866         Schedule entry path a little better.  Remove useless "are we done"
32867         checks on entry to main loop.  Handle wrapping around zero address.
32868         Correct main loop count.  Handle single left-over word from main
32869         loop inline rather than by using loop_small.  Remove extra word
32870         case in loop_small caused by wrong loop count.  Add little-endian
32871         support.
32872         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
32873         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
32874         cache hint.
32875         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
32876         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
32877         support.  Avoid rlwimi.
32878         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
32880 2013-10-04  Alan Modra  <amodra@gmail.com>
32882         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
32883         insrdi.  Formatting.
32884         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
32885         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
32886         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
32887         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
32888         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
32889         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
32891 2013-10-04  Alan Modra  <amodra@gmail.com>
32893         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
32894         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
32895         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
32896         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
32897         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
32898         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
32899         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
32900         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
32901         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
32902         use of regs.  Use power7 mtocrf.  Tidy function tails.
32904 2013-10-04  Alan Modra  <amodra@gmail.com>
32906         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
32907         Formatting.  Consistently use rXXX register defines or rN defines.
32908         Use early exit labels that avoid restoring unused non-volatile regs.
32909         Make cr field use more consistent with rWORDn compares.  Rename
32910         regs used as shift registers for unaligned loop, using rN defines
32911         for short lifetime/multiple use regs.
32912         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
32913         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
32914         addi 1,1,64 to pop stack frame.  Simplify return value code.
32915         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
32917 2013-10-04  Alan Modra  <amodra@gmail.com>
32919         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
32920         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
32921         rather than rlwimi.
32922         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
32923         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
32924         little-endian support.  Correct typos.
32925         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
32926         rather than rlwimi.
32927         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
32928         in loop and entry code to keep "and." results.
32929         (strchr): Add little-endian support.  Comment.  Move cntlzd
32930         earlier in tail.
32931         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
32933 2013-10-04  Alan Modra  <amodra@gmail.com>
32935         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
32936         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
32937         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
32938         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
32940 2013-10-04  Alan Modra  <amodra@gmail.com>
32942         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
32943         (rTMP): Define as r11.
32944         (strcmp): Add little-endian support.  Optimise tail.
32945         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
32946         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
32947         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
32948         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
32949         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
32950         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
32951         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
32953 2013-10-04  Alan Modra  <amodra@gmail.com>
32955         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
32956         little-endian support.  Remove unnecessary "are we done" tests.
32957         Handle "s" wrapping around zero and extremely large "size".
32958         Correct main loop count.  Handle single left-over word from main
32959         loop inline rather than by using small_loop.  Correct comments.
32960         Delete "zero" tail, use "end_max" instead.
32961         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
32963 2013-10-04  Alan Modra  <amodra@gmail.com>
32965         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
32966         support.  Don't branch over align.
32967         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
32968         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
32969         support.  Rearrange tmp reg use to suit.  Comment.
32970         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
32972 2013-10-04  Alan Modra  <amodra@gmail.com>
32974         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
32976 2013-10-04  Alan Modra  <amodra@gmail.com>
32978         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
32979         conditional form of branch and link when obtaining pc.
32980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
32982 2013-10-04  Alan Modra  <amodra@gmail.com>
32984         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
32985         HIWORD/LOWORD.
32986         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
32987         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
32989 2013-10-04  Alan Modra  <amodra@gmail.com>
32991         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
32992         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
32993         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
32994         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
32995         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
32996         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
32997         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
32998         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
32999         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
33000         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
33002 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
33003             Alistair Popple <alistair@ozlabs.au.ibm.com>
33004             Alan Modra <amodra@gmail.com>
33006         [BZ #15723]
33007         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
33008         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
33009         _dl_hwcap access for little-endian.
33010         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
33011         destroy vmx regs when saving unaligned.
33012         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
33013         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
33014         destroy vmx regs when saving unaligned.
33016 2013-10-04  Alan Modra  <amodra@gmail.com>
33018         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
33019         Don't use a union to pack hi/low value.
33021 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
33023         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
33024         for little-endian.
33025         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
33026         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
33027         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
33028         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
33029         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
33031 2013-10-04  Alan Modra  <amodra@gmail.com>
33033         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
33034         constants to usual value for .cst8 section, and remove redundant
33035         high address load.
33036         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
33037         constant for 0x1p52.  Load little-endian words of double from
33038         correct stack offsets.
33040 2013-10-04  Alan Modra  <amodra@gmail.com>
33042         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
33043         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
33044         words of double from correct stack offsets.
33045         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
33046         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
33047         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
33048         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
33049         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
33050         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
33051         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
33052         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
33053         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
33054         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
33055         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
33056         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
33057         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
33058         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
33059         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
33060         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
33061         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
33063 2013-10-04  Alan Modra  <amodra@gmail.com>
33065         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
33066         64-bit int/double union.
33067         (_FPU_SETCW): Likewise.
33068         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
33069         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
33071 2013-10-04  Alan Modra  <amodra@gmail.com>
33073         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
33074         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
33076 2013-10-04  Alan Modra  <amodra@gmail.com>
33078         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
33079         use vector int constants.
33080         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
33082 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
33084         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
33085         array with long long.
33086         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
33087         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
33088         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
33089         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
33090         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
33091         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
33092         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
33093         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
33094         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
33095         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
33096         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
33097         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
33098         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
33100 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
33102         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
33103         (__signbit): Likewise.  Correct for little-endian.
33104         (__signbitl): Call __signbit.
33105         (lrint): Correct for little-endian.
33106         (lrintf): Call lrint.
33108 2013-10-04  Alan Modra  <amodra@gmail.com>
33110         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
33111         union 32-bit int array member with 64-bit int array.
33112         (t515, tm256): Double rather than long double.
33113         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
33115 2013-10-04  Alan Modra  <amodra@gmail.com>
33117         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
33118         Delete.
33119         (IEEE854_LONG_DOUBLE_BIAS): Delete.
33120         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
33121         version of math_ldbl.h.
33123 2013-10-04  Alan Modra  <amodra@gmail.com>
33125         [BZ #15734], [BZ #15735]
33126         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
33127         all uses of ieee875 long double macros and unions.  Simplify test
33128         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
33129         ldbl_extract_mantissa value for ix,iy exponents.  Properly
33130         normalize after ldbl_extract_mantissa, and don't add hidden bit
33131         already handled.  Don't treat low word of ieee854 mantissa like
33132         low word of IBM long double and mask off bit when testing for
33133         zero.
33134         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
33135         all uses of ieee875 long double macros and unions.  Simplify tests
33136         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
33137         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
33138         two1022, instead use their values.  Recognise that tests for large
33139         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
33140         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
33141         Rewrite all uses of ieee875 long double macros and unions.  Simplify
33142         test for 0.0L and nan.  Correct negation.
33143         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
33144         ieee875 long double macros and unions.  Correct output for large
33145         magnitude x.  Correct absolute value calculation.
33146         (__erfcl): Likewise.
33147         * math/libm-test.inc: Add tests for errors discovered in IBM long
33148         double versions of fmodl, remainderl, erfl and erfcl.
33150 2013-10-04  Alan Modra  <amodra@gmail.com>
33152         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
33153         all uses of ieee854 long double macros and unions.  Simplify tests
33154         for long doubles that are fully specified by the high double.
33155         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
33156         Likewise.
33157         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
33158         Remove dead code too.
33159         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
33160         (__ieee754_ynl): Likewise.
33161         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
33162         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
33163         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
33164         Remove dead code too.
33165         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
33166         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
33167         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
33168         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
33169         Simplify.
33170         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
33171         Simplify.
33172         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
33173         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
33174         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
33175         Comment on variable precision.
33176         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
33177         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
33178         Likewise.
33179         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
33180         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
33181         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
33182         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
33183         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
33185 2013-10-04  Alan Modra  <amodra@gmail.com>
33187         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
33188         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
33189         all uses of ieee854 long double macros and unions.
33190         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
33191         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
33192         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
33193         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
33194         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
33195         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
33196         Likewise.
33197         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
33198         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
33199         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
33200         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
33201         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
33202         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
33203         Simplify sign and nan test too.
33204         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
33205         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
33206         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
33207         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
33208         Likewise.
33209         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
33210         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
33211         Likewise.
33212         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33213         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
33214         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
33215         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
33216         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
33217         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
33219 2013-10-04  Alan Modra  <amodra@gmail.com>
33221         * stdio-common/printf_size.c (__printf_size): Don't use
33222         union ieee854_long_double in fpnum union.
33223         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
33224         signbit macro to retrieve sign from long double.
33225         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
33226         retrieve sign from long double.
33227         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
33228         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
33229         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
33230         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
33231         * math/test-misc.c (main): Don't use union ieee854_long_double.
33233 2013-10-04  Alan Modra  <amodra@gmail.com>
33235         [BZ #15680]
33236         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
33237         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
33238         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
33239         calculation.  Remove unnecessary test for denormal exponent.
33240         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
33241         Correct handling of denormals.  Avoid undefined shift behaviour.
33242         Correct normalisation of low mantissa when low double is denormal.
33243         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
33244         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
33245         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
33246         Correct normalisation of low mantissa.  Test for overflow of high
33247         mantissa and normalise.
33248         (ldbl_nearbyint): Use more readable constant for two52.
33249         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
33250         (__mpn_construct_long_double): Fix test for overflow of high
33251         mantissa and correct normalisation.  Avoid undefined shift.
33253 2013-10-04  Alan Modra  <amodra@gmail.com>
33255         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
33256         (union ibm_extended_long_double): Define as an array of ieee754_double.
33257         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
33258         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
33259         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
33260         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
33261         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
33262         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
33263         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
33264         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
33265         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
33266         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
33267         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
33269 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
33271         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
33272         page size instead of calling getpagesize.
33274         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
33275         (LOCFILE_ALIGN_MASK): Likewise.
33276         (LOCFILE_ALIGN_UP): Likewise.
33277         (LOCFILE_ALIGNED_P): Likewise.
33278         * locale/programs/ld-collate.c (collate_output): Use the new
33279         macros instead of __alignof__ (int32_t).
33280         * locale/weight.h (findidx): Likewise.
33282 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
33284         [BZ #431]
33285         * manual/string.texi: Fix strncat and wcsncat.
33287 2013-10-03  Brooks Moses  <bmoses@google.com>
33289         [BZ #15915]
33290         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
33291         * Makerules: ...here, and adjust associated comments.
33293 2013-10-02  Will Newton  <will.newton@linaro.org>
33295         * malloc/Makefile: Add tst-pvalloc.
33296         * malloc/tst-pvalloc.c: New file.
33298 2013-10-02  Will Newton  <will.newton@linaro.org>
33300         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
33301         improve test coverage.
33303 2013-10-02  Will Newton  <will.newton@linaro.org>
33305         * malloc/Makefile: Add tst-posix_memalign.
33306         * malloc/tst-posix_memalign.c: New file.
33308 2013-10-01  Eric Blake  <eblake@redhat.com>
33310         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
33311         Use __THROWNL rather than __THROW on static functions.
33313 2013-09-30  Petr Machata  <pmachata@redhat.com>
33315         * elf/elf.h (R_AARCH64_ABS16): New macro.
33316         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
33317         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
33318         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
33319         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
33320         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
33321         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
33322         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
33323         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
33324         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
33325         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
33326         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
33327         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
33328         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
33329         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
33330         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
33331         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
33332         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
33333         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
33334         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
33335         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
33336         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
33337         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
33338         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
33339         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
33340         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
33341         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
33342         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
33343         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
33344         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
33345         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
33346         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
33347         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
33348         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
33349         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
33350         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
33351         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
33352         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
33353         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
33354         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
33355         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
33356         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
33357         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
33358         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
33359         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
33360         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
33361         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
33362         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
33363         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
33364         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
33365         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
33366         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
33367         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
33368         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
33369         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
33370         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
33371         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
33372         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
33373         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
33374         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
33375         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
33376         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
33377         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
33378         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
33379         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
33380         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
33381         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
33382         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
33383         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
33384         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
33385         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
33386         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
33387         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
33388         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
33389         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
33390         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
33391         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
33392         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
33393         (R_AARCH64_TLSDESC_LDR): Likewise.
33394         (R_AARCH64_TLSDESC_ADD): Likewise.
33395         (R_AARCH64_TLSDESC_CALL): Likewise.
33397 2013-09-30  Andreas Schwab  <schwab@suse.de>
33399         [BZ #15048]
33400         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
33401         the nss database lookup.
33402         * nscd/initgrcache.c (addinitgroupsX): Likewise.
33403         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
33405 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
33407         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
33409 2013-09-28  P. J. McDermott  <pj@pehjota.net>
33411         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
33412         ${Bash-specific parameter/pattern/string} parameter expansion.
33413         * sysdeps/unix/make-syscalls.sh: Likewise.
33415 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33417         * sysdeps/sh/stackguard-macros.h: New file.
33419 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
33421         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
33422         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
33423         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
33424         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
33425         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
33426         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
33428 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33430         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
33431         Fix thread ID register.
33433 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
33435         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
33436         [POSIX || UNIX98]: Require rather than permitting all symbols from
33437         <time.h>.
33438         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
33439         element of struct sched_param.
33440         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
33441         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
33442         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
33443         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
33444         constant.
33446 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
33448         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
33449         argument calculation.
33451 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
33453         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
33454         Expect macro.
33455         [POSIX] (pthread_attr_t): Do not require type.
33456         [POSIX] (pthread_cond_t): Likewise.
33457         [POSIX] (pthread_condattr_t): Likewise.
33458         [POSIX] (pthread_key_t): Likewise.
33459         [POSIX] (pthread_mutex_t): Likewise.
33460         [POSIX] (pthread_mutexattr_t): Likewise.
33461         [POSIX] (pthread_once_t): Likewise.
33462         [POSIX] (pthread_t): Likewise.
33463         [POSIX-based standards] (pthread_atfork): Expect function.
33465 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
33466             Richard Sandiford  <richard@codesourcery.com>
33468         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
33469         (swap_endianness_p): New extern variable.
33470         (set_big_endian): New inline function.
33471         (maybe_swap_uint32): Likewise.
33472         (maybe_swap_uint32_array): Likewise.
33473         (maybe_swap_uint32_obstack): Likewise.
33474         * locale/programs/locfile.c: Include <stdbool.h>.
33475         (swap_endianness_p): New variable.
33476         (add_locale_uint32): Call maybe_swap_uint32.
33477         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
33478         (write_locale_data): Call maybe_swap_uint32_array.
33479         * locale/programs/ld-collate.c (obstack_int32_grow): Call
33480         maybe_swap_uint32.
33481         (obstack_int32_grow_fast): Likewise.
33482         (output_weightwc): Call maybe_swap_uint32_obstack.
33483         (collate_output): Likewise.
33484         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
33485         (OPT_LITTLE_ENDIAN): Likewise.
33486         (options): Add --little-endian and --big-endian options.
33487         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
33488         * locale/programs/locarchive.c: Include "locfile.h".
33489         (GET): New macro.
33490         (SET): Likewise.
33491         (INC): Likewise.
33492         (create_archive): Use the new macros to access fields of
33493         structures directly mapped from or written to locale archives.
33494         (oldlocrecentcmp): Likewise.
33495         (enlarge_archive): Likewise.
33496         (insert_name): Likewise.
33497         (add_alias): Likewise.
33498         (add_locale): Likewise.
33499         (delete_locales_from_archive): Likewise.
33500         (show_archive_content): Likewise.
33501         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
33502         locale data.
33504 2013-09-24  Roland McGrath  <roland@hack.frob.com>
33506         * manual/freemanuals.texi: Updated from (newly) canonical copy at
33507         http://www.gnu.org/doc/freemanuals.texi.
33508         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
33510 2013-09-24  Will Newton  <will.newton@linaro.org>
33512         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
33513         macro.
33515 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
33517         * locale/hashval.h (compute_hashval): Interpret bytes of key as
33518         unsigned char.
33520 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
33522         * manual/threads.texi (POSIX Threads): Fix a typo.
33524 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
33526         [BZ #14547]
33527         * string/tst-strcoll-overflow.c: New test case.
33528         * string/Makefile (xtests): Add tst-strcoll-overflow.
33529         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
33530         cache if string sizes may cause integer overflow.
33532         [BZ #14547]
33533         * string/strcoll_l.c (coll_seq): New members rule, idx,
33534         save_idx and back_us.
33535         (get_next_seq_nocache): New function.
33536         (do_compare_nocache): New function.
33537         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
33538         when malloc fails.
33540 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
33542         [BZ #15754]
33543         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
33544         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
33545         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
33547         [BZ #15754]
33548         * elf/Makefile (tests): Add tst-ptrguard1.
33549         (tests-static): Add tst-ptrguard1-static.
33550         (tst-ptrguard1-ARGS): Define.
33551         (tst-ptrguard1-static-ARGS): Define.
33552         * elf/tst-ptrguard1.c: New file.
33553         * elf/tst-ptrguard1-static.c: New file.
33554         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
33555         * sysdeps/i386/stackguard-macros.h: Likewise.
33556         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
33557         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
33558         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
33559         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
33560         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
33561         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
33563 2013-09-23  Hector Marco  <hecmargi@upv.es>
33564             Ismael Ripoll  <iripoll@disca.upv.es>
33565             Carlos O'Donell  <carlos@redhat.com>
33567         [BZ #15754]
33568         * sysdeps/generic/stackguard-macros.h: Define
33569         __pointer_chk_guard_local and POINTER_CHK_GUARD.
33570         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
33571         Define __pointer_chk_guard_local.
33572         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
33573         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
33575 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
33577         [BZ #15859]
33578         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
33580 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
33582         * include/string.h (__ffs): Declare as hidden.
33583         * string/ffs.c (__ffs): Define as hidden.
33584         * sysdeps/i386/ffs.c (__ffs): Likewise.
33585         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
33586         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
33587         * sysdeps/s390/ffs.c (__ffs): Likewise.
33588         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
33590 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
33592         * NEWS: Mention malloc probes.
33594         * malloc/arena.c (new_heap): New memory_heap_new probe.
33595         (grow_heap): New memory_heap_more probe.
33596         (shrink_heap): New memory_heap_less probe.
33597         (heap_trim): New memory_heap_free probe.
33598         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
33599         (systrim): New memory_sbrk_less probe.
33600         * manual/probes.texi: Document them.
33602         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
33603         * manual/probes.texi: Document it.
33605         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
33606         (__libc_realloc): Add memory_realloc_retry probe.
33607         (__libc_memalign): Add memory_memalign_retry probe.
33608         (__libc_valloc): Add memory_valloc_retry probe.
33609         (__libc_pvalloc): Add memory_pvalloc_retry probe.
33610         (__libc_calloc): Add memory_calloc_retry probe.
33611         * manual/probes.texi: Document them.
33613         * malloc/arena.c (get_free_list): Add probe
33614         memory_arena_reuse_free_list.
33615         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
33616         and memory_arena_reuse.
33617         (arena_get2) [!PER_THREAD]: Likewise.
33618         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
33619         memory_arena_reuse_realloc.
33620         * manual/probes.texi: Document them.
33622         * malloc/malloc.c (__libc_free): Add
33623         memory_mallopt_free_dyn_thresholds probe.
33624         (__libc_mallopt): Add multiple memory_mallopt probes.
33625         * manual/probes.texi: Document them.
33627         * malloc/malloc.c: Include stap-probe.h.
33628         (__libc_mallopt): Add memory_mallopt probe.
33629         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
33630         * manual/probes.texi: New.
33631         * manual/Makefile (chapters): Add probes.
33632         * manual/threads.texi: Set next node.
33634 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
33636         [BZ #15963, #13985]
33637         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
33638         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
33639         Add `Chinese' to `nan' entry name.
33641 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
33643         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
33644         (POLYNOMIAL): Likewise.
33645         (TAYLOR_SINCOS): Likewise.
33646         (TAYLOR_SLOW): Likewise.
33647         (__sin): Use TAYLOR_SINCOS.
33648         (__cos): Likewise.
33649         (slow): Use TAYLOR_SLOW.
33650         (sloww): Likewise.
33651         (bsloww): Likewise.
33652         (csloww): Likewise.
33654 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
33656         * stdlib/strtod_l.c: Fix buffer overrun.
33658 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
33660         * benchtests/Makefile (bench): Add sincos.
33661         * benchtests/bench-sincos.c: New file.
33663         * math/libm-test.inc (cos_test_data): New test inputs.
33664         (sin_test_data): Likewise.
33666         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
33667         macro.
33668         (__sin): Use it.
33669         (__cos): Likewise.
33670         (slow1): Likewise.
33671         (slow2): Likewise.
33672         (sloww1): Likewise.
33673         (sloww2): Likewise.
33674         (bsloww1): Likewise.
33675         (bsloww2): Likewise.
33676         (cslow2): Likewise.
33677         (csloww1): Likewise.
33678         (csloww2): Likewise.
33680         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
33681         function.
33682         (__sin): Use it.
33683         (__cos): Likewise.
33685         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
33686         gotos.
33687         (__cos): Likewise.
33689 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
33691         * config.h.in (HAVE_MIPS_NAN2008): New macro.
33692         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
33693         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
33694         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
33695         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
33696         * elf/cache.c (print_entry): Handle the new cache flags.
33698 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
33699             Aldy Hernandez  <aldyh@redhat.com>
33701         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
33702         Change condition to [_SOFT_FLOAT].
33703         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
33704         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
33705         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
33706         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
33707         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
33708         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
33709         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
33710         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
33711         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
33712         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
33713         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
33714         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
33715         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
33716         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
33717         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
33718         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
33719         declaration.
33721 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
33723         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
33724         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
33725         (__longjmp): Use LOAD_GP to load saved GPRs.
33726         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
33727         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
33728         (__sigsetjmp): Use SAVE_GP to save GPRs.
33730         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
33731         Do not append -msoft-float.
33732         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
33734 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
33736         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
33738 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
33740         [BZ #15966]
33741         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
33742         (_FPU_GETCW): Use initial "__" on variable and field names but not
33743         on macro parameter name.
33744         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
33745         parentheses around reference to macro parameter.
33747 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
33749         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
33750         prototype.
33751         (ctype_startup): Use uint32_t in cast and sizeof for
33752         ctype->charnames.
33754 2013-09-11  Jia Liu  <proljc@gmail.com>
33756         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
33757         __daddr_t_defined.
33758         [__FreeBSD__]: Likewise.
33760 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
33762         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
33763         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
33764         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
33765         (strchr): Remove __strchr_sse42 ifunc selection.
33766         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
33767         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
33769 2013-09-11  Will Newton  <will.newton@linaro.org>
33771         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
33772         parameter to RES. Remove hardcoded 1000 value.
33773         * benchtests/bench-skeleton.c (main): Pass RES parameter
33774         to TIMING_INIT and multiply result by 1000.
33776 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33778         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33780 2013-09-11  Andreas Schwab  <schwab@suse.de>
33782         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
33783         if not defined.
33784         (O_TMPFILE) [__USE_GNU]: Define.
33785         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
33786         Define.
33788 2013-09-11  Will Newton  <will.newton@linaro.org>
33790         [BZ #15857]
33791         * malloc/malloc.c (__libc_memalign): Check the value of bytes
33792         does not overflow.
33794 2013-09-11  Will Newton  <will.newton@linaro.org>
33796         [BZ #15856]
33797         * malloc/malloc.c (__libc_valloc): Check the value of bytes
33798         does not overflow.
33800 2013-09-11  Will Newton  <will.newton@linaro.org>
33802         [BZ #15855]
33803         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
33804         does not overflow.
33806 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
33808         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
33809         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33810         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
33811         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
33812         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
33814 2013-09-10  Allan McRae  <allan@archlinux.org>
33816         [BZ #15748]
33817         * manual/arith.texi (Parsing of Floats): Clarify
33818         cross-reference.
33820         [BZ #15849]
33821         * manual/install.texi (Running make install): Mention
33822         --enable-pt-chown.
33823         * INSTALL: Regenerated.
33825 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
33827         * csu/init-first.c (_init): Remove the !SHARED condition around
33828         FPU control word initialization.
33829         * elf/dl-support.c (_dl_fpu_control): New variable.
33830         (_dl_aux_init) <AT_FPUCW>: Initialize it.
33831         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
33832         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
33833         * math/test-fpucw-static.c: New file.
33834         * math/test-fpucw-ieee.c: New file.
33835         * math/test-fpucw-ieee-static.c: New file.
33836         * math/Makefile (tests): Add `test-fpucw-ieee' and
33837         `$(tests-static)'.
33838         (tests-static): New variable.
33839         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
33840         dependency to...
33841         [($(build-shared),yes)]
33842         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
33843         ... this.
33844         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
33845         New dependency.
33847 2013-09-09  Allan McRae  <allan@archlinux.org>
33849         [BZ #15939]
33850         * manual/string.texi (Collation Functions): Fix typo in
33851         strcoll example.
33852         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
33854         [BZ #15893]
33855         * stdlib/isomac.c (get_null_defines): Fix memory leak.
33857         [BZ #15892]
33858         * libio/memstream.c (open_memstream): Fix memory leak.
33859         * libio/wmemstream.c (open_wmemstream): Likewise.
33861         [BZ #15895]
33862         * nscd/netgroupcache.c: Fix nesting of ifdefs.
33864 2013-09-09  Will Newton  <will.newton@linaro.org>
33866         * malloc/Makefile: Add tst-realloc to tests.
33867         * malloc/tst-realloc.c: New file.
33869 2013-09-09  Allan McRae  <allan@archlinux.org>
33871         [BZ #15844]
33872         * COPYING: Update from GNU website to fix FSF address.
33873         * COPYING.LIB: Likewise.
33875 2013-09-06  David S. Miller  <davem@davemloft.net>
33877         * po/zh_TW.po: Update Chinese (traditional) translation from
33878         translation project.
33880 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
33881             Joseph Myers  <joseph@codesourcery.com>
33883         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
33884         "localeinfo.h".
33885         (obstack_chunk_alloc): New macro.
33886         (obstack_chunk_free): Likewise.
33887         (record_offset): New function.
33888         (init_locale_data): Likewise.
33889         (align_locale_data): Likewise.
33890         (add_locale_empty): Likewise.
33891         (add_locale_raw_data): Likewise.
33892         (add_locale_raw_obstack): Likewise.
33893         (add_locale_string): Likewise.
33894         (add_locale_wstring): Likewise.
33895         (add_locale_uint32): Likewise.
33896         (add_locale_uint32_array): Likewise.
33897         (add_locale_char): Likewise.
33898         (start_locale_structure): Likewise.
33899         (end_locale_structure): Likewise.
33900         (start_locale_prelude): Likewise.
33901         (end_locale_prelude): Likewise.
33902         (write_locale_data): Take locale_file structure rather than an
33903         iovec.
33904         * locale/programs/locfile.h: Include "obstack.h".
33905         (struct locale_file): Change to store locale file contents instead
33906         of header.
33907         (init_locale_data): New prototype.
33908         (align_locale_data): Likewise.
33909         (add_locale_empty): Likewise.
33910         (add_locale_raw_data): Likewise.
33911         (add_locale_raw_obstack): Likewise.
33912         (add_locale_string): Likewise.
33913         (add_locale_wstring): Likewise.
33914         (add_locale_uint32): Likewise.
33915         (add_locale_uint32_array): Likewise.
33916         (add_locale_char): Likewise.
33917         (start_locale_structure): Likewise.
33918         (end_locale_structure): Likewise.
33919         (start_locale_prelude): Likewise.
33920         (end_locale_prelude): Likewise.
33921         (write_locale_data): Update prototype.
33922         * locale/programs/3level.h (struct TABLE): Remove result field.
33923         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
33924         Use new locale_file interface.
33925         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
33926         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
33927         * locale/programs/ld-address.c (address_output): Use new
33928         locale_file interface.
33929         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
33930         NO_ADD_LOCALE.
33931         (collate_finish): Don't call collseq_table_finalize.
33932         (collate_output): Use new locale_file interface.
33933         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
33934         in file.
33935         (NO_FINALIZE): Change to NO_ADD_LOCALE.
33936         (TABLE): Move defines earlier in file.
33937         (ELEMENT): Likewise.
33938         (DEFAULT): Likewise.
33939         (wctrans_table_add): Move macro and inline function earlier in
33940         file.
33941         (struct wctype_table): Move type earlier in file.
33942         (add_locale_wctype_table): New static prototype.
33943         (struct locale_ctype_t): Use logical types instead of struct iovec
33944         pointers for members.
33945         (ctype_output): Use new locale_file interface.
33946         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
33947         new locale_file interface.
33948         (allocate_arrays): Update for use of new locale_file interface.
33949         * locale/programs/ld-identification.c (identification_output): Use
33950         new locale_file interface.
33951         * locale/programs/ld-measurement.c (measurement_output): Likewise.
33952         * locale/programs/ld-messages.c (messages_output): Likewise.
33953         * locale/programs/ld-monetary.c (monetary_output): Likewise.
33954         * locale/programs/ld-name.c (name_output): Likewise.
33955         * locale/programs/ld-numeric.c (numeric_output): Likewise.
33956         * locale/programs/ld-paper.c (paper_output): Likewise.
33957         * locale/programs/ld-telephone.c (telephone_output): Likewise.
33958         * locale/programs/ld-time.c (time_output): Likewise.
33960 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33962         * benchtests/Makefile: Add memrchr benchmark.
33963         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
33964         benchmark as memrchr.
33965         * benchtests/bench-memrchr-ifunc.c: New file.
33966         * benchtests/bench-memrchr.c: New file.
33968 2013-09-06   Will Newton  <will.newton@linaro.org>
33970         * benchtests/Makefile (string-bench): Add memcpy.
33972 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
33973             Cong Wang  <amwang@redhat.com>
33975         [BZ #15850]
33976         * sysdeps/unix/sysv/linux/bits/in.h
33977         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
33978         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
33979         before __USE_KERNEL_IPV6_DEFS uses.
33980         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
33981         IPPROTO_BEETPH.
33982         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
33983         sockaddr_in6, or ipv6_mreq.
33985 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33987         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
33988         memory access for final bytes in some large inputs.
33989         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
33991 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33993         * string/test-memrchr.c: New file.
33994         * string/test-memrchr-ifunc.c: New file.
33995         * string/Makefile: Add new memrchr testcase.
33997 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
33999         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
34000         fanotify_init returns EPERM.
34002 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
34004         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
34005         errors.
34006         (top level): Treat second token from macro or constant entries for
34007         allowed headers as allowed.
34008         * include/complex.h: Condition internal declarations on
34009         [!_ISOMAC].
34010         * include/fenv.h: Condition include of <stdbool.h> and internal
34011         declarations on [!_ISOMAC].
34013 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
34015         [BZ #15923]
34016         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
34018 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
34020         * configure.in (--enable-versioning): Remove configure option.
34021         (libc_cv_asm_symver_directive): Remove configure test.
34022         (libc_cv_ld_version_script_option): Likewise.
34023         (VERSIONING): Remove variable and AC_SUBST.
34024         (DO_VERSIONING): Remove AC_DEFINE.
34025         * configure: Regenerated.
34026         * config.h.in (DO_VERSIONING): Remove macro.
34027         * Makerules [$(versioning) = yes]: Change conditionals to
34028         [$(build-shared) = yes].
34029         * config.make.in (versioning): Remove variable.
34030         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
34031         [$(build-shared) = yes].
34032         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
34033         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
34034         * elf/Makefile [$(versioning) = yes]: Change conditionals to
34035         [$(build-shared) = yes].
34036         * extra-lib.mk [$(versioning) = yes]: Likewise.
34037         * hurd/Makefile [$(versioning) = yes]: Likewise.
34038         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
34039         [SHARED].
34040         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
34041         [SHARED].
34042         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
34043         [SHARED && !NO_HIDDEN].
34044         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
34045         [SHARED].
34046         [SHARED && DO_VERSIONING]: Likewise..
34047         * libio/Makefile [$(versioning) = yes]: Change conditionals to
34048         [$(build-shared) = yes].
34049         * manual/install.texi (--disable-versioning): Remove
34050         documentation.
34051         * INSTALL: Regenerated.
34052         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
34053         to [SHARED].
34054         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
34055         [$(build-shared) = yes].
34056         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
34057         * sysdeps/i386/i686/multiarch/strstr-c.c
34058         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
34059         [SHARED && !NO_HIDDEN].
34060         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
34061         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
34062         * sysdeps/powerpc/powerpc32/dl-machine.c
34063         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
34064         * sysdeps/powerpc/powerpc32/sysdep.h
34065         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
34066         to [SHARED && PIC && !NO_HIDDEN].
34067         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
34068         conditional to [SHARED].
34070 2013-09-04   Will Newton  <will.newton@linaro.org>
34072         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
34073         * benchtests/bench-string.h: Include bench-timing.h instead
34074         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
34075         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
34076         call to HP_TIMING_DIFF_INIT.
34077         * benchtests/bench-memccpy.c: Use bench-timing.h macros
34078         instead of hp-timing.h macros.
34079         * benchtests/bench-memchr.c: Likewise.
34080         * benchtests/bench-memcmp.c: Likewise.
34081         * benchtests/bench-memcpy.c: Likewise.
34082         * benchtests/bench-memmem.c: Likewise.
34083         * benchtests/bench-memmove.c: Likewise.
34084         * benchtests/bench-memset.c: Likewise.
34085         * benchtests/bench-rawmemchr.c: Likewise.
34086         * benchtests/bench-strcasecmp.c: Likewise.
34087         * benchtests/bench-strcasestr.c: Likewise.
34088         * benchtests/bench-strcat.c: Likewise.
34089         * benchtests/bench-strchr.c: Likewise.
34090         * benchtests/bench-strcmp.c: Likewise.
34091         * benchtests/bench-strcpy.c: Likewise.
34092         * benchtests/bench-strcpy_chk.c: Likewise.
34093         * benchtests/bench-strlen.c: Likewise.
34094         * benchtests/bench-strncasecmp.c: Likewise.
34095         * benchtests/bench-strncat.c: Likewise.
34096         * benchtests/bench-strncmp.c: Likewise.
34097         * benchtests/bench-strncpy.c: Likewise.
34098         * benchtests/bench-strnlen.c: Likewise.
34099         * benchtests/bench-strpbrk.c: Likewise.
34100         * benchtests/bench-strrchr.c: Likewise.
34101         * benchtests/bench-strspn.c: Likewise.
34102         * benchtests/bench-strstr.c: Likewise.
34104 2013-09-04  Will Newton  <will.newton@linaro.org>
34106         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
34108 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
34110         [BZ #15427]
34111         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
34112         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
34113         * math/libm-test.inc (lgamma_test_data): Add more tests.
34114         * sysdeps/i386/fpu/libm-test-ulps: Update.
34115         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34117 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
34119         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
34120         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
34121         Add ifunc.
34122         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
34123         Add strcmp-sse2-unaligned
34124         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
34126 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
34128         * Versions.def (libc): Add GLIBC_2.19.
34130 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
34132         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
34133         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
34135 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
34137         [BZ #14155]
34138         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
34139         intermediate calculations in recurrence.
34140         (__ieee754_ynf): Likewise.
34141         * math/libm-test.inc (jn_test_data): Do not allow spurious
34142         underflow exception.  Add more tests.
34143         (yn_test_data): Add more tests.
34144         * sysdeps/i386/fpu/libm-test-ulps: Update.
34145         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34147 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
34149         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
34151 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
34153         * csu/init-first.c: Fix then/than typos.
34154         * locale/programs/ld-collate.c: Likewise.
34155         * locale/programs/linereader.h: Likewise.
34156         * manual/charset.texi: Likewise.
34157         * manual/filesys.texi: Likewise.
34158         * manual/stdio.texi: Likewise.
34159         * manual/string.texi: Likewise.
34160         * stdlib/fmtmsg.c: Likewise.
34161         * sysdeps/i386/stpncpy.S: Likewise.
34162         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
34163         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
34164         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
34165         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
34167 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
34169         * elf/dl-open.c: Fix typos.
34170         * iconvdata/gbbig5.c: Likewise.
34171         * iconvdata/iso-2022-jp.c: Likewise.
34172         * iconv/gconv_int.h: Likewise.
34173         * iconv/loop.c: Likewise.
34174         * nis/rpcsvc/nis.h: Likewise.
34175         * resolv/ns_name.c: Likewise.
34176         * stdio-common/vfscanf.c: Likewise.
34177         * streams/stropts.h: Likewise.
34178         * sunrpc/rpc_thread.c: Likewise.
34179         * sysdeps/i386/strpbrk.S: Likewise.
34180         * sysdeps/ieee754/k_standard.c: Likewise.
34181         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
34182         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
34183         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
34184         * sysdeps/mach/hurd/profil.c: Likewise.
34185         * sysdeps/s390/dl-procinfo.h: Likewise.
34186         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
34187         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
34188         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
34189         * sysdeps/x86_64/dl-trampoline.S: Likewise.
34190         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
34192 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
34194         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
34195         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
34197 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
34199         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
34200         aix specific files.
34201         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
34202         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
34203         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
34204         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
34205         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
34206         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
34207         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
34208         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
34210 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
34211             Roland McGrath  <roland@hack.frob.com>
34213         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
34214         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
34216 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34218         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
34219         __executable_start symbol instead of _start.
34221 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
34223         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
34224         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
34225         Move macros to...
34226         * sysdeps/gnu/ldsodefs.h: ... this new file.
34228         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
34229         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
34230         instead of ELFOSABI_LINUX.
34232         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
34233         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
34234         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
34235         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
34236         Likewise.
34237         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
34238         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
34239         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
34240         Likewise.
34241         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
34242         (ibm_extended_long_double): Add ieee_nan member.
34243         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
34244         (do_test): New function.
34246         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
34247         TEST_TRUNC.
34248         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
34249         functions, renamed from truncdfsf_test, trunctfsf_test,
34250         trunctfdf_test.
34251         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
34252         functions.
34253         (do_test): Run all these.
34255 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
34257         * argp/argp-help.c: Fix typos.
34258         * argp/argp-parse.c: Likewise.
34259         * debug/backtracesyms.c: Likewise.
34260         * elf/elf.h: Likewise.
34261         * malloc/malloc.c: Likewise.
34262         * nis/nis_print.c: Likewise.
34263         * resolv/res_comp.c: Likewise.
34264         * stdlib/stdlib.h: Likewise.
34265         * sunrpc/clnt_tcp.c: Likewise.
34266         * sunrpc/clnt_udp.c: Likewise.
34267         * sunrpc/clnt_unix.c: Likewise.
34268         * sysdeps/unix/bsd/ptsname.c: Likewise.
34269         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
34270         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
34271         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
34272         Likewise.
34273         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
34274         Likewise.
34275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
34276         Likewise.
34277         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
34279 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
34281         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
34282         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
34284 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
34286         [BZ #15897]
34287         * dlfcn/Makefile (tests): Add bug-dl-leaf.
34288         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
34289         ($(objpfx)bug-dl-leaf): New rule.
34290         ($(objpfx)bug-dl-leaf.so): Likewise.
34291         ($(objpfx)bug-dl-leaf.out): Likewise.
34292         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
34293         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
34294         * dlfcn/bug-dl-leaf.c: New test.
34295         * dlfcn/bug-dl-leaf-lib.c: Likewise.
34296         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
34297         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
34298         (dlclose): Likewise.
34299         (dlmopen): Likewise.
34301 2013-08-27  Roland McGrath  <roland@hack.frob.com>
34303         * include/netdb.h [!_ISOMAC]:
34304         Don't include <tls.h>.
34305         (h_errno, __libc_h_errno): Move declaration and macros out of
34306         [_LIBC_REENTRANT].
34308         * include/resolv.h [_RESOLV_H_]:
34309         Don't include <tls.h>.
34310         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
34311         * resolv/res_libc.c: Don't include <tls.h>.
34312         (_res): Use __attribute__ ((nocommon)) in place of
34313         __attribute__ ((section (".bss"))).
34315         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
34316         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
34318         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
34320         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
34321         only under [SIOCGIFCONF && SIOCGIFNETMASK].
34323         * resolv/res_mkquery.c: Include <sys/time.h>.
34325         * inet/ifreq.c: Moved to ...
34326         * sysdeps/unix/ifreq.c: ... here.
34327         * inet/ifreq.c: New file, true stub version.
34329         * socket/sa_len.c: New file.
34330         * socket/Makefile (aux): Add it.
34331         * sysdeps/unix/sysv/linux/Makefile
34332         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
34333         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
34334         and #include <socket/sa_len.c>.
34335         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
34336         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
34338         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
34339         * bits/socket.h: ... here.
34341         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
34342         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
34343         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
34345 2013-08-27  Andreas Schwab  <schwab@suse.de>
34347         [BZ #15736]
34348         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
34349         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
34350         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
34351         * string/test-strcasecmp.c (test_main): Run tests in several
34352         locales.
34353         * string/test-strncasecmp.c (test_main): Likewise.
34355         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
34356         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
34357         to __strcasecmp_nonascii and __strncasecmp_nonascii.
34358         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
34359         (__strncasecmp_ssse3) [PIC]: Likewise.
34361 2013-08-26  Roland McGrath  <roland@hack.frob.com>
34363         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
34365         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
34366         instead of explicitly declaring xdecrypt.
34367         * nis/nss_nis/nis-publickey.c: Likewise.
34369 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
34371         [BZ #15890]
34372         * nscd/aicache.c: Include res_hconf.h.
34373         (addhstaiX): Initialize res_hconf.
34375 2013-08-26  Andreas Schwab  <schwab@suse.de>
34377         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
34378         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
34380 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
34382         * nscd/aicache.c (addhstaiX): Fix indentation.
34384 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
34386         * configure.ac: Quote $build_pt_chown test.
34387         * configure: Regenerated.
34389 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
34391         [BZ #15532]
34392         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
34393         * math/s_cexpf.c (__cexpf): Likewise.
34394         * math/s_cexpl.c (__cexpl): Likewise.
34395         * math/libm-test.inc (cexp_test_data): Correct expected return
34396         value for NaN + i0.  Add another test.
34398 2013-08-22  David S. Miller  <davem@davemloft.net>
34400         * po/ca.po: Update Catalan translation from translation project.
34401         * po/uk.po: Add Ukrainian translations from translation project.
34403 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
34405         [BZ #15797]
34406         * math/s_fdim.c (__fdim): Check for infinite arguments if result
34407         is infinite, not alongside NaN test.
34408         * math/s_fdimf.c (__fdimf): Likewise.
34409         * math/s_fdiml.c (__fdiml): Likewise.
34410         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
34411         errno is unchanged.
34413 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
34415         * argp/argp-help.c: Fix typos.
34416         * crypt/speeds.c: Likewise.
34417         * csu/check_fds.c: Likewise.
34418         * elf/dl-load.c: Likewise.
34419         * elf/dl-open.c: Likewise.
34420         * elf/reldep3.c: Likewise.
34421         * elf/reldep.c: Likewise.
34422         * elf/sprof.c: Likewise.
34423         * iconv/iconv_charmap.c: Likewise.
34424         * iconv/skeleton.c: Likewise.
34425         * iconv/strtab.c: Likewise.
34426         * io/lockf64.c: Likewise.
34427         * libio/libioP.h: Likewise.
34428         * resolv/gai_notify.c: Likewise.
34429         * resolv/ns_name.c: Likewise.
34430         * resolv/ns_samedomain.c: Likewise.
34431         * resolv/res_send.c: Likewise.
34432         * stdlib/random.c: Likewise.
34433         * sunrpc/rpc/xdr.h: Likewise.
34434         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
34435         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
34436         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
34437         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
34438         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
34439         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
34440         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
34441         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
34442         * sysdeps/mach/hurd/check_fds.c: Likewise.
34443         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
34444         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
34445         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
34446         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
34447         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
34448         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
34449         * sysdeps/pthread/aio_notify.c: Likewise.
34450         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
34451         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
34452         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
34453         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
34454         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
34456 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
34458         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
34459         version if bit_Slow_SSE4_2 is set.
34460         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
34461         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
34463 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34465         [BZ #15867]
34466         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
34467         trampoline stack frame information.
34468         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
34469         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
34470         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
34471         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
34472         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
34473         * sysdeps/unix/sysv/linux/powerpc/init-first.c
34474         (_libc_vdso_platform_setup): Initialize the signal trampolines.
34475         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
34476         sa_flags value.
34477         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
34478         interrupting a syscall and set with option SA_SIGINFO.
34480 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
34482         [BZ #15531]
34483         * math/s_cproj.c (__cproj): Only return an infinity if one part of
34484         argument is infinite.
34485         * math/s_cprojf.c (__cprojf): Likewise.
34486         * math/s_cprojl.c (__cprojl): Likewise.
34487         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
34488         * math/libm-test.inc (cproj_test_data): Add more tests.
34490         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
34492         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
34493         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
34494         size.  Use __ffs to determine corresponding shift.
34496 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
34497             Roland McGrath  <roland@hack.frob.com>
34499         * Makefile (INSTALL): Remove trailing blank lines from output of
34500         makeinfo.
34502 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34504         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
34505         Align 32 bit compat elf_greg to 8 bytes.
34507 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
34509         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
34511 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
34513         * string/strcoll_l.c (coll_seq): New structure.
34514         (get_next_seq_cached): New function.
34515         (get_next_seq): New function.
34516         (do_compare): New function.
34517         (STRCOLL): Use GNU style definition.  Simplify implementation
34518         by using get_next_seq, get_next_seq_cached and do_compare.
34520 2013-08-16  Florian Weimer  <fweimer@redhat.com>
34522         [BZ #14699]
34523         CVE-2013-4237
34524         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
34525         member.
34526         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
34527         member.
34528         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
34529         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
34530         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
34531         conditional.
34532         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
34533         GETDENTS_64BIT_ALIGNED.
34534         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
34535         * manual/filesys.texi (Reading/Closing Directory): Document
34536         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
34537         strongly.
34538         * manual/conf.texi (Limits for Files): Add portability note to
34539         NAME_MAX, PATH_MAX.
34540         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
34542 2013-08-13  Andreas Schwab  <schwab@suse.de>
34544         [BZ #15749]
34545         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
34546         of fabs.
34547         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
34548         LDBL_MAX_EXP >= 16384]: Add tests for it.
34550 2013-08-12  David S. Miller  <davem@davemloft.net>
34552         * version.h (RELEASE): Set to "development".
34553         (VERSION): Set to "2.18.90".
34554         * NEWS: Add 2.19 section.
34556 2013-08-03  David S. Miller  <davem@davemloft.net>
34558         * po/ko.po: Update Korean translation from translation project.
34560 2013-08-01  David S. Miller  <davem@davemloft.net>
34562         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
34563         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
34564         Bilka.
34566 2013-07-30  David S. Miller  <davem@davemloft.net>
34568         * po/fr.po: Update French translation from translation project.
34570 2013-07-28  David S. Miller  <davem@davemloft.net>
34572         * po/cs.po: Update Czech translation from translation project.
34574         * po/sv.po: Update Swedish translation from translation project.
34576 2013-07-27  David S. Miller  <davem@davemloft.net>
34578         * po/eo.po: Update Esperanto translation from translation project.
34580         * po/vi.po: Update Vietnamese translation from translation project.
34582         * po/de.po: Update German translation from translation project.
34584 2013-07-26  David S. Miller  <davem@davemloft.net>
34586         * po/bg.po: Update Bulgarian translation from translation project.
34588         * po/nl.po: Update Dutch translation from translation project.
34589         * po/pl.po: Update Polish translation from translation project.
34590         * po/ru.po: Update Russian translation from translation project.
34592 2013-07-24  David S. Miller  <davem@davemloft.net>
34594         * po/libc.pot: Update.
34596 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34598         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
34599         variable page size.
34600         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
34601         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
34602         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
34604 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34606         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
34608 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
34609             Andreas Schwab  <schwab@suse.de>
34610             Roland McGrath  <roland@hack.frob.com>
34611             Joseph Myers  <joseph@codesourcery.com>
34612             Carlos O'Donell  <carlos@redhat.com>
34614         [BZ #15755]
34615         * config.h.in: Define HAVE_PT_CHOWN.
34616         * config.make.in (build-pt-chown): New variable.
34617         * configure.in (--enable-pt_chown): New configure option.
34618         * configure: Regenerate.
34619         * login/Makefile: Include Makeconfig.  Build pt_chown only if
34620         build-pt-chown is enabled.
34621         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
34622         pt_chown to fix pty ownership.
34623         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
34624         CLOSE_ALL_FDS.
34625         * manual/install.texi (Configuring and compiling): Mention
34626         --enable-pt_chown. Add @findex for grantpt.
34627         * INSTALL: Regenerate.
34629 2013-07-20  David S. Miller  <davem@davemloft.net>
34631         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
34632         difference between 32-bit and 64-bit.
34634 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
34636         [BZ #15711]
34637         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
34638         Avoid system header dependency with -ffreestanding.
34639         ($(objpfx)bits/syscall%d): Likewise.
34641 2013-07-13  David S. Miller  <davem@davemloft.net>
34643         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
34644         underflows from atanl/atan2l due to bug 15319.
34645         (casinh_test_data): Likewise.
34647 2013-07-07  David S. Miller  <davem@davemloft.net>
34649         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
34651 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
34653         * sysdeps/i386/fpu/libm-test-ulps: Update.
34654         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34656 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
34658         * configure.in (--enable-lock-elision): Fix message text.
34659         * INSTALL: Regenerate.
34660         * configure: Regenerate.
34662 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34664         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34666 2013-07-03  Andreas Jaeger  <aj@suse.de>
34668         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
34669         define.
34670         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
34671         (ptrace_peeksiginfo_args): Add.
34672         (__ptrace_peeksiginfo_flags): Add.
34673         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34674         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34675         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34677 2013-07-03  Allan McRae  <allan@archlinux.org>
34679         * sysdeps/i386/fpu/libm-test-ulps: Update.
34681 2013-07-02  David S. Miller  <davem@davemloft.net>
34683         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34685 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
34687         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34689 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
34691         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
34692         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34694 2013-07-02  Andi Kleen <ak@linux.intel.com>
34696         * config.h.in (ENABLE_LOCK_ELISION): Add.
34697         * configure.in (--enable-lock-elision): Add option.
34698         * manual/install.texi: Document --enable lock elision.
34699         * configure: Regenerate
34700         * INSTALL: Regenerate.
34702 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
34704         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
34705         SSE4.2 strcasecmp for libc.a.
34706         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
34708 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
34710         [BZ #13304]
34711         * soft-fp/op-common.h (_FP_FMA): New macro.
34712         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
34713         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
34714         (_FP_MUL_MEAT_1_imm): ... here.
34715         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
34716         (_FP_MUL_MEAT_1_wide): ... here.
34717         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
34718         (_FP_MUL_MEAT_1_hard): ... here.
34719         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
34720         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
34721         (_FP_MUL_MEAT_2_wide): ... here.
34722         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
34723         (_FP_MUL_MEAT_2_wide_3mul): ... here.
34724         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
34725         (_FP_MUL_MEAT_2_gmp): ... here.
34726         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
34727         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
34728         (_FP_MUL_MEAT_4_wide): ... here.
34729         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
34730         (_FP_MUL_MEAT_4_gmp): ... here.
34731         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
34732         (_FP_WFRACBITS_DW_S): Likewise.
34733         (_FP_WFRACXBITS_DW_S): Likewise.
34734         (_FP_HIGHBIT_DW_S): Likewise.
34735         (FP_FMA_S): Likewise.
34736         (_FP_FRAC_HIGH_DW_S): Likewise.
34737         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
34738         (_FP_WFRACBITS_DW_D): Likewise.
34739         (_FP_WFRACXBITS_DW_D): Likewise.
34740         (_FP_HIGHBIT_DW_D): Likewise.
34741         (FP_FMA_D): Likewise.
34742         (_FP_FRAC_HIGH_DW_D): Likewise.
34743         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
34744         (_FP_WFRACBITS_DW_E): Likewise.
34745         (_FP_WFRACXBITS_DW_E): Likewise.
34746         (_FP_HIGHBIT_DW_E): Likewise.
34747         (FP_FMA_E): Likewise.
34748         (_FP_FRAC_HIGH_DW_E): Likewise.
34749         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
34750         (_FP_WFRACBITS_DW_Q): Likewise.
34751         (_FP_WFRACXBITS_DW_Q): Likewise.
34752         (_FP_HIGHBIT_DW_Q): Likewise.
34753         (FP_FMA_Q): Likewise.
34754         (_FP_FRAC_HIGH_DW_Q): Likewise.
34755         * soft-fp/fmasf4.c: New file.
34756         * soft-fp/fmadf4.c: Likewise.
34757         * soft-fp/fmatf4.c: Likewise.
34759 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
34761         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
34762         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
34763         Silvermont.
34764         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
34765         macro.
34766         (index_Slow_SSE4_2): Likewise.
34767         (index_Prefer_PMINUB_for_stringop): Likewise.
34768         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
34769         bit_Slow_SSE4_2 is set.
34770         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
34771         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
34773 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
34775         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
34776         rtld_global._dl_hwcap2.
34777         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
34778         POWER8.
34779         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
34780         POWER8 feature descriptions defined in _dl_hwcap2.
34781         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
34782         string handling for POWER8 feature bits.
34783         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
34784         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
34785         _dl_powerpc_cap_flags.
34786         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
34787         * sysdeps/powerpc/rtld-global-offsets.sym
34788         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
34789         _dl_hwcap2 in the rtld_global_ro structure.
34791 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
34793         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
34794         hardware capabilities in support of AT_HWCAP2.
34795         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
34796         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
34797         GLRO(dl_hwcap2).
34798         (_dl_show_auxv): Add support for calling _dl_procinfo to display
34799         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
34800         explicitly the unknown a_type display mechanism is used.
34801         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
34802         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
34803         struct member.
34804         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
34805         to macro prototype for AT_HWCAP2 support.
34806         * sysdeps/i386/dl-procinfo.h: Likewise.
34807         * sysdeps/s390/dl-procinfo.h: Likewise.
34808         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
34809         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
34810         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
34811         return -1 for unknown a_type display fallback.
34812         * sysdeps/sparc/dl-procinfo.h: Likewise.
34813         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
34814         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
34816 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
34818         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
34819         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
34821 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
34823         [BZ #12492]
34824         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
34825         mprotect making __stack_prot writable.
34827 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
34828             Joseph Myers  <joseph@codesourcery.com>
34830         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
34831         as being properly aligned.
34833 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
34835         * dlfcn/modstatic5.c: New file.
34836         * dlfcn/tststatic5.c: New file.
34837         * dlfcn/Makefile (tests): Add tststatic5.
34838         (tests-static): Likewise.
34839         (modules-names): Add modstatic5.
34840         (tststatic5-ENV): New variable.
34841         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
34843         [BZ #15022]
34844         * elf/dl-support.c (_dl_main_map): New variable.
34845         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
34846         (_dl_nns, _dl_load_adds): Set to 1.
34847         (_dl_initial_searchlist): Refer to _dl_main_map.
34848         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
34849         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
34850         call to _dl_get_origin.
34851         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
34852         around call_map.
34853         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
34854         * dlfcn/modstatic3.c: New file.
34855         * dlfcn/tststatic3.c: New file.
34856         * dlfcn/tststatic4.c: New file.
34857         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
34858         (tests-static): Likewise.
34859         (modules-names): Add modstatic3.
34860         (tststatic3-ENV, tststatic4-ENV): New variables.
34861         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
34862         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
34864 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
34866         * configure.in (CC): Require GCC version 4.4 or later.
34867         * configure: Regenerated.
34868         * manual/install.texi (Tools for Compilation): Update GCC version
34869         requirement.
34870         * INSTALL: Regenerated.
34872 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
34874         [BZ #15674]
34875         * string/test-memcmp.c (check2): New.
34876         (main): Call check2.
34878         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
34880 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
34882         [BZ #15022]
34883         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
34884         over to...
34885         (dl_open_worker) [!SHARED]: ... here.
34887 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
34889         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
34891 2013-06-25  Richard Henderson  <rth@redhat.com>
34893         * locale/programs/locarchive.c: Include <libc-internal.h>
34895 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
34897         * manual/texinfo.tex: Update to version 2013-06-21.17, with
34898         trailing whitespace removed.
34900 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
34902         [BZ #10283]
34903         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
34904         * locale/programs/locarchive.c: Include libc-mmap.h.
34905         (prepare_address_space): Take two new outputs (the mmap base and len).
34906         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
34907         values.
34908         (create_archive): Declare new mmap base and len values for
34909         prepare_address_space, and store the result in ah.
34910         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
34911         (enlarge_archive): If ah->mmap_base is not NULL, use that and
34912         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
34913         Declare new mmap base and len values for
34914         prepare_address_space, and store the result in new_ah.
34915         (open_archive): Declare new mmap base and len values for
34916         prepare_address_space, and store the result in ah.
34917         (close_archive): If ah->mmap_base is not NULL, use that and
34918         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
34919         * sysdeps/generic/libc-mmap.h: New file.
34921 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
34923         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
34924         (ALIGN_UP): Likewise.
34925         (PTR_ALIGN_DOWN): Likewise.
34926         (PTR_ALIGN_UP): Likewise.
34928 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
34930         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
34931         entry mapped to PPC_PLATFORM_POWER8.
34932         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
34933         POWER8.
34934         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
34935         (_dl_string_platform): Add case for exporting platform position for
34936         POWER8.
34937         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
34938         search path to sysdeps/powerpc/powerpc32/power8 directory.
34939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
34940         search path to sysdeps/powerpc/powerpc64/power8 directory.
34941         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
34942         power7 directories.
34943         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
34944         power7 directories.
34946 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
34948         * INSTALL: Regenerate.
34950         * nscd/connections.c (nscd_init): Fix comment.
34952 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
34954         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
34956         [BZ #15667]
34957         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
34958         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
34960 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
34962         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
34963         DL_DST_REQ_STATIC.
34964         (DL_DST_REQ_STATIC): Remove macro.
34966 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
34968         [BZ #7006]
34969         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
34970         with a shift of 0 bits.
34972 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
34974         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
34975         $(tststatic-ENV).
34977 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34979         [BZ #15655]
34980         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
34982 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34984         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
34985         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
34986         accepts -fno-tree-loop-distribute-patterns.
34987         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
34988         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
34989         recursive call.
34990         * string/memset.c (memset): Likewise.
34991         * string/test-memmove.c (simple_memmove): Disable loop transformation
34992         to library calls.
34993         * string/test-memset.c (simple_memset): Likewise.
34994         * benchtests/bench-memmove.c (simple_memmove): Likewise.
34995         * benchtests/bench-memset.c (simple_memset): Likewise.
34996         * configure: Regenerated.
34998 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
35000         * math/test-misc.c (main): Ignore fesetround failure when failures
35001         of subsequent rounding tests would be ignored.
35003         [BZ #15654]
35004         * math/fedisblxcpt.c (fedisableexcept): Return 0.
35005         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
35006         * math/fegetenv.c (__fegetenv): Return 0.
35007         * math/fegetexcept.c (fegetexcept): Return 0.
35008         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
35009         FE_TONEAREST.
35010         * math/feholdexcpt.c (feholdexcept): Return 0.
35011         * math/fesetenv.c (__fesetenv): Return 0.
35012         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
35013         argument FE_TONEAREST.
35014         * math/feupdateenv.c (__feupdateenv): Return 0.
35015         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
35017 2013-06-18  Roland McGrath  <roland@hack.frob.com>
35019         * elf/rtld-Rules (rtld-compile-command.S): New variable.
35020         (rtld-compile-command.s, rtld-compile-command.c): New variables.
35021         ($(objpfx)rtld-%.os rules): Use them.
35023 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35025         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
35026         fields.
35028 2013-06-17  Roland McGrath  <roland@hack.frob.com>
35030         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
35031         length of target pattern, then descending length of dependency pattern.
35032         * configure.in (AWK): Require gawk 3.1.2 or newer.
35033         * manual/install.texi (Tools for Compilation): Say that we do.
35034         * configure: Regenerated.
35036         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
35037         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
35038         * scripts/sysd-rules.awk: ... this new script.
35039         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
35040         than a glob-style pattern.
35042 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
35044         * math/test-misc.c (main): Do not treat incorrectly rounded
35045         conversions as failure unless ROUNDING_TESTS passes.
35047 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
35049         [BZ #15631]
35050         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
35051         restore exception state around main square root computation, then
35052         check for inexactness explicitly.
35054         * math/libm-test.inc (fma_test_data): Add another test.
35056 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35058         * manual/threads.texi (Non-POSIX Extensions): New document
35059         node.  Document pthread_getattr_default_np and
35060         pthread_setattr_default_np.
35062         * Versions.def (libpthread): Add GLIBC_2.18.
35063         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
35064         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
35065         Likewise.
35066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
35067         Likewise.
35068         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
35069         Likewise.
35070         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
35071         Likewise.
35072         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
35073         Likewise.
35074         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
35075         Likewise.
35076         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
35077         Likewise.
35078         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
35079         Likewise.
35080         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
35081         Likewise.
35083 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
35085         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35086         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
35088 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
35089             H.J. Lu  <hjl.tools@gmail.com>
35091         [BZ #15627]
35092         * sysdeps/x86_64/rtld-memset.c: Remove file.
35093         * sysdeps/x86_64/rtld-memset.S: New file.
35095 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
35097         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
35098         (test_in_one_mode): Take arguments for whether the rounding mode
35099         is supported for each floating-point type.
35100         (do_test): Pass new arguments to test_in_one_mode using
35101         ROUNDING_TESTS.
35103 2013-06-13  Roland McGrath  <roland@hack.frob.com>
35105         * posix/tst-waitid.c (do_test): Distinguish different instances of
35106         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
35107         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
35108         before entering the kernel for waitpid.
35110 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
35112         * NEWS: Fix note on clock function precision.  Text by Roland
35113         McGrath.
35115 2013-06-13  Roland McGrath  <roland@hack.frob.com>
35117         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
35118         it into place only when and if the sanity check passes.
35120 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
35122         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
35123         output for whether conversion result is exact.  Take argument
35124         indicating whether type is IBM long double.
35125         (round_for_all): Change need_exact field to ibm_ld.
35126         * stdlib/tst-strtod-round.c (struct exactness): New type.
35127         (struct test): Change bool ld_ok field to struct exactness exact.
35128         (TEST): Update all definitions for change to field.
35129         (tests): Regenerate array contents.
35130         (test_in_one_mode): Take pointer to new field instead of old ld_ok
35131         field value.  Check for IBM long double here.
35132         (do_test): Update calls to test_in_one_mode.
35134 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
35136         [BZ #12515]
35137         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
35138         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
35140 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35142         [BZ #15605]
35143         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
35144         generated by the compiler on loop optimizations.
35145         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
35146         general definitions.
35148 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
35150         * math/bug-nextafter.c: Include <math-tests.h>.
35151         (main): Only test for exceptions if EXCEPTION_TESTS is true for
35152         the relevant type.
35153         * math/bug-nexttoward.c: Include <math-tests.h>.
35154         (main): Only test for exceptions if EXCEPTION_TESTS is true for
35155         the relevant type.
35156         * math/test-misc.c: Include <math-tests.h>.
35157         (main): Only test for exceptions if EXCEPTION_TESTS is true for
35158         the relevant type.
35160 2013-06-12  Andreas Jaeger  <aj@suse.de>
35162         * po/ia.po: Update Interlingua translation from translation
35163         project.
35165 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
35167         * include/fenv.h: Include stdbool.h.
35168         (struct rm_ctx): New structure.
35169         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
35170         Define macro.
35171         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
35172         (SET_RESTORE_ROUNDF): Likewise.
35173         (SET_RESTORE_ROUNDL): Likewise.
35174         (SET_RESTORE_ROUND_NOEX): Likewise.
35175         (SET_RESTORE_ROUND_NOEXF): Likewise.
35176         (SET_RESTORE_ROUND_NOEXL): Likewise.
35177         (SET_RESTORE_ROUND_53BIT): Likewise.
35178         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
35179         (libc_feresetround_noexf_ctx): Likewise.
35180         (libc_feresetround_noexl_ctx): Likewise.
35181         (libc_feholdsetround_53bit_ctx): Likewise.
35182         (libc_feresetround_53bit_ctx): Likewise.
35183         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
35184         (libc_feholdexcept_setround_sse_ctx): New function.
35185         (libc_fesetenv_sse_ctx): Likewise.
35186         (libc_feupdateenv_sse_ctx): Likewise.
35187         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
35188         (libc_feholdexcept_setround_387_ctx): Likewise.
35189         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
35190         (libc_feholdsetround_387_prec_ctx): Likewise.
35191         (libc_feholdsetround_387_ctx): Likewise.
35192         (libc_feholdsetround_387_53bit_ctx): Likewise.
35193         (libc_feholdsetround_sse_ctx): Likewise.
35194         (libc_feresetround_sse_ctx): Likewise.
35195         (libc_feresetround_387_ctx): Likewise.
35196         (libc_feupdateenv_387_ctx): Likewise.
35197         (libc_feholdexcept_setroundf_ctx): Define macro.
35198         (libc_fesetenvf_ctx): Likewise.
35199         (libc_feupdateenvf_ctx): Likewise.
35200         (libc_feholdsetroundf_ctx): Likewise.
35201         (libc_feresetroundf_ctx): Likewise.
35202         (libc_feholdexcept_setround_ctx): Likewise.
35203         (libc_fesetenv_ctx): Likewise.
35204         (libc_feupdateenv_ctx): Likewise.
35205         (libc_feholdsetround_ctx): Likewise.
35206         (libc_feresetround_ctx): Likewise.
35207         (libc_feholdexcept_setroundl_ctx): Likewise.
35208         (libc_feupdateenvl_ctx): Likewise.
35209         (libc_feholdsetroundl_ctx): Likewise.
35210         (libc_feresetroundl_ctx): Likewise.
35211         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
35212         (libc_feresetround_53bit_ctx): Likewise.
35214 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
35216         * locale/iso-639.def: Convert to UTF-8.
35218 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
35220         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
35221         (EXCEPTION_TESTS_double): Likewise.
35222         (EXCEPTION_TESTS_long_double): Likewise.
35223         (EXCEPTION_TESTS): Likewise.
35224         * math/libm-test.inc (test_exceptions): Only test exceptions if
35225         EXCEPTION_TESTS (FLOAT).
35227 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
35229         * benchtests/Makefile (string-bench): Add strcpy_chk and
35230         stpcpy_chk.
35231         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
35232         * benchtests/bench-stpcpy_chk.c: New file.
35233         * benchtests/bench-strcpy_chk-ifunc.c: New file.
35234         * benchtests/bench-strcpy_chk.c: New file.
35235         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
35236         code.
35237         (do_test): Likewise.
35239 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
35241         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
35242         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
35243         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
35244         with tabs where appropriate.
35245         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
35246         dl-procinfo.h.
35247         [PPC_PLATFORM_PPC440]: Likewise.
35248         [PPC_PLATFORM_PPC464]: Likewise.
35249         [PPC_PLATFORM_PPC476]: Likewise.
35250         (_dl_string_platform): Add support for detecting ppc405, ppc440,
35251         ppc464, and ppc476 platform strings merging from ports/
35252         dl-procinfo.h.
35254 2013-06-11  Andreas Schwab  <schwab@suse.de>
35256         [BZ #14991]
35257         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
35258         (from_ucs4_idx): Regenerate.
35259         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
35260         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
35261         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
35262         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
35263         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
35264         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
35265         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
35266         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
35267         from FROM_LOOP and TO_LOOP specific macros.
35268         (BODY): Handle combining characters.
35269         * iconvdata/BIG5HKSCS.irreversible: Update.
35270         * iconvdata/BIG5HKSCS.precomposed: New file.
35271         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
35272         characters.
35273         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
35275 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
35277         * include/sys/time.h: Fix indentation and add copyright header.
35279         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
35280         (do_test): Likewise.
35281         * string/test-memchr.c (do_one_test): Likewise.
35282         (do_test): Likewise.
35283         * string/test-memcmp.c (do_one_test): Likewise.
35284         (do_test): Likewise.
35285         * string/test-memcpy.c (do_one_test): Likewise.
35286         (do_test): Likewise.
35287         * string/test-memmem.c (do_one_test): Likewise.
35288         (do_test): Likewise.
35289         (do_random_tests): Likewise.
35290         * string/test-memmove.c (do_one_test): Likewise.
35291         (do_test): Likewise.
35292         * string/test-memset.c (do_one_test): Likewise.
35293         (do_test): Likewise.
35294         * string/test-rawmemchr.c (do_one_test): Likewise.
35295         (do_test): Likewise.
35296         * string/test-strcasecmp.c (do_one_test): Likewise.
35297         (do_test): Likewise.
35298         * string/test-strcasestr.c (do_one_test): Likewise.
35299         (do_test): Likewise.
35300         * string/test-strcat.c (do_one_test): Likewise.
35301         (do_test): Likewise.
35302         * string/test-strchr.c (do_one_test): Likewise.
35303         (do_test): Likewise.
35304         * string/test-strcmp.c (do_one_test): Likewise.
35305         (do_test): Likewise.
35306         * string/test-strcpy.c (do_one_test): Likewise.
35307         (do_test): Likewise.
35308         * string/test-string.h: Likewise.
35309         (test_init): Likewise.
35310         * string/test-strlen.c (do_one_test): Likewise.
35311         (do_test): Likewise.
35312         * string/test-strncasecmp.c (do_one_test): Likewise.
35313         (do_test): Likewise.
35314         * string/test-strncat.c (do_one_test): Likewise.
35315         (do_test): Likewise.
35316         * string/test-strncmp.c (do_one_test): Likewise.
35317         (do_test_limit): Likewise.
35318         (do_test): Likewise.
35319         * string/test-strncpy.c (do_one_test): Likewise.
35320         (do_test): Likewise.
35321         * string/test-strnlen.c (do_one_test): Likewise.
35322         (do_test): Likewise.
35323         * string/test-strpbrk.c (do_one_test): Likewise.
35324         (do_test): Likewise.
35325         * string/test-strrchr.c (do_one_test): Likewise.
35326         (do_test): Likewise.
35327         * string/test-strspn.c (do_one_test): Likewise.
35328         (do_test): Likewise.
35329         * string/test-strstr.c (do_one_test): Likewise.
35330         (do_test): Likewise.
35332         * benchtests/Makefile (string-bench): Add string benchmarks.
35333         * benchtests/bench-bcopy-ifunc.c: New file.
35334         * benchtests/bench-bcopy.c: New file.
35335         * benchtests/bench-bzero-ifunc.c: New file.
35336         * benchtests/bench-bzero.c: New file.
35337         * benchtests/bench-memccpy-ifunc.c: New file.
35338         * benchtests/bench-memccpy.c: New file.
35339         * benchtests/bench-memchr-ifunc.c: New file.
35340         * benchtests/bench-memchr.c: New file.
35341         * benchtests/bench-memcmp-ifunc.c: New file.
35342         * benchtests/bench-memcmp.c: New file.
35343         * benchtests/bench-memmem-ifunc.c: New file.
35344         * benchtests/bench-memmem.c: New file.
35345         * benchtests/bench-memmove-ifunc.c: New file.
35346         * benchtests/bench-memmove.c: New file.
35347         * benchtests/bench-mempcpy-ifunc.c: New file.
35348         * benchtests/bench-mempcpy.c: New file.
35349         * benchtests/bench-memset-ifunc.c: New file.
35350         * benchtests/bench-memset.c: New file.
35351         * benchtests/bench-rawmemchr-ifunc.c: New file.
35352         * benchtests/bench-rawmemchr.c: New file.
35353         * benchtests/bench-stpcpy-ifunc.c: New file.
35354         * benchtests/bench-stpcpy.c: New file.
35355         * benchtests/bench-stpncpy-ifunc.c: New file.
35356         * benchtests/bench-stpncpy.c: New file.
35357         * benchtests/bench-strcasecmp-ifunc.c: New file.
35358         * benchtests/bench-strcasecmp.c: New file.
35359         * benchtests/bench-strcasestr-ifunc.c: New file.
35360         * benchtests/bench-strcasestr.c: New file.
35361         * benchtests/bench-strcat-ifunc.c: New file.
35362         * benchtests/bench-strcat.c: New file.
35363         * benchtests/bench-strchr-ifunc.c: New file.
35364         * benchtests/bench-strchr.c: New file.
35365         * benchtests/bench-strchrnul-ifunc.c: New file.
35366         * benchtests/bench-strchrnul.c: New file.
35367         * benchtests/bench-strcmp-ifunc.c: New file.
35368         * benchtests/bench-strcmp.c: New file.
35369         * benchtests/bench-strcpy-ifunc.c: New file.
35370         * benchtests/bench-strcpy.c: New file.
35371         * benchtests/bench-strcspn-ifunc.c: New file.
35372         * benchtests/bench-strcspn.c: New file.
35373         * benchtests/bench-strlen-ifunc.c: New file.
35374         * benchtests/bench-strlen.c: New file.
35375         * benchtests/bench-strncasecmp-ifunc.c: New file.
35376         * benchtests/bench-strncasecmp.c: New file.
35377         * benchtests/bench-strncat-ifunc.c: New file.
35378         * benchtests/bench-strncat.c: New file.
35379         * benchtests/bench-strncmp-ifunc.c: New file.
35380         * benchtests/bench-strncmp.c: New file.
35381         * benchtests/bench-strncpy-ifunc.c: New file.
35382         * benchtests/bench-strncpy.c: New file.
35383         * benchtests/bench-strnlen-ifunc.c: New file.
35384         * benchtests/bench-strnlen.c: New file.
35385         * benchtests/bench-strpbrk-ifunc.c: New file.
35386         * benchtests/bench-strpbrk.c: New file.
35387         * benchtests/bench-strrchr-ifunc.c: New file.
35388         * benchtests/bench-strrchr.c: New file.
35389         * benchtests/bench-strspn-ifunc.c: New file.
35390         * benchtests/bench-strspn.c: New file.
35391         * benchtests/bench-strstr-ifunc.c: New file.
35392         * benchtests/bench-strstr.c: New file.
35394         * benchtests/Makefile: Disable parallel execution of targets.
35395         (string-bench): Add memcpy.
35396         (benchset): New variable to store a list of benchmark sets.
35397         (bench-func): Renamed from bench.
35398         (bench-set): New target.
35399         (bench): Depend on bench-func and bench-set.
35400         * benchtests/README: Add section on benchmark sets.
35401         * benchtests/bench-memcpy-ifunc.c: New file.
35402         * benchtests/bench-memcpy.c: New file.
35403         * benchtests/bench-string.h: New file.
35405 2013-06-11  Andreas Schwab  <schwab@suse.de>
35407         [BZ #15577]
35408         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
35409         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
35410         values in the triple.
35411         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
35412         terminator in the group key.
35414 2013-06-11  Andreas Jaeger  <aj@suse.de>
35416         * po/zh_TW.po: Update Chinese (traditional) translation from
35417         translation project.
35419 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
35421         * include/time.h (__clock_gettime): Add libc_hidden_proto.
35422         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
35423         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
35424         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
35425         (clock_getcpuclockid): Likewise.
35426         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
35427         Add weak_alias and libc_hidden_def.
35428         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
35429         * rt/clock_gettime.c (clock_gettime): Rename to
35430         __clock_gettime.  Add weak_alias and libc_hidden_def.
35431         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
35432         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
35433         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
35434         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
35435         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
35436         Likewise.
35437         * rt/clock_settime.c (clock_settime): Rename to
35438         __clock_settime.  Add weak_alias and libc_hidden_def.
35439         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
35441 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
35443         * mach/err_boot.sub: Remove trailing whitespace.
35444         * mach/err_ipc.sub: Likewise.
35445         * mach/err_mach.sub: Likewise.
35447         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
35448         (ROUNDING_TESTS_double): Likewise.
35449         (ROUNDING_TESTS_long_double): Likewise.
35450         (ROUNDING_TESTS): Likewise.
35451         * math/libm-test.inc: Include <math-tests.h>.
35452         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
35453         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
35454         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
35455         (IF_ROUND_INIT_FE_UPWARD): Likewise.
35457 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
35459         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
35460         of assigning.
35462 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
35464         * sysdeps/gnu/errlist.awk: Do not generate space at end of
35465         otherwise empty TRANS lines.
35466         * sysdeps/gnu/errlist.c: Regenerated.
35468         * catgets/gencat.c (error_print): Use (void) in function
35469         definition.
35470         * crypt/crypt_util.c (__init_des): Likewise.
35471         * crypt/speeds.c (Stop): Likewise.
35472         (main): Likewise.
35473         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
35474         * inet/ruserpass.c (token): Likewise.
35475         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
35476         * intl/localealias.c (extend_alias_table): Likewise.
35477         * intl/plural-exp.c (init_germanic_plural): Likewise.
35478         * libio/fcloseall.c (__fcloseall): Likewise.
35479         * libio/genops.c (_IO_flush_all): Likewise.
35480         (_IO_flush_all_linebuffered): Likewise.
35481         (_IO_cleanup): Likewise.
35482         (_IO_iter_begin): Likewise.
35483         (_IO_iter_end): Likewise.
35484         (_IO_list_lock): Likewise.
35485         (_IO_list_unlock): Likewise.
35486         (_IO_list_resetlock): Likewise.
35487         * libio/getchar.c (getchar): Likewise.
35488         * libio/getchar_u.c (getchar_unlocked): Likewise.
35489         * libio/getwchar.c (getwchar): Likewise.
35490         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
35491         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
35492         * login/getpt.c (__getpt): Likewise.
35493         * login/tst-utmp.c (main): Likewise.
35494         * malloc/hooks.c (__malloc_check_init): Likewise.
35495         * malloc/malloc.c (__malloc_stats): Likewise.
35496         * malloc/mtrace.c (tr_break): Likewise.
35497         (mtrace): Likewise.
35498         (muntrace): Likewise.
35499         * misc/fstab.c (endfsent): Likewise.
35500         * misc/getclktck.c (__getclktck): Likewise.
35501         * misc/getdtsz.c (__getdtablesize): Likewise.
35502         * misc/gethostid.c (gethostid): Likewise.
35503         * misc/getpagesize.c (__getpagesize): Likewise.
35504         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
35505         (__get_nprocs): Likewise.
35506         (__get_phys_pages): Likewise.
35507         (__get_avphys_pages): Likewise.
35508         * misc/getttyent.c (getttyent): Likewise.
35509         (setttyent): Likewise.
35510         (endttyent): Likewise.
35511         * misc/getusershell.c (getusershell): Likewise.
35512         (endusershell): Likewise.
35513         (setusershell): Likewise.
35514         (initshells): Likewise.
35515         * misc/hsearch.c (__hdestroy): Likewise.
35516         * misc/sync.c (sync): Likewise.
35517         * misc/syslog.c (closelog_internal): Likewise.
35518         (closelog): Likewise.
35519         * misc/ttyslot.c (ttyslot): Likewise.
35520         * misc/vhangup.c (vhangup): Likewise.
35521         * posix/fork.c (__fork): Likewise.
35522         * posix/getegid.c (__getegid): Likewise.
35523         * posix/geteuid.c (__geteuid): Likewise.
35524         * posix/getgid.c (__getgid): Likewise.
35525         * posix/getpid.c (__getpid): Likewise.
35526         * posix/getppid.c (__getppid): Likewise.
35527         * posix/getuid.c (__getuid): Likewise.
35528         * posix/pause.c (pause): Likewise.
35529         * posix/setpgrp.c (setpgrp): Likewise.
35530         * posix/setsid.c (__setsid): Likewise.
35531         * posix/test-vfork.c (noop): Likewise.
35532         * resolv/gethnamaddr.c (_endhtent): Likewise.
35533         (_gethtent): Likewise.
35534         (ht_endhostent): Likewise.
35535         (gethostent): Likewise.
35536         (dns_service): Likewise.
35537         * stdlib/drand48.c (drand48): Likewise.
35538         * stdlib/lrand48.c (lrand48): Likewise.
35539         * stdlib/mrand48.c (mrand48): Likewise.
35540         * stdlib/rand.c (rand): Likewise.
35541         * stdlib/random.c (__random): Likewise.
35542         * stdlib/setenv.c (clearenv): Likewise.
35543         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
35544         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
35545         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
35546         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
35547         (__get_nprocs): Likewise.
35548         (__get_phys_pages): Likewise.
35549         (__get_avphys_pages): Likewise.
35550         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
35551         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
35552         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
35553         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
35554         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
35555         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
35556         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
35557         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
35558         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
35559         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
35560         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
35561         * sysdeps/mach/hurd/sync.c (sync): Likewise.
35562         * sysdeps/posix/clock.c (clock): Likewise.
35563         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
35564         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
35565         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
35566         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
35567         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
35568         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
35569         (__get_nprocs_conf): Likewise.
35570         (__get_phys_pages): Likewise.
35571         (__get_avphys_pages): Likewise.
35572         * time/clock.c (clock): Likewise.
35573         * time/tzset.c (__tzname_max): Likewise.
35575 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
35577         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
35578         (__bswap_32): Do not use "register".
35579         * crypt/crypt.c (_ufc_doit_r): Likewise.
35580         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
35581         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
35582         * gmon/gmon.c (__monstartup): Likewise.
35583         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
35584         * hurd/hurdmalloc.c (more_memory): Likewise.
35585         (malloc): Likewise.
35586         (free): Likewise.
35587         (realloc): Likewise.
35588         (malloc_fork_prepare): Likewise.
35589         (malloc_fork_parent): Likewise.
35590         (malloc_fork_child): Likewise.
35591         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
35592         (_svcauth_des): Likewise.
35593         * inet/inet_lnaof.c (inet_lnaof): Likewise.
35594         * inet/inet_net.c (inet_network): Likewise.
35595         * inet/inet_netof.c (inet_netof): Likewise.
35596         * inet/rcmd.c (__validuser2_sa): Likewise.
35597         * io/fts.c (fts_open): Likewise.
35598         (fts_load): Likewise.
35599         (fts_close): Likewise.
35600         (fts_read): Likewise.
35601         (fts_children): Likewise.
35602         (fts_build): Likewise.
35603         (fts_stat): Likewise.
35604         (fts_sort): Likewise.
35605         (fts_alloc): Likewise.
35606         (fts_lfree): Likewise.
35607         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
35608         (_IO_file_xsgetn): Likewise.
35609         (_IO_file_xsgetn_mmap): Likewise.
35610         * libio/iofopncook.c (_IO_cookie_read): Likewise.
35611         (_IO_cookie_write): Likewise.
35612         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
35613         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
35614         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
35615         * malloc/obstack.c (_obstack_begin): Likewise.
35616         (_obstack_begin_1): Likewise.
35617         (_obstack_newchunk): Likewise.
35618         (_obstack_allocated_p): Likewise.
35619         (obstack_free): Likewise.
35620         (_obstack_memory_used): Likewise.
35621         * misc/getttyent.c (getttynam): Likewise.
35622         (getttyent): Likewise.
35623         (skip): Likewise.
35624         (value): Likewise.
35625         * misc/getusershell.c (initshells): Likewise.
35626         * misc/syslog.c (__vsyslog_chk): Likewise.
35627         * misc/ttyslot.c (ttyslot): Likewise.
35628         * nis/nis_hash.c (__nis_hash): Likewise.
35629         * posix/fnmatch_loop.c (FCT): Likewise.
35630         * posix/getconf.c (print_all): Likewise.
35631         (main): Likewise.
35632         * posix/getopt.c (exchange): Likewise.
35633         * posix/glob.c (globfree): Likewise.
35634         (prefix_array): Likewise.
35635         (__glob_pattern_type): Likewise.
35636         * resolv/arpa/nameser.h (NS_GET16): Likewise.
35637         (NS_GET32): Likewise.
35638         (NS_PUT16): Likewise.
35639         (NS_PUT32): Likewise.
35640         * resolv/gethnamaddr.c (getanswer): Likewise.
35641         (gethostbyname2): Likewise.
35642         (gethostbyaddr): Likewise.
35643         (_gethtent): Likewise.
35644         (_gethtbyname2): Likewise.
35645         (_gethtbyaddr): Likewise.
35646         * resolv/ns_print.c (dst_s_get_int16): Likewise.
35647         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
35648         * resolv/res_init.c (__res_vinit): Likewise.
35649         (net_mask): Likewise.
35650         * resolv/res_mkquery.c (outchar): Likewise.
35651         (PRINT): Likewise.
35652         * stdio-common/printf_fp.c (outchar): Likewise.
35653         (PRINT): Likewise.
35654         * stdio-common/printf_fphex.c (outchar): Likewise.
35655         (PRINT): Likewise.
35656         * stdio-common/printf_size.c (outchar): Likewise.
35657         (PRINT): Likewise.
35658         * stdio-common/test_rdwr.c (main): Likewise.
35659         * stdio-common/tfformat.c (matches): Likewise.
35660         * stdio-common/vfprintf.c (outchar): Likewise.
35661         (printf_unknown): Likewise.
35662         (buffered_vfprintf): Likewise.
35663         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
35664         * stdio-common/xbug.c (AppendToBuffer): Likewise.
35665         (ReadFile): Likewise.
35666         * stdlib/qsort.c (SWAP): Likewise.
35667         (_quicksort): Likewise.
35668         * stdlib/setenv.c (__add_to_environ): Likewise.
35669         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
35670         * stdlib/strtol_l.c (__strtol_l): Likewise.
35671         * stdlib/tst-strtod.c (main): Likewise.
35672         * stdlib/tst-strtol.c (main): Likewise.
35673         * stdlib/tst-strtoll.c (main): Likewise.
35674         * string/bits/string2.h (__strcmp_cc): Likewise.
35675         (__strcmp_cg): Likewise.
35676         (__strcspn_c1): Likewise.
35677         (__strcspn_c2): Likewise.
35678         (__strcspn_c3): Likewise.
35679         (__strspn_c1): Likewise.
35680         (__strspn_c2): Likewise.
35681         (__strspn_c3): Likewise.
35682         (__strsep_1c): Likewise.
35683         (__strsep_2c): Likewise.
35684         (__strsep_3c): Likewise.
35685         * string/memccpy.c (__memccpy): Likewise.
35686         * string/stpcpy.c (__stpcpy): Likewise.
35687         * string/strcmp.c (strcmp): Likewise.
35688         * string/strrchr.c (strrchr): Likewise.
35689         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
35690         Likewise.
35691         * sysdeps/mach/hurd/getcwd.c
35692         (_hurd_canonicalize_directory_name_internal): Likewise.
35693         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
35694         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
35695         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
35696         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
35697         Likewise, in both definitions.
35698         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
35699         definitions.
35700         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
35701         64] (__bswap_64): Likewise.
35702         * time/test_time.c (main): Likewise.
35703         * time/tzfile.c (__tzfile_read): Likewise.
35704         (__tzfile_compute): Likewise.
35705         * time/tzset.c (__tzset_parse_tz): Likewise.
35706         (tzset_internal): Likewise.
35707         (compute_change): Likewise.
35708         * wcsmbs/wcscat.c (__wcscat): Likewise.
35709         * wcsmbs/wcschr.c (wcschr): Likewise.
35710         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
35711         * wcsmbs/wcscspn.c (wcscspn): Likewise.
35712         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
35713         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
35714         * wcsmbs/wcsspn.c (wcsspn): Likewise.
35715         * wcsmbs/wcsstr.c (wcsstr): Likewise.
35716         * wcsmbs/wmemchr.c (wmemchr): Likewise.
35717         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
35718         * wcsmbs/wmemset.c (wmemset): Likewise.
35720 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
35722         * scripts/config.guess: Update to version 2013-05-16.
35723         * scripts/config.sub: Update to version 2013-04-24.
35724         * scripts/install-sh: Update to version 2011-11-20.07.
35725         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
35726         * scripts/move-if-change: Update to version 2012-01-06 07:23.
35728 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
35730         * debug/fgetws_u_chk.c: Fix leading whitespaces.
35731         * elf/sln.c: Likewise.
35732         * hurd/hurd/ioctl.h: Likewise.
35733         * hurd/hurdmalloc.c: Likewise.
35734         * hurd/xattr.c: Likewise.
35735         * include/shlib-compat.h: Likewise.
35736         * inet/ruserpass.c: Likewise.
35737         * libio/iofgets_u.c: Likewise.
35738         * libio/iofgetws_u.c: Likewise.
35739         * locale/programs/ld-identification.c: Likewise.
35740         * locale/programs/ld-time.c: Likewise.
35741         * mach/msg-destroy.c: Likewise.
35742         * nss/nss_files/files-netgrp.c: Likewise.
35743         * resolv/res_data.c: Likewise.
35744         * soft-fp/op-1.h: Likewise.
35745         * soft-fp/op-2.h: Likewise.
35746         * soft-fp/op-4.h: Likewise.
35747         * soft-fp/op-common.h: Likewise.
35748         * stdio-common/printf_fphex.c: Likewise.
35749         * stdlib/strtod_l.c: Likewise.
35750         * sunrpc/rpc/clnt.h: Likewise.
35751         * sysdeps/generic/framestate.c: Likewise.
35752         * sysdeps/i386/bsd-_setjmp.S: Likewise.
35753         * sysdeps/i386/bsd-setjmp.S: Likewise.
35754         * sysdeps/i386/__longjmp.S: Likewise.
35755         * sysdeps/i386/setjmp.S: Likewise.
35756         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
35757         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
35758         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35759         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
35760         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
35761         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
35762         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
35763         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
35764         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
35765         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
35766         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
35767         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
35768         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
35769         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
35770         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
35771         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
35772         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
35773         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
35774         * sysdeps/ieee754/support.c: Likewise.
35775         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
35776         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
35777         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
35778         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
35779         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
35780         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
35781         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
35782         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
35783         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
35784         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
35785         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
35786         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
35787         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
35788         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
35789         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
35790         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
35791         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
35792         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
35794 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
35796         * posix/transbug.c: Remove executable mode.
35798 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
35800         * crypt/speeds.c: Remove trailing whitespace.
35801         * dlfcn/default.c: Likewise.
35802         * elf/ifuncdep2.c: Likewise.
35803         * elf/ifuncmain1.c: Likewise.
35804         * elf/ifuncmain1vis.c: Likewise.
35805         * elf/testobj.h: Likewise.
35806         * elf/tst-stackguard1.c: Likewise.
35807         * gmon/sys/gmon.h: Likewise.
35808         * hurd/hurdmsg.c: Likewise.
35809         * hurd/new-fd.c: Likewise.
35810         * hurd/ports-get.c: Likewise.
35811         * iconvdata/ibm1008_420.c: Likewise.
35812         * inet/tst-getni1.c: Likewise.
35813         * inet/tst-getni2.c: Likewise.
35814         * libio/ioungetc.c: Likewise.
35815         * libio/wfiledoalloc.c: Likewise.
35816         * manual/libm-err-tab.pl: Likewise.
35817         * math/w_dremf.c: Likewise.
35818         * misc/ftruncate.c: Likewise.
35819         * posix/bug-glob2.c: Likewise.
35820         * posix/tst-pcre.c: Likewise.
35821         * posix/wait4.c: Likewise.
35822         * resolv/README: Likewise.
35823         * resolv/res_debug.h: Likewise.
35824         * resolv/tst-inet_ntop.c: Likewise.
35825         * setjmp/bug269-setjmp.c: Likewise.
35826         * soft-fp/extended.h: Likewise.
35827         * soft-fp/op-1.h: Likewise.
35828         * soft-fp/op-2.h: Likewise.
35829         * soft-fp/op-4.h: Likewise.
35830         * soft-fp/op-8.h: Likewise.
35831         * soft-fp/testit.c: Likewise.
35832         * stdio-common/bug16.c: Likewise.
35833         * stdlib/random.c: Likewise.
35834         * sunrpc/rpcsvc/rquota.x: Likewise.
35835         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
35836         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
35837         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35838         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
35839         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
35840         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
35841         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
35842         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
35843         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
35844         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
35845         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
35846         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
35847         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
35848         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
35849         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
35850         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
35851         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
35852         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
35853         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
35854         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35855         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
35856         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
35857         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
35858         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
35859         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
35860         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
35861         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
35862         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
35863         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
35864         * sysdeps/ieee754/s_lib_version.c: Likewise.
35865         * sysdeps/mach/hurd/check_fds.c: Likewise.
35866         * sysdeps/mach/hurd/getsockname.c: Likewise.
35867         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
35868         * sysdeps/mach/hurd/recvfrom.c: Likewise.
35869         * sysdeps/powerpc/bits/link.h: Likewise.
35870         * sysdeps/powerpc/dl-procinfo.c: Likewise.
35871         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
35872         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
35873         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
35874         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
35875         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
35876         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
35877         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
35878         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
35879         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
35880         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
35881         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
35882         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
35883         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
35884         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
35885         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
35886         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
35887         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
35888         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
35889         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
35890         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
35891         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
35892         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
35893         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
35894         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
35895         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
35896         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
35897         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
35898         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
35899         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
35900         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
35901         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
35902         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
35903         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
35904         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
35905         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
35906         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
35907         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
35908         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
35909         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
35910         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
35911         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
35912         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
35913         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
35914         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
35915         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
35916         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
35917         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
35918         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
35919         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
35920         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
35921         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
35922         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
35923         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
35924         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
35925         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
35926         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
35927         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
35928         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
35929         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
35930         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
35931         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
35932         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
35933         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
35934         * sysdeps/powerpc/sysdep.h: Likewise.
35935         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
35936         * sysdeps/s390/s390-64/sub_n.S: Likewise.
35937         * sysdeps/sh/dl-trampoline.S: Likewise.
35938         * sysdeps/sh/memset.S: Likewise.
35939         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
35940         * sysdeps/sh/strlen.S: Likewise.
35941         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
35942         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
35943         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
35944         * sysdeps/sparc/sparc32/rem.S: Likewise.
35945         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
35946         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
35947         * sysdeps/sparc/sparc32/strchr.S: Likewise.
35948         * sysdeps/sparc/sparc32/udiv.S: Likewise.
35949         * sysdeps/sparc/sparc32/urem.S: Likewise.
35950         * sysdeps/sparc/sparc64/add_n.S: Likewise.
35951         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
35952         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
35953         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
35954         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
35955         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
35956         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
35957         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
35958         * sysdeps/unix/bsd/times.c: Likewise.
35959         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
35960         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
35961         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
35962         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
35963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
35964         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
35965         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
35966         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
35967         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
35968         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
35969         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
35970         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
35971         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
35972         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
35973         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
35974         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
35975         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
35976         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
35977         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
35978         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
35979         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
35980         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
35981         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
35982         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
35983         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
35984         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
35985         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
35986         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
35987         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
35988         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
35989         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
35990         * sysdeps/x86_64/strcspn.S: Likewise.
35992 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
35994         * locale/C-translit.h: Revert #include <stdint.h> because this is a
35995         generated file.  Regenerate properly from gen-translit.pl.
35996         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
35997         locale/C-translit.h.
35999 2013-06-05  Andreas Schwab  <schwab@suse.de>
36001         [BZ #15100]
36002         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
36003         week as 6 instead of -1.
36004         * time/tst-strptime.c (day_tests): Add test case.
36006 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
36008         * sysdeps/generic/math_private.h
36009         (libc_feholdexcept_setround_53bit): Replace with
36010         libc_feholdsetround_53bit.
36011         (libc_feupdateenv_53bit): Replace with
36012         libc_feresetround_53bit.
36013         (SET_RESTORE_ROUND_53BIT): Adjust.
36015 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
36017         * string/test-strchrnul.c: Add copyright header.
36019         * posix/tst-getaddrinfo4.c: Increase test timeout.
36021 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
36023         [BZ #15536]
36024         * math/libm-test.inc (MAX_EXP): Remove
36025         (MIN_EXP): Define.
36026         (ulp): Use MIN_EXP - MANT_DIG.
36027         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
36029 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
36031         * po/be.po: Revert last change.
36032         * po/zh_CN.po: Likewise.
36033         * po/header.pot: Likewise.
36035 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
36037         * Makefile ($(common-objpfx)linkobj/libc.so): Define
36038         link-libc-deps to empty as target-specific variable.
36039         * Makerules (link-libc-args): New variable.
36040         (libc-for-link): Likewise.
36041         (link-libc-deps): Likewise.
36042         (lib%.so): Depend on $(link-libc-deps).  Link with
36043         $(link-libc-args).
36044         (build-module): Link with $(link-libc-args).
36045         (build-module-asneeded): Likewise.
36046         (build-module-helper-objlist): Filter out $(link-libc-deps) from
36047         list of objects.
36048         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
36049         target-specific variable.
36050         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
36051         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
36052         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
36053         libc.
36054         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
36055         libc and ld.so.
36056         ($(objpfx)libpcprofile.so): Likewise.
36057         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
36058         libc_nonshared.a.
36059         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
36060         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
36061         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
36062         $(link-libc-deps).
36063         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
36064         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
36065         * login/Makefile ($(objpfx)libutil.so): Likewise.
36066         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
36067         * math/Makefile ($(objpfx)libm.so): Likewise.
36068         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
36069         $(objpfx)libnsl.so): Define libc-for-link as target-specific
36070         variable instead of depending directly on libc.
36071         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
36072         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
36073         $(link-libc-deps).
36074         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
36075         libc.
36076         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
36077         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
36078         ($(objpfx)libanl.so): Likewise.
36079         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
36080         ld.so.
36081         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
36082         $(link-libc-deps).
36083         * sysdeps/i386/fpu/Makefile: Remove file.
36084         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
36085         ($(objpfx)libm.so): Remove dependency on ld.so.
36087 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
36089         [BZ # 15553]
36090         * nis/yp_xdr.c (XDRMAXNAME): Define.
36091         (XDRMAXRECORD): Define.
36092         (xdr_domainname): Use XDRMAXNAME.
36093         (xdr_mapname): Likewise.
36094         (xdr_peername): Likewise.
36095         (xdr_keydat): Use XDRMAXRECORD.
36096         (xdr_valdat): Likewise.
36098 2013-05-30  Jeff Law  <law@redhat.com>
36100         [BZ #14256]
36101         * manual/errno.texi (ESTALE): Update to account for more than
36102         just NFS file systems.
36103         * sysdeps/gnu/errlist.c: Regenerated.
36105 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
36107         [BZ #15465]
36108         * elf/Makefile (tests): Add tst-null-argv.
36109         (modules-names):  Add tst-null-argv-lib.
36110         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
36111         (tst-null-argv-ENV): Set environment for tst-null-argv.
36112         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
36113         (RTLD_PROGNAME): New macro.
36114         * elf/tst-null-argv.c: New test case.
36115         * elf/tst-null-argv-lib.c: Library for test case.
36116         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
36117         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
36118         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
36119         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
36120         * elf/dl-init.c (call_init): Likewise.
36121         (_dl_init): Likewise.
36122         * elf/dl-load.c (print_search_path): Likewise.
36123         (_dl_map_object): Likewise.
36124         * elf/dl-lookup.c (do_lookup_x): Likewise.
36125         (add_dependency): Likewise.
36126         (_dl_lookup_symbol_x): Likewise.
36127         (_dl_debug_bindings): Likewise.
36128         * elf/dl-open.c (_dl_show_scope): Likewise.
36129         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
36130         * elf/dl-version.c (match_symbol): Likewise.
36131         (_dl_check_map_versions): Likewise.
36132         * elf/rtld.c (dl_main): Likewise.
36133         (print_unresolved): Use RTLD_PROGNAME.
36134         (print_missing_version): Likewise.
36135         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
36136         (elf_machine_rela): Likewise.
36137         * sysdeps/powerpc/powerpc32/dl-machine.c
36138         (__process_machine_rela): Likewise.
36139         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
36140         Likewise.
36141         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
36142         Likewise.
36143         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
36144         Likewise.
36145         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
36146         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
36147         Likewise.
36148         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
36149         Likewise.
36150         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
36152 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
36154         * po/be.po: Add descriptive title.
36155         * po/zh_CN.po: Likewise.
36156         * po/header.pot: Likewise.
36158 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
36160         * locale/programs/locarchive.c (create_archive): Inlucde fname in
36161         error message.
36162         (enlarge_archive): Likewise.
36164 2013-05-28  Ben North  <ben@redfrontdoor.org>
36166         * manual/arith.texi (frexp): It is the magnitude of the return
36167         value which lies in [0.5, 1), not the return value itself.
36169 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36171         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36173 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
36175         * stdio-common/bug26.c (main): Correct fscanf template.
36177         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
36178         declare _dl_skip_args.
36180         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
36181         Don't declare.
36183         * manual/platform.texi: Add missing @end deftypefun.
36185 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
36187         [BZ #15529]
36188         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
36189         bit of mantissa of 2^16382.
36190         * math/libm-test.inc (hypot_test_data): Add more tests.
36192         * math/libm-test.inc: Add drem and pow10 to list of tested
36193         functions.
36194         (pow10_test): New function.
36195         (drem_test): Likewise.
36196         (drem_test_tonearest): Likewise.
36197         (drem_test_towardzero): Likewise.
36198         (drem_test_downward): Likewise.
36199         (drem_test_upward): Likewise.
36200         (main): Call the new functions.
36202         * math/libm-test.inc (finite_test_data): Remove.
36203         (finite_test): Run tests from isfinite_test_data.
36204         (gamma_test_data): Remove.
36205         (gamma_test): Run tests from lgamma_test_data.
36206         * sysdeps/i386/fpu/libm-test-ulps: Update.
36207         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36209 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36211         * manual/platform.texi: Add PowerPC PPR function set documentation.
36212         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
36213         implementation.
36215 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
36217         * math/libm-test.inc (MAX_EXP): Define.
36218         (ULPDIFF): Define.
36219         (ulp): New function.
36220         (check_float_internal): Use ULPDIFF.
36221         (cpow_test): Disable failing test.
36222         (check_ulp): Test ulp() implemetnation.
36223         (main): Call check_ulp before starting tests.
36225 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
36227         * math/gen-libm-test.pl (generate_testfile): Do not handle
36228         START_DATA and END_DATA.
36229         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
36230         END_DATA.
36231         (acos_tonearest_test_data): Likewise.
36232         (acos_towardzero_test_data): Likewise.
36233         (acos_downward_test_data): Likewise.
36234         (acos_upward_test_data): Likewise.
36235         (acosh_test_data): Likewise.
36236         (asin_test_data): Likewise.
36237         (asin_tonearest_test_data): Likewise.
36238         (asin_towardzero_test_data): Likewise.
36239         (asin_downward_test_data): Likewise.
36240         (asin_upward_test_data): Likewise.
36241         (asinh_test_data): Likewise.
36242         (atan_test_data): Likewise.
36243         (atanh_test_data): Likewise.
36244         (atan2_test_data): Likewise.
36245         (cabs_test_data): Likewise.
36246         (cacos_test_data): Likewise.
36247         (cacosh_test_data): Likewise.
36248         (carg_test_data): Likewise.
36249         (casin_test_data): Likewise.
36250         (casinh_test_data): Likewise.
36251         (catan_test_data): Likewise.
36252         (catanh_test_data): Likewise.
36253         (cbrt_test_data): Likewise.
36254         (ccos_test_data): Likewise.
36255         (ccosh_test_data): Likewise.
36256         (ceil_test_data): Likewise.
36257         (cexp_test_data): Likewise.
36258         (cimag_test_data): Likewise.
36259         (clog_test_data): Likewise.
36260         (clog10_test_data): Likewise.
36261         (conj_test_data): Likewise.
36262         (copysign_test_data): Likewise.
36263         (cos_test_data): Likewise.
36264         (cos_tonearest_test_data): Likewise.
36265         (cos_towardzero_test_data): Likewise.
36266         (cos_downward_test_data): Likewise.
36267         (cos_upward_test_data): Likewise.
36268         (cosh_test_data): Likewise.
36269         (cosh_tonearest_test_data): Likewise.
36270         (cosh_towardzero_test_data): Likewise.
36271         (cosh_downward_test_data): Likewise.
36272         (cosh_upward_test_data): Likewise.
36273         (cpow_test_data): Likewise.
36274         (cproj_test_data): Likewise.
36275         (creal_test_data): Likewise.
36276         (csin_test_data): Likewise.
36277         (csinh_test_data): Likewise.
36278         (csqrt_test_data): Likewise.
36279         (ctan_test_data): Likewise.
36280         (ctan_tonearest_test_data): Likewise.
36281         (ctan_towardzero_test_data): Likewise.
36282         (ctan_downward_test_data): Likewise.
36283         (ctan_upward_test_data): Likewise.
36284         (ctanh_test_data): Likewise.
36285         (ctanh_tonearest_test_data): Likewise.
36286         (ctanh_towardzero_test_data): Likewise.
36287         (ctanh_downward_test_data): Likewise.
36288         (ctanh_upward_test_data): Likewise.
36289         (erf_test_data): Likewise.
36290         (erfc_test_data): Likewise.
36291         (exp_test_data): Likewise.
36292         (exp_tonearest_test_data): Likewise.
36293         (exp_towardzero_test_data): Likewise.
36294         (exp_downward_test_data): Likewise.
36295         (exp_upward_test_data): Likewise.
36296         (exp10_test_data): Likewise.
36297         (exp2_test_data): Likewise.
36298         (expm1_test_data): Likewise.
36299         (fabs_test_data): Likewise.
36300         (fdim_test_data): Likewise.
36301         (finite_test_data): Likewise.
36302         (floor_test_data): Likewise.
36303         (fma_test_data): Likewise.
36304         (fma_towardzero_test_data): Likewise.
36305         (fma_downward_test_data): Likewise.
36306         (fma_upward_test_data): Likewise.
36307         (fmax_test_data): Likewise.
36308         (fmin_test_data): Likewise.
36309         (fmod_test_data): Likewise.
36310         (fpclassify_test_data): Likewise.
36311         (frexp_test_data): Likewise.
36312         (gamma_test_data): Likewise.
36313         (hypot_test_data): Likewise.
36314         (ilogb_test_data): Likewise.
36315         (isfinite_test_data): Likewise.
36316         (isgreater_test_data): Likewise.
36317         (isgreaterequal_test_data): Likewise.
36318         (isinf_test_data): Likewise.
36319         (isless_test_data): Likewise.
36320         (islessequal_test_data): Likewise.
36321         (islessgreater_test_data): Likewise.
36322         (isnan_test_data): Likewise.
36323         (isnormal_test_data): Likewise.
36324         (issignaling_test_data): Likewise.
36325         (isunordered_test_data): Likewise.
36326         (j0_test_data): Likewise.
36327         (j1_test_data): Likewise.
36328         (jn_test_data): Likewise.
36329         (ldexp_test_data): Likewise.
36330         (lgamma_test_data): Likewise.
36331         (lrint_test_data): Likewise.
36332         (lrint_tonearest_test_data): Likewise.
36333         (lrint_towardzero_test_data): Likewise.
36334         (lrint_downward_test_data): Likewise.
36335         (lrint_upward_test_data): Likewise.
36336         (llrint_test_data): Likewise.
36337         (llrint_tonearest_test_data): Likewise.
36338         (llrint_towardzero_test_data): Likewise.
36339         (llrint_downward_test_data): Likewise.
36340         (llrint_upward_test_data): Likewise.
36341         (log_test_data): Likewise.
36342         (log10_test_data): Likewise.
36343         (log1p_test_data): Likewise.
36344         (log2_test_data): Likewise.
36345         (logb_test_data): Likewise.
36346         (logb_downward_test_data): Likewise.
36347         (lround_test_data): Likewise.
36348         (llround_test_data): Likewise.
36349         (modf_test_data): Likewise.
36350         (nearbyint_test_data): Likewise.
36351         (nextafter_test_data): Likewise.
36352         (nexttoward_test_data): Likewise.
36353         (pow_test_data): Likewise.
36354         (pow_tonearest_test_data): Likewise.
36355         (pow_towardzero_test_data): Likewise.
36356         (pow_downward_test_data): Likewise.
36357         (pow_upward_test_data): Likewise.
36358         (remainder_test_data): Likewise.
36359         (remainder_tonearest_test_data): Likewise.
36360         (remainder_towardzero_test_data): Likewise.
36361         (remainder_downward_test_data): Likewise.
36362         (remainder_upward_test_data): Likewise.
36363         (remquo_test_data): Likewise.
36364         (rint_test_data): Likewise.
36365         (rint_tonearest_test_data): Likewise.
36366         (rint_towardzero_test_data): Likewise.
36367         (rint_downward_test_data): Likewise.
36368         (rint_upward_test_data): Likewise.
36369         (round_test_data): Likewise.
36370         (scalb_test_data): Likewise.
36371         (scalbn_test_data): Likewise.
36372         (scalbln_test_data): Likewise.
36373         (signbit_test_data): Likewise.
36374         (sin_test_data): Likewise.
36375         (sin_tonearest_test_data): Likewise.
36376         (sin_towardzero_test_data): Likewise.
36377         (sin_downward_test_data): Likewise.
36378         (sin_upward_test_data): Likewise.
36379         (sincos_test_data): Likewise.
36380         (sinh_test_data): Likewise.
36381         (sinh_tonearest_test_data): Likewise.
36382         (sinh_towardzero_test_data): Likewise.
36383         (sinh_downward_test_data): Likewise.
36384         (sinh_upward_test_data): Likewise.
36385         (sqrt_test_data): Likewise.
36386         (tan_test_data): Likewise.
36387         (tan_tonearest_test_data): Likewise.
36388         (tan_towardzero_test_data): Likewise.
36389         (tan_downward_test_data): Likewise.
36390         (tan_upward_test_data): Likewise.
36391         (tanh_test_data): Likewise.
36392         (tgamma_test_data): Likewise.
36393         (trunc_test_data): Likewise.
36394         (y0_test_data): Likewise.
36395         (y1_test_data): Likewise.
36396         (yn_test_data): Likewise.
36397         (significand_test_data): Likewise.
36399         * math/gen-libm-test.pl (@functions): Remove variable.
36400         (generate_testfile): Don't handle START and END lines.
36401         * math/libm-test.inc (START): New macro.
36402         (END): Likewise.
36403         (END_COMPLEX): Likewise.
36404         (acos_test): Use END macro without arguments.
36405         (acos_test_tonearest): Likewise.
36406         (acos_test_towardzero): Likewise.
36407         (acos_test_downward): Likewise.
36408         (acos_test_upward): Likewise.
36409         (acosh_test): Likewise.
36410         (asin_test): Likewise.
36411         (asin_test_tonearest): Likewise.
36412         (asin_test_towardzero): Likewise.
36413         (asin_test_downward): Likewise.
36414         (asin_test_upward): Likewise.
36415         (asinh_test): Likewise.
36416         (atan_test): Likewise.
36417         (atanh_test): Likewise.
36418         (atan2_test): Likewise.
36419         (cabs_test): Likewise.
36420         (cacos_test): Use END_COMPLEX macro without arguments.
36421         (cacosh_test): Likewise.
36422         (carg_test): Use END macro without arguments.
36423         (casin_test): Use END_COMPLEX macro without arguments.
36424         (casinh_test): Likewise.
36425         (catan_test): Likewise.
36426         (catanh_test): Likewise.
36427         (cbrt_test): Use END macro without arguments.
36428         (ccos_test): Use END_COMPLEX macro without arguments.
36429         (ccosh_test): Likewise.
36430         (ceil_test): Use END macro without arguments.
36431         (cexp_test): Use END_COMPLEX macro without arguments.
36432         (cimag_test): Use END macro without arguments.
36433         (clog_test): Use END_COMPLEX macro without arguments.
36434         (clog10_test): Likewise.
36435         (conj_test): Likewise.
36436         (copysign_test): Use END macro without arguments.
36437         (cos_test): Likewise.
36438         (cos_test_tonearest): Likewise.
36439         (cos_test_towardzero): Likewise.
36440         (cos_test_downward): Likewise.
36441         (cos_test_upward): Likewise.
36442         (cosh_test): Likewise.
36443         (cosh_test_tonearest): Likewise.
36444         (cosh_test_towardzero): Likewise.
36445         (cosh_test_downward): Likewise.
36446         (cosh_test_upward): Likewise.
36447         (cpow_test): Use END_COMPLEX macro without arguments.
36448         (cproj_test): Likewise.
36449         (creal_test): Use END macro without arguments.
36450         (csin_test): Use END_COMPLEX macro without arguments.
36451         (csinh_test): Likewise.
36452         (csqrt_test): Likewise.
36453         (ctan_test): Likewise.
36454         (ctan_test_tonearest): Likewise.
36455         (ctan_test_towardzero): Likewise.
36456         (ctan_test_downward): Likewise.
36457         (ctan_test_upward): Likewise.
36458         (ctanh_test): Likewise.
36459         (ctanh_test_tonearest): Likewise.
36460         (ctanh_test_towardzero): Likewise.
36461         (ctanh_test_downward): Likewise.
36462         (ctanh_test_upward): Likewise.
36463         (erf_test): Use END macro without arguments.
36464         (erfc_test): Likewise.
36465         (exp_test): Likewise.
36466         (exp_test_tonearest): Likewise.
36467         (exp_test_towardzero): Likewise.
36468         (exp_test_downward): Likewise.
36469         (exp_test_upward): Likewise.
36470         (exp10_test): Likewise.
36471         (exp2_test): Likewise.
36472         (expm1_test): Likewise.
36473         (fabs_test): Likewise.
36474         (fdim_test): Likewise.
36475         (finite_test): Likewise.
36476         (floor_test): Likewise.
36477         (fma_test): Likewise.
36478         (fma_test_towardzero): Likewise.
36479         (fma_test_downward): Likewise.
36480         (fma_test_upward): Likewise.
36481         (fmax_test): Likewise.
36482         (fmin_test): Likewise.
36483         (fmod_test): Likewise.
36484         (fpclassify_test): Likewise.
36485         (frexp_test): Likewise.
36486         (gamma_test): Likewise.
36487         (hypot_test): Likewise.
36488         (ilogb_test): Likewise.
36489         (isfinite_test): Likewise.
36490         (isgreater_test): Likewise.
36491         (isgreaterequal_test): Likewise.
36492         (isinf_test): Likewise.
36493         (isless_test): Likewise.
36494         (islessequal_test): Likewise.
36495         (islessgreater_test): Likewise.
36496         (isnan_test): Likewise.
36497         (isnormal_test): Likewise.
36498         (issignaling_test): Likewise.
36499         (isunordered_test): Likewise.
36500         (j0_test): Likewise.
36501         (j1_test): Likewise.
36502         (jn_test): Likewise.
36503         (ldexp_test): Likewise.
36504         (lgamma_test): Likewise.
36505         (lrint_test): Likewise.
36506         (lrint_test_tonearest): Likewise.
36507         (lrint_test_towardzero): Likewise.
36508         (lrint_test_downward): Likewise.
36509         (lrint_test_upward): Likewise.
36510         (llrint_test): Likewise.
36511         (llrint_test_tonearest): Likewise.
36512         (llrint_test_towardzero): Likewise.
36513         (llrint_test_downward): Likewise.
36514         (llrint_test_upward): Likewise.
36515         (log_test): Likewise.
36516         (log10_test): Likewise.
36517         (log1p_test): Likewise.
36518         (log2_test): Likewise.
36519         (logb_test): Likewise.
36520         (logb_test_downward): Likewise.
36521         (lround_test): Likewise.
36522         (llround_test): Likewise.
36523         (modf_test): Likewise.
36524         (nearbyint_test): Likewise.
36525         (nextafter_test): Likewise.
36526         (nexttoward_test): Likewise.
36527         (pow_test): Likewise.
36528         (pow_test_tonearest): Likewise.
36529         (pow_test_towardzero): Likewise.
36530         (pow_test_downward): Likewise.
36531         (pow_test_upward): Likewise.
36532         (remainder_test): Likewise.
36533         (remainder_test_tonearest): Likewise.
36534         (remainder_test_towardzero): Likewise.
36535         (remainder_test_downward): Likewise.
36536         (remainder_test_upward): Likewise.
36537         (remquo_test): Likewise.
36538         (rint_test): Likewise.
36539         (rint_test_tonearest): Likewise.
36540         (rint_test_towardzero): Likewise.
36541         (rint_test_downward): Likewise.
36542         (rint_test_upward): Likewise.
36543         (round_test): Likewise.
36544         (scalb_test): Likewise.
36545         (scalbn_test): Likewise.
36546         (scalbln_test): Likewise.
36547         (signbit_test): Likewise.
36548         (sin_test): Likewise.
36549         (sin_test_tonearest): Likewise.
36550         (sin_test_towardzero): Likewise.
36551         (sin_test_downward): Likewise.
36552         (sin_test_upward): Likewise.
36553         (sincos_test): Likewise.
36554         (sinh_test): Likewise.
36555         (sinh_test_tonearest): Likewise.
36556         (sinh_test_towardzero): Likewise.
36557         (sinh_test_downward): Likewise.
36558         (sinh_test_upward): Likewise.
36559         (sqrt_test): Likewise.
36560         (tan_test): Likewise.
36561         (tan_test_tonearest): Likewise.
36562         (tan_test_towardzero): Likewise.
36563         (tan_test_downward): Likewise.
36564         (tan_test_upward): Likewise.
36565         (tanh_test): Likewise.
36566         (tgamma_test): Likewise.
36567         (trunc_test): Likewise.
36568         (y0_test): Likewise.
36569         (y1_test): Likewise.
36570         (yn_test): Likewise.
36571         (significand_test): Likewise.
36573 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
36575         [BZ #15381]
36576         * libio/genops.c (_IO_no_init): Initialize wide struct info.
36578 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
36580         [BZ #14894]
36581         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
36582         __ppc_mdoio and __ppc_mdoom.
36583         * manual/platform.texi: Document new functions __ppc_yield,
36584         __ppc_mdoio and __ppc_mdoom.
36586 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
36588         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
36589         (main): Mention "tls" pseudo-hwcap is legacy.
36590         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
36592 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
36594         * math/gen-libm-test.pl (parse_args): Output only string of
36595         arguments as text for test name, not full call or descriptions of
36596         tests for extra outputs.
36597         (generate_testfile): Do not pass function name to parse_args.
36598         Generate this_func variable from START.
36599         * math/libm-test.inc (struct test_f_f_data): Rename test_name
36600         field to arg_str.
36601         (struct test_ff_f_data): Likewise.
36602         (test_ff_f_data_nexttoward): Likewise.
36603         (struct test_fi_f_data): Likewise.
36604         (struct test_fl_f_data): Likewise.
36605         (struct test_if_f_data): Likewise.
36606         (struct test_fff_f_data): Likewise.
36607         (struct test_c_f_data): Likewise.
36608         (struct test_f_f1_data): Likewise.  Remove field extra_name.
36609         (struct test_fF_f1_data): Likewise.
36610         (struct test_ffI_f1_data): Likewise.
36611         (struct test_c_c_data): Rename test_name field to arg_str.
36612         (struct test_cc_c_data): Likewise.
36613         (struct test_f_i_data): Likewise.
36614         (struct test_ff_i_data): Likewise.
36615         (struct test_f_l_data): Likewise.
36616         (struct test_f_L_data): Likewise.
36617         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
36618         and extra2_name.
36619         (COMMON_TEST_SETUP): New macro.
36620         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
36621         (COMMON_TEST_CLEANUP): Likewise.
36622         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
36623         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
36624         macros.
36625         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
36626         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
36627         macros.
36628         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
36629         (RUN_TEST_fff_f): Take argument string.  Call new setup and
36630         cleanup macros.
36631         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
36632         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
36633         macros.
36634         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
36635         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
36636         macros.
36637         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
36638         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
36639         cleanup macros.
36640         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
36641         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
36642         cleanup macros.
36643         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
36644         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
36645         cleanup macros.
36646         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
36647         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
36648         macros.
36649         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
36650         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
36651         macros.
36652         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
36653         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
36654         macros.
36655         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
36656         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
36657         cleanup macros.
36658         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
36659         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
36660         cleanup macros.
36661         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
36662         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
36663         macros.
36664         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
36665         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
36666         cleanup macros.
36667         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
36668         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
36669         macros.
36670         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
36671         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
36672         macros.
36673         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
36674         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
36675         cleanup macros.
36676         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
36678 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
36680         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
36681         to _sifields.sigfault.
36682         (si_addr_lsb): Define new macro.
36683         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
36684         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
36685         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
36687 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
36689         [BZ #15441]
36690         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
36691         returns -1.
36692         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
36693         null return -1.
36694         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
36695         loading the domain.
36697 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
36699         * math/gen-libm-test.pl (parse_args): Do not include expected
36700         result in test name.
36701         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
36702         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36703         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
36704         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
36705         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
36706         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36708 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
36710         * benchtests/Makefile: Sort function entries.
36712         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
36713         tanh, asinh, acosh, atanh.
36714         * benchtests/acos-inputs: New file.
36715         * benchtests/acosh-inputs: New file.
36716         * benchtests/asin-inputs: New file.
36717         * benchtests/asinh-inputs: New file.
36718         * benchtests/atanh-inputs: New file.
36719         * benchtests/cosh-inputs: New file.
36720         * benchtests/log-inputs: New file.
36721         * benchtests/sinh-inputs: New file.
36722         * benchtests/tanh-inputs: New file.
36724 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
36726         [BZ #15339]
36727         * posix/tst-getaddrinfo4.c: New test.
36728         * posix/Makefile (tests): Add it.
36730 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
36732         [BZ #15339]
36733         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
36734         when no services were used.
36735         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
36736         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
36738 2013-05-21  Andreas Schwab  <schwab@suse.de>
36740         [BZ #15014]
36741         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
36742         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
36743         successful.
36744         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
36745         redundant variable declarations and reallocation of buffer when
36746         parsing as IPv6 address.  Always set NSS status when called from
36747         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
36748         buffer too small.  Correct computation of needed size.
36749         * nss/Makefile (tests): Add test-digits-dots.
36750         * nss/test-digits-dots.c: New test.
36752 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
36754         * benchtests/Makefile: Remove instructions for adding
36755         benchmark tests.
36756         * benchtests/README: New file to explain how to execute and
36757         enhance the benchmark tests.
36759 2013-05-21  Andreas Schwab  <schwab@suse.de>
36761         [BZ #15493]
36762         * setjmp/Makefile (tests): Add tst-sigsetjmp.
36763         * setjmp/tst-sigsetjmp.c: New test.
36765 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
36767         * sysdeps/x86_64/memset.S (memset): New implementation.
36768         (__bzero): Likewise.
36769         (__memset_tail): New function.
36771 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
36773         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
36774         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
36775         __memcpy_sse2_unaligned ifunc selection.
36776         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
36777         Add memcpy-sse2-unaligned.S.
36778         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
36779         Add: __memcpy_sse2_unaligned.
36781 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
36783         [BZ #15490]
36784         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
36785         math_force_eval before restoring floating-point envrionment.
36786         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
36787         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
36788         Likewise.
36789         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
36790         <math_private.h>.
36791         (__nearbyintl): Use math_force_eval before restoring
36792         floating-point environment.
36793         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
36795         * math/gen-libm-test.pl (special_functions): Remove.
36796         (parse_args): Don't handle TEST_extra.  Handle functions with no
36797         return value.
36798         * math/libm-test.inc (struct test_sincos_data): Replace with
36799         struct test_fFF_11_data.
36800         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
36801         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
36802         (sincos_test_data): Change element type to struct
36803         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
36804         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
36805         RUN_TEST_LOOP_sincos.
36806         * math/README.libm-test: Don't mention special handling of
36807         individual functions.
36808         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
36809         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36810         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
36811         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
36812         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
36813         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36815         * math/gen-libm-test.pl (get_variable): Remove function.
36816         (parse_args): Don't show pointer parameters to call in test
36817         names.  Use "extra output N" in test names for extra outputs
36818         rather than naming variables.
36820 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
36822         [BZ #15488]
36823         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
36824         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
36825         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
36826         double tests.
36827         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
36828         disable.
36829         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
36830         check_long_double.
36832         * math/gen-libm-test.pl (@tests): Remove variable.
36833         ($count): Likewise.
36834         (new_test): Remove function.
36835         (show_exceptions): New function.
36836         (special_functions): Use show_exceptions instead of new_test.
36837         (parse_args): Likewise.
36838         (generate_testfile): Pass only function name in generated call to
36839         print_max_error or print_complex_max_error.
36840         (get_ulps): Do not handle complex tests specially.
36841         (output_test): Rename to ...
36842         (get_all_ulps_for_test): ... this.  Return a string rather than
36843         printing to a file.  Require ulps to be present.
36844         (output_ulps): Generate arrays rather than #defines.
36845         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
36846         (struct ulp_data): New type.
36847         (BUILD_COMPLEX_ULP): Remove macro.
36848         (compare_ulp_data): New function.
36849         (find_ulps): Likewise.
36850         (find_test_ulps): Likewise.
36851         (find_function_ulps): Likewise.
36852         (find_complex_function_ulps): Likewise.
36853         (print_max_error): Determine allowed ulps using
36854         find_function_ulps.
36855         (print_complex_max_error): Determine allowed ulps using
36856         find_complex_function_ulps.
36857         (check_float_internal): Determine max ulps using find_test_ulps.
36858         (check_float): Do not take max_ulp parameter.  Update call to
36859         check_float_internal.
36860         (check_complex): Likewise.
36861         (check_int): Do not take max_ulp parameter.
36862         (check_long): Likewise.
36863         (check_bool): Likewise.
36864         (check_longlong): Likewise.
36865         (struct test_f_f_data): Remove max_ulp field.
36866         (struct test_ff_f_data): Likewise.
36867         (struct test_ff_f_data_nexttoward): Likewise.
36868         (struct test_fi_f_data): Likewise.
36869         (struct test_fl_f_data): Likewise.
36870         (struct test_if_f_data): Likewise.
36871         (struct test_fff_f_data): Likewise.
36872         (struct test_c_f_data): Likewise.
36873         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
36874         (struct test_fF_f1_data): Likewise.
36875         (struct test_ffI_f1_data): Likewise.
36876         (struct test_c_c_data): Remove max_ulp field.
36877         (struct test_cc_c_data): Likewise.
36878         (struct test_f_i_data): Likewise.
36879         (struct test_ff_i_data): Likewise.
36880         (struct test_f_l_data): Likewise.
36881         (struct test_f_L_data): Likewise.
36882         (struct test_sincos_data): Likewise.
36883         (RUN_TEST_f_f): Do not handle ulps.
36884         (RUN_TEST_LOOP_f_f): Likewise.
36885         (RUN_TEST_2_f): Likewise.
36886         (RUN_TEST_LOOP_2_f): Likewise.
36887         (RUN_TEST_fff_f): Likewise.
36888         (RUN_TEST_LOOP_fff_f): Likewise.
36889         (RUN_TEST_c_f): Likewise.
36890         (RUN_TEST_LOOP_c_f): Likewise.
36891         (RUN_TEST_f_f1): Likewise.
36892         (RUN_TEST_LOOP_f_f1): Likewise.
36893         (RUN_TEST_fF_f1): Likewise.
36894         (RUN_TEST_LOOP_fF_f1): Likewise.
36895         (RUN_TEST_fI_f1): Likewise.
36896         (RUN_TEST_LOOP_fI_f1): Likewise.
36897         (RUN_TEST_ffI_f1): Likewise.
36898         (RUN_TEST_LOOP_ffI_f1): Likewise.
36899         (RUN_TEST_c_c): Likewise.
36900         (RUN_TEST_LOOP_c_c): Likewise.
36901         (RUN_TEST_cc_c): Likewise.
36902         (RUN_TEST_LOOP_cc_c): Likewise.
36903         (RUN_TEST_f_i): Likewise.
36904         (RUN_TEST_LOOP_f_i): Likewise.
36905         (RUN_TEST_f_i_tg): Likewise.
36906         (RUN_TEST_LOOP_f_i_tg): Likewise.
36907         (RUN_TEST_ff_i_tg): Likewise.
36908         (RUN_TEST_LOOP_ff_i_tg): Likewise.
36909         (RUN_TEST_f_b): Likewise.
36910         (RUN_TEST_LOOP_f_b): Likewise.
36911         (RUN_TEST_f_b_tg): Likewise.
36912         (RUN_TEST_LOOP_f_b_tg): Likewise.
36913         (RUN_TEST_f_l): Likewise.
36914         (RUN_TEST_LOOP_f_l): Likewise.
36915         (RUN_TEST_f_L): Likewise.
36916         (RUN_TEST_LOOP_f_L): Likewise.
36917         (RUN_TEST_sincos): Likewise.
36918         (RUN_TEST_LOOP_sincos): Likewise.
36920 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
36922         [BZ #15480]
36923         [BZ #15485]
36924         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
36925         main case of finite arguments, set rounding mode to FE_TONEAREST
36926         and discard exceptions.
36927         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
36928         exceptions.
36929         (remainder_tonearest_test_data): New variable.
36930         (remainder_test_tonearest): New function.
36931         (remainder_towardzero_test_data): New variable.
36932         (remainder_test_towardzero): New function.
36933         (remainder_downward_test_data): New variable.
36934         (remainder_test_downward): New function.
36935         (remainder_upward_test_data): New variable.
36936         (remainder_test_upward): New function.
36937         (main): Call the new test functions.
36939         * math/libm-test.inc (struct test_f_f1_data): Remove field
36940         extra_init.
36941         (struct test_fF_f1_data): Likewise.
36942         (struct test_ffI_f1_data): Likewise.
36943         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
36944         based on value of EXTRA_EXPECTED.
36945         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
36946         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
36947         EXTRA_VAR based on value of EXTRA_EXPECTED.
36948         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
36949         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
36950         EXTRA_VAR based on value of EXTRA_EXPECTED.
36951         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
36952         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
36953         EXTRA_VAR based on value of EXTRA_EXPECTED.
36954         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
36955         * math/gen-libm-test.pl (parse_args): Don't output initializers
36956         for extra output values.
36958         * math/libm-test.inc (check_int): Expect result to be exactly
36959         equal to expected value and do not handle ulps.
36960         (check_long): Likewise.
36961         (check_longlong): Likewise.
36963         * math/libm-test.inc (ceil_test_data): Test for "inexact"
36964         exceptions.
36965         (cimag_test_data): Likewise.
36966         (conj_test_data): Likewise.
36967         (copysign_test_data): Likewise.
36968         (cproj_test_data): Likewise.
36969         (creal_test_data): Likewise.
36970         (fabs_test_data): Likewise.
36971         (fdim_test_data): Likewise.
36972         (finite_test_data): Likewise.
36973         (floor_test_data): Likewise.
36974         (fmax_test_data): Likewise.
36975         (fmin_test_data): Likewise.
36976         (fmod_test_data): Likewise.
36977         (fpclassify_test_data): Likewise.
36978         (frexp_test_data): Likewise.
36979         (ilogb_test_data): Likewise.
36980         (isfinite_test_data): Likewise.
36981         (isgreater_test_data): Likewise.
36982         (isgreaterequal_test_data): Likewise.
36983         (isinf_test_data): Likewise.
36984         (isless_test_data): Likewise.
36985         (islessequal_test_data): Likewise.
36986         (islessgreater_test_data): Likewise.
36987         (isnan_test_data): Likewise.
36988         (isnormal_test_data): Likewise.
36989         (issignaling_test_data): Likewise.
36990         (isunordered_test_data): Likewise.
36991         (ldexp_test_data): Likewise.
36992         (lrint_test_data): Likewise.
36993         (lrint_test_data) [TEST_FLOAT]: Disable one test.
36994         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
36995         (lrint_tonearest_test_data): Test for "inexact" exceptions.
36996         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
36997         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
36998         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
36999         test input.
37000         (lrint_towardzero_test_data): Test for "inexact" exceptions.
37001         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
37002         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
37003         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
37004         that test input.
37005         (lrint_downward_test_data): Test for "inexact" exceptions.
37006         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
37007         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
37008         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
37009         test input.
37010         (lrint_upward_test_data): Test for "inexact" exceptions.
37011         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
37012         test input.
37013         (llrint_test_data): Test for "inexact" exceptions.
37014         (llrint_test_data) [TEST_FLOAT]: Disable one test.
37015         (llrint_tonearest_test_data): Test for "inexact" exceptions.
37016         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
37017         (llrint_towardzero_test_data): Test for "inexact" exceptions.
37018         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
37019         (llrint_downward_test_data): Test for "inexact" exceptions.
37020         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
37021         (llrint_upward_test_data): Test for "inexact" exceptions.
37022         (logb_test_data): Likewise.
37023         (logb_downward_test_data): Likewise.
37024         (nextafter_test_data): Likewise.
37025         (nexttoward_test_data): Likewise.
37026         (remainder_test_data): Likewise.
37027         (remquo_test_data): Likewise.
37028         (scalbn_test_data): Likewise.
37029         (scalbln_test_data): Likewise.
37030         (signbit_test_data): Likewise.
37031         (sqrt_test_data): Likewise.
37032         (significand_test_data): Likewise.
37034 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
37036         [BZ #15424]
37037         * benchtests/bench-modf.c (struct args): Mark arg0 as
37038         volatile.
37039         * scripts/bench.pl: Mark members of struct args as volatile.
37041 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37043         [BZ # 15497]
37044         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
37045         negative infinity on POWER6 or lower.
37046         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
37048 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
37050         [BZ #15442]
37051         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
37052         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
37053         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
37054         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
37055         (_FP_SETQNAN): New macro.
37056         (_FP_SETQNAN_SEMIRAW): Likewise.
37057         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
37058         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
37059         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
37060         (FP_EXTEND): Use _FP_FRAC_SNANP.
37061         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
37062         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
37063         into account.
37064         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
37065         New macro.
37066         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
37067         Likewise.
37069 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
37071         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
37072         with DIVIDE_BY_ZERO_EXCEPTION.
37073         (gamma_test_data): Likewise.
37074         (lgamma_test_data): Likewise.
37075         (log_test_data): Likewise.
37076         (log10_test_data): Likewise.
37077         (log2_test_data): Likewise.
37078         (tgamma_test_data): Likewise.
37080         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
37081         (acos_test_tonearest): Likewise.
37082         (acos_test_towardzero): Likewise.
37083         (acos_test_downward): Likewise.
37084         (acos_test_upward): Likewise.
37085         (acosh_test): Likewise.
37086         (asin_test): Likewise.
37087         (asin_test_tonearest): Likewise.
37088         (asin_test_towardzero): Likewise.
37089         (asin_test_downward): Likewise.
37090         (asin_test_upward): Likewise.
37091         (asinh_test): Likewise.
37092         (atan_test): Likewise.
37093         (atanh_test): Likewise.
37094         (atan2_test): Likewise.
37095         (cabs_test): Likewise.
37096         (cacos_test): Likewise.
37097         (cacosh_test): Likewise.
37098         (casin_test): Likewise.
37099         (casinh_test): Likewise.
37100         (catan_test): Likewise.
37101         (catanh_test): Likewise.
37102         (cbrt_test): Likewise.
37103         (ccos_test): Likewise.
37104         (ccosh_test): Likewise.
37105         (cexp_test): Likewise.
37106         (clog_test): Likewise.
37107         (clog10_test): Likewise.
37108         (cos_test): Likewise.
37109         (cos_test_tonearest): Likewise.
37110         (cos_test_towardzero): Likewise.
37111         (cos_test_downward): Likewise.
37112         (cos_test_upward): Likewise.
37113         (cosh_test): Likewise.
37114         (cosh_test_tonearest): Likewise.
37115         (cosh_test_towardzero): Likewise.
37116         (cosh_test_downward): Likewise.
37117         (cosh_test_upward): Likewise.
37118         (cpow_test): Likewise.
37119         (csin_test): Likewise.
37120         (csinh_test): Likewise.
37121         (csqrt_test): Likewise.
37122         (ctan_test): Likewise.
37123         (ctan_test_tonearest): Likewise.
37124         (ctan_test_towardzero): Likewise.
37125         (ctan_test_downward): Likewise.
37126         (ctan_test_upward): Likewise.
37127         (ctanh_test): Likewise.
37128         (ctanh_test_tonearest): Likewise.
37129         (ctanh_test_towardzero): Likewise.
37130         (ctanh_test_downward): Likewise.
37131         (ctanh_test_upward): Likewise.
37132         (erf_test): Likewise.
37133         (erfc_test): Likewise.
37134         (exp_test): Likewise.
37135         (exp_test_tonearest): Likewise.
37136         (exp_test_towardzero): Likewise.
37137         (exp_test_downward): Likewise.
37138         (exp_test_upward): Likewise.
37139         (exp10_test): Likewise.
37140         (exp2_test): Likewise.
37141         (expm1_test): Likewise.
37142         (fmod_test): Likewise.
37143         (gamma_test): Likewise.
37144         (hypot_test): Likewise.
37145         (j0_test): Likewise.
37146         (j1_test): Likewise.
37147         (jn_test): Likewise.
37148         (lgamma_test): Likewise.
37149         (log_test): Likewise.
37150         (log10_test): Likewise.
37151         (log1p_test): Likewise.
37152         (log2_test): Likewise.
37153         (logb_test_downward): Likewise.
37154         (pow_test): Likewise.
37155         (pow_test_tonearest): Likewise.
37156         (pow_test_towardzero): Likewise.
37157         (pow_test_downward): Likewise.
37158         (pow_test_upward): Likewise.
37159         (remainder_test): Likewise.
37160         (remquo_test): Likewise.
37161         (sin_test): Likewise.
37162         (sin_test_tonearest): Likewise.
37163         (sin_test_towardzero): Likewise.
37164         (sin_test_downward): Likewise.
37165         (sin_test_upward): Likewise.
37166         (sincos_test): Likewise.
37167         (sinh_test): Likewise.
37168         (sinh_test_tonearest): Likewise.
37169         (sinh_test_towardzero): Likewise.
37170         (sinh_test_downward): Likewise.
37171         (sinh_test_upward): Likewise.
37172         (sqrt_test): Likewise.
37173         (tan_test): Likewise.
37174         (tan_test_tonearest): Likewise.
37175         (tan_test_towardzero): Likewise.
37176         (tan_test_downward): Likewise.
37177         (tan_test_upward): Likewise.
37178         (tanh_test): Likewise.
37179         (tgamma_test): Likewise.
37180         (y0_test): Likewise.
37181         (y1_test): Likewise.
37182         (yn_test): Likewise.
37184         * math/gen-libm-test.pl (adjust_arg): Remove function.
37185         (special_function): Remove argument $in_func.  Only handle
37186         generating output for tables of tests, not inside functions.
37187         (parse_args): Likewise.
37188         (generate_testfile): Remove variable $in_func.  Update call to
37189         parse_args.
37190         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
37191         (MINUS_ZERO_INIT): Rename macro to minus_zero.
37192         (PLUS_INFTY_INIT): Rename macro to plus_infty.
37193         (MINUS_INFTY_INIT): Rename macro to minus_infty.
37194         (QNAN_VALUE_INIT): Rename macro to qnan_value.
37195         (MAX_VALUE_INIT): Rename macro to max_value.
37196         (MIN_VALUE_INIT): Rename macro to min_value.
37197         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
37198         (plus_zero): Remove variable.
37199         (minus_zero): Likewise.
37200         (plus_infty): Likewise.
37201         (minus_infty): Likewise.
37202         (qnan_value): Likewise.
37203         (max_value): Likewise.
37204         (min_value): Likewise.
37205         (min_subnorm_value): Likewise.
37207 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
37209         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
37210         uint64_t or uint32_t usage.
37211         * crypt/sha256-block.c: Likewise.
37212         * crypt/sha256-crypt.c: Likewise.
37213         * crypt/sha256.c: Likewise.
37214         * crypt/sha512-block.c: Likewise.
37215         * crypt/sha512-crypt.c: Likewise.
37216         * crypt/sha512.c: Likewise.
37217         * debug/backtrace-tst.c: Likewise.
37218         * debug/pcprofiledump.c: Likewise.
37219         * elf/cache.c: Likewise.
37220         * elf/dl-cache.c: Likewise.
37221         * elf/dl-misc.c: Likewise.
37222         * elf/dl-profile.c: Likewise.
37223         * elf/dl-support.c: Likewise.
37224         * elf/ldconfig.c: Likewise.
37225         * elf/sprof.c: Likewise.
37226         * iconv/dummy-repertoire.c: Likewise.
37227         * iconv/iconv_charmap.c: Likewise.
37228         * iconv/skeleton.c: Likewise.
37229         * iconvdata/8bit-generic.c: Likewise.
37230         * iconvdata/cp737.h: Likewise.
37231         * iconvdata/cp775.h: Likewise.
37232         * iconvdata/ibm1008.h: Likewise.
37233         * iconvdata/ibm1025.h: Likewise.
37234         * iconvdata/ibm1046.h: Likewise.
37235         * iconvdata/ibm1097.h: Likewise.
37236         * iconvdata/ibm1112.h: Likewise.
37237         * iconvdata/ibm1122.h: Likewise.
37238         * iconvdata/ibm1123.h: Likewise.
37239         * iconvdata/ibm1124.h: Likewise.
37240         * iconvdata/ibm1129.h: Likewise.
37241         * iconvdata/ibm1130.h: Likewise.
37242         * iconvdata/ibm1132.h: Likewise.
37243         * iconvdata/ibm1133.h: Likewise.
37244         * iconvdata/ibm1137.h: Likewise.
37245         * iconvdata/ibm1140.h: Likewise.
37246         * iconvdata/ibm1141.h: Likewise.
37247         * iconvdata/ibm1142.h: Likewise.
37248         * iconvdata/ibm1143.h: Likewise.
37249         * iconvdata/ibm1144.h: Likewise.
37250         * iconvdata/ibm1145.h: Likewise.
37251         * iconvdata/ibm1146.h: Likewise.
37252         * iconvdata/ibm1147.h: Likewise.
37253         * iconvdata/ibm1148.h: Likewise.
37254         * iconvdata/ibm1149.h: Likewise.
37255         * iconvdata/ibm1153.h: Likewise.
37256         * iconvdata/ibm1154.h: Likewise.
37257         * iconvdata/ibm1155.h: Likewise.
37258         * iconvdata/ibm1156.h: Likewise.
37259         * iconvdata/ibm1157.h: Likewise.
37260         * iconvdata/ibm1158.h: Likewise.
37261         * iconvdata/ibm1160.h: Likewise.
37262         * iconvdata/ibm1161.h: Likewise.
37263         * iconvdata/ibm1162.h: Likewise.
37264         * iconvdata/ibm1163.h: Likewise.
37265         * iconvdata/ibm1164.h: Likewise.
37266         * iconvdata/ibm1166.h: Likewise.
37267         * iconvdata/ibm1167.h: Likewise.
37268         * iconvdata/ibm12712.h: Likewise.
37269         * iconvdata/ibm1390.h: Likewise.
37270         * iconvdata/ibm1399.h: Likewise.
37271         * iconvdata/ibm16804.h: Likewise.
37272         * iconvdata/ibm4517.h: Likewise.
37273         * iconvdata/ibm4899.h: Likewise.
37274         * iconvdata/ibm4909.h: Likewise.
37275         * iconvdata/ibm4971.h: Likewise.
37276         * iconvdata/ibm5347.h: Likewise.
37277         * iconvdata/ibm803.h: Likewise.
37278         * iconvdata/ibm856.h: Likewise.
37279         * iconvdata/ibm901.h: Likewise.
37280         * iconvdata/ibm902.h: Likewise.
37281         * iconvdata/ibm9030.h: Likewise.
37282         * iconvdata/ibm9066.h: Likewise.
37283         * iconvdata/ibm921.h: Likewise.
37284         * iconvdata/ibm922.h: Likewise.
37285         * iconvdata/ibm9448.h: Likewise.
37286         * iconvdata/isiri-3342.h: Likewise.
37287         * iconvdata/jis0201.h: Likewise.
37288         * include/link.h: Likewise.
37289         * include/netdb.h: Likewise.
37290         * inet/check_native.c: Likewise.
37291         * inet/check_pf.c: Likewise.
37292         * inet/getipv4sourcefilter.c: Likewise.
37293         * inet/getnameinfo.c: Likewise.
37294         * inet/getsourcefilter.c: Likewise.
37295         * inet/htonl.c: Likewise.
37296         * inet/setipv4sourcefilter.c: Likewise.
37297         * inet/setsourcefilter.c: Likewise.
37298         * inet/test-inet6_opt.c: Likewise.
37299         * inet/tst-network.c: Likewise.
37300         * locale/C-collate.c: Likewise.
37301         * locale/C-ctype.c: Likewise.
37302         * locale/C-time.c: Likewise.
37303         * locale/C-translit.h: Likewise.
37304         * locale/loadarchive.c: Likewise.
37305         * locale/programs/3level.h: Likewise.
37306         * locale/programs/charmap.c: Likewise.
37307         * locale/programs/charmap.h: Likewise.
37308         * locale/programs/ld-address.c: Likewise.
37309         * locale/programs/ld-collate.c: Likewise.
37310         * locale/programs/ld-ctype.c: Likewise.
37311         * locale/programs/ld-identification.c: Likewise.
37312         * locale/programs/ld-measurement.c: Likewise.
37313         * locale/programs/ld-messages.c: Likewise.
37314         * locale/programs/ld-monetary.c: Likewise.
37315         * locale/programs/ld-name.c: Likewise.
37316         * locale/programs/ld-numeric.c: Likewise.
37317         * locale/programs/ld-paper.c: Likewise.
37318         * locale/programs/ld-telephone.c: Likewise.
37319         * locale/programs/ld-time.c: Likewise.
37320         * locale/programs/linereader.c: Likewise.
37321         * locale/programs/locale.c: Likewise.
37322         * locale/programs/locarchive.c: Likewise.
37323         * locale/programs/locfile.h: Likewise.
37324         * locale/programs/repertoire.c: Likewise.
37325         * locale/programs/simple-hash.c: Likewise.
37326         * locale/programs/simple-hash.h: Likewise.
37327         * malloc/memusage.c: Likewise.
37328         * malloc/memusagestat.c: Likewise.
37329         * nis/nis_defaults.c: Likewise.
37330         * nis/nis_hash.c: Likewise.
37331         * nis/nis_print.c: Likewise.
37332         * nis/nis_xdr.c: Likewise.
37333         * nscd/connections.c: Likewise.
37334         * nscd/hstcache.c: Likewise.
37335         * nscd/nscd_gethst_r.c: Likewise.
37336         * nscd/nscd_getserv_r.c: Likewise.
37337         * nscd/nscd_helper.c: Likewise.
37338         * nscd/servicescache.c: Likewise.
37339         * nss/makedb.c: Likewise.
37340         * nss/nss_db/db-XXX.c: Likewise.
37341         * nss/nss_db/db-initgroups.c: Likewise.
37342         * nss/nss_db/db-netgrp.c: Likewise.
37343         * nss/nss_files/files-network.c: Likewise.
37344         * nss/nss_files/files-parse.c: Likewise.
37345         * posix/bug-regex5.c: Likewise.
37346         * posix/fnmatch_loop.c: Likewise.
37347         * posix/regcomp.c: Likewise.
37348         * posix/regexec.c: Likewise.
37349         * posix/tst-rfc3484-2.c: Likewise.
37350         * posix/tst-rfc3484-3.c: Likewise.
37351         * posix/tst-rfc3484.c: Likewise.
37352         * resolv/nss_dns/dns-canon.c: Likewise.
37353         * resolv/nss_dns/dns-network.c: Likewise.
37354         * resolv/res_init.c: Likewise.
37355         * resolv/res_mkquery.c: Likewise.
37356         * resolv/tst-aton.c: Likewise.
37357         * stdlib/cxa_atexit.c: Likewise.
37358         * stdlib/cxa_finalize.c: Likewise.
37359         * stdlib/gen-fpioconst.c: Likewise.
37360         * stdlib/strtol_l.c: Likewise.
37361         * string/tst-endian.c: Likewise.
37362         * sunrpc/auth_des.c: Likewise.
37363         * sunrpc/clnt_udp.c: Likewise.
37364         * sunrpc/rtime.c: Likewise.
37365         * sunrpc/svcauth_des.c: Likewise.
37366         * sunrpc/xdr.c: Likewise.
37367         * sunrpc/xdr_intXX_t.c: Likewise.
37368         * sunrpc/xdr_rec.c: Likewise.
37369         * sysdeps/generic/ldconfig.h: Likewise.
37370         * sysdeps/generic/ldsodefs.h: Likewise.
37371         * sysdeps/generic/memusage.h: Likewise.
37372         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
37373         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
37374         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
37375         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
37376         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37377         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
37378         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
37379         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
37380         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
37381         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
37382         * sysdeps/posix/getaddrinfo.c: Likewise.
37383         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
37384         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
37385         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
37386         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
37387         * sysdeps/powerpc/test-gettimebase.c: Likewise.
37388         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
37389         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
37390         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
37391         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
37392         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
37393         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
37394         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
37395         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
37396         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
37397         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
37398         * sysdeps/x86_64/dl-tls.h: Likewise.
37399         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
37400         * time/alt_digit.c: Likewise.
37401         * time/era.c: Likewise.
37402         * wcsmbs/tst-c16c32-1.c: Likewise.
37404 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
37406         * math/libm-test.inc (struct test_sincos_data): New type.
37407         (RUN_TEST_LOOP_sincos): New macro.
37408         (sincos_test_data): New variable.
37409         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
37411 2013-05-16  Richard Henderson  <rth@redhat.com>
37413         * math/atest-exp2.c (LIMB64): New macro.
37414         (CONSTSZ): New macro.
37415         (mp_exp1, mp_exp_m1, mp_log2): New variables.
37416         (hexdig): Move ...
37417         (print_mpn_fp): ... to function scope.
37418         (read_mpn_hex): Remove.
37419         (get_log2): Remove.
37420         (exp2_mpn): Use mp_log2.
37421         (main): Use mp_exp1.
37423 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
37425         * math/libm-test.inc: Remove comment about not testing "inexact"
37426         exceptions.
37427         (INEXACT_EXCEPTION): New macro.
37428         (NO_INEXACT_EXCEPTION): Likewise.
37429         (INVALID_EXCEPTION_OK): Update value.
37430         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
37431         (OVERFLOW_EXCEPTION_OK): Likewise.
37432         (UNDERFLOW_EXCEPTION_OK): Likewise.
37433         (IGNORE_ZERO_INF_SIGN): Likewise.
37434         (ERRNO_UNCHANGED): Likewise.
37435         (ERRNO_EDOM): Likewise.
37436         (ERRNO_ERANGE): Likewise.
37437         (test_exceptions): Handle testing "inexact" exceptions.
37438         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
37439         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
37440         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
37441         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
37442         INEXACT_EXCEPTION.
37443         (rint_towardzero_test_data): Likewise.
37444         (rint_downward_test_data): Likewise.
37445         (rint_upward_test_data): Likewise.
37447         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
37448         with OVERFLOW_EXCEPTION.
37449         (exp10_test_data): Likewise.
37450         (exp2_test_data): Likewise.
37451         (expm1_test_data): Likewise.
37452         (lgamma_test_data): Likewise.
37453         (pow_test_data): Likewise.
37454         (tgamma_test_data): Likewise.
37455         (yn_test_data): Remove duplicate test of overflow.
37457         * math/libm-test.inc (struct test_cc_c_data): New type.
37458         (RUN_TEST_LOOP_cc_c): New macro.
37459         (cpow_test_data): New variable.
37460         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
37462         * math/libm-test.inc (struct test_f_L_data): New type.
37463         (RUN_TEST_LOOP_f_L): New macro.
37464         (llrint_test_data): New variable.
37465         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
37466         (llrint_tonearest_test_data): New variable.
37467         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
37468         (llrint_towardzero_test_data): New variable.
37469         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
37470         (llrint_downward_test_data): New variable.
37471         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
37472         (llrint_upward_test_data): New variable.
37473         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
37474         (llround_test_data): New variable.
37475         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
37477 2013-05-13  Peter Collingbourne  <pcc@google.com>
37479         * math/atest-exp2.c (get_log2): Remove const attribute.
37481 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
37483         * math/libm-test.inc (struct test_f_l_data): New type.
37484         (RUN_TEST_LOOP_f_l): New macro.
37485         (lrint_test_data): New variable.
37486         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
37487         (lrint_tonearest_test_data): New variable.
37488         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
37489         (lrint_towardzero_test_data): New variable.
37490         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
37491         (lrint_downward_test_data): New variable.
37492         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
37493         (lrint_upward_test_data): New variable.
37494         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
37495         (lround_test_data): New variable.
37496         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
37498 2013-05-15  Peter Collingbourne  <pcc@google.com>
37500         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
37501         (EXTRACT_WORDS64) Use where appropriate.
37502         (INSERT_WORDS64) Likewise.
37504         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
37505         constraints with x constraints.
37506         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
37508         * malloc/obstack.c (_obstack_compat): Add initializer.
37510 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
37512         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
37513         si_trapno and add si_addr_lsb to _sifields.sigfault.
37514         (si_trapno): Remove macro.
37515         (si_addr_lsb): Define new macro.
37516         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
37518 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
37520         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
37521         instead of TEST_f_l.
37522         (llrint_test_tonearest): Likewise.
37523         (llrint_test_towardzero): Likewise.
37524         (llrint_test_downward): Likewise.
37525         (llrint_test_upward): Likewise.
37526         (llround_test): Likewise.
37528         * math/libm-test.inc (struct test_f_i_data): Add comment.
37529         (RUN_TEST_LOOP_f_b): New macro.
37530         (RUN_TEST_LOOP_f_b_tg): Likewise.
37531         (finite_test_data): New variable.
37532         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
37533         (isfinite_test_data): New variable.
37534         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
37535         (isinf_test_data): New variable.
37536         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
37537         (isnan_test_data): New variable.
37538         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
37539         (isnormal_test_data): New variable.
37540         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
37541         (issignaling_test_data): New variable.
37542         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
37543         (signbit_test_data): New variable.
37544         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
37546         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
37547         with INVALID_EXCEPTION.
37548         (acosh_test_data): Likewise.
37549         (asin_test_data): Likewise.
37550         (atanh_test_data): Likewise.
37551         (fmod_test_data): Likewise.
37552         (log_test_data): Likewise.
37553         (log10_test_data): Likewise.
37554         (log2_test_data): Likewise.
37555         (pow_test_data): Likewise.
37556         (sqrt_test_data): Likewise.
37557         (y0_test_data): Likewise.
37558         (y1_test_data): Likewise.
37559         (yn_test_data): Likewise.
37561         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
37562         function contents.
37564         * math/libm-test.inc (struct test_ff_i_data): New type.
37565         (RUN_TEST_LOOP_ff_i_tg): New macro.
37566         (isgreater_test_data): New variable.
37567         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
37568         (isgreaterequal_test_data): New variable.
37569         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
37570         (isless_test_data): New variable.
37571         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
37572         (islessequal_test_data): New variable.
37573         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
37574         (islessgreater_test_data): New variable.
37575         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
37576         (isunordered_test_data): New variable.
37577         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
37579 2013-05-14  David S. Miller  <davem@davemloft.net>
37581         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37583 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
37585         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
37587         * math/libm-test.inc (struct test_fF_f1_data): Change type of
37588         extra_test to int.
37589         (struct test_f_i_data): Change type of max_ulp to int.
37591         * math/libm-test.inc (test_ffI_f1_data): New type.
37592         (RUN_TEST_LOOP_ffI_f1): New macro.
37593         (remquo_test_data): New variable.
37594         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
37596         * setjmp/tst-setjmp-fp.c: New file.
37597         * setjmp/Makefile (tests): Add tst-setjmp-fp.
37598         (link-libm): New variable.
37599         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
37601         * math/libm-test.inc (struct test_f_i_data): New type.
37602         (RUN_TEST_LOOP_f_i): New macro.
37603         (RUN_TEST_LOOP_f_i_tg): Likewise.
37604         (fpclassify_test_data): New variable.
37605         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
37606         (ilogb_test_data): New variable.
37607         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
37609         * math/libm-test.inc (scalbln_test): Correct function name in END
37610         call.
37612         * math/libm-test.inc (struct test_f_f1_data): Add comment.
37613         (RUN_TEST_LOOP_fI_f1): New macro.
37614         (frexp_test_data): New variable.
37615         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
37617         * math/libm-test.inc (struct test_fF_f1_data): New type.
37618         (RUN_TEST_LOOP_fF_f1): New macro.
37619         (modf_test_data): New variable.
37620         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
37622         * math/libm-test.inc (struct test_f_f1_data): New type.
37623         (RUN_TEST_LOOP_f_f1): New macro.
37624         (gamma_test_data): New variable.
37625         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
37626         (lgamma_test_data): New variable.
37627         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
37629 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
37631         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
37632         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
37633         (main): Comment "tls" pseudo-hwcap.
37635 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
37637         * math/libm-test.inc (struct test_fl_f_data): New type.
37638         (RUN_TEST_LOOP_fl_f): New variable.
37639         (scalbln_test_data): New variable.
37640         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
37642         * math/libm-test.inc (struct test_fi_f_data): New type.
37643         (RUN_TEST_LOOP_fi_f): New macro.
37644         (ldexp_test_data): New variable.
37645         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
37646         (scalbn_test_data): New variable.
37647         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
37649         * math/libm-test.inc (struct test_c_f_data): New type.
37650         (RUN_TEST_LOOP_c_f): New macro.
37651         (cabs_test_data): New variable.
37652         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
37653         (carg_test_data): New variable.
37654         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
37655         (cimag_test_data): New variable.
37656         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
37657         (creal_test_data): New variable.
37658         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
37660         * math/libm-test.inc (struct test_if_f_data): New type.
37661         (RUN_TEST_LOOP_if_f): New macro.
37662         (jn_test_data): New variable.
37663         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
37664         (yn_test_data): New variable.
37665         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
37667         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
37669 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37671         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
37672         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
37674 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
37676         * benchtests/Makefile (CPPFLAGS-nonlib): Add
37677         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
37678         (bench-deps): Add bench-timing.h.
37679         * benchtests-bench-skeleton.c: Include bench-timing.h.
37680         (main): Use TIMING_* macros instead of clock_gettime.
37681         * benchtests/bench-timing.h: New file.
37683         [BZ #14582]
37684         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
37685         Renamed from _LIB_VERSION.
37686         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
37688 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
37690         * math/libm-test.inc (struct test_fff_f_data): New type.
37691         (RUN_TEST_LOOP_fff_f): New macro.
37692         (fma_test_data): New variable.
37693         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
37694         (fma_towardzero_test_data): New variable.
37695         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
37696         (fma_downward_test_data): New variable.
37697         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
37698         (fma_upward_test_data): New variable.
37699         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
37701         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
37702         (struct test_c_c_data): New type.
37703         (RUN_TEST_LOOP_c_c): New macro.
37704         (cacos_test_data): New variable.
37705         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
37706         (cacosh_test_data): New variable.
37707         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
37708         (casin_test_data): New variable.
37709         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
37710         (casinh_test_data): New variable.
37711         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
37712         (catan_test_data): New variable.
37713         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
37714         (catanh_test_data): New variable.
37715         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
37716         (ccos_test_data): New variable.
37717         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
37718         (ccosh_test_data): New variable.
37719         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
37720         (cexp_test_data): New variable.
37721         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
37722         (clog_test_data): New variable.
37723         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
37724         (clog10_test_data): New variable.
37725         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
37726         (conj_test_data): New variable.
37727         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
37728         (cproj_test_data): New variable.
37729         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
37730         (csin_test_data): New variable.
37731         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
37732         (csinh_test_data): New variable.
37733         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
37734         (csqrt_test_data): New variable.
37735         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
37736         (ctan_test_data): New variable.
37737         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
37738         (ctan_tonearest_test_data): New variable.
37739         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
37740         (ctan_towardzero_test_data): New variable.
37741         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
37742         (ctan_downward_test_data): New variable.
37743         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
37744         (ctan_upward_test_data): New variable.
37745         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
37746         (ctanh_test_data): New variable.
37747         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
37748         (ctanh_tonearest_test_data): New variable.
37749         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
37750         (ctanh_towardzero_test_data): New variable.
37751         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
37752         (ctanh_downward_test_data): New variable.
37753         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
37754         (ctanh_upward_test_data): New variable.
37755         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
37756         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
37757         of BUILD_COMPLEX.
37759         * math/libm-test.inc (struct test_ff_f_data): New type.
37760         (struct test_ff_f_data_nexttoward): Likewise.
37761         (RUN_TEST_LOOP_2_f): New macro.
37762         (RUN_TEST_LOOP_ff_f): Likewise.
37763         (atan2_test_data): New variable.
37764         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
37765         (copysign_test_data): New variable.
37766         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
37767         (fdim_test_data): New variable.
37768         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
37769         (fmax_test_data): New variable.
37770         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
37771         (fmin_test_data): New variable.
37772         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
37773         (fmod_test_data): New variable.
37774         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
37775         (hypot_test_data): New variable.
37776         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
37777         (nextafter_test_data): New variable.
37778         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
37779         (nexttoward_test_data): New variable.
37780         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
37781         (pow_test_data): New variable.
37782         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
37783         (pow_tonearest_test_data): New variable.
37784         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
37785         (pow_towardzero_test_data): New variable.
37786         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
37787         (pow_downward_test_data): New variable.
37788         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
37789         (pow_upward_test_data): New variable.
37790         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
37791         (remainder_test_data): New variable.
37792         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
37793         (scalb_test_data): New variable.
37794         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
37795         * sysdeps/i386/fpu/libm-test-ulps: Update.
37797 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
37799         * math/libm-test.inc (fma_test): Use max_value instead of local
37800         variable fltmax.
37801         (nextafter_test): Likewise.
37803         * math/libm-test.inc (acos_towardzero_test_data): New variable.
37804         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37805         (acos_downward_test_data): New variable.
37806         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37807         (acos_upward_test_data): New variable.
37808         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37809         (acosh_test_data): New variable.
37810         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
37811         (asin_test_data): New variable.
37812         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
37813         (asin_tonearest_test_data): New variable.
37814         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37815         (asin_towardzero_test_data): New variable.
37816         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37817         (asin_downward_test_data): New variable.
37818         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37819         (asin_upward_test_data): New variable.
37820         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37821         (asinh_test_data): New variable.
37822         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
37823         (atan_test_data): New variable.
37824         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
37825         (atanh_test_data): New variable.
37826         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
37827         (cbrt_test_data): New variable.
37828         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
37829         (ceil_test_data): New variable.
37830         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
37831         (cos_test_data): New variable.
37832         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
37833         (cos_tonearest_test_data): New variable.
37834         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37835         (cos_towardzero_test_data): New variable.
37836         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37837         (cos_downward_test_data): New variable.
37838         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37839         (cos_upward_test_data): New variable.
37840         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37841         (cosh_test_data): New variable.
37842         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
37843         (cosh_tonearest_test_data): New variable.
37844         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37845         (cosh_towardzero_test_data): New variable.
37846         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37847         (cosh_downward_test_data): New variable.
37848         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37849         (cosh_upward_test_data): New variable.
37850         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37851         (erf_test_data): New variable.
37852         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
37853         (erfc_test_data): New variable.
37854         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
37855         (exp_test_data): New variable.
37856         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
37857         (exp_tonearest_test_data): New variable.
37858         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37859         (exp_towardzero_test_data): New variable.
37860         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37861         (exp_downward_test_data): New variable.
37862         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37863         (exp_upward_test_data): New variable.
37864         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37865         (exp10_test_data): New variable.
37866         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
37867         (exp2_test_data): New variable.
37868         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
37869         (expm1_test_data): New variable.
37870         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
37871         (fabs_test_data): New variable.
37872         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
37873         (floor_test_data): New variable.
37874         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
37875         (j0_test_data): New variable.
37876         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
37877         (j1_test_data): New variable.
37878         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
37879         (log_test_data): New variable.
37880         (log_test): Run tests with RUN_TEST_LOOP_f_f.
37881         (log10_test_data): New variable.
37882         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
37883         (log1p_test_data): New variable.
37884         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
37885         (log2_test_data): New variable.
37886         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
37887         (logb_test_data): New variable.
37888         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
37889         (logb_downward_test_data): New variable.
37890         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37891         (nearbyint_test_data): New variable.
37892         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
37893         (rint_test_data): New variable.
37894         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
37895         (rint_tonearest_test_data): New variable.
37896         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37897         (rint_towardzero_test_data): New variable.
37898         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37899         (rint_downward_test_data): New variable.
37900         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37901         (rint_upward_test_data): New variable.
37902         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37903         (round_test_data): New variable.
37904         (round_test): Run tests with RUN_TEST_LOOP_f_f.
37905         (sin_test_data): New variable.
37906         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
37907         (sin_tonearest_test_data): New variable.
37908         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37909         (sin_towardzero_test_data): New variable.
37910         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37911         (sin_downward_test_data): New variable.
37912         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37913         (sin_upward_test_data): New variable.
37914         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37915         (sinh_test_data): New variable.
37916         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
37917         (sinh_tonearest_test_data): New variable.
37918         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37919         (sinh_towardzero_test_data): New variable.
37920         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37921         (sinh_downward_test_data): New variable.
37922         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37923         (sinh_upward_test_data): New variable.
37924         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37925         (sqrt_test_data): New variable.
37926         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
37927         (tan_test_data): New variable.
37928         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
37929         (tan_tonearest_test_data): New variable.
37930         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37931         (tan_towardzero_test_data): New variable.
37932         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37933         (tan_downward_test_data): New variable.
37934         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37935         (tan_upward_test_data): New variable.
37936         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37937         (tanh_test_data): New variable.
37938         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
37939         (tgamma_test_data): New variable.
37940         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
37941         (trunc_test_data): New variable.
37942         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
37943         (y0_test_data): New variable.
37944         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
37945         (y1_test_data): New variable.
37946         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
37947         (significand_test_data): New variable.
37948         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
37950 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
37952         [BZ #12387]
37953         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
37955 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
37957         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
37959 2013-05-10  Andreas Jaeger  <aj@suse.de>
37961         [BZ #15448]
37962         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
37963         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
37965 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
37967         * math/gen-libm-test.pl (adjust_arg): New function.
37968         (special_functions): Handle generating output in both functions
37969         and arrays.
37970         (parse_args): Likewise.
37971         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
37972         $in_func argument to parse_args.
37973         * math/libm-test.inc (struct test_f_f_data): New type.
37974         (IF_ROUND_INIT_): New macro.
37975         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
37976         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
37977         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
37978         (IF_ROUND_INIT_FE_UPWARD): Likewise.
37979         (ROUND_RESTORE_): Likewise.
37980         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
37981         (ROUND_RESTORE_FE_TONEAREST): Likewise.
37982         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
37983         (ROUND_RESTORE_FE_UPWARD): Likewise.
37984         (RUN_TEST_LOOP_f_f): New macro.
37985         (acos_test_data): New variable.
37986         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
37987         (acos_tonearest_test_data): New variable.
37988         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37990 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
37992         * benchtests/bench-skeleton.c (startup): Fix coding style.
37994 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
37996         [BZ #6809]
37997         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
37998         negative infinity argument.
37999         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
38000         negative infinity argument.
38001         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
38002         negative infinity argument.
38003         * math/libm-test.inc (tgamma_test): Expect errno to be set for
38004         domain errors.
38006 2013-05-10  Florian Weimer  <fweimer@redhat.com>
38008         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
38009         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
38010         * iconv/iconv_prog.c (main): Likewise.
38011         * locale/programs/charmap-dir.c (charmap_readdir)
38012         (fopen_uncompressed): Likewise.
38013         * locale/programs/locfile.c (siblings_uncached)
38014         (write_locale_data): Use lstat64 instead of lstat.
38015         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
38016         stat.
38018 2013-05-10  Andreas Jaeger  <aj@suse.de>
38020         [BZ #15395]
38021         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
38022         localization.
38023         Include <locale.h>.
38025 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
38027         * elf/dl-close.c (_dl_close_worker): Add comments.
38029 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
38031         [BZ #15359]
38032         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
38033         high part of pi/2.
38034         (__ieee754_rem_pio2l): Update comments.
38036         [BZ #15429]
38037         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
38038         high part of pi/2.
38039         (__ieee754_rem_pio2l): Update comments.
38041         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
38042         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
38044         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
38045         M_PI_4l.
38047         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
38048         (M_PI_34_LOG10El): Likewise.
38049         (M_PI2_LOG10El): Likewise.
38050         (M_PI4_LOG10El): Likewise.
38051         (M_PI_LOG10El): Likewise.
38053 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38055         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38057 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
38059         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
38060         (MINUS_ZERO_INIT): Likewise.
38061         (PLUS_INFTY_INIT): Likewise.
38062         (MINUS_INFTY_INIT): Likewise.
38063         (QNAN_VALUE_INIT): Likewise.
38064         (MAX_VALUE_INIT): Likewise.
38065         (MIN_VALUE_INIT): Likewise.
38066         (MIN_SUBNORM_VALUE_INIT): Likewise.
38067         (plus_zero): Initialize with PLUS_ZERO_INIT.
38068         (minus_zero): Initialize with MINUS_ZERO_INIT.
38069         (plus_infty): Initialize with PLUS_INFTY_INIT.
38070         (minus_infty): Initialize with MINUS_INFTY_INIT.
38071         (qnan_value): Initialize with QNAN_VALUE_INIT.
38072         (max_value): Initialize with MAX_VALUE_INIT.
38073         (min_value): Initialize with MIN_VALUE_INIT.
38074         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
38076         * math/libm-test.inc (RUN_TEST_if_f): New macro.
38077         (jn_test): Use TEST_if_f instead of TEST_ff_f.
38078         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
38079         (yn_test): Use TEST_if_f instead of TEST_ff_f.
38081         * math/libm-test.inc (RUN_TEST_f_f): New macro.
38082         (RUN_TEST_2_f): Likewise.
38083         (RUN_TEST_ff_f): Likewise.
38084         (RUN_TEST_fi_f): Likewise.
38085         (RUN_TEST_fl_f): Likewise.
38086         (RUN_TEST_fff_f): Likewise.
38087         (RUN_TEST_c_f): Likewise.
38088         (RUN_TEST_f_f1): Likewise.
38089         (RUN_TEST_fF_f1): Likewise.
38090         (RUN_TEST_fI_f1): Likewise.
38091         (RUN_TEST_ffI_f1): Likewise.
38092         (RUN_TEST_c_c): Likewise.
38093         (RUN_TEST_cc_c): Likewise.
38094         (RUN_TEST_f_i): Likewise.
38095         (RUN_TEST_f_i_tg): Likewise.
38096         (RUN_TEST_ff_i_tg): Likewise.
38097         (RUN_TEST_f_b): Likewise.
38098         (RUN_TEST_f_b_tg): Likewise.
38099         (RUN_TEST_f_l): Likewise.
38100         (RUN_TEST_f_L): Likewise.
38101         (RUN_TEST_sincos): Likewise.
38102         * math/gen-libm-test.pl (new_test): Take new argument to indicate
38103         whether to show exceptions.  Do not include ");\n" in return
38104         value.
38105         (special_functions): Output call to RUN_TEST_sincos instead of
38106         check_float calls.  Update calls to new_test.
38107         (parse_args): Output call to single RUN_TEST_* macro instead of
38108         check_* calls and other assignments.  Update calls to new_test.
38110         [BZ #2546]
38111         [BZ #2560]
38112         [BZ #5159]
38113         [BZ #15426]
38114         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
38115         input to result for tgamma overflow.
38116         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
38117         (gamma_coeff): New variable.
38118         (NCOEFF): New macro.
38119         (gamma_positive): New function.
38120         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
38121         underflow here.  Use gamma_positive instead of exp (lgamma) for
38122         other arguments.
38123         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
38124         (gamma_coeff): New variable.
38125         (NCOEFF): New macro.
38126         (gammaf_positive): New function.
38127         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
38128         underflow here.  Use gamma_positive instead of exp (lgamma) for
38129         other arguments.
38130         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
38131         (gamma_coeff): New variable.
38132         (NCOEFF): New macro.
38133         (gammal_positive): New function.
38134         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
38135         underflow here.  Use gamma_positive instead of exp (lgamma) for
38136         other arguments.
38137         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
38138         (gamma_coeff): New variable.
38139         (NCOEFF): New macro.
38140         (gammal_positive): New function.
38141         (__ieee754_gammal_r): Handle positive infinity, overflow and
38142         underflow here.  Handle NaN the same as positive infinity.  Remove
38143         check x < 0xffffffff for negative integers.  Use gamma_positive
38144         instead of exp (lgamma) for other arguments.
38145         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
38146         (gamma_coeff): New variable.
38147         (NCOEFF): New macro.
38148         (gammal_positive): New function.
38149         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
38150         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
38151         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
38152         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
38153         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
38154         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
38155         * sysdeps/generic/math_private.h (__gamma_productf): New
38156         prototype.
38157         (__gamma_product): Likewise.
38158         (__gamma_productl): Likewise.
38159         * math/Makefile (libm-calls): Add gamma_product.
38160         * math/libm-test.inc (tgamma_test): Add more tests.
38161         * sysdeps/i386/fpu/libm-test-ulps: Update.
38162         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38164 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
38166         * benchtests/bench-skeleton.c (main): Preheat CPU.
38168 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
38170         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
38172 2013-05-07  Roland McGrath  <roland@hack.frob.com>
38174         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
38175         and _dl_skip_args_internal.
38177 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
38179         * manual/message.texi (Message Translation): Talk about users.
38180         Message to key mapping impacts design.
38182 2013-05-06  Roland McGrath  <roland@hack.frob.com>
38184         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
38186         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
38188         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
38189         * sysdeps/wordsize-64/glob64.c: ... here.
38191         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
38192         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
38193         New macros.
38195         * debug/getlogin_r_chk.c: Moved to ...
38196         * login/getlogin_r_chk.c: ... here.
38197         * debug/Makefile (routines): Move getlogin_r_chk to ...
38198         * login/Makefile (routines): ... here.
38199         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
38200         * login/Versions (libc: GLIBC_2.4): ... here.
38202         * io/poll.c (__poll): Renamed from poll.
38203         Add libc_hidden_def.
38204         (poll): Define as weak alias.
38206         * debug/ptsname_r_chk.c: Moved to ...
38207         * login/ptsname_r_chk.c: ... here.
38208         * debug/Makefile (routines): Move ptsname_r_chk to ...
38209         * login/Makefile (routines): ... here.
38210         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
38211         * login/Versions (libc: GLIBC_2.4): ... here.
38213         * posix/getlogin.c: Moved to ...
38214         * login/getlogin.c: ... here.
38215         * posix/getlogin_r.c: Moved to ...
38216         * login/getlogin_r.c: ... here.
38217         * posix/getlogin_r.c: Moved to ...
38218         * login/getlogin_r.c: ... here.
38219         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
38220         * login/Makefile (routines): ... here.
38221         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
38222         * login/Versions (libc: GLIBC_2.0): ... here.
38224         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
38225         (setrlimit): Define as weak alias.
38227         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
38228         Call __ names for open, ftruncate, and close.
38229         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
38230         (truncate): Define as weak alias.
38232 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
38234         * math/gen-libm-test.pl (parse_args): Initialize x before each
38235         test of frexp, modf and remquo.
38237         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
38238         test signgam value.
38240 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38242         [BZ #15418]
38243         [BZ #15419]
38244         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
38245         internal tests.
38246         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
38248 2013-05-06  Roland McGrath  <roland@hack.frob.com>
38250         * elf/dl-writev.h: New file.
38251         * elf/dl-misc.c: Include it.
38252         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
38253         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
38255 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
38257         * math/libm-test.inc (noXFails): Remove variable.
38258         (noXPasses): Likewise.
38259         (BUILD_COMPLEX_INT): Remove macro.
38260         (print_screen): Remove xfail argument.
38261         (print_screen_max_error): Likewise.
38262         (update_stats): Likewise.
38263         (print_max_error): Likewise.  Update calls to other affected
38264         functions.
38265         (print_complex_max_error): Likewise.
38266         (test_single_exception): Update calls to print_screen.
38267         (test_single_errno): Likewise.
38268         (check_float_internal): Remove xfail argument.  Update calls to
38269         other affected functions.
38270         (check_float): Likewise.
38271         (check_complex): Likewise.
38272         (check_int): Likewise.
38273         (check_long): Likewise.
38274         (check_bool): Likewise.
38275         (check_longlong): Likewise.
38276         (main): Don't print noXFails and noXPasses.
38277         * math/gen-libm-test.pl (top level): Don't mention expected
38278         failure handling in comment.
38279         (new_test): Don't handle expected failures.
38280         (parse_args): Don't mention expected failure handling in comment.
38281         (generate_testfile): Don't handle expected failures.
38282         (parse_ulps): Likewise.
38283         (print_ulps_file): Likewise.
38284         (get_failure): Remove function.
38285         (output_test): Don't handle expected failures.
38286         * make/README.libm-test: Don't mention expected failure handling.
38288         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
38289         (minus_zero): Likewise.
38290         (plus_infty): Likewise.
38291         (minus_infty): Likewise.
38292         (qnan_value): Likewise.
38293         (max_value): Likewise.
38294         (min_value): Likewise.
38295         (min_subnorm_value): Likewise.
38296         (initialize): Do not initialize those variables dynamically.
38298 2013-05-03  Roland McGrath  <roland@hack.frob.com>
38300         * io/open.c (__open_2): Moved to ...
38301         * io/open_2.c: ... this new file.
38302         * io/open64.c (__open64_2): Moved to ...
38303         * io/open64_2.c: ... this new file.
38304         * io/openat.c (__openat_2): Moved to ...
38305         * io/openat_2.c: ... this new file.
38306         * io/openat64.c (__openat64_2): Moved to ...
38307         * io/openat64_2.c: ... this new file.
38308         * io/Makefile (routines): Add them.
38309         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
38310         * sysdeps/unix/sysv/linux/open_2.c: File removed.
38311         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
38312         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
38313         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
38314         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
38315         (__openat64): Add hidden_ver.
38316         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
38317         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
38319         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
38320         Separately conditionalize setting of GLRO(dl_sysinfo) so
38321         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
38322         as well, but the actual setting is only under [NEED_DL_SYSINFO].
38324 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38326         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
38327         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
38328         definition.
38329         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
38330         * sysdeps/unix/sysv/linux/powerpc/init-first.c
38331         (_libc_vdso_platform_setup): Add __vdso_time initialization.
38332         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
38333         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
38335 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
38337         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
38338         test signgam value.
38340         * math/libm-test.inc (hypot_test): Do not use
38341         IGNORE_ZERO_INF_SIGN.
38343 2013-05-03  Andreas Jaeger  <aj@suse.de>
38345         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
38346         Linux 3.9.
38347         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
38348         (PF_MAX): Adjust for VSOCK change.
38350 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38352         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38354 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
38356         [BZ #15264]
38357         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
38358         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
38359         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
38361 2013-05-02  David S. Miller  <davem@davemloft.net>
38363         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38365 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
38367         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
38369 2013-05-01  Roland McGrath  <roland@hack.frob.com>
38371         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
38373 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
38375         [BZ #14952]
38376         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
38377         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
38378         Use __attribute__ ((__gnu_inline__)).
38379         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
38380         Don't use __attribute__ ((__gnu_inline__)).
38382 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
38384         [BZ #15423]
38385         * math/s_catan.c (__catan): Handle small real or imaginary part of
38386         input specially to avoid spurious underflow.
38387         * math/s_catanf.c (__catanf): Likewise.
38388         * math/s_catanh.c (__catanh): Likewise.
38389         * math/s_catanhf.c (__catanhf): Likewise.
38390         * math/s_catanhl.c (__catanhl): Likewise.
38391         * math/s_catanl.c (__catanl): Likewise.
38392         * math/libm-test.inc (catan_test): Add more tests.
38393         (catanh_test): Likewise.
38394         * sysdeps/i386/fpu/libm-test-ulps: Update.
38395         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38397 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38399         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38401 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
38403         [BZ #15416]
38404         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
38405         accurately for denominator in atan2.
38406         * math/s_catanf.c (__catanf): Likewise.
38407         * math/s_catanh.c (__catanh): Likewise.
38408         * math/s_catanhf.c (__catanhf): Likewise.
38409         * math/s_catanhl.c (__catanhl): Likewise.
38410         * math/s_catanl.c (__catanl): Likewise.
38411         * math/libm-test.inc (catan_test): Add more tests.
38412         (catanh_test): Likewise.
38413         * sysdeps/i386/fpu/libm-test-ulps: Update.
38414         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38416 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
38418         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
38420         * benchtests/Makefile (bench): Remove slow benchmarks.
38421         * benchtests/atan-inputs: Add slow benchmark inputs.
38422         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
38423         (BENCH_FUNC): Accept variant offset.
38424         (VARIANT): Define.
38425         * benchtests/bench-skeleton.c (main): Run benchmark for each
38426         variant.
38427         * benchtests/cos-inputs: Add slow benchmark inputs.
38428         * benchtests/exp-inputs: Likewise.
38429         * benchtests/pow-inputs: Likewise.
38430         * benchtests/sin-inputs: Likewise.
38431         * benchtests/slowatan-inputs: Remove.
38432         * benchtests/slowatan.c: Remove.
38433         * benchtests/slowcos-inputs: Remove.
38434         * benchtests/slowcos.c: Remove.
38435         * benchtests/slowexp-inputs: Remove.
38436         * benchtests/slowexp.c: Remove.
38437         * benchtests/slowpow-inputs: Remove.
38438         * benchtests/slowpow.c: Remove.
38439         * benchtests/slowsin-inputs: Remove.
38440         * benchtests/slowsin.c: Remove.
38441         * benchtests/slowtan-inputs: Remove.
38442         * benchtests/slowtan.c: Remove.
38443         * benchtests/tan-inputs: Add slow benchmark inputs.
38444         * scripts/bench.pl: Parse comments and directives.
38446         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
38447         in CPPFLAGS.
38448         ($(objpfx)bench-%.c): Remove *-ITER.
38449         * benchtests/bench-modf.c: Remove definition of ITER.
38450         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
38451         (main): Loop for DURATION seconds instead of fixed number of
38452         iterations.
38453         * scripts/bench.pl: Don't expect iterations in parameters.
38455 2013-04-29  Roland McGrath  <roland@hack.frob.com>
38457         * io/fchdir.c (__fchdir): Renamed from fchdir.
38458         (fchdir): Define as weak alias.
38460 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
38462         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
38463         (ERRNO_EDOM): Likewise.
38464         (ERRNO_ERANGE): Likewise.
38465         (noErrnoTests): New variable.
38466         (init_max_error): Set errno to 0.
38467         (test_single_errno): New function.
38468         (test_errno): Likewise.
38469         (check_float_internal): Call test_errno.  Set errno to 0.
38470         (check_complex): Refer to errno tests in comment.
38471         (check_int): Call test_errno.  Set errno to 0.
38472         (check_long): Likewise.
38473         (check_bool): Likewise.
38474         (check_longlong): Likewise.
38475         (cos_test): Use ERRNO_* flags for errno tests instead of
38476         check_int.
38477         (expm1_test): Likewise.
38478         (fmod_test): Likewise.
38479         (ilogb_test): Likewise.
38480         (lgamma_test): Likewise.
38481         (pow_test): Likewise.
38482         (remainder_test): Likewise.
38483         (sin_test): Likewise.
38484         (tan_test): Likewise.
38485         (yn_test): Likewise.
38486         (initialize): Set errno to 0.
38487         (main): Print number of errno tests.
38488         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
38490 2013-04-29  Andreas Jaeger  <aj@suse.de>
38492         [BZ #15084]
38493         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
38494         and RES_USEVC.
38496         [BZ #15085]
38497         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
38498         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
38499         unimplemented.
38501         [BZ #15380]
38502         * stdlib/random.c (__initstate): Return NULL if
38503         __initstate fails.
38505         [BZ #15086]
38506         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
38507         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
38508         RES_SNGLKUPREOP.
38510 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38512         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38514 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
38516         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
38517         of individual tests.
38518         (casin_test): Likewise.
38519         (casinh_test): Likewise.
38521 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
38523         [BZ #15409]
38524         * math/s_catan.c (__catan): Handle arguments with large real or
38525         imaginary part separately without squaring.
38526         * math/s_catanf.c (__catanf): Likewise.
38527         * math/s_catanh.c (__catanh): Likewise.
38528         * math/s_catanhf.c (__catanhf): Likewise.
38529         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
38530         and redefine.
38531         (__catanhl): Handle arguments with large real or imaginary part
38532         separately without squaring.
38533         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
38534         and redefine.
38535         (__catanl): Handle arguments with large real or imaginary part
38536         separately without squaring.
38537         * math/libm-test.inc (catan_test): Add more tests.
38538         (catanh_test): Likewise.
38539         * sysdeps/i386/fpu/libm-test-ulps: Update.
38540         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38542 2013-04-27  Andreas Jaeger  <aj@suse.de>
38544         [BZ #15007]
38545         * stdlib/stdlib.h: Update guards for qecvt.
38546         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
38547         <stdlib.h>.
38549 2013-04-27  Allan McRae  <allan@archlinux.org>
38551         * sysdeps/i386/fpu/libm-test-ulps: Update.
38553 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
38555         [BZ #15406]
38556         * math/s_catan.c: Include <float.h>.
38557         (__catan): Ensure underflow exception occurs for underflowed
38558         result.
38559         * math/s_catanf.c: Include <float.h>.
38560         (__catanf): Ensure underflow exception occurs for underflowed
38561         result.
38562         * math/s_catanh.c: Include <float.h>.
38563         (__catanh): Ensure underflow exception occurs for underflowed
38564         result.
38565         * math/s_catanhf.c: Include <float.h>.
38566         (__catanhf): Ensure underflow exception occurs for underflowed
38567         result.
38568         * math/s_catanhl.c: Include <float.h>.
38569         (__catanhl): Ensure underflow exception occurs for underflowed
38570         result.
38571         * math/s_catanl.c: Include <float.h>.
38572         (__catanl): Ensure underflow exception occurs for underflowed
38573         result.
38574         * math/libm-test.inc (catan_test): Add more tests.
38575         (catanh_test): Likewise.
38577         [BZ #15405]
38578         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
38579         underflowed result.
38580         * math/s_ccoshf.c (__ccoshf): Likewise.
38581         * math/s_ccoshl.c (__ccoshl): Likewise.
38582         * math/s_csin.c (__csin): Likewise.
38583         * math/s_csinf.c (__csinf): Likewise.
38584         * math/s_csinh.c (__csinh): Likewise.
38585         * math/s_csinhf.c (__csinhf): Likewise.
38586         * math/s_csinhl.c (__csinhl): Likewise.
38587         * math/s_csinl.c (__csinl): Likewise.
38588         * math/libm-test.inc (ccos_test): Add more tests.
38589         (ccosh_test): Likewise.
38590         (csin_test): Likewise.
38591         (csinh_test): Likewise.
38593 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38595         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
38596         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
38597         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
38598         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
38599         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
38600         powerpc/power5+/fpu folders.
38601         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
38604 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
38606         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38608 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
38610         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
38611         additions to variable.
38612         [$(config-machine) = x86_64] (modules-names): Likewise.
38613         ($(objpfx)tst-audit3): Remove dependency.
38614         ($(objpfx)tst-audit3.out): Likewise.
38615         ($(objpfx)tst-audit4): Likewise.
38616         ($(objpfx)tst-audit4.out): Likewise.
38617         ($(objpfx)tst-audit5): Likewise.
38618         ($(objpfx)tst-audit5.out): Likewise.
38619         ($(objpfx)tst-audit6): Likewise.
38620         ($(objpfx)tst-audit6.out): Likewise.
38621         ($(objpfx)tst-audit7): Likewise.
38622         ($(objpfx)tst-audit7.out): Likewise.
38623         (tst-audit3-ENV): Remove variable.
38624         (tst-audit4-ENV): Likewise.
38625         (tst-audit5-ENV): Likewise.
38626         (tst-audit6-ENV): Likewise.
38627         (tst-audit7-ENV): Likewise.
38628         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
38629         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
38630         addition to variable.
38631         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
38632         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
38633         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
38634         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
38635         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
38636         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
38637         tst-audit3, tst-audit4 and tst-audit5.
38638         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
38639         tst-audit6 and tst-audit7.
38640         [$(subdir) = elf] (modules-names): Add audit modules for those
38641         tests.
38642         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
38643         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
38644         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
38645         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
38646         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
38647         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
38648         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
38649         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
38650         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
38651         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
38652         [$(subdir) = elf] (tst-audit3-ENV): New variable.
38653         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
38654         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
38655         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
38656         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
38657         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
38658         Likewise.
38659         [$(subdir) = elf && $(config-cflags-avx) = yes]
38660         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
38661         [$(subdir) = elf && $(config-cflags-avx) = yes]
38662         (CFLAGS-tst-auditmod4a.c): Likewise.
38663         [$(subdir) = elf && $(config-cflags-avx) = yes]
38664         (CFLAGS-tst-auditmod4b.c): Likewise.
38665         [$(subdir) = elf && $(config-cflags-avx) = yes]
38666         (CFLAGS-tst-auditmod6b.c): Likewise.
38667         [$(subdir) = elf && $(config-cflags-avx) = yes]
38668         (CFLAGS-tst-auditmod6c.c): Likewise.
38669         [$(subdir) = elf && $(config-cflags-avx) = yes]
38670         (CFLAGS-tst-auditmod7b.c): Likewise.
38671         * elf/tst-audit3.c: Move to ...
38672         * sysdeps/x86_64/tst-audit3.c: ... here.
38673         * elf/tst-audit4.c: Move to ...
38674         * sysdeps/x86_64/tst-audit4.c: ... here.
38675         * elf/tst-audit5.c: Move to ...
38676         * sysdeps/x86_64/tst-audit5.c: ... here.
38677         * elf/tst-audit6.c: Move to ...
38678         * sysdeps/x86_64/tst-audit6.c: ... here.
38679         * elf/tst-audit7.c: Move to ...
38680         * sysdeps/x86_64/tst-audit7.c: ... here.
38681         * elf/tst-auditmod3a.c: Move to ...
38682         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
38683         * elf/tst-auditmod3b.c: Move to ...
38684         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
38685         * elf/tst-auditmod4a.c: Move to ...
38686         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
38687         * elf/tst-auditmod4b.c: Move to ...
38688         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
38689         * elf/tst-auditmod5a.c: Move to ...
38690         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
38691         * elf/tst-auditmod5b.c: Move to ...
38692         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
38693         * elf/tst-auditmod6a.c: Move to ...
38694         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
38695         * elf/tst-auditmod6b.c: Move to ...
38696         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
38697         * elf/tst-auditmod6c.c: Move to ...
38698         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
38699         * elf/tst-auditmod7a.c: Move to ...
38700         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
38701         * elf/tst-auditmod7b.c: Move to ...
38702         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
38704 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
38706         [BZ #15366]
38707         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
38708         define unconditionally.
38709         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
38710         define unconditionally.
38711         (INT8_C, INT16_C, etc.): Likewise.
38713 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
38715         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
38716         __ehdr_start with hidden visibility.
38718         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
38720 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
38722         * math/libm-test.inc (cos_test): Use accurate hex constants.
38723         (sincost_test): Likewise.
38725 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
38727         * math/libm-test.inc (catan_test): Add more tests.
38728         (catanh_test): Likewise.
38730         * math/s_catanf.c (__catanf): Use suffixed floating-point
38731         constants.
38732         * math/s_catanhf.c (__catanhf): Likewise.
38733         * math/s_catanhl.c (__catanhl): Likewise.
38734         * math/s_catanl.c (__catanl): Likewise.
38736         [BZ #15394]
38737         * math/s_catan.c (__catan): Calculate imaginary part of result
38738         with log1p not log unless computing log of number close to 0.
38739         * math/s_catanf.c (__catanf): Likewise.
38740         * math/s_catanl.c (__catanl): Likewise.
38741         * math/s_catanh.c (__catanh): Calculate real part of result with
38742         log1p not log unless computing log of number close to 0.
38743         * math/s_catanhf.c (__catanhf): Likewise.
38744         * math/s_catanhl.c (__catanhl): Likewise.
38745         * math/libm-test.inc (catan_test): Add more tests.
38746         (catanh_test): Likewise.
38747         * sysdeps/i386/fpu/libm-test-ulps: Update.
38748         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38750 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
38752         * benchtests/Makefile: Mention files in which fast and slow
38753         paths of math functions are implemented.
38755 2013-04-23  Roland McGrath  <roland@hack.frob.com>
38757         * sysdeps/posix/timespec_get.c: New file.
38759 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38761         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
38762         POWER.
38763         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
38764         for POWER.
38765         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
38766         powerpc/power5/fpu folders.
38767         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
38768         * benchtests/Makefile: Add modf testcase.
38769         * benchtests/bench-modf.c: New file: Benchmark test for mo
38771 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
38773         [BZ #14888]
38774         * time/Makefile (tests): Add tst-strptime-whitespace.
38775         * time/strptime_l.c (get_number): Use ISSPACE.
38776         (__strptime_internal): Likewise.
38777         * time/tst-strptime-whitespace.c: New test case.
38779 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
38781         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
38782         member.
38783         (_nss_files_init): Set it here.
38785 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
38787         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
38788         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
38789         unsigned.
38791 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
38793         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
38795 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
38797         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
38798         size just once.
38800 2013-04-21  David S. Miller  <davem@davemloft.net>
38802         * po/ru.po: Update Russion translation from translation project.
38804 2013-04-17  Adam Conrad  <adconrad@0c3.net>
38806         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
38807         and setfsgid.
38809 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
38811         * configure.in: Remove i386 configure warning. Remove i386 case.
38812         * configure: Regenerate.
38813         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
38814         Add example to error message.
38815         * sysdeps/i386/configure: Regenerate.
38817 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
38819         * benchtests/Makefile (bench): Add cos, tan, slowcos and
38820         slowtan.
38821         * benchtests/cos-inputs: New file.
38822         * benchtests/slowcos-inputs: New file.
38823         * benchtests/slowcos.c: New file.
38824         * benchtests/slowtan-inputs: New file.
38825         * benchtests/slowtan.c: New file.
38826         * benchtests/tan-inputs: New file.
38828 2013-04-16  Roland McGrath  <roland@hack.frob.com>
38830         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
38831         considered kosher.
38833 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
38835         * benchtests/Makefile: Include cppflags-iterator.mk to add
38836         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
38838         * Makefile.in (bench-clean): New target.
38839         * benchtests/Makefile (bench-clean): Likewise.
38841 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
38843         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
38845 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
38847         * stdio-common/tstdiomisc.c: Fix coding-style violation.
38849 2013-04-15  Andreas Schwab  <schwab@suse.de>
38851         * nscd/grpcache.c (cache_addgr): Properly check for short write.
38852         * nscd/initgrcache.c (addinitgroupsX): Likewise.
38853         * nscd/pwdcache.c (cache_addpw): Likewise.
38854         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
38855         more than recsize.
38857 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
38859         * benchtests/Makefile (bench): Write all output to
38860         bench-out.tmp together.
38862 2013-04-15  Andreas Schwab  <schwab@suse.de>
38864         * nscd/nscd.c (main): Don't fork again after closing files.
38866 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
38868         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
38870         * benchtests/Rules (bench-deps): Collect dependencies into a
38871         single variable.  Add Makefile to dependencies.
38872         ($(objpfx)bench-%.c): Depend on bench-deps.
38874 2013-04-12  Roland McGrath  <roland@hack.frob.com>
38875             Xavier Roche  <roche+kml2@exalead.com>
38877         [BZ #15361]
38878         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
38879         just that it's a file descriptor.
38880         * manual/llio.texi (Synchronizing AIO Operations): Update description
38881         for EBADF error from aio_fsync.
38883 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
38885         * Rules (bench): Move target definition...
38886         * benchtests/Makefile: ... here.
38888 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
38890         * math/libm-test.inc (cos_test): Fix PI/2 test.
38891         (sincos_test): Likewise.
38892         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
38893         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
38895 2013-04-11  Andreas Schwab  <schwab@suse.de>
38897         [BZ #13988]
38898         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
38899         accept exponent character only when digits were seen.
38900         * stdio-common/Makefile (tests): Add bug26.
38901         * stdio-common/bug26.c: New file.
38903         [BZ #14293]
38904         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
38905         non-freeable.
38907 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
38909         * Makeconfig (rtld-prefix): Define built linker prefix.
38910         * Rules (run-bench): Use it.
38911         * math/Makefile (run-regen-ulps): Likewise.
38913         * Rules (bench): Remove eval.
38915 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
38916             Roland McGrath  <roland@hack.frob.com>
38917             Ondrej Bilka  <neleai@seznam.cz>
38919         [BZ #15346]
38920         * time/getdate.c: Include ctype.h and alloca.h.
38921         (__getdate_r): Trim leading and trailing spaces of input.
38922         * time/tst-getdate.c (tests): Add tests with leading and
38923         trailing spaces.
38925 2013-04-08  Roland McGrath  <roland@hack.frob.com>
38927         [BZ #14280]
38928         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
38929         when computing value.
38931 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
38933         * math/README.libm-test (How can I generate "libm-test-ulps"?):
38934         Use testrun.sh to run libm tests.
38936         [BZ #15309]
38937         * elf/dl-open.c (dl_open_worker): memset all of seen array.
38939 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
38941         [BZ #15264]
38942         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
38944 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
38946         * Makefile.in (regen-ulps): New target.
38947         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
38948         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
38949         [ifneq (no,$(PERL)] (regen-ulps): New target.
38950         [ifeq (no,$(PERL)] (regen-ulps): New target.
38951         * math/libm-test.inc (ulps_file_name): Define.
38952         (output_dir): New variable.
38953         (options): Add "output-dir" option.
38954         (parse_opt): Handle 'o' case.
38955         (main): If output_dir is non-NULL use it as a prefix
38956         otherwise use "".
38957         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
38959 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
38961         [BZ #10060, #10062]
38962         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
38963         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
38964         fail configure if __sync_val_compare_and_swap is not inlined.
38965         * sysdeps/i386/configure: Regenerate.
38966         * configure.in: Build for i686 when configured for i386.
38967         * configure: Regenerate.
38968         * README: Remove i386 reference.
38970 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
38972         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
38973         * sysdeps/s390/s390-64/sysdep.h: Likewise.
38975 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
38977         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
38978         (lmsnanval): New variables.
38979         (F): Add conversion tests.
38980         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
38981         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
38983         * stdio-common/tstdiomisc.c (F): Properly collect individual
38984         tests' results.
38986         [BZ #14686, #15336]
38987         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
38988         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
38989         Instead, use input NaN values or generate a qNaN by arithmetic
38990         operation.  Also fix bugs to comply with the standard.
38991         * math/libm-test.inc (remainder_test): Add more tests.
38993         [BZ #15335, #15342]
38994         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
38995         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
38996         input NaN values or generate a qNaN by arithmetic operation.
38998         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
38999         unreachable code.
39001         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
39002         definitions.
39004 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
39006         [BZ #14478]
39007         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
39008         underflowed result.
39009         * math/s_cexpf.c (__cexpf): Likewise.
39010         * math/s_cexpl.c (__cexpl): Likewise.
39011         * math/libm-test.inc (cexp_test): Add more tests.
39013 2013-04-03  Andreas Schwab  <schwab@suse.de>
39015         [BZ #15330]
39016         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
39017         order arrays from heap if bigger than alloca cutoff.
39019 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
39021         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
39022         (SNAN_TESTS_double): Refer to GCC PR56831.
39023         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
39024         GCC PR56828.
39026 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
39028         * Rules (bench): Move bench.out after the run is complete.
39030         * Rules (bench): Echo currently running benchmark.
39032         * benchtests/Makefile (bench): Add atan and slowatan.
39033         * benchtests/atan-inputs: New file.
39034         * benchtests/slowatan-inputs: New file.
39035         * benchtests/slowatan.c: New file.
39037         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
39038         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
39039         its value.
39041         [BZ #15305]
39042         * sysdeps/unix/sysv/linux/kernel-features.h
39043         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
39044         __ASSUME_XFS_RESTRICTED_CHOWN.
39045         * sysdeps/unix/sysv/linux/pathconf.c
39046         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
39047         Save and restore errno.
39049 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
39051         [BZ #15327]
39052         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
39053         arguments using __kernel_casinh.
39054         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
39055         arguments using __kernel_casinhf.
39056         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
39057         arguments using __kernel_casinhl.
39058         * math/libm-test.inc (cacosh_test): Add more tests.
39059         * sysdeps/i386/fpu/libm-test-ulps: Update.
39060         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39062 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
39064         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
39065         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
39067         * bench/Makefile (bench): Add sin and slowsin.
39068         * benchtests/sin-inputs: New file.
39069         * benchtests/slowsin-inputs: New file.
39070         * benchtests/slowsin.c: New file.
39072         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
39073         (bench): Add slowexp and slowpow.
39074         (exp-ITER): Increase iterations.
39075         (pow-ITER): Likewise.
39076         * benchtests/exp-inputs: Change input.
39077         * benchtests/pow-inputs: Likewise.
39078         * benchtests/slowexp-inputs: New file.
39079         * benchtests/slowexp.c: New file.
39080         * benchtests/slowpow-inputs: New file.
39081         * benchtests/slowpow.c: New file.
39083 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39085         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
39086         instructions.
39087         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
39088         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
39089         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
39090         * benchtests/Makefile: Add rint benchtest.
39091         * benchtests/rint-inputs: Input for rint benchtest.
39093 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
39095         * Versions.def (libm): Add GLIBC_2.18.
39096         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
39097         hidden libm prototypes.
39098         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
39099         * math/Makefile (libm-calls): Add s_issignaling.
39100         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
39101         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
39102         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
39103         declaration.
39104         * math/math.h [__USE_GNU] (issignaling): New macro.
39105         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
39106         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
39107         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
39108         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
39109         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
39110         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
39111         * manual/arith.texi (issignaling): New section.
39112         * manual/libm-err-tab.pl (@all_functions): Update comment.
39113         * math/gen-libm-test.pl (parse_args): Apply special handling for
39114         issignaling.
39115         * math/libm-test.inc (print_float, issignaling_test): New
39116         functions.
39117         (check_float_internal): Add issignaling checks.
39118         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
39119         default definition.
39120         * sysdeps/powerpc/math-tests.h: New file.
39121         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
39122         tests.
39123         * math/test-snan.c (TEST_FUNC): Likewise.
39125 2013-03-30  David S. Miller  <davem@davemloft.net>
39127         * po/de.po: Update from translation team.
39129 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
39131         [BZ #10357]
39132         * math/k_casinh.c (__kernel_casinh): Handle arguments with
39133         imaginary part less than 1.0 and real part less than 0.5
39134         specially.
39135         * math/k_casinhf.c (__kernel_casinhf): Likewise.
39136         * math/k_casinhl.c (__kernel_casinhl): Likewise.
39137         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
39138         (cacos_test): Add more tests.
39139         (casin_test): Likewise.
39140         (casinh_test): Likewise.
39141         * sysdeps/i386/fpu/libm-test-ulps: Update.
39142         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39144 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
39146         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
39147         ONE with its value.
39149         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
39150         (__pow_mp): Replace ONE and MONE with their values.
39151         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
39152         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
39153         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
39154         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
39155         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
39156         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
39158         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
39160         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
39161         (__pow_mp): Replace ZERO and MZERO with their values.
39162         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
39163         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
39164         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
39165         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
39166         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
39167         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
39168         (__sqr): Likewise.
39170         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
39172         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
39174 2013-03-28  Roland McGrath  <roland@hack.frob.com>
39176         * include/stdlib.h [!SHARED] (__call_tls_dtors):
39177         Declare with __attribute__ ((weak)).
39178         * stdlib/exit.c (__libc_atexit) [!SHARED]:
39179         Call __call_tls_dtors only if it's not NULL.
39181 2013-03-28  Roland McGrath  <roland@hack.frob.com>
39183         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
39184         didn't do it already, then set _dl_phdr and _dl_phnum based on the
39185         magic __ehdr_start linker symbol if it's defined.
39186         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
39187         them up here if it was already done.
39189         * elf/dl-support.c (_dl_phdr): Make pointer to const.
39190         (_dl_aux_init): Use const in cast when setting it.
39191         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
39192         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
39193         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
39195         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
39196         Declare them here.
39197         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
39198         * csu/libc-tls.c: Nor here.
39199         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
39201         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
39202         (__libc_message): Never call vsyslog.
39204 2013-03-28  Alan Modra  <amodra@gmail.com>
39206         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
39207         Define as empty.
39208         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
39209         Likewise.
39211 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39213         [BZ #15214]
39214         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
39215         underflow.
39216         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39218 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
39220         [BZ #15304]
39221         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
39222         Don't add gid passed as argument.
39224         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
39226 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
39228         [BZ #15307]
39229         * math/k_casinh.c (__kernel_casinh): Handle arguments with
39230         imaginary part between 1.0 and 1.5 and real part less than 0.5
39231         specially.
39232         * math/k_casinhf.c (__kernel_casinhf): Likewise.
39233         * math/k_casinhl.c (__kernel_casinhl): Likewise.
39234         * math/libm-test.inc (cacos_test): Add more tests.
39235         (casin_test): Likewise.
39236         (casinh_test): Likewise.
39237         * sysdeps/i386/fpu/libm-test-ulps: Update.
39238         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39240 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
39242         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
39243         constants.
39244         (norm): Likewise.
39245         (denorm): Likewise.
39246         (__dbl_mp): Likewise.
39247         (add_magnitudes): Likewise.
39248         (sub_magnitudes): Likewise.
39249         (__add): Likewise.
39250         (__sub): Likewise.
39251         (__mul): Likewise.
39252         (__sqr): Likewise.
39253         (__inv): Likewise.
39254         (__dvd): Likewise.
39256         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
39257         commented code.
39258         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
39259         (__dubcos): Likewise.
39260         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
39261         (__ieee754_acos): Likewise.
39262         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
39263         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
39264         (__exp1): Likewise.
39265         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
39266         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
39267         (log1): Likewise.
39268         (my_log2): Likewise.
39269         (checkint): Likewise.
39270         * sysdeps/ieee754/dbl-64/e_remainder.c
39271         (__ieee754_remainder): Likewise.
39272         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
39273         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
39274         (bsloww): Likewise.
39275         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
39277         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
39278         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
39279         MANTISSA_STORE_T to store computations on mantissa.  Use
39280         macros for rounding and division.
39281         (denorm): Likewise.
39282         (__dbl_mp): Likewise.
39283         (add_magnitudes): Likewise.
39284         (sub_magnitudes): Likewise.
39285         (__mul): Likewise.
39286         (__sqr): Likewise.
39287         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
39288         powers of two in terms of TWOPOW macro.
39289         (mp_no): Make type of mantissa as MANTISSA_T.
39290         [!RADIXI]: Define RADIXI.
39291         [!TWO52]: Define TWO52.
39292         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
39294 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39296         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
39297         llroundl symbol when building for PPC32.
39299 2013-03-24  Mark H Weaver  <mhw@netris.org>
39301         * manual/arith.texi (Normalization Functions): Fix prototypes for
39302         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
39304 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39306         [BZ #13889]
39307         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
39308         high value to check if expl overflow.
39309         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
39310         to check for underflow and overflow.
39311         * math/libm-test.inc: Add exp test.
39313 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
39315         [BZ #11120]
39316         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
39317         with NOT_IN_libc.
39319 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39321         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
39322         symbol.
39324 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
39326         * math/gen-libm-test.pl (parse_args, special_functions): Properly
39327         wrap blocks consisting of several statements.
39329         * sysdeps/generic/math-tests.h: New file.
39330         * sysdeps/i386/fpu/math-tests.h: Likewise.
39331         * math/test-snan.c: Include it.
39332         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
39334 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
39336         [BZ #15285]
39337         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
39338         (__ieee754_j0l): Do not improve calculations using cos of twice
39339         input for inputs above LDBL_MAX / 2.0L.
39340         (__ieee754_y0l): Likewise.
39341         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
39342         (__ieee754_j1l): Do not improve calculations using cos of twice
39343         input for inputs above LDBL_MAX / 2.0L.
39344         (__ieee754_y1l): Likewise.
39345         * math/libm-test.inc (j0_test): Add another test.
39346         (j1_test): Likewise.
39347         (y0_test): Likewise.
39348         (y1_test): Likewise.
39349         * sysdeps/i386/fpu/libm-test-ulps: Update.
39351 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
39353         * Rules ($(objpfx)bench-%.c): Include code from a C source
39354         file.
39356 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
39358         [BZ #15287]
39359         * math/k_casinh.c (__kernel_casinh): Handle arguments with
39360         imaginary part 1.0 and real part less than 0.5 specially.
39361         * math/k_casinhf.c (__kernel_casinhf): Likewise.
39362         * math/k_casinhl.c (__kernel_casinhl): Likewise.
39363         * math/libm-test.inc (cacos_test): Add more tests.
39364         (casin_test): Likewise.
39365         (casinh_test): Likewise.
39366         * sysdeps/i386/fpu/libm-test-ulps: Update.
39367         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39369 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
39371         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
39372         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
39374 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
39376         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
39377         * config.make.in (config-cflags-sse4): Remove variable.
39378         (config-cflags-avx): Likewise.
39379         (config-cflags-sse2avx): Likewise.
39380         (config-cflags-novzeroupper): Likewise.
39381         (config-asflags-i686): Likewise.
39382         (have-mfma4): Likewise.
39383         (have-as-vis3): Likewise.
39384         (MIG): Likewise.
39385         * configure.in (MIG): Do not AC_SUBST.
39386         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
39387         (libc_cv_cc_sse4): Do not AC_SUBST.
39388         (libc_cv_cc_avx): Likewise.
39389         (libc_cv_cc_sse2avx): Likewise.
39390         (libc_cv_cc_novzeroupper): Likewise.
39391         (libc_cv_cc_fma4): Likewise.
39392         (libc_cv_as_i686): Likewise.
39393         (libc_cv_sparc_as_vis3): Likewise.
39394         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
39395         LIBC_CONFIG_VAR.
39396         (config-asflags-i686): Likewise.
39397         (config-cflags-avx): Likewise.
39398         (config-cflags-sse2avx): Likewise.
39399         (have-mfma4): Likewise.
39400         (config-cflags-novzeroupper): Likewise.
39401         * sysdeps/mach/configure.in (MIG): Likewise.
39402         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
39403         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
39404         LIBC_CONFIG_VAR.
39405         (config-cflags-avx): Likewise.
39406         (config-cflags-sse2avx): Likewise.
39407         (have-mfma4): Likewise.
39408         (config-cflags-novzeroupper): Likewise.
39409         * configure: Regenerated.
39410         * sysdeps/i386/configure: Likewise.
39411         * sysdeps/mach/configure: Likewise.
39412         * sysdeps/sparc/configure: Likewise.
39413         * sysdeps/x86_64/configure: Likewise.
39415 2013-03-20  Roland McGrath  <roland@hack.frob.com>
39417         [BZ #14812]
39418         * locale/programs/localedef.c (options): Put N_ translation marker
39419         on argument names, not just descriptions.
39421 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
39423         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
39425 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
39427         [BZ #14176]
39428         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
39430 2013-03-19  Roland McGrath  <roland@hack.frob.com>
39432         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
39433         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
39434         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
39435         [!BEFORE_ABORT] (before_abort): New function.
39436         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
39437         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
39438         (writev_for_fatal): New function.
39439         (WRITEV_FOR_FATAL): New macro; call that.
39440         (backtrace_and_maps): New function.
39441         (BEFORE_ABORT): New macro; call that.
39442         (struct str_list): Type removed.
39443         (__libc_message, __libc_fatal): Functions removed.
39444         Include <sysdeps/posix/libc_fatal.c> instead.
39446 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
39448         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
39449         constants.
39450         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
39451         double constants.
39453 2013-03-19  Andreas Schwab  <schwab@suse.de>
39455         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
39456         * sysdeps/gnu/configure: Regenerate.
39458         * configure.in: Substitute libc_cv_rtlddir.
39459         * configure: Regenerate.
39460         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
39461         * Makeconfig (rtlddir, inst_rtlddir): New variables.
39462         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
39463         * elf/Makefile (install-others, CFLAGS-interp.c)
39464         (ldso_install, common-ldd-rewrite): Likewise.
39465         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
39466         $(inst_slibdir)/$(rtld-installed-name).
39467         * scripts/rellns-sh: Add -p option.
39468         * Makerules (make-shlib-link): Use rellns-sh to get relative name
39469         for source.
39471 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
39473         * manual/nptl.texi: Renamed to ...
39474         * manual/threads.texi: ... this.
39475         * manual/Makefile (chapters): Update.
39477 2013-03-18  Roland McGrath  <roland@hack.frob.com>
39479         [BZ #14812]
39480         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
39481         on argument names, not just descriptions.
39482         * malloc/memusagestat.c (options): Likewise.
39483         * nss/getent.c (options): Likewise.
39485 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
39487         [BZ #14812]
39488         * iconv/iconv_prog.c (options): Put N_ translation marker
39489         on argument names, not just descriptions.
39490         * iconv/iconvconfig.c (options): Likewise.
39492 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
39494         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
39495         implementation which is faster on all x86_64 architectures.
39496         Tested on AMD, Intel Nehalem, SNB, IVB.
39497         * sysdeps/x86_64/strnlen.S: Likewise.
39499         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
39500         Remove all multiarch strlen and strnlen versions.
39501         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
39502         Remove strlen and strnlen related parts.
39504         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
39505         Inline strlen part.
39506         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
39508         * sysdeps/x86_64/multiarch/strlen.S: Remove.
39509         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
39510         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
39511         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
39512         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
39513         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
39515 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
39517         * manual/memory.texi (Malloc Tunable Parameters):
39518         Sort parameters alphabetically. Add comments for missing entries.
39520 2013-03-17  David S. Miller  <davem@davemloft.net>
39522         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39524 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
39526         [BZ #15283]
39527         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
39528         for arguments at most half maximum finite value.
39529         * math/libm-test.inc (j0_test): Add more tests.
39530         (j1_test): Likewise.
39531         (y0_test): Likewise.
39532         (y1_test): Likewise.
39533         * sysdeps/i386/fpu/libm-test-ulps: Update.
39534         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39536         [BZ #14155]
39537         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
39538         1 / x and functions P and Q for arguments above 0x1p256L.
39539         (__ieee754_y0l): Likewise.
39540         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
39541         (__ieee754_y1l): Likewise.
39542         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
39543         (j1_test): Likewise.
39544         (y0_test): Likewise.
39545         (y1_test): Likewise.
39547 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
39549         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
39550         variable.
39552 2013-03-15  Roland McGrath  <roland@hack.frob.com>
39554         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
39555         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
39556         zero since it's initialized to EXEC_PAGESIZE.
39558         * sysdeps/unix/sysv/linux/ldsodefs.h
39559         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
39560         * sysdeps/generic/ldsodefs.h: ... here.
39562 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
39564         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
39566         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
39567         math/test-snan.c.
39568         * math/test-snan.c: Renamed from
39569         sysdeps/powerpc/fpu/test-powerpc-snan.c.
39570         * math/Makefile (tests): Add test-snan.
39571         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
39572         test-powerpc-snan.
39574         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
39575         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
39576         functions.
39577         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
39578         __builtin_nan family of functions.
39579         * math/libm-test.inc (initialize): Initialize qnan_value with
39580         __builtin_nan family of functions.
39581         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
39582         Remove variables.
39583         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
39584         Remove functions.
39585         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
39586         storage class.  Initialize qNaN_var and sNaN_var with
39587         __builtin_nan and __builtin_nans families of functions,
39588         respectively.
39590         * math/libm-test.inc (acosh_test): Also test with qNaN input.
39591         (sqrt_test): Remove duplicate test with qNaN input.
39592         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
39593         (round_test, signbit_test, significand_test): Note missing +/-Inf
39594         as well as qNaN tests.
39596         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
39597         qNaN_var.  Fix a few strings, too.
39598         * math/libm-test.inc (nan_value): Rename to qnan_value.
39599         * math/gen-libm-test.pl (%beautify): Adjust to that.
39600         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
39601         * math/test-misc.c (main): Likewise.
39602         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
39603         to __qnan_bytes, and __qnan_union, respectively.
39604         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
39605         Likewise.
39606         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
39607         and lqnanval, respectively.
39608         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
39609         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
39610         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
39611         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
39613         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
39614         * math/test-misc.c (main) [__x86_64__]: Enable test for long
39615         doubles.
39617         * math/test-misc.c (main): Fix copy'n'pastos.
39618         * misc/tst-efgcvt.c (special): Likewise.
39620         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
39621         Remove declarations.
39623 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
39625         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
39626         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
39627         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
39628         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
39630 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39632         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
39633         macro to return vdso values correctly in IFUNC implementations.
39634         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
39635         Optimization by using IFUNC.
39637 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
39638             Richard Henderson  <rth@redhat.com>
39639             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
39641         * Makefile.in (bench): New target.
39642         * NEWS: Mention the benchmark framework.
39643         * Rules (bench): Likewise.
39644         (binaries-bench): Generate binaries for functions to
39645         benchmark.
39646         * benchtests/Makefile: New makefile for benchmark tests.
39647         * benchtests/bench-skeleton.c: New skeleton file for benchmark
39648         programs.
39649         * benchtests/exp-inputs: New input file for EXP function.
39650         * benchtests/pow-inputs: New input file for POW function.
39651         * scripts/bench.pl: New script to generate source files for
39652         benchmark programs.
39654 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
39656         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
39657         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
39658         computations on mantissa.  Use macros for rounding and
39659         division.
39660         (denorm): Likewise.
39661         (__dbl_mp): Likewise.
39662         (add_magnitudes): Likewise.
39663         (sub_magnitudes): Likewise.
39664         (__mul): Likewise.
39665         (__sqr): Likewise.
39666         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
39667         powers of two in terms of TWOPOW macro.
39668         (mp_no): Make type of mantissa as MANTISSA_T.
39669         [!RADIXI]: Define RADIXI.
39670         [!TWO52]: Define TWO52.
39671         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
39673         * manual/nptl.texi (cindex): Modify threads to pthreads.
39675 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
39677         * sysdeps/x86_64/preconfigure: Regenerated.
39679 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
39681         [BZ #14155]
39682         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
39683         0x1p28 and above.
39684         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
39685         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
39686         0x1p28 and above.
39687         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
39688         * math/libm-test.inc (j0_test): Do not allow one spurious
39689         underflow exception.
39690         (y1_test): Likewise.
39692 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
39694         * manual/Makefile (chapters): Add nptl.
39695         * manual/debug.texi (Debugging Support): Add link to Threads
39696         chapter.
39697         * manual/nptl.texi: New file.
39699         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
39701 2013-03-14  Petr Baudis  <pasky@ucw.cz>
39703         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
39704         for non-NULL pointer before the memory validity test. Pointed
39705         out by Holger Brunck <holger.brunck@keymile.com>.
39707 2013-03-13  Andreas Schwab  <schwab@suse.de>
39709         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
39710         instead of .os.
39712 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
39714         * timezone/zic.c: Update from tzcode 2013b.
39716 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
39718         * manual/install.texi (Configuring and compiling):
39719         Mention i686 and i586.
39720         * INSTALL: Regenerate.
39722 2013-03-12  Roland McGrath  <roland@hack.frob.com>
39724         * sysdeps/init_array/elf-init.c: New file.
39725         * csu/elf-init.c
39726         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
39727         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
39729         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
39730         __gmon_start__ as global, but as static with a .preinit_array pointer.
39731         * sysdeps/init_array/gmon-start.c: New file.  Use that.
39732         * sysdeps/init_array/crti.S: New file, empty except for comments.
39733         * sysdeps/init_array/crtn.S: Likewise.
39735 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
39737         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
39738         definining bcopy.
39739         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39740         Remove Prefer_SSE_for_memop.
39741         * sysdeps/x86_64/multiarch/init-arch.h: Remove
39742         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
39743         HAS_PREFER_SSE_FOR_MEMOP.
39744         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
39745         memset-x86-64.
39746         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
39747         Remove bzero, memset ifunc support.
39748         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
39749         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
39750         * sysdeps/x86_64/multiarch/memset.S: Likewise.
39751         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
39753 2013-03-11  Andreas Schwab  <schwab@suse.de>
39755         [BZ #15234]
39756         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
39757         by SHLIB_COMPAT.
39758         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
39759         (GLIBC_2.16): Remove pthread_atfork.
39761 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
39763         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
39764         (ptestcases.h): Likewise.
39766 2013-03-08  Roland McGrath  <roland@hack.frob.com>
39768         * Makeconfig ($(common-objpfx)config.status): Depend on
39769         sysdeps/*/preconfigure{,.in} too.
39771 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
39773         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
39774         (__free_hook): Use void * instead of __malloc_ptr_t.
39775         (__malloc_hook): Likewise.
39776         (__realloc_hook): Likewise.
39777         (__memalign_hook): Likewise.
39778         (__after_morecore_hook): Likewise.
39779         * malloc/arena.c (save_malloc_hook): Likewise.
39780         (save_free_hook): Likewise.
39781         * malloc/hooks.c (malloc_hook_ini): Likewise.
39782         (realloc_hook_ini): Likewise.
39783         (memalign_hook_ini): Likewise.
39784         * malloc/malloc.c (malloc_hook_ini): Likewise.
39785         (realloc_hook_ini): Likewise.
39786         (memalign_hook_ini): Likewise.
39787         (__free_hook): Likewise.
39788         (__malloc_hook): Likewise.
39789         (__realloc_hook): Likewise.
39790         (__memalign_hook): Likewise.
39791         (__libc_malloc): Likewise.
39792         (__libc_free): Likewise.
39793         (__libc_realloc): Likewise.
39794         (__libc_memalign): Likewise.
39795         (__libc_valloc): Likewise.
39796         (__libc_pvalloc): Likewise.
39797         (__libc_calloc): Likewise.
39798         (__posix_memalign): Likewise.
39799         * malloc/morecore.c (__sbrk): Likewise.
39800         (__default_morecore): Likewise.
39802         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
39804         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
39805         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
39806         __malloc_ptrdiff_t.
39808         * malloc/malloc.h (__malloc_size_t): Remove macro.
39809         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
39810         __malloc_size_t.
39811         (old_memalign_hook): Likewise.
39812         (old_realloc_hook): Likewise.
39813         (struct hdr): Likewise.
39814         (flood): Likewise.
39815         (mallochook): Likewise.
39816         (memalignhook): Likewise.
39817         (reallochook): Likewise.
39818         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
39819         (tr_old_realloc_hook): Likewise.
39820         (tr_old_memalign_hook): Likewise.
39821         (tr_mallochook): Likewise.
39822         (tr_reallochook): Likewise.
39823         (tr_memalignhook): Likewise.
39825 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39827         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
39828         default_ldbl_pack and using as default implementation.
39829         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
39830         implementation.
39831         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
39832         redundant definition.
39833         (ldbl_insert_mantissa): Likewise.
39834         (ldbl_canonicalize): Likewise.
39835         (ldbl_nearbyint): Likewise.
39836         (ldbl_pack): Rename to ldbl_pack_ppc.
39837         (ldbl_unpack): Rename to ldbl_unpack_ppc.
39838         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
39839         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
39841 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
39843         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
39844         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
39845         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
39846         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
39847         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
39848         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
39849         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
39850         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
39852 2013-03-07  Andreas Jaeger  <aj@suse.de>
39854         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39855         bits/mman-linux.h.
39857 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
39859         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
39860         Include mpa.h and declare __MPEXP.
39861         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
39862         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
39863         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
39864         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
39865         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
39866         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
39867         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
39869         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
39870         (__slowpow): Use long double EXPL and LOGL functions to
39871         compute POW.
39872         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
39873         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
39874         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
39875         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
39876         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
39877         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
39879         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
39880         intermediate variable to calculate exponent.
39881         (__sqr): Likewise.
39882         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
39883         Likewise.
39884         (__sqr): Likewise.
39886         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
39887         [!NO__SQR]: Define __sqr.
39888         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
39889         and NO__SQR.  Remove all code except __mul and __sqr.  Include
39890         sysdeps/ieee754/dbl-64/mpa.c.
39891         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
39893         [BZ #12723]
39894         * posix/Makefile (tests): Add tst-pathconf.
39895         * posix/tst-pathconf.c: New test case.
39896         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
39897         _PC_PIPE_BUF.
39898         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
39900 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
39902         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
39904 2013-03-06  Andreas Jaeger  <aj@suse.de>
39906         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
39907         definition via __MAP_ANONYMOUS.
39909         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
39910         it's not part of Linux headers.
39912         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
39913         (MAP_HUGE_MASK): Define.
39915         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
39916         Define.
39917         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
39918         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
39919         Define.
39920         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
39921         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
39922         Define.
39923         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
39924         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
39925         Define.
39926         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
39928         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
39929         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
39930         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
39931         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
39932         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
39933         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
39935         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
39936         Handle f2fs.
39938         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
39939         Handle f2fs and efivarfs.
39941         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
39942         f2fs.
39944         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
39945         (EFIVARFS_MAGIC): Add.
39946         (F2FS_LINK_MAX): Add.
39948 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
39950         * stdio-common/vfprintf.c: Replace __builtin_expect with
39951         __glibc_unlikely.
39953 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
39955         [BZ #13550]
39956         * sysdeps/generic/bp-sym.h: Remove file.
39957         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
39958         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
39959         <bp-sym.h> and <bp-asm.h>.
39960         (__longjmp): Don't use BP_SYM.
39961         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
39962         and <bp-asm.h>.
39963         (memcpy): Don't use BP_SYM.
39964         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
39965         <bp-sym.h> and <bp-asm.h>.
39966         (memcpy): Don't use BP_SYM.
39967         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
39968         <bp-asm.h>.
39969         (memcpy): Don't use BP_SYM.
39970         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
39971         <bp-asm.h>.
39972         (memset): Don't use BP_SYM.
39973         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
39974         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
39975         (__bzero): Don't use BP_SYM.
39976         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
39977         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
39978         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
39979         <bp-sym.h> and <bp-asm.h>.
39980         (memcmp): Don't use BP_SYM.  Remove comment about bounded
39981         pointers.
39982         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
39983         <bp-sym.h> and <bp-asm.h>.
39984         (memcpy): Don't use BP_SYM.
39985         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
39986         <bp-sym.h> and <bp-asm.h>.
39987         (memset): Don't use BP_SYM.
39988         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
39989         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
39990         (__bzero): Don't use BP_SYM.
39991         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
39992         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
39993         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
39994         <bp-sym.h> and <bp-asm.h>.
39995         (strncmp): Don't use BP_SYM.  Remove comment about bounded
39996         pointers.
39997         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
39998         <bp-sym.h> and <bp-asm.h>.
39999         (memcpy): Don't use BP_SYM.
40000         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
40001         <bp-sym.h> and <bp-asm.h>.
40002         (memset): Don't use BP_SYM.
40003         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
40004         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
40005         (__bzero): Don't use BP_SYM.
40006         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
40007         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
40008         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
40009         <bp-sym.h> and <bp-asm.h>.
40010         (__memchr): Don't use BP_SYM.
40011         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
40012         <bp-sym.h> and <bp-asm.h>.
40013         (memcmp): Don't use BP_SYM.  Remove comment about bounded
40014         pointers.
40015         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
40016         <bp-sym.h> and <bp-asm.h>.
40017         (memcpy): Don't use BP_SYM.
40018         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
40019         <bp-sym.h> and <bp-asm.h>.
40020         (__mempcpy): Don't use BP_SYM.
40021         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
40022         <bp-sym.h> and <bp-asm.h>.
40023         (__memrchr): Don't use BP_SYM.
40024         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
40025         <bp-sym.h> and <bp-asm.h>.
40026         (memset): Don't use BP_SYM.
40027         (__bzero): Likewise.
40028         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
40029         <bp-sym.h> and <bp-asm.h>.
40030         (__rawmemchr): Don't use BP_SYM.
40031         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
40032         <bp-sym.h> and <bp-asm.h>.
40033         (__STRCMP): Don't use BP_SYM.
40034         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
40035         <bp-sym.h> and <bp-asm.h>.
40036         (strchr): Don't use BP_SYM.
40037         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
40038         <bp-sym.h> and <bp-asm.h>.
40039         (__strchrnul): Don't use BP_SYM.
40040         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
40041         <bp-sym.h> and <bp-asm.h>.
40042         (strlen): Don't use BP_SYM.
40043         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
40044         <bp-sym.h> and <bp-asm.h>.
40045         (strncmp): Don't use BP_SYM.  Remove comment about bounded
40046         pointers.
40047         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
40048         <bp-sym.h> and <bp-asm.h>.
40049         (__strnlen): Don't use BP_SYM.
40050         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
40051         <bp-sym.h> and <bp-asm.h>.
40052         (__GI__setjmp): Don't use BP_SYM.
40053         (_setjmp): Likewise.
40054         (__sigsetjmp): Likewise.
40055         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
40056         (L(start_addresses)): Don't use BP_SYM.
40057         (_start): Likewise.
40058         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
40059         <bp-asm.h>.
40060         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
40061         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
40062         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
40063         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
40064         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
40065         <bp-asm.h>.
40066         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
40067         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
40068         about bounded pointers.
40069         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
40070         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
40071         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
40072         <bp-asm.h>.
40073         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
40074         about bounded pointers.  Remove GKM FIXME comments.
40075         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
40076         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
40077         <bp-asm.h>.
40078         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
40079         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
40080         Remove GKM FIXME comments.
40081         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
40082         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
40083         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
40084         <bp-asm.h>.
40085         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
40086         about bounded pointers.  Remove GKM FIXME comment.
40087         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
40088         and <bp-asm.h>.
40089         (strncmp): Don't use BP_SYM.  Remove comment about bounded
40090         pointers.
40091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
40092         <bp-sym.h> and <bp-asm.h>.
40093         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
40094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
40095         <bp-sym.h> and <bp-asm.h>.
40096         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
40097         comment.
40099 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
40101         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
40102         call free(NULL).
40104 2013-03-05  David S. Miller  <davem@davemloft.net>
40106         * po/es.po: Update from translation team.
40108 2013-03-05  Andreas Jaeger  <aj@suse.de>
40110         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
40111         <bits/mman-linux.h>.
40112         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
40113         is fine.
40114         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
40115         <bits/mman-linux.h> to end of file.
40116         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
40117         is fine.
40118         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
40119         <bits/mman-linux.h> to end of file.
40120         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
40121         is fine.
40122         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
40123         <bits/mman-linux.h> to end of file.
40125         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
40126         (MCL_CURRENT, MCL_FUTURE): Define here.
40128 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40130         [BZ #15232]
40131         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
40132         attribute_hidden.
40133         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
40135 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40137         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
40138         fourth parameter needed for rt_sigprocmask syscall.
40139         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
40140         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
40141         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
40142         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
40143         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
40144         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
40146 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
40148         [BZ #13550]
40149         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
40150         comment about bounded pointers.
40151         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
40152         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
40154 2013-03-04  Andreas Jaeger  <aj@suse.de>
40156         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
40157         common definitions.
40159         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
40160         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
40161         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
40162         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
40163         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
40164         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
40166 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40168         [BZ #15055]
40169         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
40170         __ieee754_sqrl instead of __sqrl.
40172 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
40174         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
40175         * sysdeps/powerpc/fpu_control.h: ... here.
40176         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
40177         * sysdeps/powerpc/bits/fenvinline.h: ... here.
40178         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
40179         * sysdeps/powerpc/bits/mathinline.h: ... here.
40181 2013-03-01  Roland McGrath  <roland@hack.frob.com>
40183         * elf/dl-hwcaps.c (_dl_important_hwcaps):
40184         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
40185         to just [NEED_DL_SYSINFO_DSO].
40186         * elf/dl-support.c: Likewise.
40187         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
40188         * elf/rtld.c (dl_main): Likewise.
40189         * elf/setup-vdso.h (setup_vdso): Likewise.
40190         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
40191         * sysdeps/unix/sysv/linux/dl-sysdep.c
40192         (_dl_discover_osversion): Likewise.
40194 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
40196         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
40197         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
40199 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
40201         * NEWS: Mention libm performance improvements and non-x86 PI
40202         futex support.
40204         * csu/libc-start.c (__pthread_initialize_minimal): Change
40205         function arguments.
40206         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
40208 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
40210         [BZ #13550]
40211         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
40212         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
40213         <bp-sym.h> and <bp-asm.h>.
40214         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
40215         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
40216         and <bp-asm.h>.
40217         (memcpy): Don't use BP_SYM.
40218         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
40219         <bp-asm.h>.
40220         (__mpn_add_n): Don't use BP_SYM.
40221         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
40222         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
40223         and <bp-asm.h>.
40224         (__mpn_addmul_1): Don't use BP_SYM.
40225         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
40226         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
40227         <bp-sym.h>.
40228         (_setjmp): Don't use BP_SYM.
40229         (__novmx_setjmp): Likewise.
40230         (__GI__setjmp): Likewise.
40231         (__vmx_setjmp): Likewise.
40232         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
40233         <bp-sym.h>.
40234         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
40235         (__bzero): Don't use BP_SYM.
40236         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
40237         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
40238         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
40239         <bp-sym.h> and <bp-asm.h>.
40240         (memcpy): Don't use BP_SYM.
40241         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
40242         <bp-sym.h> and <bp-asm.h>.
40243         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
40244         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
40245         <bp-sym.h> and <bp-asm.h>.
40246         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
40247         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
40248         <bp-asm.h>.
40249         (__mpn_lshift): Don't use BP_SYM.
40250         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
40251         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
40252         <bp-asm.h>.
40253         (memset): Don't use BP_SYM.
40254         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
40255         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
40256         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
40257         <bp-asm.h>.
40258         (__mpn_mul_1): Don't use BP_SYM.
40259         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
40260         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
40261         <bp-sym.h> and <bp-asm.h>.
40262         (memcmp): Don't use BP_SYM.
40263         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
40264         <bp-sym.h> and <bp-asm.h>.
40265         (memcpy): Don't use BP_SYM.
40266         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
40267         <bp-sym.h> and <bp-asm.h>.
40268         (memset): Don't use BP_SYM.
40269         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
40270         <bp-sym.h> and <bp-asm.h>.
40271         (strncmp): Don't use BP_SYM.
40272         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
40273         <bp-sym.h> and <bp-asm.h>.
40274         (memcpy): Don't use BP_SYM.
40275         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
40276         <bp-sym.h> and <bp-asm.h>.
40277         (memset): Don't use BP_SYM.
40278         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
40279         <bp-sym.h> and <bp-asm.h>.
40280         (__memchr): Don't use BP_SYM.
40281         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
40282         <bp-sym.h> and <bp-asm.h>.
40283         (memcmp): Don't use BP_SYM.
40284         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
40285         <bp-sym.h> and <bp-asm.h>.
40286         (memcpy): Don't use BP_SYM.
40287         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
40288         <bp-sym.h> and <bp-asm.h>.
40289         (__mempcpy): Don't use BP_SYM.
40290         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
40291         <bp-sym.h> and <bp-asm.h>.
40292         (__memrchr): Don't use BP_SYM.
40293         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
40294         <bp-sym.h> and <bp-asm.h>.
40295         (memset): Don't use BP_SYM.
40296         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
40297         <bp-sym.h> and <bp-asm.h>.
40298         (__rawmemchr): Don't use BP_SYM.
40299         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
40300         <bp-sym.h> and <bp-asm.h>.
40301         (__STRCMP): Don't use BP_SYM.
40302         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
40303         <bp-sym.h> and <bp-asm.h>.
40304         (strchr): Don't use BP_SYM.
40305         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
40306         <bp-sym.h> and <bp-asm.h>.
40307         (__strchrnul): Don't use BP_SYM.
40308         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
40309         <bp-sym.h> and <bp-asm.h>.
40310         (strlen): Don't use BP_SYM.
40311         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
40312         <bp-sym.h> and <bp-asm.h>.
40313         (strncmp): Don't use BP_SYM.
40314         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
40315         <bp-sym.h> and <bp-asm.h>.
40316         (__strnlen): Don't use BP_SYM.
40317         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
40318         <bp-asm.h>.
40319         (__mpn_rshift): Don't use BP_SYM.
40320         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
40321         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
40322         <bp-sym.h> and <bp-asm.h>.
40323         (__sigsetjmp): Don't use BP_SYM.
40324         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
40325         (L(start_addresses)): Don't use BP_SYM.
40326         (_start): Likewise.
40327         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
40328         <bp-asm.h>.
40329         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
40330         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
40331         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
40332         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
40333         <bp-asm.h>.
40334         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
40335         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
40336         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
40337         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
40338         <bp-asm.h>.
40339         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
40340         comments.
40341         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
40342         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
40343         <bp-asm.h>.
40344         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
40345         FIXME comments.
40346         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
40347         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
40348         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
40349         <bp-asm.h>.
40350         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
40351         comment.
40352         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
40353         and <bp-asm.h>.
40354         (strncmp): Don't use BP_SYM,
40355         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
40356         <bp-asm.h>.
40357         (__mpn_sub_n): Don't use BP_SYM.
40358         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
40359         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
40360         and <bp-asm.h>.
40361         (__mpn_submul_1): Don't use BP_SYM.
40362         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
40363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
40364         <bp-sym.h> and <bp-asm.h>.
40365         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
40366         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
40367         <bp-sym.h> and <bp-asm.h>.
40368         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
40369         comment.
40371 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
40373         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
40374         Use ZK to minimize writes to Z.
40375         (sub_magnitudes): Simplify code a bit.
40376         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
40377         Use ZK to minimize writes to Z.
40378         (sub_magnitudes): Simplify code a bit.
40380 2013-02-27  Roland McGrath  <roland@hack.frob.com>
40382         * csu/gmon-start.c: Add special exception to license text.
40384 2013-02-27  Richard Henderson  <rth@redhat.com>
40386         * scripts/config.guess: Update from config.git.
40387         * scripts/config.sub: Likewise.
40389 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
40391         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
40393         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
40395         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
40397         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
40399         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
40401 2013-02-26  Roland McGrath  <roland@hack.frob.com>
40403         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
40404         [$(build-shared = yes].
40406 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
40408         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
40409         (__mul): Reduce iterations for calculating mantissa.
40411         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
40412         MPTWO.
40413         (__mpranred): Likewise.
40415         [BZ #15160]
40416         * malloc/memusagestat.c (main): Draw graphs for heap and stack
40417         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
40419 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
40421         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
40422         Define __attribute__.
40424 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
40426         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
40427         unused.
40428         * posix/regex_internal.h (__attribute): Remove.
40429         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
40430         (re_string_context_at): Likewise.
40431         (bitset_not): Use __attribute__ and mark function as possibly
40432         unused.
40433         (bitset_merge): Likewise.
40434         (bitset_mask): Likewise.
40435         (re_string_char_size_at): Likewise.
40436         (re_string_wchar_at): Likewise.
40437         (re_string_elem_size_at): Likewise.
40439 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
40441         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
40442         code.
40443         (cc32): Likewise.
40445         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
40446         (__acr): Likewise.
40447         (__cpy): Likewise.
40448         (norm): Likewise.
40449         (denorm): Likewise.
40450         (__dbl_mp): Likewise.
40451         (add_magnitudes): Likewise.
40452         (sub_magnitudes): Likewise.
40453         (__mul): Likewise.
40454         (__inv): Likewise.
40456         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
40457         style.
40459         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
40460         style.
40462         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
40463         code.
40465         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
40466         up changes with default code.
40467         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
40468         Likewise.
40470 2013-02-24  Allan McRae  <allan@archlinux.org>
40472         * manual/socket.texi (The Internet Namespace): Order menu items
40473         to match that in the file.
40475         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
40476         node listing of the info page menu.
40478 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
40480         [BZ #13550]
40481         * sysdeps/i386/bp-asm.h: Remove file.
40482         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
40483         (PARMS): Do not use macros from bp-asm.h.
40484         (S1): Likewise.
40485         (S2): Likewise.
40486         (SIZE): Likewise.
40487         (__mpn_add_n): Do not use BP_SYM
40488         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
40489         "bp-asm.h".
40490         (PARMS): Do not use macros from bp-asm.h.
40491         (S1): Likewise.
40492         (SIZE): Likewise.
40493         (__mpn_addmul_1): Do not use BP_SYM
40494         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
40495         "bp-asm.h".
40496         (PARMS): Do not use macros from bp-asm.h.
40497         (SIGMSK): Likewise.
40498         (_setjmp): Likewise.  Do not use BP_SYM.
40499         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
40500         "bp-asm.h".
40501         (PARMS): Do not use macros from bp-asm.h.
40502         (SIGMSK): Likewise.
40503         (setjmp): Likewise.  Do not use BP_SYM.
40504         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
40505         "bp-asm.h".
40506         (PARMS): Do not use macros from bp-asm.h.
40507         (__frexp): Do not use BP_SYM.
40508         (frexp): Likewise.
40509         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
40510         "bp-asm.h".
40511         (PARMS): Do not use macros from bp-asm.h.
40512         (__frexpf): Do not use BP_SYM.
40513         (frexpf): Likewise.
40514         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
40515         "bp-asm.h".
40516         (PARMS): Do not use macros from bp-asm.h.
40517         (__frexpl): Do not use BP_SYM.
40518         (frexpl): Likewise.
40519         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
40520         "bp-asm.h".
40521         (PARMS): Do not use macros from bp-asm.h.
40522         (__remquo): Do not use BP_SYM.
40523         (remquo): Likewise.
40524         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
40525         "bp-asm.h".
40526         (PARMS): Do not use macros from bp-asm.h.
40527         (__remquof): Do not use BP_SYM.
40528         (remquof): Likewise.
40529         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
40530         "bp-asm.h".
40531         (PARMS): Do not use macros from bp-asm.h.
40532         (__remquol): Do not use BP_SYM.
40533         (remquol): Likewise.
40534         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
40535         "bp-asm.h".
40536         (PARMS): Do not use macros from bp-asm.h.
40537         (DEST): Likewise.
40538         (SRC): Likewise.
40539         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
40540         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
40541         "bp-asm.h".
40542         (PARMS): Do not use macros from bp-asm.h.
40543         (strlen): Do not use BP_SYM.
40544         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
40545         "bp-asm.h".
40546         (PARMS): Do not use macros from bp-asm.h.
40547         (S1): Likewise.
40548         (S2): Likewise.
40549         (SIZE): Likewise.
40550         (__mpn_add_n): Do not use BP_SYM.
40551         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
40552         "bp-asm.h".
40553         (PARMS): Do not use macros from bp-asm.h.
40554         (S1): Likewise.
40555         (SIZE): Likewise.
40556         (__mpn_addmul_1): Do not use BP_SYM.
40557         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
40558         weak_alias.
40559         (bzero): Likewise.
40560         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
40561         "bp-asm.h".
40562         (PARMS): Do not use macros from bp-asm.h.
40563         (S): Likewise.
40564         (SIZE): Likewise.
40565         (__mpn_lshift): Do not use BP_SYM.
40566         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
40567         "bp-asm.h".
40568         (PARMS): Do not use macros from bp-asm.h.
40569         (DEST): Likewise.
40570         (SRC): Likewise.
40571         (LEN): Likewise.
40572         (memcpy): Likewise.  Do not use BP_SYM.
40573         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
40574         libc_hidden_def and weak_alias.
40575         (mempcpy): Do not use BP_SYM in weak_alias.
40576         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
40577         "bp-asm.h".
40578         (PARMS): Do not use macros from bp-asm.h.
40579         (DEST): Likewise.
40580         (LEN): Likewise.
40581         [!BZERO_P] (CHR): Likewise.
40582         (memset): Likewise.  Do not use BP_SYM.
40583         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
40584         "bp-asm.h".
40585         (PARMS): Do not use macros from bp-asm.h.
40586         (S1): Likewise.
40587         (SIZE): Likewise.
40588         (__mpn_mul_1): Do not use BP_SYM.
40589         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
40590         "bp-asm.h".
40591         (PARMS): Do not use macros from bp-asm.h.
40592         (S): Likewise.
40593         (SIZE): Likewise.
40594         (__mpn_rshift): Do not use BP_SYM.
40595         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
40596         "bp-asm.h".
40597         (PARMS): Do not use macros from bp-asm.h.
40598         (STR): Likewise.
40599         (CHR): Likewise.
40600         (strchr): Likewise.  Do not use BP_SYM.
40601         (index): Do not use BP_SYM in weak_alias.
40602         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
40603         "bp-asm.h".
40604         (PARMS): Do not use macros from bp-asm.h.
40605         (DEST): Likewise.
40606         (SRC): Likewise.
40607         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
40608         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
40609         "bp-asm.h".
40610         (PARMS): Do not use macros from bp-asm.h.
40611         (strlen): Do not use BP_SYM.
40612         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
40613         "bp-asm.h".
40614         (PARMS): Do not use macros from bp-asm.h.
40615         (S1): Likewise.
40616         (S2): Likewise.
40617         (SIZE): Likewise.
40618         (__mpn_sub_n): Do not use BP_SYM.
40619         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
40620         "bp-asm.h".
40621         (PARMS): Do not use macros from bp-asm.h.
40622         (S1): Likewise.
40623         (SIZE): Likewise.
40624         (__mpn_submul_1): Do not use BP_SYM.
40625         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
40626         "bp-asm.h".
40627         (PARMS): Do not use macros from bp-asm.h.
40628         (S1): Likewise.
40629         (S2): Likewise.
40630         (SIZE): Likewise.
40631         (__mpn_add_n): Do not use BP_SYM.
40632         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
40633         weak_alias.
40634         (bzero): Likewise.
40635         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
40636         "bp-asm.h".
40637         (PARMS): Do not use macros from bp-asm.h.
40638         (BLK2): Likewise.
40639         (LEN): Likewise.
40640         (memcmp): Do not use BP_SYM.
40641         (bcmp): Do not use BP_SYM in weak_alias.
40642         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
40643         "bp-asm.h".
40644         (PARMS): Do not use macros from bp-asm.h.
40645         (DEST): Likewise.
40646         (SRC): Likewise.
40647         (LEN): Likewise.
40648         (memcpy): Likewise.  Do not use BP_SYM.
40649         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
40650         "bp-asm.h".
40651         (PARMS): Do not use macros from bp-asm.h.
40652         (DEST): Likewise.
40653         (SRC): Likewise.
40654         (LEN): Likewise.
40655         (memmove): Likewise.  Do not use BP_SYM.
40656         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
40657         "bp-asm.h".
40658         (PARMS): Do not use macros from bp-asm.h.
40659         (DEST): Likewise.
40660         (SRC): Likewise.
40661         (LEN): Likewise.
40662         (__mempcpy): Likewise.  Do not use BP_SYM.
40663         (mempcpy): Do not use BP_SYM in weak_alias.
40664         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
40665         "bp-asm.h".
40666         (PARMS): Do not use macros from bp-asm.h.
40667         (DEST): Likewise.
40668         (LEN): Likewise.
40669         [!BZERO_P] (CHR): Likewise.
40670         (memset): Likewise.  Do not use BP_SYM.
40671         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
40672         "bp-asm.h".
40673         (PARMS): Do not use macros from bp-asm.h.
40674         (STR2): Likewise.
40675         (strcmp): Do not use BP_SYM.
40676         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
40677         "bp-asm.h".
40678         (PARMS): Do not use macros from bp-asm.h.
40679         (STR): Likewise.
40680         (DELIM): Likewise.
40681         [USE_AS_STRTOK_R] (SAVE): Likewise.
40682         (FUNCTION): Likewise.  Do not use BP_SYM.
40683         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
40684         aliases.
40685         (strtok_r): Likewise.
40686         (__GI___strtok_r): Likewise.
40687         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
40688         (PARMS): Do not use macros from bp-asm.h.
40689         (S): Likewise.
40690         (SIZE): Likewise.
40691         (__mpn_lshift): Do not use BP_SYM.
40692         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
40693         (PARMS): Do not use macros from bp-asm.h.
40694         (STR): Likewise.
40695         (CHR): Likewise.
40696         (__memchr): Do not use BP_SYM.
40697         (memchr): Do not use BP_SYM in weak_alias.
40698         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
40699         (PARMS): Do not use macros from bp-asm.h.
40700         (BLK2): Likewise.
40701         (LEN): Likewise.
40702         (memcmp): Do not use BP_SYM.
40703         (bcmp): Do not use BP_SYM in weak_alias.
40704         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
40705         (PARMS): Do not use macros from bp-asm.h.
40706         (S1): Likewise.
40707         (SIZE): Likewise.
40708         (__mpn_mul_1): Do not use BP_SYM.
40709         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
40710         "bp-asm.h".
40711         (PARMS): Do not use macros from bp-asm.h.
40712         (STR): Likewise.
40713         (CHR): Likewise.
40714         (__rawmemchr): Do not use BP_SYM.
40715         (rawmemchr): Do not use BP_SYM in weak_alias.
40716         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
40717         (PARMS): Do not use macros from bp-asm.h.
40718         (S): Likewise.
40719         (SIZE): Likewise.
40720         (__mpn_rshift): Do not use BP_SYM.
40721         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
40722         (PARMS): Do not use macros from bp-asm.h.
40723         (SIGMSK): Likewise.
40724         (__sigsetjmp): Likewise.  Do not use BP_SYM.
40725         * sysdeps/i386/start.S: Do not include "bp-sym.h".
40726         (_start): Do not use BP_SYM.
40727         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
40728         (PARMS): Do not use macros from bp-asm.h.
40729         (DEST): Likewise.
40730         (SRC): Likewise.
40731         (__stpcpy): Likewise.  Do not use BP_SYM.
40732         (stpcpy): Do not use BP_SYM in weak_alias.
40733         * sysdeps/i386/stpncpy.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         (__stpncpy): Likewise.  Do not use BP_SYM.
40740         (stpncpy): Do not use BP_SYM in weak_alias.
40741         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
40742         (PARMS): Do not use macros from bp-asm.h.
40743         (STR): Likewise.
40744         (CHR): Likewise.
40745         (strchr): Likewise.  Do not use BP_SYM.
40746         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
40747         "bp-asm.h".
40748         (PARMS): Do not use macros from bp-asm.h.
40749         (STR): Likewise.
40750         (CHR): Likewise.
40751         (__strchrnul): Likewise.  Do not use BP_SYM.
40752         (strchrnul): Do not use BP_SYM in weak_alias.
40753         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
40754         "bp-asm.h".
40755         (PARMS): Do not use macros from bp-asm.h.
40756         (STOP): Likewise.
40757         (strcspn): Do not use BP_SYM.
40758         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
40759         "bp-asm.h".
40760         (PARMS): Do not use macros from bp-asm.h.
40761         (STR): Likewise.
40762         (STOP): Likewise.
40763         (strpbrk): Likewise.  Do not use BP_SYM.
40764         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
40765         "bp-asm.h".
40766         (PARMS): Do not use macros from bp-asm.h.
40767         (STR): Likewise.
40768         (CHR): Likewise.
40769         (strrchr): Likewise.  Do not use BP_SYM.
40770         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
40771         (PARMS): Do not use macros from bp-asm.h.
40772         (SKIP): Likewise.
40773         (strspn): Do not use BP_SYM.
40774         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
40775         (PARMS): Do not use macros from bp-asm.h.
40776         (STR): Likewise.
40777         (DELIM): Likewise.
40778         (SAVE): Likewise.
40779         (FUNCTION): Likewise.  Do not use BP_SYM.
40780         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
40781         aliases.
40782         (strtok_r): Likewise.
40783         (__GI___strtok_r): Likewise.
40784         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
40785         (PARMS): Do not use macros from bp-asm.h.
40786         (S1): Likewise.
40787         (S2): Likewise.
40788         (SIZE): Likewise.
40789         (__mpn_sub_n): Do not use BP_SYM.
40790         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
40791         "bp-asm.h".
40792         (PARMS): Do not use macros from bp-asm.h.
40793         (S1): Likewise.
40794         (SIZE): Likewise.
40795         (__mpn_submul_1): Do not use BP_SYM.
40796         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
40797         <bp-sym.h>.
40798         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
40799         and <bp-asm.h>.
40800         (PARMS): Do not use macros from bp-asm.h.
40801         (FLAGS): Likewise.
40802         (PTID): Likewise.
40803         (TLS): Likewise.
40804         (CTID): Likewise.
40805         (__clone): Do not use BP_SYM.
40806         (clone): Do not use BP_SYM in weak_alias.
40807         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
40808         and <bp-asm.h>.
40809         (PARMS): Do not use macros from bp-asm.h.
40810         (LEN): Likewise.
40811         (__mmap64): Do not use BP_SYM.
40812         (mmap64): Do not use BP_SYM in weak_alias.
40813         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
40814         <bp-sym.h> and <bp-asm.h>.
40815         (PARMS): Do not use macros from bp-asm.h.
40816         (__posix_fadvise64_l64): Do not use BP_SYM.
40817         * sysdeps/unix/sysv/linux/i386/semtimedop.S
40818         (PARMS): Do not use macros from bp-asm.h.
40819         (NSOPS): Likewise.
40820         (semtimedop): Do not use BP_SYM.
40821         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
40822         and <bp-asm.h>.
40824 2013-02-21  Allan McRae  <allan@archlinux.org>
40826         * manual/message.texi (Charset conversion in gettext):
40827         Move @end statement to beginning of line.
40829 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
40831         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
40832         static.
40833         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
40834         Likewise.
40836         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
40837         (denorm): Likewise.
40838         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
40839         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
40841 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40843         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
40844         tail-call to the resolved function if pltexit isn't needed.
40846 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
40848         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
40849         or Y being zero as being unlikely.
40850         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
40851         Likewise.
40853 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
40855         * manual/nss.texi (System Databases and Name Service Switch):
40856         Remove frobnicate @pxref.
40858 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
40860         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
40861         __attribute__ ((unused)) to __attribute__ ((__unused__)).
40863 2013-02-20  Petr Machata  <pmachata@redhat.com>
40865         * elf/elf.h (R_ARM_TARGET1): New macro.
40866         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
40867         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
40868         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
40869         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
40870         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
40871         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
40872         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
40873         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
40874         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
40875         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
40876         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
40877         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
40878         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
40879         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
40880         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
40881         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
40882         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
40883         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
40884         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
40885         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
40886         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
40887         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
40888         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
40889         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
40890         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
40891         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
40892         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
40893         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
40894         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
40895         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
40896         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
40897         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
40898         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
40899         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
40900         (R_ARM_THM_GOT_BREL12): Likewise.
40901         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
40902         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
40903         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
40904         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
40905         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
40906         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
40907         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
40908         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
40909         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
40911 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
40913         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
40914         __attribute_used__ to __attribute__ ((unused)).
40916 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
40918         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
40919         powerpc mpa.c.
40920         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
40921         comment formatting.
40922         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
40924 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
40926         [BZ #13550]
40927         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
40928         Remove macro.
40929         (ENTER): Remove both macro definitions.
40930         (LEAVE): Likewise.
40931         (CHECK_BOUNDS_LOW): Likewise.
40932         (CHECK_BOUNDS_HIGH): Likewise.
40933         (CHECK_BOUNDS_BOTH): Likewise.
40934         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
40935         (RETURN_BOUNDED_POINTER): Likewise.
40936         (RETURN_NULL_BOUNDED_POINTER): Likewise.
40937         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
40938         (POP_ERRNO_LOCATION_RETURN): Likewise.
40939         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
40940         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
40941         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
40942         macros.
40943         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
40944         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
40945         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
40946         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
40947         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
40948         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
40949         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
40950         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
40951         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
40952         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
40953         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
40954         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
40955         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
40956         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
40957         removed macros.
40958         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
40959         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
40960         macros.
40961         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
40962         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
40963         * sysdeps/i386/i586/memset.S (memset): Likewise.
40964         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
40965         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
40966         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
40967         macros.
40968         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
40969         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
40970         Change uses of L(2) to L(out).
40971         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
40972         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
40973         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
40974         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
40975         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
40976         removed macros.
40977         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
40978         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
40979         macros.
40980         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
40981         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
40982         (RETURN): Do not use macro LEAVE.
40983         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
40984         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
40985         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
40986         * sysdeps/i386/i686/memset.S (memset): Likewise.
40987         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
40988         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
40989         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
40990         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
40991         Likewise.
40992         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
40993         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
40994         L(1_2) and L(1_3) into L(1).
40995         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
40996         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
40997         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
40998         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
40999         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
41000         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
41001         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
41002         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
41003         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
41004         macros.
41005         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
41006         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
41007         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
41008         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
41009         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
41010         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
41011         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
41012         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
41013         * sysdeps/i386/strcspn.S (strcspn): Likewise.
41014         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
41015         * sysdeps/i386/strrchr.S (strrchr): Likewise.
41016         * sysdeps/i386/strspn.S (strspn): Likewise.
41017         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
41018         conditional code.
41019         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
41020         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
41021         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
41022         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
41023         L(1_3) into L(1_1).
41024         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
41025         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
41026         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
41027         macros.
41028         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
41030 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
41032         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
41033         macro.
41035 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
41037         * math/atest-exp.c (exp_mpn): Remove ROUND.
41038         * math/atest-exp2.c (exp_mpn): Likewise.
41039         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
41041         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
41042         * stdlib/tst-tls-atexit-lib.c: Likewise.
41043         * stdlib/tst-tls-atexit.c: Likewise.
41045 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
41047         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
41048         and __attribute_alloc_size__.
41050 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
41052         * include/programs/xmalloc.h: Change __attribute_alloc_size to
41053         __attribute_alloc_size__.
41054         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
41055         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
41057 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
41059         * include/programs/xmalloc.h: New file.
41060         * catgets/gencat.c: Include it.
41061         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
41062         * elf/pldd.c: Likewise.
41063         * iconv/iconv_charmap.c: Likewise.
41064         * iconv/iconvconfig.c: Likewise.
41065         * iconv/strtab.c: Likewise.
41066         * locale/programs/locale.c: Likewise.
41067         * locale/programs/localedef.h: Likewise.
41068         * locale/programs/simple-hash.c: Likewise.
41069         * nscd/nscd.h: Likewise.
41070         * nss/makedb.c: Likewise.
41071         * sysdeps/generic/ldconfig.h: Likewise.
41073 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
41075         * Versions.def: Add GLIBC_2.18.
41076         * include/link.h (struct link_map): New member l_tls_dtor_count.
41077         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
41078         (__call_tls_dtors): Likewise.
41079         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
41080         __cxa_thread_atexit_impl.
41081         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41082         Likewise.
41083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41084         Likewise.
41085         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
41086         Likewise.
41087         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
41088         Likewise.
41089         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
41090         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
41091         Likewise.
41092         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
41093         Likewise.
41094         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
41095         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
41096         Likewise.
41097         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
41098         (tests): Add test case tst-tls-atexit.
41099         (modules-names): Add shared library for tst-tls-atexit.
41100         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
41101         (GLIBC_PRIVATE): Add __call_tls_dtors.
41102         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
41103         for libstdc++.
41104         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
41105         * stdlib/tst-tls-atexit.c: New test case.
41106         * stdlib/tst-tls-atexit-lib.c: New test case.
41108         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
41110         * elf/Versions (ld): Add _dl_find_dso_for_object.
41111         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
41112         * elf/dl-open.c (_dl_find_dso_for_object): New function.
41113         (dl_open_worker): Use _dl_find_dso_for_object.
41114         * elf/dl-sym.c (do_sym): Likewise.
41115         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
41117 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41119         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
41120         Syntactic changes only.
41121         (_dl_runtime_profile): Do a tail-call to the resolved function.
41123 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
41125         [BZ #13550]
41126         * sysdeps/x86_64/bp-asm.h: Remove file.
41127         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
41128         <bp-sym.h> and <bp-asm.h>.
41129         (__clone): Do not use BP_SYM.
41130         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
41131         <bp-sym.h> and <bp-asm.h>.
41132         * sysdeps/unix/x86_64/sysdep.S: Likewise.
41133         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
41134         "bp-asm.h".
41135         (_setjmp): Do not use BP_SYM.
41136         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
41137         "bp-asm.h".
41138         (setjmp): Do not use BP_SYM.
41139         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
41140         libc_hidden_def.
41141         (mempcpy): Do not use BP_SYM in weak_alias.
41142         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
41143         "bp-asm.h".
41144         (strchr): Do not use BP_SYM.
41145         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
41146         "bp-asm.h".
41147         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
41148         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
41149         (_start): Do not use BP_SYM.
41150         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
41151         "bp-asm.h".
41152         (strcat): Do not use BP_SYM.
41153         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
41154         "bp-asm.h".
41155         (STRCMP): Do not use BP_SYM.
41156         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
41157         "bp-asm.h".
41158         (STRCPY): Do not use BP_SYM.
41159         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
41160         "bp-asm.h".
41161         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
41162         "bp-asm.h".
41163         (FUNCTION): Do not use BP_SYM.
41164         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
41165         weak_alias.
41166         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
41168 2013-02-17  Andreas Jaeger  <aj@suse.de>
41170         * time/Versions: Sort entries.
41171         * string/Versions: Likewise.
41172         * resolv/Versions: Likewise.
41173         * posix/Versions: Likewise.
41174         * iconv/Versions: Likewise.
41175         * elf/Versions: Likewise.
41176         * wcsmbs/Versions: Likewise.
41178 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
41180         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
41181         loop termination condition.
41183         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
41184         variable to calculate EZ.
41185         (__sqr): Likewise.
41187         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
41188         the lower precision input.
41190 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
41192         [BZ #13550]
41193         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
41194         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
41195         (run-via-rtld-prefix): Do not handle %-bp tests.
41196         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
41197         (all-object-suffixes): Remove .ob.
41198         (bppfx): Remove variable.
41199         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
41200         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
41201         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
41202         [$(build-bounded) = yes] (libtype.ob): Likewise.
41203         * Makerules (elide-routines.ob): Remove variable.
41204         (do-tests-clean): Do not handle *-bp.out.
41205         (common-mostlyclean): Do not handle *-bp and *-bp.out.
41206         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
41207         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
41208         (tests): Do not include $(tests-bp.out).
41209         (xtests): Do not include $(xtests-bp.out).
41210         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
41211         [$(build-bounded) = yes] ($(addprefix
41212         $(objpfx),$(binaries-bounded))): Remove rule.
41213         ($(objpfx)%-bp.out): Remove rule.
41214         * config.make.in (build-bounded): Remove variable.
41215         * crypt/Makefile [$(build-bounded) = yes]
41216         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
41217         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
41218         append to variable.
41219         [$(build-bounded) = yes] (install-lib): Likewise.
41220         [$(build-bounded) = yes] (generated): Likewise.
41221         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
41222         Remove rule.
41223         * intl/Makefile [$(build-bounded) = yes]
41224         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
41225         * math/Makefile [$(build-bounded) = yes]
41226         ($(tests:%=$(objpfx)%-bp): Likewise.
41227         * misc/Makefile [$(build-bounded) = yes]
41228         ($(objpfx)tst-tsearch-bp): Likewise.
41229         * nptl/Makeconfig (bounded-thread-library): Remove variable.
41230         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
41231         Remove dependency.
41232         * string/Makefile (o-objects.ob): Remove variable.
41233         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
41234         (CFLAGS-.ob): Remove variable.
41235         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
41236         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
41237         both definitions of variable.
41238         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
41239         (ASFLAGS-.ob): Remove variable.
41241 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
41243         [BZ #13550]
41244         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
41245         Remove __BOUNDED_POINTERS__ from condition.
41246         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
41247         * string/bits/string2.h [!__NO_STRING_INLINES &&
41248         !__BOUNDED_POINTERS__]: Likewise.
41249         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
41250         Likewise.
41251         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
41252         Remove conditional code.
41253         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
41254         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
41255         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
41256         condition.
41258         [BZ #13550]
41259         * csu/libc-start.c: Do not include <bp-sym.h>.
41260         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
41261         * elf/dl-open.c: Do not include <bp-sym.h>.
41262         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
41263         * math/fegetenv.c: Do not include <bp-sym.h>.
41264         (fegetenv): Do not use BP_SYM in versioned symbols.
41265         * nptl/sysdeps/pthread/bits/libc-lockP.h
41266         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
41267         <bp-sym.h>.
41268         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41269         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
41270         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41271         (__pthread_mutex_destroy): Likewise.
41272         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41273         (__pthread_mutex_lock): Likewise.
41274         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41275         (__pthread_mutex_trylock): Likewise.
41276         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41277         (__pthread_mutex_unlock): Likewise.
41278         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41279         (__pthread_mutexattr_init): Likewise.
41280         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41281         (__pthread_mutexattr_destroy): Likewise.
41282         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41283         (__pthread_mutexattr_settype): Likewise.
41284         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41285         (__pthread_rwlock_init): Likewise.
41286         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41287         (__pthread_rwlock_destroy): Likewise.
41288         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41289         (__pthread_rwlock_rdlock): Likewise.
41290         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41291         (__pthread_rwlock_tryrdlock): Likewise.
41292         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41293         (__pthread_rwlock_wrlock): Likewise.
41294         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41295         (__pthread_rwlock_trywrlock): Likewise.
41296         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41297         (__pthread_rwlock_unlock): Likewise.
41298         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41299         (__pthread_key_create): Likewise.
41300         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41301         (__pthread_setspecific): Likewise.
41302         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41303         (__pthread_getspecific): Likewise.
41304         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
41305         Likewise.
41306         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41307         (_pthread_cleanup_push_defer): Likewise.
41308         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41309         (_pthread_cleanup_pop_restore): Likewise.
41310         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41311         (pthread_setcancelstate): Likewise.
41312         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
41313         <bp-sym.h>.
41314         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
41315         (memchr): Do not use BP_SYM in weak_alias.
41316         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
41317         (fegetenv): Do not use BP_SYM in versioned symbols.
41318         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
41319         (fesetenv): Do not use BP_SYM in versioned symbols.
41320         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
41321         (feupdateenv): Do not use BP_SYM in versioned symbols.
41322         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
41323         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
41324         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
41325         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
41326         (open64): Do not use BP_SYM in weak_alias.
41327         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
41328         (fegetenv): Do not use BP_SYM in versioned symbols.
41329         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
41330         (fesetenv): Do not use BP_SYM in versioned symbols.
41331         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
41332         (feupdateenv): Do not use BP_SYM in versioned symbols.
41333         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
41334         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
41335         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
41336         (feraiseexcept): Do not use BP_SYM in versioned symbols.
41337         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
41338         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
41339         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
41340         <bp-sym.h>.
41341         (__libc_start_main): Do not use BP_SYM.
41343 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
41345         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
41346         redundant return line.
41347         (norm): Likewise.
41348         (denorm): Likewise.
41349         (dbl_mp): Likewise.
41350         (sub_magnitudes): Likewise.
41351         (__add): Likewise.
41352         (__sub): Likewise.
41353         (__mul): Likewise.
41354         (__inv): Likewise.
41355         (__dvd): Likewise.
41356         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
41357         (norm): Likewise.
41358         (denorm): Likewise.
41359         (dbl_mp): Likewise.
41360         (sub_magnitudes): Likewise.
41361         (__add): Likewise.
41362         (__sub): Likewise.
41363         (__mul): Likewise.
41364         (__inv): Likewise.
41365         (__dvd): Likewise.
41367         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
41368         instead of __mul.
41369         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
41370         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
41371         (cc32): Likewise.
41373         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
41374         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
41375         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
41376         of __mul for squares.
41377         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
41378         function
41379         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
41380         Likewise.
41381         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
41382         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
41384 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
41386         [BZ #13550]
41387         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
41388         code.
41389         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
41390         prototype or function definition.  Rename ubp_* variables and
41391         parameters.  Remove argv definitions conditional on
41392         [__BOUNDED_POINTERS__].
41393         * debug/backtrace.c (__backtrace): Do not use __unbounded.
41394         * elf/dl-runtime.c (_dl_fixup): Likewise.
41395         * include/set-hooks.h (RUN_HOOK): Likewise.
41396         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
41397         definition.
41398         * string/strcpy.c (strcpy): Do not use __unbounded.
41399         * sysdeps/generic/frame.h (struct layout): Likewise.
41400         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
41401         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
41402         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
41403         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
41404         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
41405         (__backtrace): Likewise.
41406         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
41407         use __ptrvalue.
41408         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
41409         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
41410         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
41411         Likewise.
41412         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
41413         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
41414         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
41415         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
41416         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
41417         Do not use __unbounded.
41418         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
41419         Rename __unboundedrlimits parameter to rlimits in prototype.
41420         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
41421         Do not use __unbounded.
41422         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
41423         not use __ptrvalue.
41424         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
41425         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
41426         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
41427         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
41428         __ptrvalue or __unbounded.
41429         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
41430         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
41431         use __unbounded.
41432         (__new_msgctl): Do not use __ptrvalue.
41433         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
41434         __unbounded.
41435         (__libc_msgrcv): Do not use __ptrvalue.
41436         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
41437         startup_info): Do not use __unbounded.
41438         (__libc_start_main): Likewise.  Rename ubp_* variables and
41439         parameters.  Remove argv definitions conditional on
41440         [__BOUNDED_POINTERS__].
41441         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
41442         __ptrvalue.
41443         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
41444         use __unbounded.
41445         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
41446         or __ptrvalue.
41447         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
41448         use __unbounded.
41449         (__new_shmctl): Do not use __ptrvalue.
41450         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
41451         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
41452         Likewise.
41453         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
41454         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
41455         (__libc_sigaction): Likewise.
41456         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
41457         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
41458         Likewise.
41459         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
41461 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
41463         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
41465         * string/mempcpy.c: Implement by calling memcpy.
41467 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
41469         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
41471         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
41472         evaluation.
41474         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
41475         values in the mantissa.
41477         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
41478         minimize writes to Z.
41479         (sub_magnitudes): Simplify code a bit.
41481 2013-02-12  Roland McGrath  <roland@hack.frob.com>
41483         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
41484         from the message.  The linker prefixes all warnings with that already.
41486 2013-02-12  Andreas Schwab  <schwab@suse.de>
41488         [BZ #15078]
41489         * posix/regexec.c (extend_buffers): Add parameter min_len.
41490         (check_matching): Pass minimum needed length.
41491         (clean_state_log_if_needed): Likewise.
41492         (get_subexp): Likewise.
41493         * posix/Makefile (tests): Add bug-regex34.
41494         (bug-regex34-ENV): Define.
41495         * posix/bug-regex34.c: New file.
41497         [BZ #11561]
41498         * posix/regcomp.c (parse_bracket_exp): When looking up collating
41499         elements compare against the byte sequence of it, not its name.
41500         * posix/Makefile (tests): Add bug-regex35.
41501         (bug-regex35-ENV): Define.
41502         * posix/bug-regex35.c: New file.
41504 2013-02-11  Tom de Vries  <tom@codesourcery.com>
41506         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
41507         comment.
41508         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
41509         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
41510         (CHECK_EOL): Add undef.
41512 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
41514         * bits/stdlib-bsearch.h: New file.
41515         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
41516         * stdlib/stdlib.h: Likewise.
41518 2013-02-11  Roland McGrath  <roland@hack.frob.com>
41520         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
41521         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
41522         declaration.
41523         * manual/search.texi (Array Search Function): Add missing const in
41524         lfind prototype.
41525         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
41526         declaration to use rlim_t.
41527         (Basic Scheduling Functions): Remove erroneous const from
41528         sched_getparam prototype.  Remove erroneous * from
41529         sched_get_priority_max and sched_get_priority_min prototypes.
41530         (Resource Usage): Fix summary @comment on vtimes to refer to
41531         sys/vtimes.h rather than vtimes.h.
41532         Add missing *s in vtimes prototype.
41533         (Limits on Resources): Fix ulimit prototype to return long int.
41534         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
41535         prototypes to use long int rather than double.
41536         (BSD Random): Fix initstate and setstate to use char *, not void *.
41537         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
41538         prototype to make second argument 'struct aiocb64 *const[]'.
41539         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
41540         (Status of AIO Operations): Remove erroneous const in aio_return and
41541         aio_return64 prototypes.
41542         (Synchronizing I/O): Fix sync prototype to return void.
41543         * manual/startup.texi (Suboptions): Remove an erroneous const in
41544         getsubopt prototype.
41545         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
41546         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
41547         use size_t rather than int.
41548         (Scanning All Users): Likewise for getpwent_r.
41549         (Setting Groups): Add missing const to setgroups prototype.
41550         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
41551         * manual/socket.texi (Host Names): Fix gethostbyaddr and
41552         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
41553         'const void *' rather than 'const char *'.
41554         (Host Address Functions): Likewise for inet_ntop.
41555         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
41556         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
41557         ssize_t for return value.
41558         (Sending Data): Likewise for send, sendto, sendmsg.
41559         (Socket Option Functions): Add a missing const in setsockopt prototype.
41560         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
41561         use wchar_t for the argument.
41562         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
41563         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
41564         take no arguments.
41565         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
41566         double/float/long double for second argument.
41567         Fix return types of significand, significandf, significandl.
41568         * manual/filesys.texi (Setting Permissions): Use mode_t for second
41569         argument in fchmod prototype.
41570         (File Owner): Use uid_t and gid_t in fchown prototype.
41571         (File Times): Add const to utimes, futimes, and lutimes prototypes.
41572         (Making Special Files): Use mode_t and dev_t in mknod prototype.
41573         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
41574         use 'const struct dirent **' as argument types to CMP function pointer
41575         argument.
41576         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
41577         (File Times): Fix summary magic @comment for struct utimbuf and utime
41578         to refer to utime.h, not time.h.
41579         * manual/string.texi (Argz Functions): Add missing const in
41580         argz_extract and argz_next prototypes.
41581         (Finding Tokens in a String): Likewise for basename.
41582         (String/Array Comparison): Fix typo in wcscasecmp prototype.
41583         (Copying and Concatenation): Fix typo in wmemmove prototype.
41584         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
41585         (Signal Stack): Remove erroneous const in sigstack prototype.
41586         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
41587         prototype.
41588         (Simple Calendar Time): Likewise for stime.
41589         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
41590         prototype.
41591         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
41592         say sys/sysctl.h instead.
41593         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
41594         and vsyslog prototypes.
41596 2013-02-11  Tom de Vries  <tom@codesourcery.com>
41598         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
41599         Remove.
41601 2013-02-11  Roland McGrath  <roland@hack.frob.com>
41603         * misc/sys/mman.h: Fix typo in mremap comment.
41605 2013-02-08  Roland McGrath  <roland@hack.frob.com>
41607         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
41608         the '\0' terminator.
41610 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
41612         [BZ #13550]
41613         * debug/segfault.c: Don't include <bp-checks.h>.
41614         * sysdeps/generic/bp-checks.h: Remove file.
41615         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
41616         (__GETDENTS): Don't use CHECK_N.
41617         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
41618         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
41619         (__getgroups): Don't use CHECK_N.
41620         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
41621         (setgroups): Don't use CHECK_N.
41622         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
41623         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
41624         (__libc_msgrcv): Don't use CHECK_N.
41625         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
41626         (__libc_msgsnd): Don't use CHECK_N.
41627         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
41628         <bp-checks.h>.
41629         (__libc_pread): Don't use CHECK_N.
41630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
41631         include <bp-checks.h>.
41632         (__libc_pread64): Don't use CHECK_N.
41633         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
41634         include <bp-checks.h>.
41635         (__libc_pwrite): Don't use CHECK_N.
41636         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
41637         include <bp-checks.h>.
41638         (__libc_pwrite64): Don't use CHECK_N.
41639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
41640         <bp-checks.h>.
41641         (__libc_pread): Don't use CHECK_N.
41642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
41643         include <bp-checks.h>.
41644         (__libc_pread64): Don't use CHECK_N.
41645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
41646         include <bp-checks.h>.
41647         (__libc_pwrite): Don't use CHECK_N.
41648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
41649         include <bp-checks.h>.
41650         (__libc_pwrite64): Don't use CHECK_N.
41651         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
41652         (do_pread): Don't use CHECK_N.
41653         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
41654         (do_pread64): Don't use CHECK_N.
41655         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
41656         (do_pwrite): Don't use CHECK_N.
41657         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
41658         (do_pwrite64): Don't use CHECK_N.
41659         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
41660         (__libc_readv): Don't use CHECK_N.
41661         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
41662         (semop): Don't use CHECK_N.
41663         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
41664         <bp-checks.h>.
41665         (semtimedop): Don't use CHECK_N.
41666         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
41667         (__libc_pread): Don't use CHECK_N.
41668         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
41669         <bp-checks.h>.
41670         (__libc_pread64): Don't use CHECK_N.
41671         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
41672         <bp-checks.h>.
41673         (__libc_pwrite): Don't use CHECK_N.
41674         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
41675         <bp-checks.h>.
41676         (__libc_pwrite64): Don't use CHECK_N.
41677         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
41678         <bp-checks.h>.
41679         (__libc_msgrcv): Don't use CHECK_N.
41680         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
41681         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
41682         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
41683         (__libc_writev): Don't use CHECK_N.
41685 2013-02-08  Roland McGrath  <roland@hack.frob.com>
41687         * string/strcpy.c: Removed unused variable.
41689         * Makeconfig (+sysdep-includes): Define with := rather than =.
41690         Use an existing include/ subdir of each sysdeps dir before it.
41692 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
41694         * nscd/connection.c (register_traced_file): Comment function.
41695         [HAVE_INOTIFY] (union __inev): Define.
41696         [HAVE_INOTIFY] (inotify_check_files): New function.
41697         [HAVE_INOTIFY] (clear_db_cache): Likewise.
41698         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
41699         clear_db_cache.
41700         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
41702 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
41704         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
41705         loaded if not already and that a failure is permanent.
41707 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
41709         [BZ #15006]
41710         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
41711         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
41713 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
41715         [BZ #13550]
41716         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
41717         (CHECK_1_NULL_OK): Likewise.
41718         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
41719         (__fxstat): Do not use CHECK_1.
41720         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
41721         <bp-checks.h>.
41722         (___fxstat64): Do not use CHECK_1.
41723         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
41724         <bp-checks.h>.
41725         (__fxstatat): Do not use CHECK_1.
41726         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
41727         <bp-checks.h>.
41728         (__fxstatat64): Do not use CHECK_1.
41729         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
41730         <bp-checks.h>.
41731         (__fxstat): Do not use CHECK_1.
41732         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
41733         <bp-checks.h>.
41734         (__fxstatat): Do not use CHECK_1.
41735         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
41736         <bp-checks.h>.
41737         (__getresgid): Do not use CHECK_1.
41738         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
41739         <bp-checks.h>.
41740         (__getresuid): Do not use CHECK_1.
41741         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
41742         <bp-checks.h>.
41743         (__lxstat): Do not use CHECK_1.
41744         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
41745         <bp-checks.h>.
41746         (__old_msgctl): Do not use CHECK_1.
41747         (__new_msgctl): Likewise.
41748         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
41749         <bp-checks.h>.
41750         (__new_setrlimit): Do not use CHECK_1.
41751         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
41752         <bp-checks.h>.
41753         (__old_shmctl): Do not use CHECK_1.
41754         (__new_shmctl): Likewise.
41755         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
41756         <bp-checks.h>.
41757         (__xstat): Do not use CHECK_1.
41758         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
41759         (__lxstat): Do not use CHECK_1.
41760         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
41761         <bp-checks.h>.
41762         (___lxstat64): Do not use CHECK_1.
41763         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
41764         (__old_msgctl): Do not use CHECK_1.
41765         (__new_msgctl): Likewise.
41766         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
41767         <bp-checks.h>.
41768         (__gettimeofday): Do not use CHECK_1.
41769         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
41770         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
41771         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
41772         <bp-checks.h>.
41773         (__gettimeofday): Do not use CHECK_1.
41774         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
41775         (__old_shmctl): Do not use CHECK_1_NULL_OK.
41776         (__new_shmctl): Do not use CHECK_1.
41777         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
41778         <bp-checks.h>.
41779         (do_sigtimedwait): Do not use CHECK_1.
41780         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
41781         <bp-checks.h>.
41782         (do_sigwaitinfo): Do not use CHECK_1.
41783         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
41784         <bp-checks.h>.
41785         (msgctl): Do not use CHECK_1.
41786         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
41787         <bp-checks.h>.
41788         (shmctl): Do not use CHECK_1.
41789         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
41790         (ustat): Do not use CHECK_1.
41791         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
41792         <bp-checks.h>.
41793         (__fxstat): Do not use CHECK_1.
41794         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
41795         <bp-checks.h>.
41796         (__fxstatat): Do not use CHECK_1.
41797         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
41798         <bp-checks.h>.
41799         (__lxstat): Do not use CHECK_1.
41800         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
41801         <bp-checks.h>.
41802         (__xstat): Do not use CHECK_1.
41803         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
41804         (__xstat): Do not use CHECK_1.
41805         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
41806         (___xstat64): Do not use CHECK_1.
41808         [BZ #13550]
41809         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
41810         definitions.
41811         (CHECK_BOUNDS_HIGH): Likewise.
41812         * string/strcpy.c: Do not include <bp-checks.h>.
41813         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
41815 2013-02-07  Roland McGrath  <roland@hack.frob.com>
41817         * nscd/nscd-client.h (__nscd_drop_map_ref):
41818         Add __attribute__ ((unused)).
41819         * nis/nss-nisplus.h (niserr2nss): Likewise.
41821         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
41822         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
41824         * csu/libc-tls.c (init_static_tls, init_slotinfo):
41825         Remove inline keyword.
41826         * include/rounding-mode.h (round_away): Likewise.
41827         * libio/wfileops.c (adjust_wide_data): Likewise.
41828         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
41829         (__m128i_strloadu_tolower): Likewise.
41830         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
41831         (__m128i_strloadu_tolower): Likewise.
41832         * time/mktime.c (ydhms_diff): Likewise.
41833         * locale/elem-hash.h (elem_hash): Likewise.
41834         * locale/setlocale.c (setdata): Likewise.
41835         * posix/regex_internal.h (re_string_char_size_at): Likewise.
41836         (re_string_wchar_at): Likewise.
41837         (bitset_not, bitset_merge, bitset_mask): Likewise.
41838         [!(__GNUC__ > 3)] (inline): Remove macro.
41839         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
41840         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
41841         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
41842         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
41843         * string/memcmp.c (memcmp_bytes): Likewise.
41844         * locale/programs/locarchive.c (compute_hashval): Likewise.
41845         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
41846         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
41847         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
41848         * nss/getent.c (print_rpc, print_protocols): Likewise.
41849         (print_passwd, print_group, print_aliases): Likewise.
41850         * nis/nss-nisplus.h (niserr2nss): Likewise.
41851         * nscd/connections.c (restart_p): Likewise.
41852         Change return type to bool.
41854 2013-02-05  Roland McGrath  <roland@hack.frob.com>
41856         * Makeconfig (all-Depend-files): Add existing
41857         $(sorted-subdirs:=/Depend) files.
41858         (all-subdirs): Remove nss.
41859         * sysdeps/unix/inet/Subdirs: Add it here instead.
41860         * hesiod/Depend: New file.
41862         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
41863         instead of calling alloca.
41865         * io/lseek.c (__lseek): Rename to __libc_lseek.
41866         Define __lseek as an alias.
41868         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
41870 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
41872         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
41873         else clause and remove check for non-standard endianness.
41875 2013-02-04  David S. Miller  <davem@davemloft.net>
41877         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41879 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
41881         [BZ #13550]
41882         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
41883         (__ubp_memchr): Remove prototype.
41884         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
41885         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
41886         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
41887         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
41888         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
41889         Remove alias.
41890         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
41891         (__ubp_memchr): Likewise.
41892         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
41893         (__ubp_memchr): Likewise.
41894         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
41895         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
41896         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
41897         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
41898         CHECK_STRING.
41899         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
41900         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
41901         (__getcwd): Do not use CHECK_STRING.
41902         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
41903         <bp-checks.h>.
41904         (__real_chown): Do not use CHECK_STRING.
41905         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
41906         <bp-checks.h>.
41907         (fchownat): Do not use CHECK_STRING.
41908         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
41909         CHECK_STRING.
41910         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
41911         <bp-checks.h>.
41912         (__lchown): Do not use CHECK_STRING.
41913         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
41914         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
41915         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
41916         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
41917         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
41918         include <bp-checks.h>.
41919         (truncate64): Do not use CHECK_STRING.
41920         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
41921         <bp-checks.h>.
41922         (__real_chown): Do not use CHECK_STRING.
41923         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
41924         <bp-checks.h>.
41925         (__lchown): Do not use CHECK_STRING.
41926         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
41927         <bp-checks.h>.
41928         (__chown): Do not use CHECK_STRING.
41929         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
41930         <bp-checks.h>.
41931         (truncate64): Do not use CHECK_STRING.
41932         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
41933         Likewise.
41934         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
41935         (__xmknod): Do not use CHECK_STRING.
41936         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
41937         <bp-checks.h>.
41938         (__xmknodat): Do not use CHECK_STRING.
41939         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
41940         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
41942 2013-02-04  Andreas Schwab  <schwab@suse.de>
41944         [BZ #14142]
41945         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
41946         * include/netdb.h: Likewise for h_errno.
41947         * elf/tst-stackguard1.c: Include <tls.h>.
41949 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
41951         * elf/link.h (struct link_map): Extend the l_addr comment.
41952         * include/link.h (struct link_map): Likewise.
41954 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
41956         [BZ #13550]
41957         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
41958         (BOUNDED_1): Remove macro.
41959         * debug/backtrace.c: Don't include <bp-checks.h>.
41960         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
41961         (__backtrace): Likewise.
41962         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
41963         <bp-checks.h>.
41964         (__backtrace): Don't use BOUNDED_1.
41965         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
41966         <bp-checks.h>.
41967         (__backtrace): Don't use BOUNDED_1.
41968         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
41969         (__backtrace): Don't use BOUNDED_1.
41970         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
41971         (shmat): Don't use BOUNDED_N.
41973 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
41975         [BZ #13550]
41976         * sysdeps/generic/bp-start.h: Remove file.
41977         * csu/libc-start.c: Don't include <bp-start.h>.
41978         (LIBC_START_MAIN): Set up __environ directly instead of using
41979         INIT_ARGV_and_ENVIRON.
41980         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
41981         <bp-start.h>.
41983         [BZ #13550]
41984         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
41985         definitions.
41986         (CHECK_FCNTL): Likewise.
41987         (CHECK_N_PAGES): Likewise.
41989         [BZ #13550]
41990         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
41991         definitions.
41992         (CHECK_SIGSET_NULL_OK): Likewise.
41993         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
41994         <bp-checks.h>.
41995         (sigpending): Don't use CHECK_SIGSET.
41996         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
41997         <bp-checks.h>.
41998         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
41999         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
42000         <bp-checks.h>.
42001         (do_sigsuspend): Don't use CHECK_SIGSET.
42002         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
42003         use CHECK_SIGSET.
42004         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
42005         (do_sigwait): Don't use CHECK_SIGSET.
42006         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
42007         use CHECK_SIGSET.
42008         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
42009         include <bp-checks.h>.
42010         (sigpending): Don't use CHECK_SIGSET.
42011         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
42012         include <bp-checks.h>.
42013         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
42014         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
42015         <bp-checks.h>.
42016         (sigpending): Don't use CHECK_SIGSET.
42017         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
42018         <bp-checks.h>.
42019         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
42021         [BZ #13550]
42022         * sysdeps/generic/bp-semctl.h: Remove file.
42023         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
42024         <bp-checks.h> and <bp-semctl.h>.
42025         (__old_semctl): Don't use CHECK_SEMCTL.
42026         (__new_semctl): Likewise.
42027         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
42028         and <bp-semctl.h>.
42029         (__old_semctl): Don't use CHECK_SEMCTL.
42030         (__new_semctl): Likewise.
42031         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
42032         <bp-checks.h> and <bp-semctl.h>.
42033         (__old_semctl): Don't use CHECK_SEMCTL.
42034         (__new_semctl): Likewise.
42035         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
42036         <bp-checks.h> and <bp-semctl.h>.
42037         (semctl): Don't use CHECK_SEMCTL.
42039         [BZ #13550]
42040         * Makerules (elide-bp-thunks): Remove variable.
42041         (elide-routines.oS): Don't use $(elide-bp-thunks).
42042         (elide-routines.os): Likewise.
42043         (elide-routines.o): Likewise.
42044         (elide-routines.op): Likewise.
42045         (elide-routines.og): Likewise.
42046         (objects): Don't use $(bp-thunks).
42047         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
42048         include.
42049         (common-generated): Do not add s-proto-bp.d.
42050         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
42051         (int): Likewise.
42052         (typ): Likewise.
42053         Do not generate makefile rules for bounded-pointer thunks.
42054         * sysdeps/generic/bp-thunks.h: Remove file.
42055         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
42056         * sysdeps/unix/s-proto-bp.S: Likewise.
42058         [BZ #15062]
42059         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
42060         parts of result separately when argument is not close to line from
42061         -i to i and one part of argument is small.
42062         * math/k_casinhf.c (__kernel_casinhf): Likewise.
42063         * math/k_casinhl.c (__kernel_casinhl): Likewise.
42064         * math/libm-test.inc (cacos_test): Add more tests.
42065         (casin_test): Likewise.
42066         (casinh_test): Likewise.
42067         * sysdeps/i386/fpu/libm-test-ulps: Update.
42068         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42070 2013-01-31  David S. Miller  <davem@davemloft.net>
42072         * po/de.po: Update from translation team.
42074 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
42076         * time/tzfile.c: Include stdint.h for SIZE_MAX.
42078 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
42080         * configure.in (_AC_PROG_CC_C89): New definition.
42081         * configure: Regenerate.
42083         * configure.in (AC_PROG_CPP): New definition.
42084         * configure: Regenerate.
42086 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
42088         * debug/tst-backtrace.h: New file.
42089         * debug/tst-backtrace2.c: Include tst-backtrace.h.
42090         (ret): Remove variable.
42091         (x): Likewise.
42092         (FAIL): Remove macro.
42093         (NO_INLINE): Likewise.
42094         (fn1): Use match function instead of strstr.
42095         * debug/tst-backtrace3.c: Include tst-backtrace.h.
42096         (ret): Remove variable.
42097         (x): Likewise.
42098         (FAIL): Remove macro.
42099         (NO_INLINE): Likewise.
42100         (fn): Use match function instead of strstr.
42101         * debug/tst-backtrace4.c: Include tst-backtrace.h.
42102         (ret): Remove variable.
42103         (x): Likewise.
42104         (FAIL): Remove macro.
42105         (NO_INLINE): Likewise.
42106         (handle_signal): Use match function instead of strstr.
42107         * debug/tst-backtrace5.c: Include tst-backtrace.h.
42108         (ret): Remove variable.
42109         (x): Likewise.
42110         (FAIL): Remove macro.
42111         (NO_INLINE): Likewise.
42112         (handle_signal): Use match function instead of strstr.
42114 2013-01-23  Roland McGrath  <roland@hack.frob.com>
42116         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
42118 2013-01-23  David S. Miller  <davem@davemloft.net>
42120         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
42121         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
42122         argument of CAS if possible.
42123         * sysdeps/sparc/sparc64/bits/atomic.h
42124         (__arch_compare_and_exchange_val_32_acq): Likewise.
42125         (__arch_compare_and_exchange_val_64_acq): Likewise.
42127 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
42129         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
42130         * sysdeps/posix/ulimit.c: ... this.
42131         Include <limits.h>.
42132         * sysdeps/unix/bsd/ulimit.c: Remove file.
42134 2013-01-23  Adam Conrad  <adconrad@0c3.net>
42136         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
42137         (LDFLAGS-tst-array5): Likewise.
42139 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
42141         [BZ #15036]
42142         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
42143         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
42144         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
42145         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
42147 2013-01-21  David S. Miller  <davem@davemloft.net>
42149         * sysdeps/sparc/backtrace.c: New file.
42150         * sysdeps/sparc/sparc32/backtrace.h: New file.
42151         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
42152         * sysdeps/sparc/sparc64/backtrace.h: New file.
42153         * sysdeps/sparc/sparc64/backtrace.c: Delete.
42154         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
42155         -funwind-tables.
42157 2013-01-21  Andreas Schwab  <schwab@suse.de>
42159         [BZ #15020]
42160         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
42161         closed its stdout.
42163 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
42165         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
42166         "mpa2.h".
42167         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
42169 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
42170             Mark Mitchell  <mark@codesourcery.com>
42171             Tom de Vries  <tom@codesourcery.com>
42172             Paul Pluzhnikov  <ppluzhnikov@google.com>
42174         * debug/tst-backtrace2.c: New file.
42175         * debug/tst-backtrace3.c: Likewise.
42176         * debug/tst-backtrace4.c: Likewise.
42177         * debug/tst-backtrace5.c: Likewise.
42178         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
42179         (CFLAGS-tst-backtrace3.c): Likewise.
42180         (CFLAGS-tst-backtrace4.c): Likewise.
42181         (CFLAGS-tst-backtrace5.c): Likewise.
42182         (LDFLAGS-tst-backtrace2): Likewise.
42183         (LDFLAGS-tst-backtrace3): Likewise.
42184         (LDFLAGS-tst-backtrace4): Likewise.
42185         (LDFLAGS-tst-backtrace5): Likewise.
42186         (tests): Add new tests tst-backtrace2, tst-backtrace3,
42187         tst-backtrace4 and tst-backtrace5.
42189 2013-01-18  Anton Blanchard  <anton@samba.org>
42190             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
42192         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
42193         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
42194         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
42195         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
42196         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
42197         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
42198         "+r" and remove output regs list as redundant.  Add explicit inline
42199         asm to specify register of return val to work around compiler codegen
42200         bug.  Remove (int) cast on return value.  Add return type parameter to
42201         use in macro so that this macro does not truncate return value for
42202         64-bit values.
42203         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
42204         pass to INTERNAL_VSYSCALL_NCS.
42205         (INLINE_VSYSCALL): Add 'long int' as return type to
42206         INTERNAL_VSYSCALL_NCS macro invocation.
42207         (INTERNAL_VSYSCALL): Add 'long int' as return type to
42208         INTERNAL_VSYSCALL_NCS macro invocation.
42209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
42211 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
42213         [BZ #14496]
42214         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
42215         Fix application of SIMD FP exception mask.
42217         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
42218         mp_no from a power of two.
42219         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
42220         __mpexp_twomm1.  Use __pow_mp.
42222         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
42223         multiplication.
42225 2013-01-17  David S. Miller  <davem@davemloft.net>
42227         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42229 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
42231         [BZ #15023]
42232         * include/complex.h: Condition contents on [!_COMPLEX_H].
42233         (__kernel_casinhf): New prototype.
42234         (__kernel_casinh): Likewise.
42235         (__kernel_casinhl): Likewise.
42236         * math/Makefile (libm_calls): Add k_casinh.
42237         * math/k_casinh.c: New file.
42238         * math/k_casinhf.c: Likewise.
42239         * math/k_casinhl.c: Likewise.
42240         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
42241         finite nonzero arguments.
42242         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
42243         finite nonzero arguments.
42244         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
42245         finite nonzero arguments.
42246         * math/s_casinh.c: Do not include <float.h>.
42247         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
42248         * math/s_casinhf.c: Do not include <float.h>.
42249         (__casinhf): Move code for finite nonzero arguments to
42250         k_casinhf.c.
42251         * math/s_casinhl.c: Do not include <float.h>.
42252         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
42253         redefine.
42254         (__casinhl): Move code for finite nonzero arguments to
42255         k_casinhl.c.
42256         * math/libm-test.inc (cacos_test): Add more tests.
42257         * sysdeps/i386/fpu/libm-test-ulps: Update.
42258         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42260 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
42262         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
42263         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
42264         [!HAVE_MREMAP]: Remove [defined linux] case.
42265         * malloc/arena.c: Do not include <malloc-sysdep.h>.
42267 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
42269         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
42271 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
42273         * elf/elf.h (R_386_SIZE32): New relocation.
42274         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
42275         R_386_SIZE32.
42276         (elf_machine_rela): Likewise.
42277         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
42278         R_X86_64_SIZE64 and R_X86_64_SIZE32.
42280 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
42282         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
42283         (FP_FAST_FMA): Do not define.
42284         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
42285         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
42286         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
42287         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
42288         !_SOFT_FLOAT]: Likewise.
42289         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
42290         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
42291         value.
42292         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
42293         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
42294         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
42295         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
42296         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
42297         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
42298         file.
42300 2013-01-16  Andreas Schwab  <schwab@suse.de>
42302         [BZ #14327]
42303         * include/stdlib.h (__mktemp): Add declaration.
42304         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
42305         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
42307 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
42309         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
42310         definitions.
42311         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
42312         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
42313         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
42314         definitions here.
42315         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
42316         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
42317         definitions.
42318         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
42319         and ONE.
42320         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
42321         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
42322         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
42323         definitions.
42324         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
42325         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
42326         definitions.
42327         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
42329         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
42331 2013-01-15  David S. Miller  <davem@davemloft.net>
42333         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
42334         trunc{,f} to libm-sysdep_routes.
42335         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
42336         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
42337         file.
42338         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
42339         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
42340         file.
42341         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
42342         file.
42343         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
42344         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
42345         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
42346         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
42347         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
42348         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
42349         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
42350         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
42352         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
42353         nearbyint{,f} to libm-sysdep_routes.
42354         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
42355         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
42356         New file.
42357         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
42358         file.
42359         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
42360         New file.
42361         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
42362         file.
42363         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
42364         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
42365         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
42366         file.
42367         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
42368         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
42369         file.
42370         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
42371         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
42372         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
42374         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
42375         libc_feholdexcept and libc_fesetenv.
42377 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
42379         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
42381 2013-01-14  David S. Miller  <davem@davemloft.net>
42383         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
42384         (SPARC_ASM_VIS2_IFUNC): Likewise.
42385         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
42386         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
42387         use of 'siam' instruction.
42388         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
42389         Likewise.
42390         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
42391         Likewise.
42392         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
42393         Likewise.
42394         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
42395         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
42396         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
42397         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
42398         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
42399         file.
42400         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
42401         file.
42402         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
42403         file.
42404         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
42405         file.
42406         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
42407         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
42408         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
42409         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
42410         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
42411         new VIS2 routines.
42412         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
42413         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
42414         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
42415         Likewise.
42416         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
42417         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
42418         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
42419         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
42420         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
42421         routines to libm-sysdep_routines.
42422         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
42424         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
42425         fdim/fdimf to libm-sysdep_routines.
42426         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
42427         file.
42428         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
42429         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
42430         file.
42431         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
42432         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
42433         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
42434         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
42435         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
42436         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
42437         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
42439 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
42441         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
42442         to optimize copies.
42444         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
42445         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
42446         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
42448         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
42449         local variable MPTWO.
42450         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
42451         Likewise.
42453 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
42455         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
42456         GLOB_NOESCAPE.
42458 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
42460         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
42462 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
42464         * manual/pattern.texi (glob_t): Document gl_flags.
42465         (glob64_t): Likewise.
42467 2013-01-11  David S. Miller  <davem@davemloft.net>
42469         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
42470         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
42471         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
42472         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
42473         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
42474         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
42475         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
42476         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
42477         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
42478         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
42479         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
42480         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
42481         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
42483         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
42484         sparc V9 rather than using V8 code.
42485         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
42486         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
42488         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
42489         Move to...
42490         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
42491         Here.
42493 2013-01-11  Roland McGrath  <roland@hack.frob.com>
42495         [BZ #14941]
42496         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
42497         not in the main loop.
42498         * configure: Regenerated.
42500 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
42502         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
42503         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
42504         to just #else.
42505         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
42506         [!__GLIBC_HAVE_LONG_LONG] case.
42507         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
42508         condition to just #else.
42509         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
42510         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
42511         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
42512         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
42513         unconditional.
42514         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
42515         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
42516         #elif condition to just #else.
42517         * sysdeps/unix/sysv/linux/sys/sysmacros.h
42518         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
42519         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
42520         #elif condition to just #else.
42522 2013-01-11  Steve Ellcey  <sellcey@mips.com>
42524         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
42525         (EF_MIPS_ARCH_64): Fix value.
42526         (EF_MIPS_ARCH_32R2): New.
42527         (EF_MIPS_ARCH_64R2): New.
42529 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
42531         * Makeconfig (+link-pie-before-libc): New.
42532         (+link-pie-after-libc): Likewise.
42533         (+link-pie-tests): Likewise.
42534         (+link-pie): Rewritten.
42535         (link-before-libc): Remove $(config-LDFLAGS).
42536         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
42537         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
42538         (config-LDFLAGS): Renamed to ...
42539         (rtld-LDFLAGS): This.
42540         (rtld-tests-LDFLAGS): New macro.
42541         (link-libc-rpath-link): Likewise.
42542         (link-libc-tests-rpath-link): Likewise.
42543         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
42544         (link-libc): Prepand $(link-libc-rpath-link).
42545         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
42546         (test-program-prefix): New macro.
42547         (test-via-rtld-prefix): Likewise.
42548         (test-program-cmd): Likewise.
42549         (host-test-program-cmd): Likewise.
42550         * Makefile ($(common-objpfx)testrun.sh): Replace
42551         $(run-program-prefix) with $(test-program-prefix).
42552         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
42553         $(rtld-LDFLAGS).
42554         ($(common-objpfx)shlib.lds): Likewise.
42555         (build-module-helper): Likewise.
42556         ($(common-objpfx)format.lds): Likewise.
42557         * Rules (binaries-pie-tests): New.
42558         (binaries-pie-notests): Likewise.
42559         (binaries-pie): Rewritten.
42560         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
42561         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
42562         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
42563         (make-test-out): Replace $(host-built-program-cmd) with
42564         $(host-test-program-cmd).
42565         * config.make.in (build-hardcoded-path-in-tests): New variable.
42566         * configure.in (--enable-hardcoded-path-in-tests): New configure
42567         option.
42568         (hardcoded_path_in_tests): New AC_SUBST.
42569         * configure: Regenerated.
42570         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
42571         $(built-program-cmd) with $(test-program-cmd).
42572         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
42573         (test_program_cmd): This.
42574         * elf/Makefile ($(objpfx)order.out): Run test with
42575         $(test-program-prefix).
42576         ($(objpfx)order2.out): Likewise.
42577         ($(objpfx)tst-initorder.out): Likewise.
42578         ($(objpfx)tst-initorder2.out): Likewise.
42579         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
42580         $(test-program-cmd).
42581         ($(objpfx)tst-array1-static.out): Likewise.
42582         ($(objpfx)tst-array2.out): Likewise.
42583         ($(objpfx)tst-array3.out): Likewise.
42584         ($(objpfx)tst-array4.out): Likewise.
42585         ($(objpfx)tst-array5.out): Likewise.
42586         ($(objpfx)tst-array5-static.out): Likewise.
42587         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
42588         $(test-program-cmd).
42589         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
42590         $(run-program-prefix) with $(test-program-prefix).
42591         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
42592         (test_program_prefix): This.
42593         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
42594         $(run-program-prefix) with $(test-program-prefix).
42595         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
42596         (test_program_prefix): This.
42597         * iconvdata/tst-tables.sh: Likewise.
42598         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
42599         $(run-program-prefix) with $(test-program-prefix).
42600         ($(objpfx)tst-translit.out): Likewise.
42601         ($(objpfx)tst-gettext2.out): Likewise.
42602         ($(objpfx)tst-gettext4.out): Likewise.
42603         ($(objpfx)tst-gettext6.out): Likewise.
42604         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
42605         (test_program_prefix): This.
42606         * intl/tst-gettext2.sh: Likewise.
42607         * intl/tst-gettext4.sh  Likewise.
42608         * intl/tst-gettext6.sh: Likewise.
42609         * intl/tst-translit.sh: Likewise.
42610         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
42611         with $(test-program-cmd).
42612         * libio/Makefile ($(objpfx)test-freopen.out): Replace
42613         $(run-program-prefix) with $(test-program-prefix).
42614         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
42615         (test_program_prefix): This.
42616         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
42617         $(run-program-prefix) with $(test-program-prefix).
42618         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
42619         (test_program_prefix): This.
42620         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
42621         * posix/Makefile ($(objpfx)globtest.out): Replace
42622         $(run-via-rtld-prefix) and $(test-wrapper) with
42623         $(test-program-prefix) and $(test-via-rtld-prefix).
42624         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
42625         $(test-program-prefix).
42626         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
42627         $(host-test-program-cmd).
42628         (tst-spawn-ARGS): Likewise.
42629         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
42630         $(test-program-prefix).
42631         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
42632         (test_via_rtld_prefix): This.
42633         (test_wrapper): Renamed to ...
42634         (test_program_prefix): This.
42635         (run_program_prefix): Replaced by test_program_prefix.
42636         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
42637         (test_program_prefix): This.
42638         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
42639         with $(host-test-program-cmd).
42640         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
42641         $(run-program-prefix) with $(test-program-prefix).
42642         ($(objpfx)tst-printf.out): Likewise.
42643         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
42644         $(test-program-cmd).
42645         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
42646         (test_program_prefix): This.
42647         * stdio-common/tst-unbputc.sh: Likewise.
42648         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
42649         $(run-program-prefix) with $(test-program-prefix).
42650         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
42651         (test_program_prefix): This.
42652         * string/Makefile ($(objpfx)tst-svc.out):  Replace
42653         $(built-program-cmd) with $(test-program-cmd).
42655 2013-01-11  Andreas Jaeger  <aj@suse.de>
42657         [BZ #15003]
42658         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
42659         value. Sync with Linux 3.7.
42661 2013-01-10  David S. Miller  <davem@davemloft.net>
42663         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
42664         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
42665         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
42667 2013-01-10  Roland McGrath  <roland@hack.frob.com>
42669         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
42670         never set.
42671         * configure: Regenerated.
42673 2013-01-10  David S. Miller  <davem@davemloft.net>
42675         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
42676         sparc V9 rather than using V8 code.
42677         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
42678         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
42680 2013-01-10  Roland McGrath  <roland@hack.frob.com>
42682         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
42683         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
42684         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
42685         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
42686         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
42687         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
42688         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
42689         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
42690         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
42691         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
42692         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
42693         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
42694         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
42695         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
42696         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
42697         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
42698         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
42699         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
42700         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
42701         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
42702         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
42703         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
42704         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
42705         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
42706         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
42707         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
42708         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
42710 2013-01-10  David S. Miller  <davem@davemloft.net>
42712         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42714 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
42716         * posix/Makefile (tests-static): New variable.
42717         (tests): Add $(tests-static).
42718         (tst-exec-static-ARGS): New variable.
42719         (tst-spawn-static-ARGS): Likewise.
42720         * posix/tst-exec-static.c: New file.
42721         * posix/tst-spawn-static.c: Likewise.
42722         * posix/tst-exec.c: Support run directly.
42723         * posix/tst-spawn.c: Likewise.
42725 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
42727         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
42728         long.
42729         * math/bits/mathcalls.h (llrint): Likewise.
42730         (llround): Likewise.
42731         * stdlib/stdlib.h (struct drand48_data): Likewise.
42732         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
42733         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
42734         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
42735         Likewise.
42736         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
42737         Likewise.
42738         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
42739         (elf_greg_t): Likewise.
42740         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
42741         (__jmp_buf): Likewise.
42742         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
42743         definitions.
42744         (llrint): Likewise, for all definitions.
42745         (llrintl): Likewise.
42747         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
42748         Remove [__GNUC__] condition.
42749         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
42750         condition to just [__USE_ISOC99].
42751         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
42753 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
42755         [BZ #14200]
42756         * sysdeps/unix/sysv/linux/x86/bits/environments.h
42757         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
42758         defined.
42759         (_POSIX_V6_ILP32_OFF32): Likewise.
42760         (_XBS5_ILP32_OFF32): Likewise.
42761         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
42762         (__ILP32_OFFBIG_LDFLAGS): Likewise.
42764 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
42766         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
42768         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
42769         doubles __mpexp_twomm1.  Adjust usage.
42770         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
42771         Remove.
42773 2013-01-10  Andreas Schwab  <schwab@suse.de>
42775         [BZ #14964]
42776         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
42777         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
42779 2013-01-09  David S. Miller  <davem@davemloft.net>
42781         [BZ #15003]
42782         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
42783         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
42784         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
42785         (TCP_FASTOPEN): Define.
42786         (tcp_repair_opt): New structure.
42787         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
42788         enum values.
42789         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
42790         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
42791         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
42792         (tcp_cookie_transactions): New structure.
42794 2013-01-09  Anton Blanchard  <anton@samba.org>
42796         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
42797         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
42798         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
42799         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
42801 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
42803         * include/features.h (__USE_ANSI): Remove.
42805 2013-01-09  Roland McGrath  <roland@hack.frob.com>
42807         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
42809         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
42811 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
42813         * sysdeps/s390/fpu/libm-test-ulps: Update.
42815         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42817         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
42818         (__acr): Likewise.
42819         (__cpy): Likewise.
42820         (norm): Likewise.
42821         (denorm): Likewise.
42822         (__mp_dbl): Likewise.
42823         (__dbl_mp): Likewise.
42824         (add_magnitudes): Likewise.
42825         (sub_magnitudes): Likewise.
42826         (__add): Likewise.
42827         (__sub): Likewise.
42828         (__mul): Likewise.
42829         (__inv): Likewise.
42830         (__dvd): Likewise.
42831         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
42832         (__acr): Likewise.
42833         (__cpy): Likewise.
42834         (norm): Likewise.
42835         (denorm): Likewise.
42836         (__mp_dbl): Likewise.
42837         (__dbl_mp): Likewise.
42838         (add_magnitudes): Likewise.
42839         (sub_magnitudes): Likewise.
42840         (__add): Likewise.
42841         (__sub): Likewise.
42842         (__mul): Likewise.
42843         (__inv): Likewise.
42844         (__dvd): Likewise.
42845         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
42846         (__acr): Likewise.
42847         (__cpy): Likewise.
42848         (norm): Likewise.
42849         (denorm): Likewise.
42850         (__mp_dbl): Likewise.
42851         (__dbl_mp): Likewise.
42852         (add_magnitudes): Likewise.
42853         (sub_magnitudes): Likewise.
42854         (__add): Likewise.
42855         (__sub): Likewise.
42856         (__mul): Likewise.
42857         (__inv): Likewise.
42858         (__dvd): Likewise.
42860 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
42862         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
42863         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
42864         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
42865         2 && __USE_EXTERN_INLINES]: Likewise.
42867 2013-01-08  Andreas Jaeger  <aj@suse.de>
42869         [BZ# 14985]
42870         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
42871         Remove.
42872         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
42873         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
42875 2013-01-07  Anton Blanchard  <anton@samba.org>
42877         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
42878         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
42879         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
42880         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
42881         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
42882         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
42883         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
42884         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
42885         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
42886         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
42887         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
42888         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
42889         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
42890         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
42891         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
42892         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
42893         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
42894         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
42895         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
42896         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
42897         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
42898         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
42899         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
42900         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
42901         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
42902         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
42903         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
42904         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
42905         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
42906         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
42907         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
42908         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
42909         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
42910         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
42911         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
42912         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
42913         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
42914         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
42915         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
42916         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
42917         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
42918         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
42919         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
42921 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
42923         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
42924         (__MALLOC_PMT): Likewise.
42925         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
42926         [__GNUC__], only on [_LIBC].
42927         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
42928         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
42929         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
42930         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
42931         forward declaration.
42932         (realloc_hook_ini): Likewise.
42933         (memalign_hook_ini): Likewise.
42934         (__libc_memalign): Do not use __MALLOC_PMT in variable
42935         declaration.
42936         (__libc_valloc): Likewise.
42937         (__libc_pvalloc): Likewise.
42938         (__libc_calloc): Likewise.
42939         (__posix_memalign): Likewise.
42941         [BZ #14996]
42942         * math/s_casinh.c: Include <float.h>.
42943         (__casinh): Do not do computation with squaring and square root
42944         for large arguments.
42945         * math/s_casinhf.c: Include <float.h>.
42946         (__casinhf): Do not do computation with squaring and square root
42947         for large arguments.
42948         * math/s_casinhl.c: Include <float.h>.
42949         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
42950         (__casinhl): Do not do computation with squaring and square root
42951         for large arguments.
42952         * math/libm-test.inc (casin_test): Add more tests.
42953         (casinh_test): Likewise.
42954         * sysdeps/i386/fpu/libm-test-ulps: Update.
42955         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42957 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
42959         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
42960         (__x86_64_raw_data_cache_size): Likewise.
42961         (__x86_64_data_cache_size_half): Likewise.
42962         (__x86_64_raw_data_cache_size_half): Likewise.
42963         (__x86_64_shared_cache_size): Likewise.
42964         (__x86_64_raw_shared_cache_size): Likewise.
42965         (__x86_64_shared_cache_size_half): Likewise.
42966         (__x86_64_raw_shared_cache_size_half): Likewise.
42967         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
42968         to ...
42969         (__x86_data_cache_size): This.
42970         (__x86_64_raw_data_cache_size): Renamed to ...
42971         (__x86_raw_data_cache_size): This.
42972         (__x86_64_data_cache_size_half): Renamed to ...
42973         (__x86_data_cache_size_half): This.
42974         (__x86_64_raw_data_cache_size_half): Renamed to ...
42975         (__x86_raw_data_cache_size_half): This.
42976         (__x86_64_shared_cache_size): Renamed to ...
42977         (__x86_shared_cache_size): This.
42978         (__x86_64_raw_shared_cache_size): Renamed to ...
42979         (__x86_raw_shared_cache_size): This.
42980         (__x86_64_shared_cache_size_half): Renamed to ...
42981         (__x86_shared_cache_size_half): This.
42982         (__x86_64_raw_shared_cache_size_half): Renamed to ...
42983         (__x86_raw_shared_cache_size_half): This.
42984         * sysdeps/x86_64/memcpy.S: Updated.
42985         * sysdeps/x86_64/memset.S: Likewise.
42986         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
42987         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
42988         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
42990 2013-01-04  David S. Miller  <davem@davemloft.net>
42992         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42994 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
42996         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
42997         1 to avoid redefinition warning.
42998         (__USE_GNU): Don't define.
42999         (init_signaling_nan): Protoize.
43001         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43003 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
43005         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
43006         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
43007         (__cpymn): Likewise.
43008         (norm): Remove commented code.
43009         (denorm): Likewise.
43010         (__mp_dbl): Likewise.
43011         (__inv): Likewise.
43012         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
43013         (__cpymn): Likewise.
43014         (norm): Remove commented code.
43015         (denorm): Likewise.
43016         (__mp_dbl): Likewise.
43017         (__inv): Likewise.
43019         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
43020         mp_no value for 1.0 and 2.0.
43021         (norm): Use RADIXI instead of radixi.d.
43022         (denorm): Likewise.
43023         (__mul): Use 0.0 instead of zero.d.
43024         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
43025         mp_no value for 1.0 and 2.0.
43026         (norm): Use RADIXI instead of radixi.d.
43027         (denorm): Likewise.
43028         (__mul): Use 0.0 instead of zero.d.
43030 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
43032         [BZ #14994]
43033         * math/s_casinh.c (__casinh): Reduce finite argument to first
43034         quadrant then set signs of results at the end.
43035         * math/s_casinhf.c (__casinhf): Likewise.
43036         * math/s_casinhl.c (__casinhl): Likewise.
43037         * math/libm-test.inc (casin_test): Add more tests.
43038         (casinh_test): Likewise.
43039         * sysdeps/i386/fpu/libm-test-ulps: Update.
43040         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43042 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
43044         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
43046         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
43048         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
43049         declarations.
43050         (denorm): Likewise.
43051         (__mp_dbl): Likewise.
43052         (__inv): Likewise.
43054         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
43055         and adjust the header comment.
43057         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
43058         variable name from declaration.
43060 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
43062         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43063         Initialize COMMON_CPUID_INDEX_7 element.
43064         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
43065         (CPUID_RTM): Likewise.
43066         (HAS_RTM): Likewise.
43067         (COMMON_CPUID_INDEX_7): New enum.
43069 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
43071         [BZ #14981]
43072         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
43073         size is zero, record memory as freed.
43075 2013-01-03  Andreas Jaeger  <aj@suse.de>
43077         * po/ia.po: Add new Interlingua translation.
43079 2012-01-03  Allan McRae  <allan@archlinux.org>
43081         * locale/programs/localedef.c: Fix description of '--posix' flag.
43083 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
43085         * NEWS: Update dates in second copyright notice.
43086         * README: Update copyright dates in example.
43087         * manual/libc.texinfo: Update copyright dates.
43088         * scripts/test-installation.pl: Update copyright date in --version
43089         output.
43091         * hurd/ctty-input.c: Fix copyright notice formatting.
43092         * hurd/ctty-output.c: Likewise.
43093         * hurd/dtable.c: Likewise.
43094         * hurd/hurd-raise.c: Likewise.
43095         * hurd/hurdprio.c: Likewise.
43096         * hurd/msgportdemux.c: Likewise.
43097         * misc/sys/file.h: Likewise.
43098         * misc/sys/ioctl.h: Likewise.
43099         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
43100         * sysdeps/mach/hurd/chdir.c: Likewise.
43101         * sysdeps/mach/hurd/fchdir.c: Likewise.
43102         * sysdeps/mach/hurd/rename.c: Likewise.
43103         * sysdeps/mach/hurd/rmdir.c: Likewise.
43104         * sysdeps/mach/hurd/seekdir.c: Likewise.
43105         * sysdeps/mach/hurd/setsid.c: Likewise.
43106         * sysdeps/posix/wait3.c: Likewise.
43108         * All files with FSF copyright notices: Update copyright dates
43109         using scripts/update-copyrights.
43110         * intl/plural.c: Regenerated.
43111         * locale/programs/charmap-kw.h: Likewise.
43112         * locale/programs/locfile-kw.h: Likewise.
43114 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
43116         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
43117         four values.
43119         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
43120         calculation loop and add branch prediction.
43122         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
43123         check access beyond bounds of m1np.
43125         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
43126         MPTWO.
43127         (__inv): Remove local variable MPTWO to use the global
43128         constant.
43129         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
43130         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
43131         variable MPTWO.
43132         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
43133         MP3HALFS static const.
43135 2013-01-01  David S. Miller  <davem@davemloft.net>
43137         * po/ca.po: Update from translation team.
43139 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
43141         * scripts/update-copyrights: New file.
43142         * Makeconfig: Reformat copyright notice.
43143         * ctype/ctype.h: Likewise.
43144         * debug/swprintf_chk.c: Likewise.
43145         * elf/dl-cache.c: Likewise.
43146         * elf/dl-debug.c: Likewise.
43147         * elf/dl-object.c: Likewise.
43148         * grp/initgroups.c: Likewise.
43149         * hurd/Makefile: Likewise.
43150         * hurd/hurd/signal.h: Likewise.
43151         * hurd/hurdfault.c: Likewise.
43152         * hurd/hurdioctl.c: Likewise.
43153         * hurd/hurdlookup.c: Likewise.
43154         * hurd/intr-msg.c: Likewise.
43155         * iconv/gconv_open.c: Likewise.
43156         * libio/swprintf.c: Likewise.
43157         * locale/lc-ctype.c: Likewise.
43158         * locale/nl_langinfo.c: Likewise.
43159         * mach/Machrules: Likewise.
43160         * mach/Makefile: Likewise.
43161         * malloc/obstack.h: Likewise.
43162         * manual/Makefile: Likewise.
43163         * manual/tsort.awk: Likewise.
43164         * misc/bits/stab.def: Likewise.
43165         * nis/nis_print_group_entry.c: Likewise.
43166         * nis/nis_table.c: Likewise.
43167         * nis/nss_compat/compat-pwd.c: Likewise.
43168         * nis/nss_compat/compat-spwd.c: Likewise.
43169         * po/Makefile: Likewise.
43170         * posix/fnmatch.c: Likewise.
43171         * posix/regex.h: Likewise.
43172         * resolv/Makefile: Likewise.
43173         * resolv/nss_dns/dns-network.c: Likewise.
43174         * resolv/res_hconf.c: Likewise.
43175         * scripts/gen-sorted.awk: Likewise.
43176         * soft-fp/soft-fp.h: Likewise.
43177         * stdio-common/printf.h: Likewise.
43178         * stdlib/monetary.h: Likewise.
43179         * stdlib/random.c: Likewise.
43180         * stdlib/random_r.c: Likewise.
43181         * sysdeps/generic/Makefile: Likewise.
43182         * sysdeps/gnu/Makefile: Likewise.
43183         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
43184         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43185         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43186         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43187         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43188         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43189         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43190         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
43191         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43192         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43193         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
43194         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
43195         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
43196         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
43197         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
43198         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
43199         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
43200         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43201         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
43202         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43203         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
43204         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
43205         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
43206         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
43207         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
43208         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
43209         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
43210         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
43211         * sysdeps/mach/hurd/errnos.awk: Likewise.
43212         * sysdeps/mach/hurd/fork.c: Likewise.
43213         * sysdeps/mach/hurd/getcwd.c: Likewise.
43214         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
43215         * sysdeps/mach/hurd/mmap.c: Likewise.
43216         * sysdeps/mach/hurd/utimes.c: Likewise.
43217         * sysdeps/mach/hurd/xmknod.c: Likewise.
43218         * sysdeps/posix/profil.c: Likewise.
43219         * sysdeps/posix/readdir_r.c: Likewise.
43220         * sysdeps/powerpc/bits/mathdef.h: Likewise.
43221         * sysdeps/powerpc/bits/setjmp.h: Likewise.
43222         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
43223         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
43224         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
43225         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
43226         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
43227         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
43228         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
43229         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
43230         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
43231         * sysdeps/pthread/lio_listio.c: Likewise.
43232         * sysdeps/sparc/dl-procinfo.h: Likewise.
43233         * sysdeps/unix/i386/sysdep.S: Likewise.
43234         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
43235         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
43236         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
43237         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
43238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
43239         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
43240         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
43241         * sysdeps/unix/sysv/linux/speed.c: Likewise.
43242         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
43243         * sysdeps/wordsize-32/divdi3.c: Likewise.
43244         * time/sys/time.h: Likewise.
43245         * wcsmbs/Makefile: Likewise.
43247 2013-01-01  David S. Miller  <davem@davemloft.net>
43249         * po/fr.po: Update from translation team.
43251         * catgets/gencat.c: Update copyright year.
43252         * csu/version.c: Likewise.
43253         * debug/catchsegv.sh: Likewise.
43254         * debug/pcprofiledump.c: Likewise.
43255         * debug/xtrace.sh: Likewise.
43256         * elf/ldconfig.c: Likewise.
43257         * elf/ldd.bash.in: Likewise.
43258         * elf/pldd.c: Likewise.
43259         * elf/sotruss.ksh: Likewise.
43260         * elf/sprof.c: Likewise.
43261         * iconv/iconv_prog.c: Likewise.
43262         * iconv/iconvconfig.c: Likewise.
43263         * locale/programs/locale.c: Likewise.
43264         * locale/programs/localedef.c: Likewise.
43265         * login/programs/pt_chown.c: Likewise.
43266         * malloc/memusage.sh: Likewise.
43267         * malloc/memusagestat.c: Likewise.
43268         * malloc/mtrace.pl: Likewise.
43269         * nscd/nscd.c: Likewise.
43270         * nss/getent.c: Likewise.
43271         * nss/makedb.c: Likewise.
43272         * posix/getconf.c: Likewise.
43274 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
43276         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
43277         numbers.
43279 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
43281         * math/bits/mathcalls.h (modf): Use __nonnull.
43283 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
43285         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
43286         (split): Use macro CN instead of the bare value.
43287         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
43288         could be used.
43289         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
43290         instead of the bare value.
43291         (power1): Likewise.
43293 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
43295         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
43296         __ATAN_TWOM.
43297         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
43299         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
43300         their values.
43301         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
43302         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
43303         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
43304         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
43306 2012-12-28  Andreas Jaeger  <aj@suse.de>
43308         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
43309         values are from Linux 3.7.
43311         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
43312         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
43314 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
43316         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
43317         TRUE case.
43319         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
43320         (norm): Likewise.
43321         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
43322         variables with preprocessor constants.
43323         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
43324         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
43325         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
43327 2012-12-27  Bruno Haible  <bruno@clisp.org>
43329         [BZ #14317]
43330         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
43331         only if needed.
43333 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
43335         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
43336         and use variable directly.
43337         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
43339         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
43340         MPONE.
43341         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
43342         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
43343         variable MPONE.
43344         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
43345         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
43346         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
43347         include directive.  Remove local variable MPONE.
43348         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
43349         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
43350         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
43352 2012-12-25  David S. Miller  <davem@davemloft.net>
43354         * version.h (RELEASE): Set to "development".
43355         (VERSION): Set to "2.17.90".
43356         * NEWS: Add 2.18 section.
43358 2012-12-21  David S. Miller  <davem@davemloft.net>
43360         * po/hr.po: Update from translation team.
43362 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43364         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
43366 2012-12-19  Steve Ellcey  <sellcey@mips.com>
43368         * NEWS:  Mention new memcpy for MIPS.
43370 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
43372         * manual/contrib.texi (Contributors): Spelling correction.
43374 2012-12-15  David S. Miller  <davem@davemloft.net>
43376         * po/ru.po: Update from translation team.
43378 2012-12-13  David S. Miller  <davem@davemloft.net>
43380         * NEWS: Mention IFUNC testsuite enhancements.
43382         * po/pl.po: Update from translation team.
43383         * po/bg.po: Likewise.
43385         * manual/contrib.texi (Contributors): Update entries for Hongjiu
43386         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
43388 2012-12-11  David S. Miller  <davem@davemloft.net>
43390         * po/sv.po: Update from translation team.
43392         * po/vi.po: Update from translation team.
43394         * po/cs.po: Update from translation team.
43396         * po/de.po: Update from translation team.
43397         * po/eo.po: Likewise.
43398         * po/nl.po: Likewise.
43400 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
43402         [BZ #14246]
43403         * manual/argp.texi (Argp Helper Functions): Move node to follow
43404         Argp Parsing State.
43406         [BZ #14872]
43407         * manual/conf.texi (Limits on File System Capacity): Mention if
43408         terminating null is included in the max size.
43410 2012-12-10  Andreas Jaeger  <aj@suse.de>
43412         * po/cs.po: Update from translation team.
43414 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
43416         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
43417         void pointer and cast to uintptr_t.
43418         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
43419         path.
43420         * sysdeps/s390/s390-64/memcpy.S: Likewise.
43421         * sysdeps/s390/s390-64/memset.S: Likewise.
43423 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
43425         [BZ #14833]
43426         * menual/message.texi (Message Translation): Fix typos.
43427         (Helper programs for gettext): Likewise.
43429 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
43431         [BZ #14898]
43432         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
43433         Change to -1.
43435 2012-12-07  David S. Miller  <davem@davemloft.net>
43437         * po/libc.pot: Update.
43439 2012-12-07  Richard Henderson  <rth@redhat.com>
43441         [BZ #10114]
43442         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
43443         normal/normal case to before the switch.
43444         (_FP_DIV): Likewise.
43446 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
43447             Mike Frysinger  <vapier@gentoo.org>
43449         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
43450         check for __NR_fadvise64_64.
43452 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
43454         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
43455         0, not just to plain "0" as a statement.
43456         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
43457         with cw.
43459 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
43461         * NEWS: Use sourceware.org in Bugzilla URL.
43463 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
43465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
43466         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
43468         * stdio-common/tst-put-error.c (do_test): Add newline to the
43469         padded test to ensure flush.
43471 2012-12-05  Jeff Law  <law@redhat.com>
43473         * sunrpc/etc.rpc (fedfs_admin): Add entry.
43475 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
43477         * README: Don't refer to ports add-on as distributed separately.
43478         Mention AArch64 in list of systems supported in the ports add-on.
43480         * LICENSES: Add more non-FSF copyright and license notices.
43482         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
43483         ((unused)).
43485         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
43487         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
43488         10000 as width of padded output.
43490 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
43492         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
43494         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
43495         variable LX with __attribute__ ((unused)).
43496         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
43497         Likewise.
43498         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
43499         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
43500         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
43501         with __attribute__ ((unused)).
43503 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
43505         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
43507 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
43509         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
43510         (CFLAGS-nldbl-acos.c): New variable.
43511         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
43512         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
43513         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
43514         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
43515         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
43516         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
43517         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
43518         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
43519         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
43520         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
43521         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
43522         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
43523         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
43524         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
43525         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
43526         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
43527         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
43528         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
43529         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
43530         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
43531         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
43532         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
43533         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
43534         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
43535         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
43536         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
43537         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
43538         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
43539         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
43540         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
43541         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
43542         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
43543         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
43544         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
43545         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
43546         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
43547         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
43548         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
43549         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
43550         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
43551         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
43552         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
43553         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
43554         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
43555         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
43556         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
43557         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
43558         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
43559         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
43560         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
43561         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
43562         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
43563         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
43564         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
43565         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
43566         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
43567         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
43568         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
43569         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
43570         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
43571         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
43572         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
43573         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
43574         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
43575         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
43576         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
43577         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
43578         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
43579         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
43580         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
43581         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
43582         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
43583         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
43584         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
43585         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
43586         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
43587         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
43588         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
43589         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
43590         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
43591         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
43592         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
43593         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
43594         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
43595         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
43596         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
43597         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
43598         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
43599         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
43600         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
43601         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
43602         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
43603         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
43604         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
43605         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
43606         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
43607         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
43609         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
43610         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
43612         [BZ #14914]
43613         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
43614         whole low double instead of just low 47 bits when splitting values
43615         into two parts.
43617 2012-12-03  Allan McRae  <allan@archlinux.org>
43619         * manual/stdio.texi (Predefined Printf Handlers): Remove
43620         @hsep and @vsep usage.
43622 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
43624         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
43625         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
43627 2012-12-03  Jeff Law  <law@redhat.com>
43629         * time/sys/time.h (settimeofday): Do not mark TV argument
43630         as __nonnull.
43632 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
43634         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
43635         when currently writing and seek to current position when not.
43636         * libio/Makefile (tests): Remove bug-fclose1.
43637         * libio/bug-fclose1.c: Delete.
43639 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
43641         * manual/arith.texi (feenableexcept): Fix typo.
43642         (fedisableexcept): Likewise.
43644 2012-11-30  Roland McGrath  <roland@hack.frob.com>
43646         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
43647         second, differently-typed declaration, rather than a cast.
43649 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
43651         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
43652         * include/rpc/svc.h: ... here.
43654 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
43656         [BZ #13013]
43657         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
43658         depending n and resplen2 to catch cases where answer
43659         equals answerp2.
43661 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
43663         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
43664         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
43666 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
43668         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
43670 2012-11-29  Roland McGrath  <roland@hack.frob.com>
43672         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
43674 2012-11-28  Jeff Law  <law@redhat.com>
43676         [BZ #13761]
43677         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
43678         dataset_temporary.  Track alloca usage into alloca_used.
43679         If dataset is large allocate and release it via malloc/free.
43681 2012-06-04  Florian Weimer  <fweimer@redhat.com>
43683         [BZ #14197]
43684         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
43686 2012-11-28  David S. Miller  <davem@davemloft.net>
43688         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43690 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
43692         [BZ #14803]
43693         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
43694         of pi/2 rounded to nearest to 64 bits.
43695         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
43696         nearest to 64 bits.
43697         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
43698         bits.
43700 2012-11-28  Jeff Law <law@redhat.com>
43701             Martin Osvald <mosvald@redhat.com>
43703         [BZ #14889]
43704         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
43705         * sunrpc/svc.c: Include time.h.
43706         (__svc_accept_failed): New function.
43707         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
43708         any reason other than EINTR, call __svc_accept_failed.
43709         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
43710         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
43712 2012-11-28  Andreas Schwab  <schwab@suse.de>
43714         * scripts/abilist.awk: Also handle indirect functions in .opd
43715         section.
43717 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
43719         [BZ #13881]
43720         * sysdeps/x86/fpu/powl_helper.c: New file.
43721         * sysdeps/x86/fpu/Makefile: Likewise.
43722         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
43723         (p3): New object.
43724         (__ieee754_powl): Use __powl_helper for finite arguments except
43725         integer exponents below 8.
43726         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
43727         (p3): New object.
43728         (__ieee754_powl): Use __powl_helper for finite arguments except
43729         integer exponents below 8.
43730         * math/libm-test.inc (pow_test): Add more tests and enable some
43731         previously disabled tests.
43732         * sysdeps/i386/fpu/libm-test-ulps: Update.
43733         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43735 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
43736             Carlos O'Donell  <carlos_odonell@mentor.com>
43738         * nss/makedb.c (is_prime): Assert that input is odd and greater
43739         than 4.  Note that fact in a comment too.
43740         (next_prime): Add 4 to input.
43742 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
43744         [BZ #11741]
43745         * libio/Makefile (tests): Add test case tst-fwrite-error.
43746         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
43747         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
43748         * libio/tst-fwrite-error.c: New test case.
43750 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
43752         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
43753         before casting to void *.
43754         * include/libc-internal.h (__pointer_type): New macro.
43755         (__integer_if_pointer_type_sub): Likewise.
43756         (__integer_if_pointer_type): Likewise.
43757         (cast_to_integer): Likewise.
43758         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
43759         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
43760         before casting to atomic64_t.
43761         (atomic_exchange_acq): Likewise.
43762         (__arch_exchange_and_add_body): Likewise.
43763         (__arch_add_body): Likewise.
43764         (atomic_add_negative): Likewise.
43765         (atomic_add_zero): Likewise.
43767 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
43769         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
43770         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
43771         (add_fdes): Likewise.
43772         (linear_search_fdes): Likewise.
43773         (binary_search_unencoded_fdes): Likewise.
43775 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
43777         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
43779 2012-11-24  Adam Conrad  <adconrad@0c3.net>
43781         * configure.in: Autodetect C++ header directories.
43782         * configure: Regenerated.
43784 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
43786         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
43788 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
43790         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43792 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
43794         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
43795         LDBL_MANT_DIG == 106]: Disable some tests.
43796         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
43797         Likewise.
43798         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
43799         Likewise.
43801         [BZ #14871]
43802         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
43803         input for small inputs.  Return +/- pi/2 for large inputs.
43804         * math/libm-test.inc (atan_test): Add more tests.
43806         * sysdeps/generic/unwind-dw2-fde-glibc.c
43807         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
43808         __attribute__ ((unused)).
43810         [BZ #14645]
43811         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
43812         x * y if x and y are nonzero and z is zero.
43814         [BZ #14811]
43815         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
43816         nonzero exponents with absolute value below 0x1p-117 to +/-
43817         0x1p-117.
43819         [BZ #14869]
43820         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
43821         up arguments below 2**-450, not just those below 2**-500.
43822         * math/libm-test.inc (hypot_test): Add another test.
43824         [BZ #14868]
43825         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
43826         Return a+b for ratio over 2**120, not 2**60.
43827         * math/libm-test.inc (hypot_test): Add another test.
43829         * math/libm-test.inc (clog_test): Use
43830         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
43831         (clog10_test): Likewise.
43833         [BZ #6778]
43834         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
43836 2012-11-22  Andreas Schwab  <schwab@suse.de>
43838         * sysdeps/i386/fpu/libm-test-ulps: Update.
43840 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
43842         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
43843         printf output with newline.
43845 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
43847         [BZ #14865]
43848         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
43849         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
43850         -z nodlopen, -z initfirst and -z execstack support.
43851         * configure: Regenerated.
43853         * elf/elf.h (DF_1_NODIRECT): New macro.
43854         (DF_1_IGNMULDEF): Likewise.
43855         (DF_1_NOKSYMS): Likewise.
43856         (DF_1_NOHDR): Likewise.
43857         (DF_1_EDITED): Likewise.
43858         (DF_1_NORELOC): Likewise.
43859         (DF_1_SYMINTPOSE): Likewise.
43860         (DF_1_GLOBAUDIT): Likewise.
43861         (DF_1_SINGLETON): Likewise.
43862         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
43863         DT_1_SUPPORTED_MASK bits.
43864         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
43866 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
43868         * sysdeps/unix/make-syscalls.sh: Document prefixes.
43870 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
43872         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
43873         macro.
43875         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
43876         (sendmmsg): Move declarations...
43877         * socket/sys/socket.h: ... here.
43878         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
43879         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
43880         include it from...
43881         * socket/recvmmsg.c: ... this new file.
43882         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
43883         (sendmmsg): Rename to __sendmmsg, create weak alias and make
43884         definition of __sendmmsg hidden.
43885         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
43886         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
43887         Move ENOSYS stub into and include it from...
43888         * socket/sendmmsg.c: ... this new file.
43889         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
43890         (sysdep_routines): Move recvmmsg and sendmmsg...
43891         * socket/Makefile (routines): ... here.
43892         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
43893         (GLIBC_PRIVATE): Add __sendmmsg.
43894         * include/sys/socket.h (__sendmmsg): Add declarations.
43895         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
43896         sendmmsg.
43898 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
43900         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
43901         variable I1 with __attribute__ ((unused)).
43902         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
43904 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
43906         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
43907         DUMMY variables with __attribute__ ((unused)).
43909         * bits/byteswap.h: Include <bits/types.h>.
43910         (__bswap_64): Use __uint64_t instead of unsigned long long int.
43912 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
43914         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
43915         string_t.  Do not manually set errno.
43916         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
43917         length with __strnlen.  Make sure to both set errno and return it on
43918         failure.
43920 2012-11-19  David S. Miller  <davem@davemloft.net>
43922         With help from Joseph Myers.
43923         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
43924         very large arguments properly.
43925         * math/libm-test.inc (atan_test): New tests.
43926         (atan2_test): New tests.
43927         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43928         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43930 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
43932         [BZ #14856]
43933         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
43934         Define to 3.
43936         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
43937         [POSIX] (EADDRNOTAVAIL): Likewise.
43938         [POSIX] (EAFNOSUPPORT): Likewise.
43939         [POSIX] (EALREADY): Likewise.
43940         [POSIX] (ECONNABORTED): Likewise.
43941         [POSIX] (ECONNREFUSED): Likewise.
43942         [POSIX] (ECONNRESET): Likewise.
43943         [POSIX] (EDESTADDRREQ): Likewise.
43944         [POSIX] (EDQUOT): Likewise.
43945         [POSIX] (EHOSTUNREACH): Likewise.
43946         [POSIX] (EIDRM): Likewise.
43947         [POSIX] (EISCONN): Likewise.
43948         [POSIX] (ELOOP): Likewise.
43949         [POSIX] (EMULTIHOP): Likewise.
43950         [POSIX] (ENETDOWN): Likewise.
43951         [POSIX] (ENETUNREACH): Likewise.
43952         [POSIX] (ENOBUFS): Likewise.
43953         [POSIX] (ENODATA): Likewise.
43954         [POSIX] (ENOLINK): Likewise.
43955         [POSIX] (ENOMSG): Likewise.
43956         [POSIX] (ENOPROTOOPT): Likewise.
43957         [POSIX] (ENOSR): Likewise.
43958         [POSIX] (ENOSTR): Likewise.
43959         [POSIX] (ENOTCONN): Likewise.
43960         [POSIX] (ENOTSOCK): Likewise.
43961         [POSIX] (EOPNOTSUPP): Likewise.
43962         [POSIX] (EOVERFLOW): Likewise.
43963         [POSIX] (EPROTO): Likewise.
43964         [POSIX] (EPROTONOSUPPORT): Likewise.
43965         [POSIX] (EPROTOTYPE): Likewise.
43966         [POSIX] (ESTALE): Likewise.
43967         [POSIX] (ETIME): Likewise.
43968         [POSIX] (ETXTBSY): Likewise.
43969         [POSIX] (EWOULDBLOCK): Likewise.
43970         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
43971         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
43972         [POSIX] (SEEK_CUR): Likewise.
43973         [POSIX] (SEEK_END): Likewise.
43974         [POSIX || UNIX98] (mode_t): Do not require.
43975         [POSIX] (off_t): Likewise.
43976         [POSIX] (pid_t): Likewise.
43977         [POSIX] (sys/stat.h): Do not allow header.
43978         [POSIX] (unistd.h): Likewise.
43979         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
43980         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
43981         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
43982         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
43983         require.
43984         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
43985         sigevent): Specify elements.
43986         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
43987         entry.
43988         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
43989         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
43991         * conform/data/cpio.h-data [POSIX]: Disable whole file.
43992         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
43993         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
43994         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
43995         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
43996         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
43997         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
43998         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
43999         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
44000         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
44001         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
44002         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
44003         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
44004         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
44005         Likewise.
44006         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
44007         Likewise.
44008         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
44009         Likewise.
44010         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
44011         Likewise.
44012         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
44013         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
44014         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
44015         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
44016         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
44017         Specify lower bound on value.
44018         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
44019         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
44020         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
44021         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
44022         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
44023         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
44024         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
44025         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
44026         value.
44027         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
44028         as optional.
44029         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
44030         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
44031         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
44032         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
44033         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
44034         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
44035         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
44036         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
44037         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
44038         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
44039         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
44040         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
44041         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
44042         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
44043         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
44044         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
44045         entry.
44046         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
44047         optional.
44048         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
44049         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
44050         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
44051         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
44052         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
44053         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
44054         Likewise.
44055         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
44056         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
44057         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
44058         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
44059         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
44060         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
44061         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
44062         as optional.
44063         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
44064         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
44065         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
44066         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
44067         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
44068         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
44069         specify as optional.
44070         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
44071         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
44072         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
44073         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
44074         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
44075         [XPG3] (NL_LANGMAX): Likewise.
44076         [POSIX || XPG3] (NL_MSGMAX): Likewise.
44077         [POSIX || XPG3] (NL_NMAX): Likewise.
44078         [POSIX || XPG3] (NL_SETMAX): Likewise.
44079         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
44080         [XPG3] (NZERO): Likewise.
44081         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
44082         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
44083         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
44084         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
44085         (REG_ERANGE): Expect.
44086         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
44087         optional-constant.
44088         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
44089         Use (void) in prototype.
44090         [POSIX] (*_t): Allow.
44091         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
44092         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
44093         (WRDE_BADVAL): Expect.
44095         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
44096         expect.
44097         [XPG3 || XPG4] (O_RSYNC): Likewise.
44098         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
44099         Likewise.
44100         [XPG3 || XPG4] (pthread_sigmask): Likewise.
44101         [XPG3 || XPG4] (sigqueue): Likewise.
44102         [XPG3 || XPG4] (sigtimedwait): Likewise.
44103         [XPG3 || XPG4] (sigwaitinfo): Likewise.
44104         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
44105         [XPG3 || XPG4] (vsnprintf): Likewise.
44106         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
44107         Likewise.
44108         [XPG3 || XPG4] (blksize_t): Likewise.
44109         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
44110         Likewise.
44111         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
44112         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
44113         [XPG3 || XPG4] (struct itimerspec): Likewise.
44114         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
44115         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
44116         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
44117         [XPG3 || XPG4] (clockid_t): Likewise.
44118         [XPG3 || XPG4] (timer_t): Likewise.
44119         [XPG3 || XPG4] (clock_getres): Likewise.
44120         [XPG3 || XPG4] (clock_gettime): Likewise.
44121         [XPG3 || XPG4] (clock_settime): Likewise.
44122         [XPG3 || XPG4] (nanosleep): Likewise.
44123         [XPG3 || XPG4] (timer_create): Likewise.
44124         [XPG3 || XPG4] (timer_delete): Likewise.
44125         [XPG3 || XPG4] (timer_gettime): Likewise.
44126         [XPG3 || XPG4] (timer_getoverrun): Likewise.
44127         [XPG3 || XPG4] (timer_settime): Likewise.
44128         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
44129         [XPG3 || XPG4] (getlogin_r): Likewise.
44130         [XPG3 || XPG4] (pread): Likewise.
44131         [XPG3 || XPG4] (pthread_atfork): Likewise.
44132         [XPG3 || XPG4] (pwrite): Likewise.
44134         [BZ #14835]
44135         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
44136         <bits/siginfo.h>.
44138 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
44140         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
44141         finalizing MALLSTREAM.
44143         * sysdeps/mach/hurd/syncfs.c: New file.
44145 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
44147         [BZ #14719]
44148         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
44149         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
44150         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
44151         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
44152         (_nss_dns_gethostbyname4_r): Likewise.
44153         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
44154         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
44156 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
44158         [BZ #13763]
44159         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
44161 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
44163         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
44164         * elf/cache.c (print_entry): Print ",AArch64" for
44165         FLAG_AARCH64_LIB64
44167         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
44168         * elf/cache.c (print_entry): Print ",hard-float" for
44169         FLAG_ARM_LIBHF.
44171 2012-11-18  David S. Miller  <davem@davemloft.net>
44173         With help from Joseph Myers.
44174         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
44175         cutoff to 2**-13.
44176         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
44177         cutoff to 2**-25.
44178         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
44179         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
44180         small.
44181         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
44182         * math/libm-test.inc (y0_test): New tests.
44183         (y1_test): New tests.
44184         * sysdeps/i386/fpu/libm-test-ulps: Update.
44185         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44186         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44188 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
44190         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
44191         64-bit targets.
44192         * configure: Regenerated.
44194 2012-11-17  David S. Miller  <davem@davemloft.net>
44196         [BZ #14811]
44197         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
44198         nonzero exponents with absolute value below 0x1p-128 to +/-
44199         0x1p-128.
44201 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
44203         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
44205         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
44207         * posix/getconf-speclist.c: New file.
44208         * posix/posix-envs.def: Likewise.
44209         * posix/confstr.c (START_ENV_GROUP): New macro.
44210         (END_ENV_GROUP): Likewise.
44211         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
44212         (KNOWN_PRESENT_ENV_STRING): Likewise.
44213         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
44214         (UNKNOWN_ENVIRONMENT): Likewise.
44215         (confstr): Include posix-envs.def instead of handling
44216         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
44217         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
44218         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
44219         (END_ENV_GROUP): Likewise.
44220         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
44221         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
44222         (UNKNOWN_ENVIRONMENT): Likewise.
44223         (__sysconf): Include posix-envs.def instead of handling associated
44224         cases directly here.
44225         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
44226         preprocessing getconf-speclist.c rather than running getconf or
44227         generating empty file.
44229 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
44231         * scripts/check-local-headers.sh: Ignore 'mach' headers.
44233 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
44235         [BZ #14672]
44236         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
44238 2012-11-16  David S. Miller  <davem@davemloft.net>
44240         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
44241         smaller than LDBL_EPSILON/2.0L, just return xm1.
44243 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
44245         * elf/tst-array1.c (init): Set constructor priority to 1000.
44246         (fini): Set destructor priority to 1000.
44247         * elf/tst-array2dep.c: Likewise.
44249 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
44251         [BZ #11741]
44252         * libio/fileops.c (_IO_new_file_write): Correctly return error.
44253         (_IO_new_file_xsputn): Also return EOF if none of the input
44254         data was written when overflow failed.
44255         * libio/iopadn.c (_IO_padn): Likewise.
44256         * libio/iowpadn.c (_IO_wpadn): Likewise.
44257         * stdio-common/tst-put-error.c: Add copyright notice.
44258         (do_test): Add case for printing padded string.
44259         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
44260         _IO_padn returned error.
44261         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
44262         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
44263         return EOF.
44265 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
44267         * libio/libioP.h: Add comment note that the references to C++
44268         bits are now obsolete.
44270 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
44272         * math/libm-test.inc (check_complex): Use asprintf.
44274 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
44276         * debug/pcprofiledump.c (print_version): Update copyright year.
44277         * malloc/memusagestat.c (print_version): Likewise.
44279 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
44281         [BZ #14831]
44282         * elf/Makefile (tests): Add tst-audit8.
44283         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
44284         ($(objpfx)tst-audit8.out): New target.
44285         (tst-audit8-ENV): New variable.
44286         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
44287         audit if l_reloc_result is NULL.
44288         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
44289         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
44290         * elf/tst-audit8.c: New file.
44292 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
44294         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
44295         * misc/Makefile (CFLAGS-select.c): Define.
44296         * posix/Makefile (CFLAGS-pause.c): Define.
44298 2012-11-13  David S. Miller  <davem@davemloft.net>
44300         * crypt/Makefile: Move test targets after toplevel Rules
44301         inclusion.  Grab any necessary sysdep routines when linking.
44302         * crypt/md5.c (md5_process_block): Remove define, we will always
44303         name it __md5_process_block.
44304         (md5_finish_ctx): Update md5_process_block call.
44305         (md5_stream): Likewise.
44306         (md5_process_bytes): Likewise.
44307         (md5_process_block): Rename to __md5_process_block and move to ...
44308         * crypt/md5-block.c: ... here.
44309         * crypt/sha256.c (sha256_process_block): Move to ...
44310         * crypt/sha256-block.c: ... here.
44311         * crypt/sha512.c (sha512_process_block): Move to ...
44312         * crypt/sha512-block.c: ... here.
44313         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
44314         path.
44315         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
44316         * sysdeps/sparc/sparc64/multiarch/Makefile
44317         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
44318         crypt subdir.
44319         (localedef-aux): Add md5 crypto assembler when in locale subdir.
44320         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
44321         multiarch changes.
44322         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
44323         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
44324         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
44325         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
44326         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
44327         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
44328         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
44329         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
44330         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
44331         file.
44332         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
44333         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
44334         file.
44335         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
44337 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
44339         * timezone/tzselect.ksh: Update from tzcode git revision
44340         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
44341         * timezone/zdump.c: Likewise.
44342         * timezone/zic.c: Likewise.
44343         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
44344         in TZVERSION setting, not $(PKGVERSION).
44345         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
44346         REPORT_BUGS_TO settings.
44348         [BZ #14838]
44349         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
44350         macro.
44352 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
44354         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
44355         detection to immediately after _FP_ROUND().
44356         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
44357         bits are 0.
44359 2012-11-11  David S. Miller  <davem@davemloft.net>
44361         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
44362         inttypes.h
44363         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
44364         __close rather than their public counterparts.
44366 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
44368         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
44369         file.
44370         [UNIX98] (sem_timedwait): Do not expect.
44371         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
44372         [XPG4 || UNIX98] (sockatmark): Do not expect.
44373         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
44374         (clock_getcpuclockid): Do not expect.
44375         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
44376         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
44377         Do not expect.
44378         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
44379         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
44380         [UNIX98] (vwscanf): Likewise.
44381         [UNIX98] (vswscanf): Likewise.
44383 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
44385         * timezone/version.h: Remove file.
44386         * timezone/README: Do not refer to version.h.
44387         * timezone/Makefile ($(objpfx)zic.o): New dependency on
44388         $(objpfx)version.h.
44389         ($(objpfx)zdump.o): Likewise.
44390         ($(objpfx)version.h): New target.
44392         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
44393         2012i.
44394         * timezone/README: Don't mention modification to tzselect.ksh.
44395         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
44396         work on unmodified tzselect.ksh.  Substitute version numbers in
44397         tzselect.ksh.
44399         * Makefile (format-me): Remove.
44400         (INSTALL): Adjust indentation.  Use commands directly instead of
44401         using $(format-me).
44403         * aclocal.m4 (ACX_PKGVERSION): New macro.
44404         (ACX_BUGURL): Likewise.
44405         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
44406         (PKGVERSION): New AC_DEFINE_UNQUOTED.
44407         (REPORT_BUGS_TO): Likewise.
44408         * configure: Regenerated.
44409         * config.h.in (PKGVERSION): New macro.
44410         (REPORT_BUGS_TO): Likewise.
44411         * config.make.in (PKGVERSION): New variable.
44412         (PKGVERSION_TEXI): Likewise.
44413         (REPORT_BUGS_TO): Likewise.
44414         (REPORT_BUGS_TEXI): Likewise.
44415         * Makefile (format-me): Use -I$(common-objpfx)manual.
44416         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
44417         ($(common-objpfx)manual/%): New target.
44418         (manual/%): Remove target.
44419         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
44420         (print_version): Use PKGVERSION.
44421         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
44422         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
44423         and REPORT_BUGS_TO.
44424         ($(objpfx)xtrace): Likewise.
44425         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
44426         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
44427         (print_version): Use PKGVERSION.
44428         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
44429         (do_version): Use PKGVERSION.
44430         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
44431         REPORT_BUGS_TO.
44432         (common-ldd-rewrite): Likewise.
44433         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
44434         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
44435         (print_version): Use PKGVERSION.
44436         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
44437         * elf/pldd.c (argp_program_bug_address): Remove variable.
44438         (more_help): New function.
44439         (argp): Use more_help.
44440         (print_version): Use PKGVERSION.
44441         * elf/sln.c (main): Use PKGVERSION.
44442         (usage): Use REPORT_BUGS_TO.
44443         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
44444         (top level): Use PKGVERSION.
44445         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
44446         (print_version): Use PKGVERSION.
44447         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
44448         (print_version): Use PKGVERSION.
44449         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
44450         (print_version): Use PKGVERSION.
44451         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
44452         (print_version): Use PKGVERSION.
44453         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
44454         (print_version): Use PKGVERSION.
44455         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
44456         (print_version): Use PKGVERSION.
44457         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
44458         and BUGURL.
44459         ($(objpfx)memusage): Likewise.
44460         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
44461         (do_version): Use PKGVERSION.
44462         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
44463         (print_version): Use PKGVERSION.
44464         * malloc/mtrace.pl ($PACKAGE): Remove variable.
44465         ($PKGVERSION): New variable.
44466         ($REPORT_BUGS_TO): Likewise.
44467         (usage): Use $REPORT_BUGS_TO.
44468         (top level): Use $PKGVERSION.
44469         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
44470         ($(objpfx)pkgvers.texi): New rule.
44471         ($(objpfx)stamp-pkgvers): Likewise.
44472         * manual/install.texi: Include pkgvers.texi.
44473         (--with-pkgversion): Document new configure option.
44474         (--with-bugurl): Likewise.
44475         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
44476         than necessarily for this particular distribution.  Use
44477         REPORT_BUGS_TO for where to report bugs.
44478         * INSTALL: Regenerated.
44479         * manual/libc.texinfo: Include pkgvers.texi.
44480         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
44481         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
44482         (print_version): Use PKGVERSION.
44483         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
44484         (print_version): Use PKGVERSION.
44485         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
44486         (print_version): Use PKGVERSION.
44487         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
44488         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
44489         macro.
44490         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
44491         (print_version): Use PKGVERSION.
44492         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
44493         (print_version): Use PKGVERSION.
44494         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
44495         and PKGVERSION.
44497         * timezone/checktab.awk: Update from tzcode 2012i.
44498         * timezone/ialloc.c: Likewise.
44499         * timezone/private.h: Likewise.
44500         * timezone/scheck.c: Likewise.
44501         * timezone/tzfile.h: Likewise.
44502         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
44503         (TZVERSION): Hardcode tzcode version number.
44504         * timezone/zdump.c: Update from tzcode 2012i.
44505         * timezone/zic.c: Likewise.
44506         * timezone/version.h: New file.
44507         * timezone/README: Describe version.h.  Update upstream location.
44509         [BZ #14824]
44510         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
44511         (mktemp): Enable declaration.
44512         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
44513         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
44514         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
44515         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
44516         Likewise.
44517         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
44518         Likewise.
44519         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
44520         Likewise.
44521         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
44522         Likewise.
44523         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
44524         Likewise.
44525         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
44526         Likewise.
44528         [BZ #14821]
44529         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
44530         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
44531         for copies of such integer values.
44532         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
44533         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
44535 2012-11-09  Andreas Jaeger  <aj@suse.de>
44537         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
44538         definitions and declarations that are provided by
44539         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
44541 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44543         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
44544         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
44545         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
44546         definition.
44548 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
44550         * elf/elf.h: Update comment before AArch64 relocations.
44552 2012-11-07  David S. Miller  <davem@davemloft.net>
44554         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
44555         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
44556         (__start_context): Declare.
44557         (__makecontext_ret): Delete.
44558         (__makecontext): Hook up __start_context instead of
44559         __makecontext_ret.
44560         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
44561         (sysdep_routines): Add __start_context when in stdlib.
44563 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
44565         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
44566         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
44567         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
44568         hardcoded "nm".
44569         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
44570         (READELF): New variable.  Use it instead of hardcoded "readelf".
44572 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
44574         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
44575         * sysdeps/x86/Makefile: Here.
44576         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
44577         * sysdeps/x86/tst-xmmymm.sh: This.
44579 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
44581         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
44582         expectations.
44583         [UNIX98] (pthread_barrier_t): Do not expect.
44584         [UNIX98] (pthread_barrierattr_t): Likewise.
44585         [UNIX98] (pthread_spinlock_t): Likewise.
44586         [UNIX98] (pthread_barrier_destroy): Likewise.
44587         [UNIX98] (pthread_barrier_init): Likewise.
44588         [UNIX98] (pthread_barrier_wait): Likewise.
44589         [UNIX98] (pthread_barrierattr_destroy): Likewise.
44590         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
44591         [UNIX98] (pthread_barrierattr_init): Likewise.
44592         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
44593         [UNIX98] (pthread_getcpuclockid): Likewise.
44594         [UNIX98] (pthread_mutex_timedlock): Likewise.
44595         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
44596         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
44597         [UNIX98] (pthread_sigmask): Likewise.
44598         [UNIX98] (pthread_spin_destroy): Likewise.
44599         [UNIX98] (pthread_spin_init): Likewise.
44600         [UNIX98] (pthread_spin_lock): Likewise.
44601         [UNIX98] (pthread_spin_trylock): Likewise.
44602         [UNIX98] (pthread_spin_unlock): Likewise.
44603         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
44604         Do not expect.
44605         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
44606         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
44607         [XPG3 || XPG4] (pthread_cond_t): Likewise.
44608         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
44609         [XPG3 || XPG4] (pthread_key_t): Likewise.
44610         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
44611         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
44612         [XPG3 || XPG4] (pthread_once_t): Likewise.
44613         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
44614         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
44615         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
44616         [XPG3 || XPG4] (pthread_t): Likewise.
44618         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
44619         not expect.
44620         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
44622         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
44623         Change function return type to int.
44625         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
44626         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
44627         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
44628         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
44629         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
44630         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
44631         [!POSIX] (posix_madvise): Likewise.
44632         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
44633         && !UNIX98].
44634         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
44635         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
44636         (mode_t): Likewise.
44637         (posix_mem_offset): Likewise.
44638         (posix_typed_mem_get_info): Likewise.
44639         (posix_typed_mem_open): Likewise.
44641         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
44642         Change condition to [XOPEN2K8].
44644         * conform/conformtest.pl: Preprocess allow-header data with -x c
44645         instead of from stdin.
44646         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
44647         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
44648         [C99-based standards] (cerfc): Likewise.
44649         [C99-based standards] (cexp2): Likewise.
44650         [C99-based standards] (cexpm1): Likewise.
44651         [C99-based standards] (clog10): Likewise.
44652         [C99-based standards] (clog1p): Likewise.
44653         [C99-based standards] (clog2): Likewise.
44654         [C99-based standards] (clgamma): Likewise.
44655         [C99-based standards] (ctgamma): Likewise.
44656         [C99-based standards] (cerff): Likewise.
44657         [C99-based standards] (cerfcf): Likewise.
44658         [C99-based standards] (cexp2f): Likewise.
44659         [C99-based standards] (cexpm1f): Likewise.
44660         [C99-based standards] (clog10f): Likewise.
44661         [C99-based standards] (clog1pf): Likewise.
44662         [C99-based standards] (clog2f): Likewise.
44663         [C99-based standards] (clgammaf): Likewise.
44664         [C99-based standards] (ctgammaf): Likewise.
44665         [C99-based standards] (cerfl): Likewise.
44666         [C99-based standards] (cerfcl): Likewise.
44667         [C99-based standards] (cexp2l): Likewise.
44668         [C99-based standards] (cexpm1l): Likewise.
44669         [C99-based standards] (clog10l): Likewise.
44670         [C99-based standards] (clog1pl): Likewise.
44671         [C99-based standards] (clog2l): Likewise.
44672         [C99-based standards] (clgammal): Likewise.
44673         [C99-based standards] (ctgammal): Likewise.
44674         * conform/data/inttypes.h-data [C99-based standards]: Include
44675         stdint.h-data.  Remove all expectations for stdint.h contents.
44676         [C99-based standards] (PRI*): Do not allow.
44677         [C99-based standards] (SCN*): Likewise.
44678         [C99-based standards] (*_t): Likewise.
44679         [C99-based-standards] (PRId8): Expect macro.
44680         [C99-based-standards] (PRIi8): Likewise.
44681         [C99-based-standards] (PRIo8): Likewise.
44682         [C99-based-standards] (PRIu8): Likewise.
44683         [C99-based-standards] (PRIx8): Likewise.
44684         [C99-based-standards] (PRIX8): Likewise.
44685         [C99-based-standards] (SCNd8): Likewise.
44686         [C99-based-standards] (SCNi8): Likewise.
44687         [C99-based-standards] (SCNo8): Likewise.
44688         [C99-based-standards] (SCNu8): Likewise.
44689         [C99-based-standards] (SCNx8): Likewise.
44690         [C99-based-standards] (PRIdLEAST8): Likewise.
44691         [C99-based-standards] (PRIiLEAST8): Likewise.
44692         [C99-based-standards] (PRIoLEAST8): Likewise.
44693         [C99-based-standards] (PRIuLEAST8): Likewise.
44694         [C99-based-standards] (PRIxLEAST8): Likewise.
44695         [C99-based-standards] (PRIXLEAST8): Likewise.
44696         [C99-based-standards] (SCNdLEAST8): Likewise.
44697         [C99-based-standards] (SCNiLEAST8): Likewise.
44698         [C99-based-standards] (SCNoLEAST8): Likewise.
44699         [C99-based-standards] (SCNuLEAST8): Likewise.
44700         [C99-based-standards] (SCNxLEAST8): Likewise.
44701         [C99-based-standards] (PRIdFAST8): Likewise.
44702         [C99-based-standards] (PRIiFAST8): Likewise.
44703         [C99-based-standards] (PRIoFAST8): Likewise.
44704         [C99-based-standards] (PRIuFAST8): Likewise.
44705         [C99-based-standards] (PRIxFAST8): Likewise.
44706         [C99-based-standards] (PRIXFAST8): Likewise.
44707         [C99-based-standards] (SCNdFAST8): Likewise.
44708         [C99-based-standards] (SCNiFAST8): Likewise.
44709         [C99-based-standards] (SCNoFAST8): Likewise.
44710         [C99-based-standards] (SCNuFAST8): Likewise.
44711         [C99-based-standards] (SCNxFAST8): Likewise.
44712         [C99-based-standards] (PRId16): Likewise.
44713         [C99-based-standards] (PRIi16): Likewise.
44714         [C99-based-standards] (PRIo16): Likewise.
44715         [C99-based-standards] (PRIu16): Likewise.
44716         [C99-based-standards] (PRIx16): Likewise.
44717         [C99-based-standards] (PRIX16): Likewise.
44718         [C99-based-standards] (SCNd16): Likewise.
44719         [C99-based-standards] (SCNi16): Likewise.
44720         [C99-based-standards] (SCNo16): Likewise.
44721         [C99-based-standards] (SCNu16): Likewise.
44722         [C99-based-standards] (SCNx16): Likewise.
44723         [C99-based-standards] (PRIdLEAST16): Likewise.
44724         [C99-based-standards] (PRIiLEAST16): Likewise.
44725         [C99-based-standards] (PRIoLEAST16): Likewise.
44726         [C99-based-standards] (PRIuLEAST16): Likewise.
44727         [C99-based-standards] (PRIxLEAST16): Likewise.
44728         [C99-based-standards] (PRIXLEAST16): Likewise.
44729         [C99-based-standards] (SCNdLEAST16): Likewise.
44730         [C99-based-standards] (SCNiLEAST16): Likewise.
44731         [C99-based-standards] (SCNoLEAST16): Likewise.
44732         [C99-based-standards] (SCNuLEAST16): Likewise.
44733         [C99-based-standards] (SCNxLEAST16): Likewise.
44734         [C99-based-standards] (PRIdFAST16): Likewise.
44735         [C99-based-standards] (PRIiFAST16): Likewise.
44736         [C99-based-standards] (PRIoFAST16): Likewise.
44737         [C99-based-standards] (PRIuFAST16): Likewise.
44738         [C99-based-standards] (PRIxFAST16): Likewise.
44739         [C99-based-standards] (PRIXFAST16): Likewise.
44740         [C99-based-standards] (SCNdFAST16): Likewise.
44741         [C99-based-standards] (SCNiFAST16): Likewise.
44742         [C99-based-standards] (SCNoFAST16): Likewise.
44743         [C99-based-standards] (SCNuFAST16): Likewise.
44744         [C99-based-standards] (SCNxFAST16): Likewise.
44745         [C99-based-standards] (PRId32): Likewise.
44746         [C99-based-standards] (PRIi32): Likewise.
44747         [C99-based-standards] (PRIo32): Likewise.
44748         [C99-based-standards] (PRIu32): Likewise.
44749         [C99-based-standards] (PRIx32): Likewise.
44750         [C99-based-standards] (PRIX32): Likewise.
44751         [C99-based-standards] (SCNd32): Likewise.
44752         [C99-based-standards] (SCNi32): Likewise.
44753         [C99-based-standards] (SCNo32): Likewise.
44754         [C99-based-standards] (SCNu32): Likewise.
44755         [C99-based-standards] (SCNx32): Likewise.
44756         [C99-based-standards] (PRIdLEAST32): Likewise.
44757         [C99-based-standards] (PRIiLEAST32): Likewise.
44758         [C99-based-standards] (PRIoLEAST32): Likewise.
44759         [C99-based-standards] (PRIuLEAST32): Likewise.
44760         [C99-based-standards] (PRIxLEAST32): Likewise.
44761         [C99-based-standards] (PRIXLEAST32): Likewise.
44762         [C99-based-standards] (SCNdLEAST32): Likewise.
44763         [C99-based-standards] (SCNiLEAST32): Likewise.
44764         [C99-based-standards] (SCNoLEAST32): Likewise.
44765         [C99-based-standards] (SCNuLEAST32): Likewise.
44766         [C99-based-standards] (SCNxLEAST32): Likewise.
44767         [C99-based-standards] (PRIdFAST32): Likewise.
44768         [C99-based-standards] (PRIiFAST32): Likewise.
44769         [C99-based-standards] (PRIoFAST32): Likewise.
44770         [C99-based-standards] (PRIuFAST32): Likewise.
44771         [C99-based-standards] (PRIxFAST32): Likewise.
44772         [C99-based-standards] (PRIXFAST32): Likewise.
44773         [C99-based-standards] (SCNdFAST32): Likewise.
44774         [C99-based-standards] (SCNiFAST32): Likewise.
44775         [C99-based-standards] (SCNoFAST32): Likewise.
44776         [C99-based-standards] (SCNuFAST32): Likewise.
44777         [C99-based-standards] (SCNxFAST32): Likewise.
44778         [C99-based-standards] (PRId64): Likewise.
44779         [C99-based-standards] (PRIi64): Likewise.
44780         [C99-based-standards] (PRIo64): Likewise.
44781         [C99-based-standards] (PRIu64): Likewise.
44782         [C99-based-standards] (PRIx64): Likewise.
44783         [C99-based-standards] (PRIX64): Likewise.
44784         [C99-based-standards] (SCNd64): Likewise.
44785         [C99-based-standards] (SCNi64): Likewise.
44786         [C99-based-standards] (SCNo64): Likewise.
44787         [C99-based-standards] (SCNu64): Likewise.
44788         [C99-based-standards] (SCNx64): Likewise.
44789         [C99-based-standards] (PRIdLEAST64): Likewise.
44790         [C99-based-standards] (PRIiLEAST64): Likewise.
44791         [C99-based-standards] (PRIoLEAST64): Likewise.
44792         [C99-based-standards] (PRIuLEAST64): Likewise.
44793         [C99-based-standards] (PRIxLEAST64): Likewise.
44794         [C99-based-standards] (PRIXLEAST64): Likewise.
44795         [C99-based-standards] (SCNdLEAST64): Likewise.
44796         [C99-based-standards] (SCNiLEAST64): Likewise.
44797         [C99-based-standards] (SCNoLEAST64): Likewise.
44798         [C99-based-standards] (SCNuLEAST64): Likewise.
44799         [C99-based-standards] (SCNxLEAST64): Likewise.
44800         [C99-based-standards] (PRIdFAST64): Likewise.
44801         [C99-based-standards] (PRIiFAST64): Likewise.
44802         [C99-based-standards] (PRIoFAST64): Likewise.
44803         [C99-based-standards] (PRIuFAST64): Likewise.
44804         [C99-based-standards] (PRIxFAST64): Likewise.
44805         [C99-based-standards] (PRIXFAST64): Likewise.
44806         [C99-based-standards] (SCNdFAST64): Likewise.
44807         [C99-based-standards] (SCNiFAST64): Likewise.
44808         [C99-based-standards] (SCNoFAST64): Likewise.
44809         [C99-based-standards] (SCNuFAST64): Likewise.
44810         [C99-based-standards] (SCNxFAST64): Likewise.
44811         [C99-based-standards] (PRIdMAX): Likewise.
44812         [C99-based-standards] (PRIiMAX): Likewise.
44813         [C99-based-standards] (PRIoMAX): Likewise.
44814         [C99-based-standards] (PRIuMAX): Likewise.
44815         [C99-based-standards] (PRIxMAX): Likewise.
44816         [C99-based-standards] (PRIXMAX): Likewise.
44817         [C99-based-standards] (SCNdMAX): Likewise.
44818         [C99-based-standards] (SCNiMAX): Likewise.
44819         [C99-based-standards] (SCNoMAX): Likewise.
44820         [C99-based-standards] (SCNuMAX): Likewise.
44821         [C99-based-standards] (SCNxMAX): Likewise.
44822         [C99-based-standards] (PRIdPTR): Likewise.
44823         [C99-based-standards] (PRIiPTR): Likewise.
44824         [C99-based-standards] (PRIoPTR): Likewise.
44825         [C99-based-standards] (PRIuPTR): Likewise.
44826         [C99-based-standards] (PRIxPTR): Likewise.
44827         [C99-based-standards] (PRIXPTR): Likewise.
44828         [C99-based-standards] (SCNdPTR): Likewise.
44829         [C99-based-standards] (SCNiPTR): Likewise.
44830         [C99-based-standards] (SCNoPTR): Likewise.
44831         [C99-based-standards] (SCNuPTR): Likewise.
44832         [C99-based-standards] (SCNxPTR): Likewise.
44833         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
44834         allow.
44835         * conform/data/stdint.h-data: Update comments to clarify
44836         requirements.
44837         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
44838         type.
44839         [C99-based standards] (INT8_MAX): Likewise.
44840         [C99-based standards] (INT16_MIN): Likewise.
44841         [C99-based standards] (INT16_MAX): Likewise.
44842         [C99-based standards] (INT32_MIN): Likewise.
44843         [C99-based standards] (INT32_MAX): Likewise.
44844         [C99-based standards] (INT64_MIN): Likewise.
44845         [C99-based standards] (INT64_MAX): Likewise.
44846         [C99-based standards] (UINT8_MAX): Likewise.
44847         [C99-based standards] (UINT16_MAX): Likewise.
44848         [C99-based standards] (UINT32_MAX): Likewise.
44849         [C99-based standards] (UINT64_MAX): Likewise.
44850         [C99-based standards] (INT_LEAST8_MIN): Likewise.
44851         [C99-based standards] (INT_LEAST8_MAX): Likewise.
44852         [C99-based standards] (INT_LEAST16_MIN): Likewise.
44853         [C99-based standards] (INT_LEAST16_MAX): Likewise.
44854         [C99-based standards] (INT_LEAST32_MIN): Likewise.
44855         [C99-based standards] (INT_LEAST32_MAX): Likewise.
44856         [C99-based standards] (INT_LEAST64_MIN): Likewise.
44857         [C99-based standards] (INT_LEAST64_MAX): Likewise.
44858         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
44859         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
44860         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
44861         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
44862         [C99-based standards] (INT_FAST8_MIN): Likewise.
44863         [C99-based standards] (INT_FAST8_MAX): Likewise.
44864         [C99-based standards] (INT_FAST16_MIN): Likewise.
44865         [C99-based standards] (INT_FAST16_MAX): Likewise.
44866         [C99-based standards] (INT_FAST32_MIN): Likewise.
44867         [C99-based standards] (INT_FAST32_MAX): Likewise.
44868         [C99-based standards] (INT_FAST64_MIN): Likewise.
44869         [C99-based standards] (INT_FAST64_MAX): Likewise.
44870         [C99-based standards] (UINT_FAST8_MAX): Likewise.
44871         [C99-based standards] (UINT_FAST16_MAX): Likewise.
44872         [C99-based standards] (UINT_FAST32_MAX): Likewise.
44873         [C99-based standards] (UINT_FAST64_MAX): Likewise.
44874         [C99-based standards] (INTPTR_MIN): Likewise.
44875         [C99-based standards] (INTPTR_MAX): Likewise.
44876         [C99-based standards] (UINTPTR_MAX): Likewise.
44877         [C99-based standards] (INTMAX_MIN): Likewise.
44878         [C99-based standards] (INTMAX_MAX): Likewise.
44879         [C99-based standards] (UINTMAX_MAX): Likewise.
44880         [C99-based standards] (PTRDIFF_MIN): Likewise.
44881         [C99-based standards] (PTRDIFF_MAX): Likewise.
44882         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
44883         [C99-based standards] (SIZE_MAX): Likewise.
44884         [C99-based standards] (WCHAR_MAX): Likewise.
44885         [C99-based standards] (WINT_MAX): Likewise.
44886         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
44887         constraint on value.
44888         [C99-based standards] (WCHAR_MIN): Likewise.
44889         [C99-based standards] (WINT_MIN): Likewise.
44890         [C99-based standards] (*_t): Allow.
44891         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
44892         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
44893         Include math.h-data and complex.h-data.  Remove all expectations
44894         of math.h and complex.h contents.
44895         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
44896         at end of line.
44897         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
44898         (struct tm): Expect tag.
44899         [C99-based-standards] (wcstof): Expect function.
44900         [C99-based-standards] (wcstold): Likewise.
44901         [C99-based-standards] (wcstoll): Likewise.
44902         [C99-based-standards] (wcstoull): Likewise.
44903         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
44904         macro-int-constant.  Specify type.
44905         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
44906         constraint on value.
44907         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
44908         Specify type.
44909         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
44910         Specify value.
44911         [ISO C standards]: Do not allow headers.
44912         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
44913         wcs[abcdefghijklmnopqrstuvwxyz]*.
44914         [ISO C standards] (*_t): Do not allow.
44915         * conform/data/wctype.h-data [C99-based standards] (iswblank):
44916         Expect function.
44917         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
44918         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
44919         Specify type.
44920         [ISO C standards]: Do not allow headers.
44921         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
44922         is[abcdefghijklmnopqrstuvwxyz]*.
44923         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
44924         to[abcdefghijklmnopqrstuvwxyz]*.
44925         [ISO C standards] (*_t): Do not allow.
44926         * conform/data/stdalign.h-data: New file.
44927         * conform/data/stdbool.h-data: Likewise.
44928         * conform/data/stdnoreturn.h-data: Likewise.
44930 2012-11-07  Roland McGrath  <roland@hack.frob.com>
44932         [BZ #14815]
44933         * manual/filesys.texi (Directory Entries): Typo fix.
44934         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
44936 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
44938         * elf/elf.h (EM_AARCH64): New macro.
44939         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
44940         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
44941         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
44942         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
44943         (R_AARCH64_TLSDESC): Likewise.
44944         (NT_ARM_TLS): Likewise.
44945         (NT_ARM_HW_BREAK): Likewise.
44946         (NT_ARM_HW_WATCH): Likewise.
44948 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
44950         [BZ #14811]
44951         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
44952         (__ieee754_powl): Saturate nonzero exponents with absolute value
44953         below 0x1p-79 to +/- 0x1p-79.
44954         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
44955         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
44956         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
44957         nonzero exponents with absolute value below 0x1p-32 to +/-
44958         0x1p-32.
44959         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
44960         (__ieee754_powl): Saturate nonzero exponents with absolute value
44961         below 0x1p-79 to +/- 0x1p-79.
44962         * math/libm-test.inc (pow_test): Add more tests.
44964 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44966         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
44967         _dl_s390_cap_flags with kernel. Increase string length.
44968         (_dl_s390_platforms): Add z196 and zEC12.
44970 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
44972         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
44973         Change XOPEN21K to XOPEN2K.
44975 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
44977         * string/memmove.c: Use memcpy when possible.
44979 2012-11-06  Andreas Jaeger  <aj@suse.de>
44981         * po/eo.po: Update from translation team.
44983 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
44985         [BZ #14793]
44986         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
44987         exponent and small x and y exponents, scale x or y up.  Increase
44988         by 2 the exponent used in scaling up.
44989         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
44990         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44991         * math/libm-test.inc (fma_test): Add more tests.
44992         (fma_test_towardzero): Likewise.
44993         (fma_test_downward): Likewise.
44994         (fma_test_upward): Likewise.
44996 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
44998         [BZ #14805]
44999         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
45000         fenv_t *.
45002         [BZ #14801]
45003         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
45004         namespace for names of struct fields.
45005         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
45006         fenv_t fields.
45007         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
45008         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
45010 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45012         [BZ #3665]
45013         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
45015 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
45017         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
45018         PTR_DEMANGLE.
45020         [BZ #5246]
45021         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
45022         PTR_DEMANGLE.
45024 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
45026         [BZ #14797]
45027         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
45028         definitely overflow as x * y not x * y + z.
45029         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
45030         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
45031         * math/libm-test.inc (fma_test): Add more tests.
45032         (fma_test_towardzero): Likewise.
45033         (fma_test_downward): Likewise.
45034         (fma_test_upward): Likewise.
45036 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
45038         [BZ #157]
45040         * include/stub-tag.h: Remove file.
45041         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
45042         '#include' of it.
45043         * manual/maint.texi (Porting): Don't reference it.
45044         * Makerules ($(objpfx)stubs): Likewise.
45045         * dirent/closedir.c: Don't include <stub-tag.h>.
45046         * dirent/dirfd.c: Likewise.
45047         * dirent/fdopendir.c: Likewise.
45048         * dirent/getdents.c: Likewise.
45049         * dirent/getdents64.c: Likewise.
45050         * dirent/opendir.c: Likewise.
45051         * dirent/readdir.c: Likewise.
45052         * dirent/readdir64.c: Likewise.
45053         * dirent/readdir64_r.c: Likewise.
45054         * dirent/readdir_r.c: Likewise.
45055         * dirent/rewinddir.c: Likewise.
45056         * dirent/seekdir.c: Likewise.
45057         * dirent/telldir.c: Likewise.
45058         * gmon/profil.c: Likewise.
45059         * grp/setgroups.c: Likewise.
45060         * inet/if_index.c: Likewise.
45061         * io/access.c: Likewise.
45062         * io/chdir.c: Likewise.
45063         * io/chmod.c: Likewise.
45064         * io/chown.c: Likewise.
45065         * io/close.c: Likewise.
45066         * io/dup.c: Likewise.
45067         * io/dup2.c: Likewise.
45068         * io/dup3.c: Likewise.
45069         * io/euidaccess.c: Likewise.
45070         * io/faccessat.c: Likewise.
45071         * io/fchdir.c: Likewise.
45072         * io/fchmod.c: Likewise.
45073         * io/fchmodat.c: Likewise.
45074         * io/fchown.c: Likewise.
45075         * io/fchownat.c: Likewise.
45076         * io/fcntl.c: Likewise.
45077         * io/flock.c: Likewise.
45078         * io/fstatfs.c: Likewise.
45079         * io/fstatfs64.c: Likewise.
45080         * io/fstatvfs.c: Likewise.
45081         * io/fstatvfs64.c: Likewise.
45082         * io/futimens.c: Likewise.
45083         * io/fxstat.c: Likewise.
45084         * io/fxstat64.c: Likewise.
45085         * io/fxstatat.c: Likewise.
45086         * io/fxstatat64.c: Likewise.
45087         * io/getcwd.c: Likewise.
45088         * io/isatty.c: Likewise.
45089         * io/lchmod.c: Likewise.
45090         * io/lchown.c: Likewise.
45091         * io/link.c: Likewise.
45092         * io/linkat.c: Likewise.
45093         * io/lseek.c: Likewise.
45094         * io/lseek64.c: Likewise.
45095         * io/lxstat64.c: Likewise.
45096         * io/mkdir.c: Likewise.
45097         * io/mkdirat.c: Likewise.
45098         * io/mkfifo.c: Likewise.
45099         * io/mkfifoat.c: Likewise.
45100         * io/open.c: Likewise.
45101         * io/open64.c: Likewise.
45102         * io/openat.c: Likewise.
45103         * io/openat64.c: Likewise.
45104         * io/pipe.c: Likewise.
45105         * io/pipe2.c: Likewise.
45106         * io/poll.c: Likewise.
45107         * io/posix_fadvise.c: Likewise.
45108         * io/posix_fadvise64.c: Likewise.
45109         * io/posix_fallocate.c: Likewise.
45110         * io/posix_fallocate64.c: Likewise.
45111         * io/read.c: Likewise.
45112         * io/readlink.c: Likewise.
45113         * io/readlinkat.c: Likewise.
45114         * io/rmdir.c: Likewise.
45115         * io/sendfile.c: Likewise.
45116         * io/sendfile64.c: Likewise.
45117         * io/statfs.c: Likewise.
45118         * io/statfs64.c: Likewise.
45119         * io/statvfs.c: Likewise.
45120         * io/statvfs64.c: Likewise.
45121         * io/symlink.c: Likewise.
45122         * io/symlinkat.c: Likewise.
45123         * io/ttyname.c: Likewise.
45124         * io/ttyname_r.c: Likewise.
45125         * io/umask.c: Likewise.
45126         * io/unlink.c: Likewise.
45127         * io/unlinkat.c: Likewise.
45128         * io/utime.c: Likewise.
45129         * io/utimensat.c: Likewise.
45130         * io/write.c: Likewise.
45131         * io/xmknod.c: Likewise.
45132         * io/xmknodat.c: Likewise.
45133         * io/xstat.c: Likewise.
45134         * io/xstat64.c: Likewise.
45135         * login/getpt.c: Likewise.
45136         * login/grantpt.c: Likewise.
45137         * login/unlockpt.c: Likewise.
45138         * math/e_acoshl.c: Likewise.
45139         * math/e_acosl.c: Likewise.
45140         * math/e_asinl.c: Likewise.
45141         * math/e_atan2l.c: Likewise.
45142         * math/e_atanhl.c: Likewise.
45143         * math/e_coshl.c: Likewise.
45144         * math/e_expl.c: Likewise.
45145         * math/e_fmodl.c: Likewise.
45146         * math/e_gammal_r.c: Likewise.
45147         * math/e_hypotl.c: Likewise.
45148         * math/e_j0l.c: Likewise.
45149         * math/e_j1l.c: Likewise.
45150         * math/e_jnl.c: Likewise.
45151         * math/e_lgammal_r.c: Likewise.
45152         * math/e_log10l.c: Likewise.
45153         * math/e_log2l.c: Likewise.
45154         * math/e_logl.c: Likewise.
45155         * math/e_powl.c: Likewise.
45156         * math/e_rem_pio2l.c: Likewise.
45157         * math/e_sinhl.c: Likewise.
45158         * math/e_sqrtl.c: Likewise.
45159         * math/fclrexcpt.c: Likewise.
45160         * math/fedisblxcpt.c: Likewise.
45161         * math/feenablxcpt.c: Likewise.
45162         * math/fegetenv.c: Likewise.
45163         * math/fegetexcept.c: Likewise.
45164         * math/fegetround.c: Likewise.
45165         * math/feholdexcpt.c: Likewise.
45166         * math/fesetenv.c: Likewise.
45167         * math/fesetround.c: Likewise.
45168         * math/feupdateenv.c: Likewise.
45169         * math/fgetexcptflg.c: Likewise.
45170         * math/fraiseexcpt.c: Likewise.
45171         * math/fsetexcptflg.c: Likewise.
45172         * math/ftestexcept.c: Likewise.
45173         * math/k_cosl.c: Likewise.
45174         * math/k_rem_pio2l.c: Likewise.
45175         * math/k_sinl.c: Likewise.
45176         * math/k_tanl.c: Likewise.
45177         * math/s_asinhl.c: Likewise.
45178         * math/s_atanl.c: Likewise.
45179         * math/s_cbrtl.c: Likewise.
45180         * math/s_erfl.c: Likewise.
45181         * math/s_expm1l.c: Likewise.
45182         * math/s_log1pl.c: Likewise.
45183         * math/s_tanhl.c: Likewise.
45184         * misc/acct.c: Likewise.
45185         * misc/brk.c: Likewise.
45186         * misc/chflags.c: Likewise.
45187         * misc/chroot.c: Likewise.
45188         * misc/fchflags.c: Likewise.
45189         * misc/fgetxattr.c: Likewise.
45190         * misc/flistxattr.c: Likewise.
45191         * misc/fremovexattr.c: Likewise.
45192         * misc/fsetxattr.c: Likewise.
45193         * misc/fsync.c: Likewise.
45194         * misc/ftruncate.c: Likewise.
45195         * misc/futimes.c: Likewise.
45196         * misc/futimesat.c: Likewise.
45197         * misc/getdomain.c: Likewise.
45198         * misc/getdtsz.c: Likewise.
45199         * misc/gethostid.c: Likewise.
45200         * misc/gethostname.c: Likewise.
45201         * misc/getloadavg.c: Likewise.
45202         * misc/getpagesize.c: Likewise.
45203         * misc/getsysstats.c: Likewise.
45204         * misc/getxattr.c: Likewise.
45205         * misc/gtty.c: Likewise.
45206         * misc/ioctl.c: Likewise.
45207         * misc/lgetxattr.c: Likewise.
45208         * misc/listxattr.c: Likewise.
45209         * misc/llistxattr.c: Likewise.
45210         * misc/lremovexattr.c: Likewise.
45211         * misc/lsetxattr.c: Likewise.
45212         * misc/lutimes.c: Likewise.
45213         * misc/madvise.c: Likewise.
45214         * misc/mincore.c: Likewise.
45215         * misc/mlock.c: Likewise.
45216         * misc/mlockall.c: Likewise.
45217         * misc/mmap.c: Likewise.
45218         * misc/mprotect.c: Likewise.
45219         * misc/msync.c: Likewise.
45220         * misc/munlock.c: Likewise.
45221         * misc/munlockall.c: Likewise.
45222         * misc/munmap.c: Likewise.
45223         * misc/preadv.c: Likewise.
45224         * misc/preadv64.c: Likewise.
45225         * misc/ptrace.c: Likewise.
45226         * misc/pwritev.c: Likewise.
45227         * misc/pwritev64.c: Likewise.
45228         * misc/readv.c: Likewise.
45229         * misc/reboot.c: Likewise.
45230         * misc/remap_file_pages.c: Likewise.
45231         * misc/removexattr.c: Likewise.
45232         * misc/revoke.c: Likewise.
45233         * misc/select.c: Likewise.
45234         * misc/setdomain.c: Likewise.
45235         * misc/setegid.c: Likewise.
45236         * misc/seteuid.c: Likewise.
45237         * misc/sethostid.c: Likewise.
45238         * misc/sethostname.c: Likewise.
45239         * misc/setregid.c: Likewise.
45240         * misc/setreuid.c: Likewise.
45241         * misc/setxattr.c: Likewise.
45242         * misc/sstk.c: Likewise.
45243         * misc/stty.c: Likewise.
45244         * misc/swapoff.c: Likewise.
45245         * misc/swapon.c: Likewise.
45246         * misc/sync.c: Likewise.
45247         * misc/syncfs.c: Likewise.
45248         * misc/syscall.c: Likewise.
45249         * misc/truncate.c: Likewise.
45250         * misc/ualarm.c: Likewise.
45251         * misc/usleep.c: Likewise.
45252         * misc/ustat.c: Likewise.
45253         * misc/utimes.c: Likewise.
45254         * misc/vhangup.c: Likewise.
45255         * misc/writev.c: Likewise.
45256         * posix/_exit.c: Likewise.
45257         * posix/alarm.c: Likewise.
45258         * posix/execve.c: Likewise.
45259         * posix/fexecve.c: Likewise.
45260         * posix/fork.c: Likewise.
45261         * posix/fpathconf.c: Likewise.
45262         * posix/getaddrinfo.c: Likewise.
45263         * posix/getegid.c: Likewise.
45264         * posix/geteuid.c: Likewise.
45265         * posix/getgid.c: Likewise.
45266         * posix/getgroups.c: Likewise.
45267         * posix/getlogin.c: Likewise.
45268         * posix/getlogin_r.c: Likewise.
45269         * posix/getpgid.c: Likewise.
45270         * posix/getpid.c: Likewise.
45271         * posix/getppid.c: Likewise.
45272         * posix/getresgid.c: Likewise.
45273         * posix/getresuid.c: Likewise.
45274         * posix/getsid.c: Likewise.
45275         * posix/getuid.c: Likewise.
45276         * posix/glob64.c: Likewise.
45277         * posix/nanosleep.c: Likewise.
45278         * posix/pathconf.c: Likewise.
45279         * posix/pause.c: Likewise.
45280         * posix/posix_madvise.c: Likewise.
45281         * posix/pread.c: Likewise.
45282         * posix/pread64.c: Likewise.
45283         * posix/pwrite.c: Likewise.
45284         * posix/pwrite64.c: Likewise.
45285         * posix/sched_getaffinity.c: Likewise.
45286         * posix/sched_getp.c: Likewise.
45287         * posix/sched_gets.c: Likewise.
45288         * posix/sched_primax.c: Likewise.
45289         * posix/sched_primin.c: Likewise.
45290         * posix/sched_rr_gi.c: Likewise.
45291         * posix/sched_setaffinity.c: Likewise.
45292         * posix/sched_setp.c: Likewise.
45293         * posix/sched_sets.c: Likewise.
45294         * posix/sched_yield.c: Likewise.
45295         * posix/setgid.c: Likewise.
45296         * posix/setlogin.c: Likewise.
45297         * posix/setpgid.c: Likewise.
45298         * posix/setresgid.c: Likewise.
45299         * posix/setresuid.c: Likewise.
45300         * posix/setsid.c: Likewise.
45301         * posix/setuid.c: Likewise.
45302         * posix/sleep.c: Likewise.
45303         * posix/spawni.c: Likewise.
45304         * posix/sysconf.c: Likewise.
45305         * posix/times.c: Likewise.
45306         * posix/wait.c: Likewise.
45307         * posix/wait3.c: Likewise.
45308         * posix/wait4.c: Likewise.
45309         * posix/waitpid.c: Likewise.
45310         * resolv/gai_sigqueue.c: Likewise.
45311         * resource/getpriority.c: Likewise.
45312         * resource/getrlimit.c: Likewise.
45313         * resource/getrusage.c: Likewise.
45314         * resource/nice.c: Likewise.
45315         * resource/setpriority.c: Likewise.
45316         * resource/setrlimit.c: Likewise.
45317         * resource/ulimit.c: Likewise.
45318         * rt/aio_cancel.c: Likewise.
45319         * rt/aio_fsync.c: Likewise.
45320         * rt/aio_read.c: Likewise.
45321         * rt/aio_sigqueue.c: Likewise.
45322         * rt/aio_suspend.c: Likewise.
45323         * rt/aio_write.c: Likewise.
45324         * rt/clock_getres.c: Likewise.
45325         * rt/clock_gettime.c: Likewise.
45326         * rt/clock_nanosleep.c: Likewise.
45327         * rt/clock_settime.c: Likewise.
45328         * rt/lio_listio.c: Likewise.
45329         * rt/mq_close.c: Likewise.
45330         * rt/mq_getattr.c: Likewise.
45331         * rt/mq_notify.c: Likewise.
45332         * rt/mq_open.c: Likewise.
45333         * rt/mq_receive.c: Likewise.
45334         * rt/mq_send.c: Likewise.
45335         * rt/mq_setattr.c: Likewise.
45336         * rt/mq_timedreceive.c: Likewise.
45337         * rt/mq_timedsend.c: Likewise.
45338         * rt/mq_unlink.c: Likewise.
45339         * rt/shm_open.c: Likewise.
45340         * rt/shm_unlink.c: Likewise.
45341         * rt/timer_create.c: Likewise.
45342         * rt/timer_delete.c: Likewise.
45343         * rt/timer_getoverr.c: Likewise.
45344         * rt/timer_gettime.c: Likewise.
45345         * rt/timer_settime.c: Likewise.
45346         * setjmp/__longjmp.c: Likewise.
45347         * setjmp/setjmp.c: Likewise.
45348         * signal/kill.c: Likewise.
45349         * signal/killpg.c: Likewise.
45350         * signal/raise.c: Likewise.
45351         * signal/sigaction.c: Likewise.
45352         * signal/sigaltstack.c: Likewise.
45353         * signal/sigblock.c: Likewise.
45354         * signal/sigignore.c: Likewise.
45355         * signal/sigintr.c: Likewise.
45356         * signal/signal.c: Likewise.
45357         * signal/sigpause.c: Likewise.
45358         * signal/sigpending.c: Likewise.
45359         * signal/sigqueue.c: Likewise.
45360         * signal/sigreturn.c: Likewise.
45361         * signal/sigset.c: Likewise.
45362         * signal/sigsetmask.c: Likewise.
45363         * signal/sigstack.c: Likewise.
45364         * signal/sigsuspend.c: Likewise.
45365         * signal/sigtimedwait.c: Likewise.
45366         * signal/sigvec.c: Likewise.
45367         * signal/sigwait.c: Likewise.
45368         * signal/sigwaitinfo.c: Likewise.
45369         * signal/sysv_signal.c: Likewise.
45370         * socket/accept.c: Likewise.
45371         * socket/accept4.c: Likewise.
45372         * socket/bind.c: Likewise.
45373         * socket/connect.c: Likewise.
45374         * socket/getpeername.c: Likewise.
45375         * socket/getsockname.c: Likewise.
45376         * socket/getsockopt.c: Likewise.
45377         * socket/isfdtype.c: Likewise.
45378         * socket/listen.c: Likewise.
45379         * socket/recv.c: Likewise.
45380         * socket/recvfrom.c: Likewise.
45381         * socket/recvmsg.c: Likewise.
45382         * socket/send.c: Likewise.
45383         * socket/sendmsg.c: Likewise.
45384         * socket/sendto.c: Likewise.
45385         * socket/setsockopt.c: Likewise.
45386         * socket/shutdown.c: Likewise.
45387         * socket/sockatmark.c: Likewise.
45388         * socket/socket.c: Likewise.
45389         * socket/socketpair.c: Likewise.
45390         * stdio-common/ctermid.c: Likewise.
45391         * stdio-common/cuserid.c: Likewise.
45392         * stdio-common/remove.c: Likewise.
45393         * stdio-common/rename.c: Likewise.
45394         * stdio-common/renameat.c: Likewise.
45395         * stdio-common/tempname.c: Likewise.
45396         * stdlib/getcontext.c: Likewise.
45397         * stdlib/makecontext.c: Likewise.
45398         * stdlib/setcontext.c: Likewise.
45399         * stdlib/swapcontext.c: Likewise.
45400         * stdlib/system.c: Likewise.
45401         * streams/fattach.c: Likewise.
45402         * streams/fdetach.c: Likewise.
45403         * streams/getmsg.c: Likewise.
45404         * streams/getpmsg.c: Likewise.
45405         * streams/putmsg.c: Likewise.
45406         * streams/putpmsg.c: Likewise.
45407         * sysdeps/unix/bsd/getpt.c: Likewise.
45408         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
45409         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
45410         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
45411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
45412         Likewise.
45413         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
45414         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
45415         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
45416         * sysvipc/msgctl.c: Likewise.
45417         * sysvipc/msgget.c: Likewise.
45418         * sysvipc/msgrcv.c: Likewise.
45419         * sysvipc/msgsnd.c: Likewise.
45420         * sysvipc/semctl.c: Likewise.
45421         * sysvipc/semget.c: Likewise.
45422         * sysvipc/semop.c: Likewise.
45423         * sysvipc/semtimedop.c: Likewise.
45424         * sysvipc/shmat.c: Likewise.
45425         * sysvipc/shmctl.c: Likewise.
45426         * sysvipc/shmdt.c: Likewise.
45427         * sysvipc/shmget.c: Likewise.
45428         * termios/tcdrain.c: Likewise.
45429         * termios/tcflow.c: Likewise.
45430         * termios/tcflush.c: Likewise.
45431         * termios/tcgetattr.c: Likewise.
45432         * termios/tcgetpgrp.c: Likewise.
45433         * termios/tcsendbrk.c: Likewise.
45434         * termios/tcsetattr.c: Likewise.
45435         * termios/tcsetpgrp.c: Likewise.
45436         * time/adjtime.c: Likewise.
45437         * time/clock.c: Likewise.
45438         * time/getitimer.c: Likewise.
45439         * time/gettimeofday.c: Likewise.
45440         * time/setitimer.c: Likewise.
45441         * time/settimeofday.c: Likewise.
45442         * time/stime.c: Likewise.
45443         * time/time.c: Likewise.
45445 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
45447         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
45448         /usr/old/bin.
45450         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
45451         instead of spaces.
45452         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
45454 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
45456         [BZ #14796]
45457         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
45458         FE_TONEAREST before applying Dekker multiplication and Knuth
45459         addition.  Clear inexact exceptions and check for exact zero
45460         results afterwards.
45461         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
45462         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
45463         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
45464         * math/libm-test.inc (fma_test): Add more tests.
45465         (fma_test_towardzero): Likewise.
45466         (fma_test_downward): Likewise.
45467         (fma_test_upward): Likewise.
45468         * sysdeps/generic/math_private.h (default_libc_fesetround): New
45469         function.
45470         (libc_fesetround): New macro.
45471         (libc_fesetroundf): Likewise.
45472         (libc_fesetroundl): Likewise.
45473         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
45474         function.
45475         (libc_fesetround_387): Likewise.
45476         (libc_fesetroundf): New macro.
45477         (libc_fesetround): Likewise.
45478         (libc_fesetroundl): Likewise.
45479         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
45480         function.
45481         (libc_fesetroundf): New macro.
45482         (libc_fesetround): Likewise.
45483         (libc_fesetroundl): Likewise.
45484         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
45485         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
45486         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
45487         libm_hidden_ver.
45488         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
45489         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
45490         libm_hidden_def.
45491         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
45492         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
45493         libm_hidden_ver.
45494         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
45495         libm_hidden_def.
45497         [BZ #3439]
45498         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
45499         integer constant usable in #if and use that to give value to enum
45500         constant.
45501         (FE_DIVBYZERO): Likewise.
45502         (FE_UNDERFLOW): Likewise.
45503         (FE_OVERFLOW): Likewise.
45504         (FE_INVALID): Likewise.
45505         (FE_INVALID_SNAN): Likewise.
45506         (FE_INVALID_ISI): Likewise.
45507         (FE_INVALID_IDI): Likewise.
45508         (FE_INVALID_ZDZ): Likewise.
45509         (FE_INVALID_IMZ): Likewise.
45510         (FE_INVALID_COMPARE): Likewise.
45511         (FE_INVALID_SOFTWARE): Likewise.
45512         (FE_INVALID_SQRT): Likewise.
45513         (FE_INVALID_INTEGER_CONVERSION): Likewise.
45514         (FE_TONEAREST): Likewise.
45515         (FE_TOWARDZERO): Likewise.
45516         (FE_UPWARD): Likewise.
45517         (FE_DOWNWARD): Likewise.
45518         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
45519         (FE_DIVBYZERO): Likewise.
45520         (FE_OVERFLOW): Likewise.
45521         (FE_UNDERFLOW): Likewise.
45522         (FE_INEXACT): Likewise.
45523         (FE_TONEAREST): Likewise.
45524         (FE_DOWNWARD): Likewise.
45525         (FE_UPWARD): Likewise.
45526         (FE_TOWARDZERO): Likewise.
45527         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
45528         (FE_UNDERFLOW): Likewise.
45529         (FE_OVERFLOW): Likewise.
45530         (FE_DIVBYZERO): Likewise.
45531         (FE_INVALID): Likewise.
45532         (FE_TONEAREST): Likewise.
45533         (FE_TOWARDZERO): Likewise.
45534         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
45535         (FE_OVERFLOW): Likewise.
45536         (FE_UNDERFLOW): Likewise.
45537         (FE_DIVBYZERO): Likewise.
45538         (FE_INEXACT): Likewise.
45539         (FE_TONEAREST): Likewise.
45540         (FE_TOWARDZERO): Likewise.
45541         (FE_UPWARD): Likewise.
45542         (FE_DOWNWARD): Likewise.
45543         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
45544         (FE_DIVBYZERO): Likewise.
45545         (FE_OVERFLOW): Likewise.
45546         (FE_UNDERFLOW): Likewise.
45547         (FE_INEXACT): Likewise.
45548         (FE_TONEAREST): Likewise.
45549         (FE_DOWNWARD): Likewise.
45550         (FE_UPWARD): Likewise.
45551         (FE_TOWARDZERO): Likewise.
45553 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
45555         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
45557 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
45559         * scripts/cross-test-ssh.sh (command): Use newlines to separate
45560         commands.  Quote $PWD.
45561         (blacklist_exports): Don't use remove_newlines.  Replace "declare
45562         -x" by "export".
45563         (remove_newlines): Remove.
45565 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
45567         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
45568         * stdlib/stdlib.h (atof): Moved to ...
45569         * include/bits/stdlib-float.h: Here.  New file.
45570         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
45571         * stdlib/bits/stdlib-float.h: New file.
45572         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
45573         -mno-sse -mno-mmx.
45574         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
45575         <xmmintrin.h>.
45577 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
45579         * conform/conformtest.pl (@headers): Add fenv.h.
45580         * conform/data/fenv.h-data: New file.
45581         * include/fenv.h [_ISOMAC]: Disable all contents of file except
45582         include of <math/fenv.h>.
45584         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
45585         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
45586         && !UNIX98].  Enables tests for XOPEN2K8.
45587         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
45588         POSIX2008]: Likewise.
45590         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
45591         (struct rusage): Do not expect type or its members.
45593         [BZ #3439]
45594         * math/math.h (FP_NAN): Define macro to integer constant usable in
45595         #if and use that to give value to enum constant.
45596         (FP_INFINITE): Likewise.
45597         (FP_ZERO): Likewise.
45598         (FP_SUBNORMAL): Likewise.
45599         (FP_NORMAL): Likewise.
45601 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
45603         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
45604         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
45605         arguments.
45607 2012-11-02  Roland McGrath  <roland@hack.frob.com>
45609         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
45610         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
45611         autoconf-time if not.
45612         * configure.in: Remove AC_PREREQ.
45614 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
45616         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
45617         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
45618         of the internal implementation.
45620 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
45622         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
45623         except include of <misc/sys/syslog.h>.
45625 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
45627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
45628         function returns with a NULL context exit with zero.
45630 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
45632         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
45634 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
45636         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
45637         (run_program_cmd): This.
45638         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
45639         (tst_langinfo): New variable.  Use it.
45641 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
45643         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
45644         floating point opcodes.
45646 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
45648         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
45649         variable.
45651         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
45653         * sysdeps/mach/hurd/powerpc: Remove directory.
45654         * sysdeps/mach/powerpc: Likewise.
45656 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
45658         * scripts/check-local-headers.sh: Ignore c++ headers.
45660 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
45662         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
45663         __libc_cleanup_region_start argument.
45665 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
45667         [BZ #14784]
45668         [BZ #14785]
45669         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
45670         x * y using scaling, not as x * y + z.
45671         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
45672         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
45673         * math/libm-test.inc (fma_test): Add more tests.
45674         (fma_test_towardzero): Likewise.
45675         (fma_test_downward): Likewise.
45676         (fma_test_upward): Likewise.
45678 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
45680         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
45682 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
45684         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
45685         New variable.
45687 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
45689         * rt/tst-shm.c (worker): Correct checking for mmap failure.
45691 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
45693         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45694         Fix sort order.
45695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
45696         Likewise.
45698 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
45700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45701         Fix the order of the list for glibc 2.17.
45702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
45703         Likewise.
45705 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
45707         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45709 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
45711         [BZ #14610]
45712         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
45713         for low part of x being zero before using __atanl (y).
45714         * math/libm-test.inc (atan2_test): Add another test.
45716         * manual/install.texi (Configuring and compiling): Document
45717         general use of test-wrapper and test-wrapper-env.
45718         * INSTALL: Regenerated.
45720         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
45721         (__fma): Do not extract and scale down low bits on after-rounding
45722         systems when result rounded to normal precision would have normal
45723         exponent.
45724         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
45725         (__fmal): Do not extract and scale down low bits on after-rounding
45726         systems when result rounded to normal precision would have normal
45727         exponent.
45728         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
45729         (__fmal): Do not extract and scale down low bits on after-rounding
45730         systems when result rounded to normal precision would have normal
45731         exponent.
45732         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
45733         macro.
45734         (fma_test): Add more tests.
45735         (fma_test_towardzero): Likewise.
45736         (fma_test_downward): Likewise.
45737         (fma_test_upward): Likewise.
45739 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
45741         * sysdeps/i386/tininess.h: Renamed to ...
45742         * sysdeps/x86/tininess.h: This.
45743         * sysdeps/x86_64/tininess.h: Removed.
45745 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
45747         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
45748         input.  Use $(build-program-cmd).
45749         ($(objpfx)tst-array1-static.out): Likewise.
45750         ($(objpfx)tst-array2.out): Likewise.
45751         ($(objpfx)tst-array3.out): Likewise.
45752         ($(objpfx)tst-array4.out): Likewise.
45753         ($(objpfx)tst-array5.out): Likewise.
45754         ($(objpfx)tst-array5-static.out): Likewise.
45756 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
45758         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
45759         if defined.
45761         * nss/nsswitch.h (nss_interface_function): Provide new
45762         macro for use with NSS functions.
45763         * grp/initgroups.c: Use new macro.
45764         * nss/getXXbyYY.c: Likewise.
45765         * nss/getXXbyYY_r.c: Likewise.
45766         * nss/getXXent.c: Likewise.
45767         * nss/getXXent_r.c: Likewise.
45768         * sysdeps/posix/getaddrinfo.c: Likewise.
45770 2012-10-30  Andreas Jaeger  <aj@suse.de>
45772         * po/ru.po: Update Russion translation from translation project.
45774 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
45776         [BZ #14152]
45777         [BZ #14783]
45778         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
45779         result and shift together with sticky bit instead of replicating
45780         round-to-nearest rounding.
45781         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
45782         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
45783         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
45784         missing underflow exceptions.
45785         (fma_test_towardzero): Add more tests.
45786         (fma_test_downward): Likewise.
45787         (fma_test_upward): Likewise.
45789         [BZ #14047]
45790         * sysdeps/generic/tininess.h: New file.
45791         * sysdeps/i386/tininess.h: Likewise.
45792         * sysdeps/sh/tininess.h: Likewise.
45793         * sysdeps/x86_64/tininess.h: Likewise.
45794         * stdlib/tst-strtod-underflow.c: Likewise.
45795         * stdlib/tst-tininess.c: Likewise.
45796         * stdlib/strtod_l.c: Include <tininess.h>.
45797         (round_and_return): Do not set errno for exact underflow cases.
45798         Force an underflow exception when setting errno for underflow.
45799         Determine underflow based on rounding to normal precision if
45800         TININESS_AFTER_ROUNDING.
45801         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
45802         ERANGE for exact underflow cases.
45803         * stdlib/Makefile (tests): Add tst-tininess and
45804         tst-strtod-underflow.
45805         ($(objpfx)tst-tininess): Use $(link-libm).
45806         ($(objpfx)tst-strtod-underflow): Likewise.
45808 2012-10-30  Andreas Jaeger  <aj@suse.de>
45810         [BZ#14767]
45811         * elf/Makefile (tests): Remove conditional for have-initfini-array
45812         since this is now always required and the variable does not exist
45813         anymore.
45814         (tests-static): Likewise.
45815         (modules-names): Likewise.
45817         * po/eo.po: Add Esperanto translation from translation project.
45819         * elf/tst-array1.c (fini_array): Make writeable so that it can be
45820         merged with constructor/destructor.
45821         (init_array): Likewise.
45822         * elf/tst-array2dep.c (fini_array): Likewise.
45823         (init_array): Likewise.
45825 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
45827         * manual/message.texi: Delete @cartouche tags.
45829 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
45831         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
45832         EOPNOTSUPP.
45833         * sysdeps/mach/hurd/fsync.c: Likewise.
45835         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
45836         [_POSIX_REALTIME_SIGNALS]: Change condition to
45837         [_POSIX_REALTIME_SIGNALS > 0].
45839 2012-10-27  Andreas Jaeger  <aj@suse.de>
45841         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
45842         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
45843         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
45844         [__WORDSIZE != 64]: Likewise.
45846 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
45848         *  iconvdata/tst-table.sh: Remove ${SHELL}.
45849         *  iconvdata/tst-tables.sh: Likewise.
45851 2012-10-25  David S. Miller  <davem@davemloft.net>
45853         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
45854         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
45855         of strtoull.
45857         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
45858         ifunc-impl-list.c
45859         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45860         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
45861         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
45862         file.
45864 2012-10-25  Roland McGrath  <roland@hack.frob.com>
45866         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
45867         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
45868         __getdirentries.
45870 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
45871             Jim Blandy  <jimb@codesourcery.com>
45873         * scripts/cross-test-ssh.sh: New file.
45874         * manual/install.texi (Configuring and compiling): Document use of
45875         cross-test-ssh.sh.
45876         * INSTALL: Regenerated.
45878 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
45880         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
45881         EOPNOTSUPP.
45883 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
45885         * Makeconfig (run-program-prefix): Fix comment.
45887 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
45888             Jim Blandy  <jimb@codesourcery.com>
45890         * Makeconfig (test-wrapper): New variable,
45891         (test-wrapper-env): Likewise.
45892         [$(cross-compiling) = yes && $(test-wrapper) != ""]
45893         (run-built-tests): Define to yes.
45894         (run-program-prefix): Use $(test-wrapper).
45895         (built-program-cmd): Likewise.
45896         * Rules (make-test-out): Use $(test-wrapper-env) and
45897         $(host-built-program-cmd).
45898         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
45899         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
45900         tst-pathopt.sh.
45901         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
45902         $(test-wrapper-env) to tst-rtld-load-self.sh.
45903         ($(objpfx)order2.out): Use $(test-wrapper).
45904         ($(objpfx)tst-initorder.out): Likewise.
45905         ($(objpfx)tst-initorder2.out): Likewise.
45906         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
45907         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
45908         (test_wrapper_env): New variable.  Use it to run ld.so.
45909         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
45910         Use it to run ld.so.
45911         (test_wrapper_env): Likewise.
45912         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
45913         $(test-wrapper) to run-iconv-test.sh.
45914         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
45915         (ICONV): Use $test_wrapper.
45916         * posix/Makefile ($(objpfx)globtest.out): Pass
45917         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
45918         globtest.sh, not $(run-program-prefix).
45919         * posix/globtest.sh (run_via_rtld_prefix): New variable.
45920         (test_wrapper): Likewise.
45921         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
45922         set together with run_via_rtld_prefix.
45923         (run_program_prefix): Define in terms of test_wrapper and
45924         run_via_rtld_prefix.
45926 2012-10-24  Roland McGrath  <roland@hack.frob.com>
45928         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
45929         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
45930         Targets removed.
45932         [BZ #14743]
45933         * include/time.h: Remove librt_hidden_proto (clock_gettime).
45934         Declare __clock_getres, __clock_gettime, __clock_settime,
45935         __clock_nanosleep, and __clock_getcpuclockid.
45936         * rt/clock_gettime.c: Define __clock_gettime as an alias.
45937         Remove librt_hidden_def (clock_gettime).
45938         * sysdeps/unix/clock_gettime.c: Likewise.
45939         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
45940         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
45941         * rt/clock_getres.c: Define __clock_getres as an alias.
45942         * sysdeps/posix/clock_getres.c: Likewise.
45943         * rt/clock_settime.c: Define __clock_settime as an alias.
45944         * sysdeps/unix/clock_settime.c: Likewise.
45945         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
45946         * sysdeps/unix/clock_nanosleep.c: Likewise.
45947         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
45948         * rt/clock-compat.c: New file.
45949         * rt/Makefile (librt-routines): Add clock-compat and move
45950         $(clock-routines) to ...
45951         (routines): ... here, new variable.
45952         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
45953         Don't add get_clockfreq here.
45954         * rt/Versions (libc: GLIBC_2.17): New version set.
45955         Add clock_* symbols here.
45956         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
45957         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
45958         (GLIBC_2.17): Add clock_* symbols.
45959         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
45960         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
45961         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
45962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
45963         Likewise.
45964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45965         Likewise.
45966         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
45967         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
45968         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
45969         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
45970         * NEWS: Mention the move.
45972         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
45973         Use __open, __read, __close rather than their public counterparts.
45974         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
45975         (__get_clockfreq_via_cpuinfo): Likewise.
45976         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
45977         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
45979         * config.h.in (HAVE_IFUNC): New #undef.
45980         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
45981         was successful.
45982         * configure: Regenerated.
45984 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
45986         * configure.in: Move READELF check to start of file.
45987         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
45988         libc_cv_asm_gnu_indirect_function in the process.
45989         * configure: Regenerated.
45991 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
45993         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
45994         send the output to /dev/null.
45995         (libc_cv_cc_with_libunwind): Likewise.
45996         (libc_cv_as_noexecstack): Likewise.
45997         * configure: Regenerate.
45999 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
46001         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
46003         * posix/globtest.sh (TMPDIR): Do not set.
46004         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
46005         (testout): Likewise.
46007 2012-10-24  Andreas Jaeger  <aj@suse.de>
46009         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
46010         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
46011         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
46012         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
46013         posix_fadvise64, posix_fallocate64.
46015         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
46016         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
46017         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
46018         Likewise.
46019         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
46020         Likewise.
46021         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
46023         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
46024         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
46025         <bits/fcntl-linux.h>.
46026         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
46028         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
46029         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
46030         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
46031         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
46032         [__WORDSIZE != 64]: Likewise.
46034 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
46036         * Makeconfig (run-built-tests): New variable.
46037         * Rules [$(cross-compiling) = yes]: Change condition to
46038         [$(run-built-tests) = no].
46039         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
46040         to [$(run-built-tests) = yes].
46041         * elf/Makefile [$(cross-compiling) = no]: Likewise
46042         * grp/Makefile [$(cross-compiling) = no]: Likewise.
46043         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
46044         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
46045         * intl/Makefile [$(cross-compiling) = no]: Likewise.
46046         * io/Makefile [$(cross-compiling) = no]: Likewise.
46047         * libio/Makefile [$(cross-compiling) = no]: Likewise.
46048         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
46049         * misc/Makefile [$(cross-compiling) = no]: Likewise.
46050         * posix/Makefile [$(cross-compiling) = no]: Likewise.
46051         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
46052         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
46053         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
46054         * string/Makefile [$(cross-compiling) = no]: Likewise.
46056         * posix/Makefile ($(objpfx)globtest.out): Pass
46057         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
46058         $(rtld-installed-name).
46059         * posix/globtest.sh (elf_objpfx): Remove variable.
46060         (rtld_installed_name): Likewise.
46061         (library_path): Likewise.
46062         (run_program_prefix): New variable.  Use for running globtest
46063         binary.
46065 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
46066             Joseph Myers  <joseph@codesourcery.com>
46068         * Makeconfig (host-built-program-cmd): New variable.
46069         * elf/Makefile (tst-stackguard1-ARGS): Use
46070         $(host-built-program-cmd).
46071         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
46072         (tst-spawn-ARGS): Likewise.
46073         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
46075 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
46076             Jim Blandy  <jimb@codesourcery.com>
46078         * Makeconfig (run-via-rtld-prefix): New variable.
46079         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
46080         (built-program-cmd): Likewise.
46082 2012-10-22  Andreas Jaeger  <aj@suse.de>
46084         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
46085         __O_RSYNC if it exists, otherwise to O_SYNC.
46087 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
46088             Joseph Myers  <joseph@codesourcery.com>
46090         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
46091         /dev/null.
46092         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
46093         from /dev/null
46094         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
46095         /dev/null.
46097 2012-10-22  Andreas Jaeger  <aj@suse.de>
46099         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
46100         Define always.
46101         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
46103         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46104         bits/fcntl-linux.h.
46106         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
46107         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
46109         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
46110         to __O_LARGEFILE.
46111         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
46112         to __O_LARGEFILE.
46114 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
46115             Joseph Myers  <joseph@codesourcery.com>
46117         * config.make.in (NM): New variable.
46119 2012-10-21  Andreas Jaeger  <aj@suse.de>
46121         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
46122         definitions and declarations that are provided by
46123         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
46125 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
46127         [BZ #14683]
46128         * elf/Makefile (tests-static): Add tst-leaks1-static.
46129         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
46130         ($(objpfx)tst-leaks1-static): New rule.
46131         ($(objpfx)tst-leaks1-static-mem): Likewise.
46132         (tst-leaks1-static-ENV): New macro.
46133         * elf/dl-open.c (dl_open_worker): Check the main application
46134         only if SHARED is defined.
46135         * elf/tst-leaks1-static.c: New file.
46137 2012-10-20  Andreas Jaeger  <aj@suse.de>
46139         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
46140         generic values for Linux.
46141         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
46142         and declarations that are provided by <bits/fcntl-linux.h> and
46143         include <bits/fcntl-linux.h>.
46144         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46145         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46147 2012-10-20  Roland McGrath  <roland@hack.frob.com>
46149         * io/fcntl.h: Move include of <bits/types.h> to the top and
46150         include it unconditionally.
46152 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
46154         * wcsmbs/Makefile (tests-ifunc): New variable.
46155         (tests): Add $(tests-ifunc).
46156         * wcsmbs/test-wcschr-ifunc.c: New file.
46157         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
46158         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
46159         * wcsmbs/test-wcslen-ifunc.c: Likewise.
46160         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
46161         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
46163         * string/Makefile (tests-ifunc): New variable.
46164         (tests): Add $(tests-ifunc).
46165         * string/test-memccpy.c (TEST_NAME): New macro.
46166         * string/test-memchr.c (TEST_NAME): Likewise.
46167         * string/test-memcmp.c (TEST_NAME): Likewise.
46168         * string/test-memcpy.c (TEST_NAME): Likewise.
46169         * string/test-memmem.c (TEST_NAME): Likewise.
46170         * string/test-memmove.c (TEST_NAME): Likewise.
46171         * string/test-memset.c (TEST_NAME): Likewise.
46172         * string/test-rawmemchr.c (TEST_NAME): Likewise.
46173         * string/test-stpcpy.c (TEST_NAME): Likewise.
46174         * string/test-stpncpy.c (TEST_NAME): Likewise.
46175         * string/test-strcasecmp.c (TEST_NAME): Likewise.
46176         * string/test-strcasestr.c (TEST_NAME): Likewise.
46177         * string/test-strcat.c (TEST_NAME): Likewise.
46178         * string/test-strchr.c (TEST_NAME): Likewise.
46179         * string/test-strcmp.c(TEST_NAME): Likewise.
46180         * string/test-strcpy.c (TEST_NAME): Likewise.
46181         * string/test-strcspn.c (TEST_NAME): Likewise.
46182         * string/test-strlen.c (TEST_NAME): Likewise.
46183         * string/test-strncasecmp.c (TEST_NAME): Likewise.
46184         * string/test-strncmp.c (TEST_NAME): Likewise.
46185         * string/test-strncpy.c (TEST_NAME): Likewise.
46186         * string/test-strnlen.c (TEST_NAME): Likewise.
46187         * string/test-strpbrk.c (TEST_NAME): Likewise.
46188         * string/test-strrchr.c (TEST_NAME): Likewise.
46189         * string/test-strspn.c (TEST_NAME): Likewise.
46190         * string/test-strstr.c (TEST_NAME): Likewise.
46191         * string/test-bcopy-ifunc.c: New file.
46192         * string/test-bzero-ifunc.c: Likewise.
46193         * string/test-memccpy-ifunc.c: Likewise.
46194         * string/test-memchr-ifunc.c: Likewise.
46195         * string/test-memcmp-ifunc.c: Likewise.
46196         * string/test-memcpy-ifunc.c: Likewise.
46197         * string/test-memmem-ifunc.c: Likewise.
46198         * string/test-memmove-ifunc.c: Likewise.
46199         * string/test-mempcpy-ifunc.c: Likewise.
46200         * string/test-memset-ifunc.c: Likewise.
46201         * string/test-rawmemchr-ifunc.c: Likewise.
46202         * string/test-stpcpy-ifunc.c: Likewise.
46203         * string/test-stpncpy-ifunc.c: Likewise.
46204         * string/test-strcasecmp-ifunc.c: Likewise.
46205         * string/test-strcasestr-ifunc.c: Likewise.
46206         * string/test-strcat-ifunc.c: Likewise.
46207         * string/test-strchr-ifunc.c: Likewise.
46208         * string/test-strchrnul-ifunc.c: Likewise.
46209         * string/test-strcmp-ifunc.c: Likewise.
46210         * string/test-strcpy-ifunc.c: Likewise.
46211         * string/test-strcspn-ifunc.c: Likewise.
46212         * string/test-strlen-ifunc.c: Likewise.
46213         * string/test-strncasecmp-ifunc.c: Likewise.
46214         * string/test-strncat-ifunc.c: Likewise.
46215         * string/test-strncmp-ifunc.c: Likewise.
46216         * string/test-strncpy-ifunc.c: Likewise.
46217         * string/test-strnlen-ifunc.c: Likewise.
46218         * string/test-strpbrk-ifunc.c: Likewise.
46219         * string/test-strrchr-ifunc.c: Likewise.
46220         * string/test-strspn-ifunc.c: Likewise.
46221         * string/test-strstr-ifunc.c: Likewise.
46223         * debug/Makefile (tests-ifunc): New variable.
46224         (tests): Add $(tests-ifunc).
46225         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
46226         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
46227         * debug/test-stpcpy_chk-ifunc.c: New file.
46228         * debug/test-strcpy_chk-ifunc.c: Likewise.
46230 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
46232         [BZ #13601]
46233         * elf/dl-load.c (open_verify): Retry read if the entire ELF
46234         header is not read in.
46236 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
46238         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
46239         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
46240         directly.  Pass built executable to script as
46241         $(built-program-cmd).
46242         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
46243         $testprogram without using LD_LIBRARY_PATH and $ldso.
46245         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
46246         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
46247         $(rtld-installed-name).
46248         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
46249         (rtld_installed_name): Likewise.
46250         (library_path): Likewise.
46251         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
46252         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
46253         $(run-program-prefix) to tst-tables.sh.
46254         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
46255         it to run tst-table-from and tst-table-to.
46256         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
46257         Pass it to tst-table.sh.
46258         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
46259         $(run-program-prefix) to tst-gettext.sh.
46260         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
46261         tst-translit.sh.
46262         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
46263         tst-gettext2.sh.
46264         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
46265         to run tst-gettext.
46266         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
46267         to run tst-gettext2.
46268         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
46269         to run tst-translit.
46270         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
46271         $(run-program-prefix) to tst-mtrace.sh.
46272         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
46273         to run tst-mtrace.
46274         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
46275         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
46276         $(rtld-installed-name).
46277         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
46278         (rtld_installed_name): Likewise.
46279         (run_program_prefix): New variable.  Use it to run wordexp-test.
46281         * Makeconfig (ARCH): Remove all definitions.
46282         (machine): Likewise.
46283         [ARCH]: Remove conditional code.
46284         [!objdir]: Give error.
46285         [!objdir] (objpfx): Remove.
46286         [!objdir] (common-objpfx): Likewise.
46287         [!objdir] (common-objdir): Likewise.
46288         * configure.in (config_makefile): Remove.  Hardcode Makefile in
46289         AC_CONFIG_FILES call.
46290         * configure: Regenerated.
46292         [BZ #13888]
46293         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
46294         or TMPDIR.
46295         (testout): Likewise.
46297         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
46298         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
46299         $(rtld-installed-name).
46300         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
46301         (rtld_installed_name): Likwise.
46302         (runit): Remove function.
46303         (run_getconf): New variable,  Use it for running getconf binary.
46305 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
46307         [BZ #14716]
46308         * string/test-memmem.c (check_result): New function.
46309         (do_one_test): Use it.
46310         (check1): New function.
46311         (test_main): Use it.
46313 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
46315         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
46317 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
46319         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
46320         (_G_LSEEK64): Likewise.
46321         (_G_MMAP64): Likewise.
46322         (_G_FSTAT64): Likewise.
46323         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
46324         (_G_LSEEK64): Likewise.
46325         (_G_MMAP64): Likewise.
46326         (_G_FSTAT64): Likewise.
46327         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
46328         unconditional.  Call __mmap64 directly.
46329         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
46330         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
46331         __lseek64 directly.
46332         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
46333         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
46334         __mmap64 directly.
46335         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
46336         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
46337         __lseek64 directly.
46338         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
46339         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
46340         __lseek64 directly.
46341         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
46342         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
46343         __lseek64 directly.
46344         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
46345         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
46346         __fxstat64 directly.
46347         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
46348         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
46349         unconditional.
46350         (freopen64) [!_G_OPEN64]: Remove conditional code.
46351         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
46352         unconditional.
46353         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
46354         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
46355         unconditional.
46356         (ftello64) [!_G_LSEEK64]: Remove conditional code.
46357         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
46358         unconditional.
46359         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
46360         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
46361         unconditional.
46362         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
46363         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
46364         unconditional.
46365         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
46366         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
46367         unconditional.
46368         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
46369         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
46370         unconditional.
46371         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
46373 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
46375         [BZ #12140]
46376         * manual/memory.texi (Malloc Tunable Parameters): Add note
46377         about free list pointers overwriting some perturb bytes.
46378         Wording suggested by Roland McGrath.
46380 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
46382         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
46383         (lgamma_test): Likewise.
46384         (tgamma_test): Likewise.
46386 2012-10-16  Florian Weimer  <fweimer@redhat.com>
46388         [BZ #14700]
46389         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
46390         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
46392 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
46394         * NEWS: Mention BZ #14716.
46395         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
46396         when removing AVAILABLE1_USES_J macro.
46398 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
46400         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
46401         (__bswap_64): __uint64_t for unsigned 64-bit int.
46403 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
46405         * include/string.h (memmem): Declare libc hidden alias.
46406         * string/memmem.c (memmem): Define libc hidden alias.
46407         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
46408         __read, __close instead of open, read, close.
46410 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
46412         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
46413         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
46414         global and hidden.
46415         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
46416         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
46417         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
46418         Likewise.
46419         (__rawmemchr_sse2): Likewise.
46420         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
46421         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
46422         (__strchr_sse2): Likewise.
46423         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
46424         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
46425         (__strcasecmp_sse2): Likewise.
46426         (__strncasecmp_sse2): Likewise.
46427         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
46428         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
46429         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
46430         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
46431         (__strrchr_sse2): Likewise.
46432         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
46433         ifunc-impl-list.c.
46434         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
46435         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
46436         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
46437         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
46438         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
46439         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
46440         * sysdeps/x86_64/multiarch/memset.S: Likewise.
46441         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
46442         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
46443         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
46444         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
46445         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
46446         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
46447         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
46448         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
46449         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
46450         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
46451         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
46452         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
46453         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
46454         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
46455         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
46456         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
46457         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
46458         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
46459         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
46460         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
46461         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
46462         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
46463         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
46465         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
46466         global and hidden.
46467         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
46468         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
46469         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
46470         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
46471         Likewise.
46472         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
46473         Likewise.
46474         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
46475         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
46476         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
46477         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
46478         ifunc-impl-list.c.
46479         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
46480         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
46481         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
46482         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
46483         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
46484         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
46485         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
46486         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
46487         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
46488         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
46489         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
46490         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
46491         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
46492         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
46493         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
46494         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
46495         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
46496         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
46497         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
46498         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
46499         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
46500         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
46501         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
46502         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
46503         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
46504         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
46505         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
46506         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
46507         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
46508         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
46509         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
46510         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
46511         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
46512         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
46513         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
46514         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
46515         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
46516         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
46517         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
46518         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
46519         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
46521         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
46522         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
46523         * include/ifunc-impl-list.h: New file.
46524         * misc/ifunc-impl-list.c: Likewise.
46525         * misc/Makefile (routines): Add ifunc-impl-list.
46526         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
46527         * string/test-string.h: Include <ifunc-impl-list.h>.
46528         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
46529         TEST_NAME]: New variables.
46530         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
46531         are defined.
46532         (test_init): Call __libc_ifunc_impl_list to initialize
46533         func_list if TEST_IFUNC and TEST_NAME are defined.
46535         * string/Makefile (strop-tests): Add bcopy and bzero.
46536         * string/test-bcopy.c: New file.
46537         * string/test-bzero.c: Likewise.
46538         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
46539         defined.
46540         * string/test-memset.c: Support bzero test if TEST_BZERO is
46541         defined.
46542         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
46543         __libc_memmove.
46544         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
46545         __libc_memset.
46546         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
46547         of memset.
46549 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
46551         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
46552         * configure: Regenerated.
46554         * Makeconfig (+link-static-before-libc): Don't include
46555         $(link-static-libc).
46557         * libio/libio.h (_IO_pos_t): Remove.
46559 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
46561         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
46562         McGrath.
46564 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
46566         * crypt/crypt-entry.c: Include fips-private.h.
46567         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
46568         * crypt/md5c-test.c (main): Tolerate disabled MD5.
46569         * sysdeps/unix/sysv/linux/fips-private.h: New file.
46570         * sysdeps/generic/fips-private.h: New file, dummy fallback.
46572 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
46574         * crypt/crypt-private.h: Include stdbool.h.
46575         (_ufc_setup_salt_r): Return bool.
46576         * crypt/crypt-entry.c: Include errno.h.
46577         (__crypt_r): Return NULL with EINVAL for bad salt.
46578         * crypt/crypt_util.c (bad_for_salt): New.
46579         (_ufc_setup_salt_r): Check that salt is long enough and within
46580         the specified alphabet.
46581         * crypt/badsalttest.c: New file.
46582         * crypt/Makefile (tests): Add it.
46583         ($(objpfx)badsalttest): New.
46585 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
46587         * NEWS: Add entry for BZ #14602.
46589 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
46591         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
46592         type-generic.
46593         * math/libm-test.inc: Update comment listing what functions and
46594         macros are tested.
46595         (isgreater_test): New function.
46596         (isgreaterequal_test): Likewise.
46597         (isless_test): Likewise.
46598         (islessequal_test): Likewise.
46599         (islessgreater_test): Likewise.
46600         (isunordered_test): Likewise.
46601         (main): Call the new functions.
46603 2012-10-09  Roland McGrath  <roland@hack.frob.com>
46605         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
46606         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
46607         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
46608         * sysdeps/i386/configure: Regenerated.
46609         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
46610         * sysdeps/mach/configure: Regenerated.
46611         * sysdeps/mach/hurd/configure: Regenerated.
46612         * sysdeps/powerpc/configure: Regenerated.
46613         * sysdeps/powerpc/powerpc32/configure: Regenerated.
46614         * sysdeps/powerpc/powerpc64/configure: Regenerated.
46615         * sysdeps/s390/s390-32/configure: Regenerated.
46616         * sysdeps/s390/s390-64/configure: Regenerated.
46617         * sysdeps/sh/configure: Regenerated.
46618         * sysdeps/sparc/configure: Regenerated.
46619         * sysdeps/unix/sysv/linux/configure: Regenerated.
46620         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
46621         * sysdeps/x86_64/configure: Regenerated.
46623         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
46624         defined.  Don't check if MAP is NULL.
46626 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
46628         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
46629         (_G_stat64): Likewise.
46630         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
46631         (_G_stat64): Likewise.
46632         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
46633         instead of struct _G_stat64.
46634         * libio/fileops.c (mmap_remap_check): Likewise.
46635         (decide_maybe_mmap): Likewise.
46636         (_IO_new_file_seekoff): Likewise.
46637         (_IO_file_stat): Likewise.
46638         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
46639         _G_off64_t.
46640         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
46641         instead of struct _G_stat64.
46642         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
46644 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
46646         [BZ #14602]
46647         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
46648         Replace with ...
46649         (CHECK_EOL): New macro.
46650         (two_way_short_needle): Check beginning of haystack for EOL.  Use
46651         CHECK_EOL.
46652         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
46653         Replace with CHECK_EOL.
46654         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
46655         Replace with CHECK_EOL.
46657 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
46659         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
46660         type-generic.
46661         * math/libm-test.inc: Update comment listing what functions and
46662         macros are tested.
46663         (finite_test): New function.
46664         (isinf_test): Likewise.
46665         (isnan_test): Likewise.
46666         (fpclassify_test): Test subnormal input.
46667         (isfinite_test): Likewise.
46668         (isnormal_test): Likewise.
46669         (main): Call the new functions.
46671 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
46673         [BZ #14660]
46674         * Makerules (%.dynsym): Force C locale when running
46675         $(OBJDUMP) --dynamic-syms.
46677 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
46679         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
46680         <stdint.h>.
46682 2012-10-06  David S. Miller  <davem@davemloft.net>
46684         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
46685         upper 32-bits of the length value in %o2 since we use branch-on-register
46686         tests which consider the entire 64-bit register.
46688 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
46690         * string/test-strstr.c (check2): Add a test for page boundary.
46692 2012-10-05  David S. Miller  <davem@davemloft.net>
46694         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
46695         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
46696         file.
46697         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
46698         sysdep_routines.
46699         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
46700         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
46701         and bzero when HWCAP_SPARC_CRYPTO is present.
46703 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
46705         [BZ #14602]
46706         * string/test-strstr.c (check2): New function.
46707         (test_main): Call check2.
46709         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
46710         and bug-strchr1.
46711         * string/bug-strcasestr1.c (do_test): Moved to ...
46712         * string/test-strcasestr.c (check1): Here.  New function.
46713         (do_one_test): Break out result checking code into ...
46714         (check_result): This.  New function.
46715         (do_one_test): Call check_result.
46716         (test_main): Call check1.
46717         * string/bug-strchr1.c (do_test): Moved to ...
46718         * string/test-strchr.c (check1): Here.  New function.
46719         (do_one_test): Break out result checking code into ...
46720         (check_result): This.  New function.
46721         (do_one_test): Call check_result.
46722         (test_main): Call check1.
46723         * string/bug-strstr1.c (main): Moved to ...
46724         * string/test-strstr.c (check1): Here.  New function.
46725         (do_one_test): Break out result checking code into ...
46726         (check_result): This.  New function.
46727         (do_one_test): Call check_result.
46728         (test_main): Call check1.
46729         * string/bug-strcasestr1.c: Removed.
46730         * string/bug-strchr1.c: Likewise.
46731         * string/bug-strstr1.c: Likewise.
46733         * elf/Makefile (dl-routines): Add hwcaps.
46734         * elf/dl-support.c (_dl_important_hwcaps): Removed.
46735         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
46736         (_dl_important_hwcaps): Moved to ...
46737         * elf/dl-hwcaps.c: Here.  New file.
46738         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
46740         [BZ #14557]
46741         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
46742         if IS_IN_rtld isn't defined.
46744         * elf/dl-support.c (_dl_sysinfo_map): New.
46745         Include "get-dynamic-info.h" and "setup-vdso.h".
46746         (_dl_non_dynamic_init): Call setup_vdso.
46747         * elf/dynamic-link.h: Don't include <assert.h>.
46748         (elf_get_dynamic_info): Moved to ...
46749         * elf/get-dynamic-info.h: Here.  New file.
46750         * elf/dynamic-link.h: Include "get-dynamic-info.h".
46751         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
46752         * elf/setup-vdso.h: Here.  New file.
46753         * elf/rtld.c: Include "setup-vdso.h".
46754         (dl_main): Call setup_vdso.
46756 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
46758         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
46759         creal in comment listing functions tested.  List finite, isinf,
46760         isnan, isless, islessequal, isgreater, isgreaterequal,
46761         islessgreater, isunordered, lgamma_r and pow10 as functions and
46762         macros not tested.  Mention which functions not tested are aliases
46763         for other functions.  Fix typo.  Note that signs of NaNs are not
46764         tested.
46766         * scripts/config.guess: Update from config.git.
46767         * scripts/config.sub: Likewise.
46769 2012-10-04  Roland McGrath  <roland@hack.frob.com>
46771         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
46772         * misc/madvise.c (madvise): Renamed to __madvise.
46773         Make madvise a weak alias.
46774         * include/sys/mman.h: Declare __madvise.
46775         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
46776         * sysdeps/unix/syscalls.list
46777         (madvise): Make __madvise the strong name, and madvise a weak alias.
46778         * sysdeps/unix/sysv/linux/syscalls.list
46779         (madvise, mmap): Remove redundant entries.
46780         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
46781         * malloc/malloc.c (mtrim): Likewise.
46782         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
46784 2012-10-03  Roland McGrath  <roland@hack.frob.com>
46786         * sysdeps/mach/hurd/dl-cache.c: File removed.
46787         * config.h.in (USE_LDCONFIG): New #undef.
46788         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
46789         * configure: Regenerated.
46790         * elf/Makefile (dl-routines): Add dl-cache only under
46791         [$(use-ldconfig) = yes].
46792         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
46793         cache on [USE_LDCONFIG].
46794         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
46795         [USE_LDCONFIG].
46796         * elf/rtld.c (dl_main): Likewise.
46798 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
46800         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
46801         _SC_LEVEL4_CACHE_LINESIZE.
46803 2012-10-03  Roland McGrath  <roland@hack.frob.com>
46805         * sysdeps/unix/bsd/confstr.h: File removed.
46807 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
46809         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
46810         sys/sdt-config.h.
46812 2012-10-02  Roland McGrath  <roland@hack.frob.com>
46814         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
46815         Make 'mapoff' field ElfW(Off) rather than off_t.
46817 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
46819         * nscd/Makefile: Remove nscd-cflags and all its users.
46820         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
46821         (CFLAGS-nonlib): Add compiler flags for nscd modules.
46823         [BZ #10631]
46824         * malloc.c (malloc_printerr): Clarify error message.
46826 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
46828         [BZ #14648]
46829         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46830         Set bit_FMA_Usable if FMA is supported.
46831         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
46832         macro.
46833         (bit_FMA4_Usable): Updated.
46834         (index_FMA_Usable): New macro.
46835         (CPUID_FMA): Likewise
46836         (HAS_FMA): Defined with bit_FMA_Usable.
46838 2012-10-01  Roland McGrath  <roland@hack.frob.com>
46840         * bits/types.h (__swblk_t): Type removed.
46841         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
46842         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
46843         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
46844         (__SWBLK_T_TYPE): Likewise.
46845         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
46846         (__SWBLK_T_TYPE): Likewise.
46847         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46848         (__SWBLK_T_TYPE): Likewise.
46849         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
46850         (__SWBLK_T_TYPE): Likewise.
46852 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
46853             Honza Horak <hhorak@redhat.com>
46855         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
46856         (xdr_mapname): Use YPMAXMAP as maxsize.
46857         (xdr_peername): Use YPMAXPEER as maxsize.
46858         (xdr_keydat): Use YPAXRECORD as maxsize.
46859         (xdr_valdat): Use YPMAXRECORD as maxsize.
46861 2012-10-01  Roland McGrath  <roland@hack.frob.com>
46863         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
46865         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
46866         * csu/init-first.c: ... here.
46867         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
46868         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
46869         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
46870         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
46871         * sysdeps/i386/init-first.c: File removed.
46872         * sysdeps/sh/init-first.c: File removed.
46874 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
46876         [BZ #14645]
46877         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
46878         if x * y might underflow to zero and z is zero.
46879         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
46880         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
46881         * math/libm-test.inc (min_subnorm_value): New variable.
46882         (fma_test): Add more tests.
46883         (fma_test_towardzero): Likewise.
46884         (fma_test_downward): Likewise
46885         (fma_test_upward): Likewise.
46886         (initialize): Set min_subnorm_value.
46888 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
46890         [BZ #14638]
46891         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
46892         0 + 0.
46893         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
46894         mode for addition resulting in exact zero.
46895         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
46896         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
46897         exact 0 + 0.
46898         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
46899         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
46900         * math/libm-test.inc (fma_test): Add more tests.
46901         (fma_test_towardzero): New function.
46902         (fma_test_downward): Likewise.
46903         (fma_test_upward): Likewise.
46904         (main): Call the new functions.
46906 2012-09-28  David S. Miller  <davem@davemloft.net>
46908         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
46910 2012-09-28  Roland McGrath  <roland@hack.frob.com>
46912         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
46913         instead of SIGALRM.
46915         * sysdeps/gnu/_G_config.h: Moved to ...
46916         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
46917         * sysdeps/mach/hurd/_G_config.h: Moved to ...
46918         * sysdeps/generic/_G_config.h: ... here.
46920         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
46922         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
46924         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
46925         Conditionalize target on [libnss_test1.so-version].
46927         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
46929         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
46930         (elfobjdir): Move out of conditionals.
46932         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
46933         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
46934         (__nss_lookup_function): Conditionalize label remove_from_tree on
46935         [!DO_STATIC_NSS || SHARED], matching its only use.
46937 2012-09-28  David S. Miller  <davem@davemloft.net>
46939         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
46940         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
46941         file.
46942         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
46943         sysdep_routines.
46944         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
46945         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
46946         when HWCAP_SPARC_CRYPTO is present.
46948 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
46950         * io/tst-mknodat.c: Create a FIFO instead of a socket.
46952 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
46954         [BZ #6530]
46955         * stdio-common/vfprintf.c (process_string_arg): Revert
46956         2000-07-22 change.
46958 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
46960         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
46961         for testcase.
46962         * stdio-common/tst-sprintf.c: Include <locale.h>
46963         (main): Test sprintf's handling of incomplete multibyte
46964         characters.
46966 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
46968         * elf/dl-runtime.c (VERSYMIDX): Removed.
46969         * elf/dl-version.c (VERSYMIDX): Likewise.
46970         * elf/do-rel.h (VERSYMIDX): Likewise.
46971         (VALIDX): Likewise.
46972         * elf/dynamic-link.h (VERSYMIDX): Likewise.
46973         * elf/rtld.c (VALIDX): Likewise.
46974         (ADDRIDX): Likewise.
46975         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
46976         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
46977         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
46978         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
46979         (VALIDX): Likewise.
46980         (ADDRIDX): Likewise.
46982 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
46984         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
46986 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
46988         [BZ #11438]
46989         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
46990         to global scope.
46991         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
46992         addresses are in the same scope as 192.0.2/24.
46993         * posix/gai.conf: Document new scope table defaults.
46995 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
46997         [BZ #5298]
46998         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
46999         for ftell.  Compute offsets from write pointers instead.
47000         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
47002 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
47004         [BZ #14543]
47005         * libio/Makefile (tests): New test case tst-fseek.
47006         * libio/tst-fseek.c: New test case to verify that fseek/ftell
47007         combination works in wide mode.
47008         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
47009         state when the external buffer state changes.
47011 2012-09-27  David S. Miller  <davem@davemloft.net>
47013         [BZ #14376]
47014         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
47015         pass reloc->r_addend in as the 'high' argument to
47016         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
47018         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47020 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
47022         * rt/tst-aio2.c: Include <pthread.h>.
47023         * rt/tst-aio3.c: Likewise.
47025 2012-09-27  Steve Ellcey  <sellcey@mips.com>
47027         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
47029 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
47031         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
47032         contents on [SHARED].
47034 2012-09-26  Marek Polacek  <polacek@redhat.com>
47036         [BZ #14530]
47037         [BZ #13741]
47038         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
47039         for C++ and GCC <4.3 as well as for non GCC compilers.
47041 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
47043         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47045 2012-09-25  Roland McGrath  <roland@hack.frob.com>
47047         * Makefile.in (all, install): Declare with .PHONY.
47048         Reported by Michael Hope <michael.hope@linaro.org>.
47050 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
47052         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
47053         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
47054         system header.
47055         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
47056         Likewise.
47057         (sydep_routines): Add the new and the internal functions.
47058         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
47059         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
47060         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
47061         (GLIBC_2.17): Add the new function.
47062         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
47063         (GLIBC_2.17): Likewise.
47064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
47065         (GLIBC_2.17): Likewise.
47066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
47067         (GLIBC_2.17): Likewise.
47068         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
47070 2012-09-25  Alan Modra  <amodra@gmail.com>
47072         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
47073         Add release barrier before setting once_control to say
47074         initialisation is done.  Add hints on lwarx.  Use macro in
47075         place of isync.
47076         (clear_once_control): Add release barrier.
47078 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
47080         [BZ #13629]
47081         * math/s_clog.c (__clog): Handle more values close to |z| = 1
47082         specially.
47083         * math/s_clog10.c (__clog10): Likewise.
47084         * math/s_clog10f.c (__clog10f): Likewise.
47085         * math/s_clog10l.c (__clog10l): Likewise.
47086         * math/s_clogf.c (__clogf): Likewise.
47087         * math/s_clogl.c (__clogl): Likewise.
47088         * math/Makefile (libm-calls): Add x2y2m1.
47089         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
47090         (__x2y2m1): Likewise.
47091         (__x2y2m1l): Likewise.
47092         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
47093         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
47094         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
47095         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
47096         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
47097         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
47098         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
47099         * sysdeps/i386/fpu/libm-test-ulps: Update.
47100         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47102         [BZ #14621]
47103         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
47104         int as type of variable DEPTH.
47105         (glob): Use size_t instead of int as type of variables NEWCOUNT
47106         and OLD_PATHC.
47108 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47110         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
47111         Add s_sincosf-sse2.
47112         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
47113         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
47114         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
47115         macros for using routine as __sincosf_ia32.
47116         Use macro for function declaration and weak_alias.
47117         * sysdeps/i386/fpu/libm-test-ulps: Update.
47119         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
47120         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47122         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
47123         subnormal argument.
47124         * math/s_cexpf.c (__cexpf): Likewise.
47125         * math/s_csinf.c (__csinf): Likewise.
47126         * math/s_csinhf.c (__csinhf): Likewise.
47127         * math/s_ctanf.c (__ctanf): Likewise.
47128         * math/s_ctanhf.c (__ctanhf): Likewise.
47129         * math/s_ccosh.c (__ccoshf): Likewise.
47130         * math/s_cexp.c (__cexpl): Likewise.
47131         * math/s_csin.c (__csin): Likewise.
47132         * math/s_csinh.c (__csinh): Likewise.
47133         * math/s_ctan.c (__ctan): Likewise.
47134         * math/s_ctanh.c (ctanh): Likewise.
47135         * math/s_ccoshl.c (__ccoshl): Likewise.
47136         * math/s_cexpl.c (__cexpl): Likewise.
47137         * math/s_csinl.c (__csinl): Likewise.
47138         * math/s_csinhl.c (__csinhl): Likewise.
47139         * math/s_ctanl.c (__ctanl): Likewise.
47140         * math/s_ctanhl.c (__ctanhl): Likewise.
47142 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
47144         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
47145         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
47146         (_IO_off_t): Define to __off_t, not _G_off_t.
47147         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
47148         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
47149         (_IO_wint_t): Define to wint_t, not _G_wint_t.
47150         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
47151         type of __dummy and __dummy2 fields.
47152         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
47153         (_G_ssize_t): Likewise.
47154         (_G_off_t): Likewise.
47155         (_G_pid_t): Likewise.
47156         (_G_uid_t): Likewise.
47157         (_G_wchar_t): Likewise.
47158         (_G_wint_t): Likewise.
47159         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
47160         (_G_ssize_t): Likewise.
47161         (_G_off_t): Likewise.
47162         (_G_pid_t): Likewise.
47163         (_G_uid_t): Likewise.
47164         (_G_wchar_t): Likewise.
47165         (_G_wint_t): Likewise.
47166         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
47167         (_G_ssize_t): Likewise.
47168         (_G_off_t): Likewise.
47169         (_G_pid_t): Likewise.
47170         (_G_uid_t): Likewise.
47171         (_G_wchar_t): Likewise.
47172         (_G_wint_t): Likewise.
47174 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
47176         * malloc/arena.c: Include malloc-sysdep.h.
47177         (shrink_heap): Use check_may_shrink_heap to decide if madvise
47178         is sufficient to shrink the heap or an unmap is needed.
47179         * sysdeps/generic/malloc-sysdep.h: New file.  Define
47180         new function check_may_shrink_heap.
47181         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
47182         new function check_may_shrink_heap.
47184 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
47186         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
47187         comments.
47189 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
47191         * catgets/test-gencat.sh: Add "set -e".
47192         * elf/tst-pathopt.sh: Likewise.
47193         * grp/tst_fgetgrent.sh: Likewise.
47194         * iconvdata/run-iconv-test.sh: Likewise.
47195         * intl/tst-gettext.sh: Likewise.
47196         * intl/tst-gettext2.sh: Likewise.
47197         * intl/tst-gettext4.sh: Likewise.
47198         * intl/tst-gettext6.sh: Likewise.
47199         * intl/tst-translit.sh: Likewise.
47200         * io/ftwtest-sh: Likewise.
47201         * libio/test-freopen.sh: Likewise.
47202         * malloc/tst-mtrace.sh: Likewise.
47203         * posix/globtest.sh: Likewise.
47204         * posix/tst-getconf.sh: Likewise.
47205         * posix/wordexp-tst.sh: Likewise.
47206         * stdio-common/tst-printf.sh: Likewise.
47207         * stdio-common/tst-unbputc.sh: Likewise.
47208         * stdlib/tst-fmtmsg.sh: Likewise.
47209         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
47210         * catgets/Makefile: Do not specify -e option when running
47211         testsuite shell scripts.
47212         * elf/Makefile: Likewise.
47213         * grp/Makefile: Likewise.
47214         * iconvdata/Makefile: Likewise.
47215         * intl/Makefile: Likewise.
47216         * io/Makefile: Likewise.
47217         * libio/Makefile: Likewise.
47218         * malloc/Makefile: Likewise.
47219         * posix/Makefile: Likewise.
47220         * stdio-common/Makefile: Likewise.
47221         * stdlib/Makefile: Likewise.
47222         * sysdeps/x86_64/Makefile: Likewise.
47224         * io/ftwtest-sh: Add copyright header.
47225         * posix/globtest.sh: Likewise.
47226         * posix/tst-getconf.sh: Likewise.
47227         * posix/wordexp-tst.sh: Likewise.
47228         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
47230 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
47232         [BZ #13679]
47233         * Makeconfig (+link): Defined as $(+link-static) if
47234         $(build-shared) isn't yes.
47235         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
47236         isn't yes.
47237         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
47239         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
47241         [BZ #14562]
47242         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
47243         new chunk size with MALLOC_ALIGN_MASK.
47245 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
47247         [BZ #5044]
47248         * stdio-common/printf_fphex.c: Include <stdbool.h> and
47249         <rounding-mode.h>.
47250         (__printf_fphex): Determine rounding using get_rounding_mode and
47251         round_away.
47252         * stdio-common/tst-printf-round.c (struct hex_test): New
47253         structure.
47254         (hex_tests): New variable.
47255         (test_hex_in_one_mode): New function.
47256         (do_test): Also run tests for hex float output.
47258 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
47260         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
47261         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
47262         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
47263         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
47264         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
47265         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
47266         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
47267         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
47269 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
47271         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
47272         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
47273         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
47274         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
47276 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
47278         [BZ #14579]
47279         * elf/rtld.c (dl_main): Limit the check for self loading to normal
47280         mode only.
47281         * elf/tst-rtld-load-self.sh: New test.
47282         * elf/Makefile: Run it.
47284 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
47286         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
47287         (tst-writev-ENV): Remove.
47288         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
47290 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
47292         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
47294 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
47296         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
47297         unconditional.
47298         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
47299         Likewise.
47300         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
47301         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
47302         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
47303         Likewise.
47305 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
47307         [BZ #14587]
47308         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
47309         * config.make.in (have-cpp-asm-debuginfo): Removed.
47310         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
47311         * configure: Regenerated.
47313 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
47315         [BZ #5044]
47316         * stdio-common/printf_fp.c: Include <stdbool.h> and
47317         <rounding-mode.h>.
47318         (___printf_fp): Determine rounding using get_rounding_mode and
47319         round_away.
47320         * stdio-common/tst-printf-round.c: New file.
47321         * stdio-common/Makefile (tests): Add tst-printf-round.
47322         (link-libm): New variable.
47323         ($(objpfx)tst-printf-round): Depend in $(link-libm).
47325 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
47327         [BZ #14576]
47328         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
47329         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
47330         Likewise.
47331         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
47332         Likewise.
47334 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
47336         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
47337         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
47338         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
47339         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
47341 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
47343         [BZ #14518]
47344         * include/rounding-mode.h: New file.
47345         * sysdeps/generic/get-rounding-mode.h: Likewise.
47346         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
47347         * stdlib/strtod_l.c: Include <rounding-mode.h>.
47348         (MAX_VALUE): New macro.
47349         (MIN_VALUE): Likewise.
47350         (overflow_value): New function.
47351         (underflow_value): Likewise.
47352         (round_and_return): Use overflow_value and underflow_value to
47353         determine return values in overflow and underflow cases.  Use
47354         round_away to determine rounding depending on rounding mode.
47355         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
47356         determine return values in overflow and underflow cases.
47357         * stdlib/tst-strtod-round.c: Include <fenv.h>.
47358         (struct test_results): New structure.
47359         (struct test): Use struct test_results to store expected results
47360         for all rounding modes.
47361         (TEST): Include expected results for all rounding modes.
47362         (test_in_one_mode): New function.
47363         (do_test): Use test_in_one_mode to compute and check results.
47364         Check results for all rounding modes.
47365         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
47366         $(link-libm).
47368 2012-12-09  Allan McRae  <allan@archlinux.org>
47370         * sysdeps/i386/fpu/libm-test-ulps: Update
47372 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
47374         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
47375         (_G_int32_t): Likewise.
47376         (_G_uint16_t): Likewise.
47377         (_G_uint32_t): Likewise.
47378         (_G_HAVE_BOOL): Likewise.
47379         (_G_HAVE_ATEXIT): Likewise.
47380         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
47381         (_G_HAVE_IO_FILE_OPEN): Likewise.
47382         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
47383         (_G_int32_t): Likewise.
47384         (_G_uint16_t): Likewise.
47385         (_G_uint32_t): Likewise.
47386         (_G_HAVE_BOOL): Likewise.
47387         (_G_HAVE_ATEXIT): Likewise.
47388         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
47389         (_G_HAVE_IO_FILE_OPEN): Likewise.
47390         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
47391         (_G_int32_t): Likewise.
47392         (_G_uint16_t): Likewise.
47393         (_G_uint32_t): Likewise.
47394         (_G_HAVE_BOOL): Likewise.
47395         (_G_HAVE_ATEXIT): Likewise.
47396         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
47397         (_G_HAVE_IO_FILE_OPEN): Likewise.
47399 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
47401         * csu/libc-tls.c: Update copyright years.
47403 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
47405         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
47406         [!_G_USING_THUNKS]: Remove conditional code.
47407         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
47408         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
47410         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
47411         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
47412         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
47413         (_G_VTABLE_LABEL_PREFIX): Likewise.
47414         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
47415         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
47416         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
47417         (_G_VTABLE_LABEL_PREFIX): Likewise.
47418         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
47419         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
47420         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
47421         (_G_VTABLE_LABEL_PREFIX): Likewise.
47422         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
47424 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
47426         * libio/Makefile: Include ../Makeconfig before tests.
47427         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
47428         only if $(build-shared) is yes.
47430         * iconv/gconv_db.c: Update copyright years.
47432 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47434         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
47435         unwind info if defined PIC. Fix special cases description.
47436         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
47438         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
47439         DP_HI_MASK entry.
47440         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
47442 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
47444         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
47446         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
47447         is NULL.
47449         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
47450         (LDLIBS-tst-chk4): This.
47451         (LDFLAGS-tst-chk5): Renamed to ...
47452         (LDLIBS-tst-chk5): This.
47453         (LDFLAGS-tst-chk6): Renamed to ...
47454         (LDLIBS-tst-chk6): This.
47455         (LDFLAGS-tst-lfschk4): Renamed to ...
47456         (LDLIBS-tst-lfschk4): This.
47457         (LDFLAGS-tst-lfschk5): Renamed to ...
47458         (LDLIBS-tst-lfschk5): This.
47459         (LDFLAGS-tst-lfschk6): Renamed to ...
47460         (LDLIBS-tst-lfschk6): This.
47462         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
47463         on $(common-objpfx)soversions.mk.
47465 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
47467         [BZ #10014]
47468         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
47469         example host name.
47471 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
47473         * malloc/arena.c (arena_get_retry): New function that gets
47474         another arena for the caller to try its request on.
47475         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
47476         current arena cannot fulfill the request.
47477         (__libc_memalign): Likewise.
47478         (__libc_memalign): Likewise.
47479         (__libc_pvalloc): Likewise.
47480         (__libc_calloc): Likewise.
47482 2012-09-05  John Tobey  <john.tobey@gmail.com>
47484         [BZ #13542]
47485         * manual/arith.texi (Operations on Complex): Fix description
47486         of carg branch cut.
47488 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
47490         [BZ #10014]
47491         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
47492         host name.
47494         [BZ #10038]
47495         * manual/memory.texi (Memory): Make order of menu items match
47496         order of sections.
47498 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
47500         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
47501         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
47502         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
47504 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
47506         * csu/libc-tls.c (static_dtv): Renamed to ...
47507         (_dl_static_dtv): This.  Make it global.
47508         (_dl_initial_dtv): Removed.
47509         (__libc_setup_tls): Updated.
47510         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
47511         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
47512         DL_INITIAL_DTV.
47514 2012-09-06  Petr Machata  <pmachata@redhat.com>
47516         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
47517         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
47518         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
47519         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
47521 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
47523         [BZ #14545]
47524         * csu/libc-tls.c (_dl_initial_dtv): New variable.
47525         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
47526         freeing dtv[-1].
47528 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
47530         [BZ #14544]
47531         * Makeconfig (link-static-before-libc): Replace $(+prector)
47532         with $(+prectorT).
47533         (link-static-after-libc): Replace $(+postctor) with
47534         $(+postctorT).
47535         (link-bounded): Replace $(+prector)/$(+postctor) with
47536         $(+prectorT)/$(+postctorT).
47537         (+prectorT): New macro.
47538         (+postctorT): Likewise.
47540 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
47542         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
47543         (round_str): Handle values above the maximum for IBM long double
47544         as inexact.
47545         * stdlib/tst-strtod-round.c (tests): Regenerated.
47547 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47549         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
47550         assembler flag.
47551         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
47552         zarch_nohighgprs around the zarch optimized routines.
47553         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
47554         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
47555         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
47556         for zarch.
47558 2012-09-05  David S. Miller  <davem@davemloft.net>
47560         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47562         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
47563         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
47564         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
47565         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
47566         entries.
47568 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
47570         * malloc/arena.c: Fold copyright years.
47571         * malloc/mcheck.c, malloc/memusage.c: Likewise.
47573 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
47575         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
47577 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
47579         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
47581 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
47583         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
47584         change internal state upon failure.
47586 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
47588         * malloc/mcheck.c (mcheck_check_all): Fix typo.
47589         * malloc/memusage.c (mmap): Likewise.
47590         (mmap64, mremap): Likewise.  Adjust name in comment.
47592 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
47594         * libio/fileops.c: Fix typos in comments.
47595         * libio/oldfileops.c: Likewise.
47596         * libio/wfileops.c: Likewise.
47598 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
47600         [BZ #1349]
47601         * malloc/Makefile (tests): Add tst-malloc-usable test case.
47602         (tst-malloc-usable-ENV): Set environment for test case.
47603         * malloc/hooks.c (malloc_check_get_size): New function to get
47604         requested size.
47605         * malloc/malloc.c (musable): Use malloc_check_get_size.
47606         * malloc/tst-malloc-usable.c: New test case.
47608 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
47610         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
47612 2012-09-05  Allan McRae  <allan@archlinux.org>
47614         [BZ #13966]
47615         * configure.in (CXX_SYSINCLUDES): Use compiler output to
47616         determine header location.
47617         * configure: Regenerated.
47619 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
47621         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
47622         float format.
47623         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
47624         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
47625         format.
47626         (test): Regenerate.
47628 2012-09-04  David S. Miller  <davem@davemloft.net>
47630         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
47631         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
47632         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
47634 2012-09-04  Florian Weimer  <fweimer@redhat.com>
47636         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
47637         failures.
47639         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
47641 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
47643         [BZ #9914]
47644         * libio/iogetdelim.c: Include <limits.h>.
47645         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
47646         + len + 1 would overflow.
47648 2012-09-03  Andreas Jaeger  <aj@suse.de>
47650         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47651         * sysdeps/i386/fpu/libm-test-ulps: Update.
47653 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47655         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
47656         Add s_sinf-sse2, s_conf-sse2.
47658         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
47659         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
47660         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
47661         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
47663         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
47664         for using routine as __sinf_ia32.
47665         Use macro for function declaration and weak_alias.
47666         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
47667         for using routine as __cosf_ia32.
47668         Use macro for function declaration and weak_alias.
47670         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
47671         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
47673         * sysdeps/x86_64/fpu/s_sinf.S: New file.
47674         * sysdeps/x86_64/fpu/s_cosf.S: New file.
47675         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47677         * math/libm-test.inc (cos_test): Add more test cases.
47678         (sin_test): Likewise.
47679         (sincos_test): Likewise.
47681 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47683         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
47684         (IFUNC_RESOLVE): Make pointers to the specialized implementations
47685         hidden.
47686         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
47688 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
47690         [BZ #14538]
47691         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
47692         first element of the GOT.
47693         (elf_machine_load_address): Return the difference between
47694         the runtime address of _DYNAMIC and elf_machine_dynamic ().
47696 2012-09-01  Allan McRae  <allan@archlinux.org>
47698         [BZ #13412]
47699         * configure.in (AWK): Require gawk version 3.0 or later.
47700         * configure: Regenerated.
47702 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
47704         * sysdeps/unix/sysv/linux/kernel-features.h
47705         (__ASSUME_POSIX_CPU_TIMERS): Remove.
47706         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
47707         [__NR_clock_getres]: Make code unconditional.
47708         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
47709         (clock_getcpuclockid): Remove code left unreachable by removal of
47710         conditionals.
47711         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
47712         code unconditional.
47713         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
47714         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
47715         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
47716         Make code unconditional.
47717         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
47718         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
47719         * sysdeps/unix/sysv/linux/clock_settime.c
47720         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
47721         conditional code.
47722         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
47723         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
47725 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
47727         [BZ #14476]
47728         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
47729         scripts/test-installation.pl.
47731         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
47732         and $ld_so_version if it is set.
47734 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
47736         [BZ #14516]
47737         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
47738         failure if reading from procfs failed.
47739         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
47741 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
47743         * sysdeps/unix/sysv/linux/kernel-features.h
47744         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
47745         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
47746         Remove conditional code.
47747         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
47748         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
47749         Remove conditional code.
47750         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
47751         * sysdeps/unix/sysv/linux/i386/fxstat.c
47752         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
47753         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
47754         * sysdeps/unix/sysv/linux/i386/fxstatat.c
47755         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
47756         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
47757         * sysdeps/unix/sysv/linux/i386/lxstat.c
47758         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
47759         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
47760         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
47761         Remove conditional code.
47762         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
47763         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
47764         Remove conditional code.
47765         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
47766         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
47767         <kernel-features.h>.
47768         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
47769         Remove.
47770         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
47771         Remove conditional code.
47772         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
47773         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
47774         Remove conditional.
47776 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
47778         [BZ #5400]
47779         * NEWS: Add fixed bug number.
47781 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
47783         [BZ #14519]
47784         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
47785         underflowing exponent in case of negative sign.
47786         * stdlib/tst-strtod-round-data: Add more tests.
47787         * stdlib/tst-strtod-round.c (tests): Regenerated.
47789         [BZ #3479]
47790         * stdlib/strtod_l.c (NDIG): Remove.
47791         (HEXNDIG): Likewise.
47792         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
47793         smallest representable value.
47794         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
47795         lie within an exact representation of 1/2 ulp of the result.
47796         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
47797         unconditionally.
47798         (TENS_P9_IDX): Define unconditionally.
47799         (TENS_P9_SIZE): Likewise.
47800         (TENS_P10_IDX): Likewise.
47801         (TENS_P10_SIZE): Likewise.
47802         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
47803         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
47804         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
47805         entries for 10^2^13 and 10^2^14.
47806         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
47807         (TENS_P13_IDX): Define.
47808         (TENS_P13_SIZE): Likewise.
47809         (TENS_P14_IDX): Likewise.
47810         (TENS_P14_SIZE): Likewise.
47811         (_fpioconst_pow10): Change array size to
47812         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
47813         unconditional.
47814         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
47815         1024]: Add entries for 10^2^13 and 10^2^14.
47816         [LAST_POW10 > _LAST_POW10]: Remove #error.
47817         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
47818         (_fpioconst_pow10): Change array size to
47819         FPIOCONST_POW10_ARRAY_SIZE.
47820         * stdlib/gen-fpioconst.c: New file.
47821         * stdlib/gen-tst-strtod-round.c: Likewise.
47822         * stdlib/tst-strtod-round-data: Likewise.
47823         * stdlib/tst-strtod-round.c: Likewise.
47824         * stdlib/Makefile (tests): Add tst-strtod-round.
47826         [BZ #14459]
47827         * stdlib/strtod_l.c: Include <stdint.h>.
47828         (NDEBUG): Do not define.
47829         (round_and_return): Change EXPONENT parameter to type intmax_t.
47830         Rearrange calculations to avoid internal overflow possibilities.
47831         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
47832         Rearrange calculations to avoid internal overflow possibilities.
47833         Assert that number fits inside MPNSIZE limbs.
47834         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
47835         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
47836         calculations and add assertions to avoid internal overflow
47837         possibilities.  Add casts to avoid signed/unsigned operations.
47838         * stdlib/tst-strtod-overflow.c: New file.
47839         * stdlib/Makefile (tests): Add tst-strtod-overflow.
47841 2012-08-25  Marek Polacek  <polacek@redhat.com>
47843         * time/time.h: Fix some typos in comments.
47845 2012-08-23  Roland McGrath  <roland@hack.frob.com>
47847         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
47848         * posix/tst-rfc3484-2.c: Likewise.
47849         * posix/tst-rfc3484-3.c: Likewise.
47851 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
47853         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
47854         (EF_ARM_ABI_FLOAT_HARD): Likewise.
47856 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
47858         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
47859         #include of fxstatat64.c.
47861 2012-08-22  Roland McGrath  <roland@hack.frob.com>
47863         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
47864         * shadow/getspent_r.c: Likewise.
47865         * shadow/getspnam.c: Likewise.
47866         * shadow/getspnam_r.c: Likewise.
47867         * gshadow/getsgent.c: Likewise.
47868         * gshadow/getsgent_r.c: Likewise.
47869         * gshadow/getsgnam.c: Likewise.
47870         * gshadow/getsgnam_r.c: Likewise.
47871         * inet/getnetbyad.c: Likewise.
47872         * inet/getnetbyad_r.c: Likewise.
47873         * inet/getnetbynm.c: Likewise.
47874         * inet/getnetbynm_r.c: Likewise.
47875         * inet/getnetent.c: Likewise.
47876         * inet/getnetent_r.c: Likewise.
47877         * inet/getproto.c: Likewise.
47878         * inet/getproto_r.c: Likewise.
47879         * inet/getprtent.c: Likewise.
47880         * inet/getprtent_r.c: Likewise.
47881         * inet/getprtname.c: Likewise.
47882         * inet/getprtname_r.c: Likewise.
47883         * inet/getrpcbyname.c: Likewise.
47884         * inet/getrpcbyname_r.c: Likewise.
47885         * inet/getrpcbynumber.c: Likewise.
47886         * inet/getrpcbynumber_r.c: Likewise.
47887         * inet/getrpcent.c: Likewise.
47888         * inet/getrpcent_r.c: Likewise.
47889         * inet/getaliasent.c: Likewise.
47890         * inet/getaliasent_r.c: Likewise.
47891         * inet/getaliasname.c: Likewise.
47892         * inet/getaliasname_r.c: Likewise.
47893         * nscd/getgrgid_r.c: Likewise.
47894         * nscd/getgrnam_r.c: Likewise.
47895         * nscd/gethstbyad_r.c: Likewise.
47896         * nscd/gethstbynm3_r.c: Likewise.
47897         * nscd/getpwnam_r.c: Likewise.
47898         * nscd/getpwuid_r.c: Likewise.
47899         * nscd/getsrvbynm_r.c: Likewise.
47900         * nscd/getsrvbypt_r.c: Likewise.
47901         * nscd/gai.c: Likewise.
47903         * configure.in (build_nscd): New substituted variable, set
47904         by --disable-build-nscd and defaults to $use_nscd.
47905         * configure: Regenerated.
47906         * config.make.in (build-nscd): New substituted variable.
47907         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
47908         Change conditional to require [$(build-nscd) = yes] as well.
47909         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
47911         [BZ# 13696]
47912         * configure.in (use_nscd): New substituted variable, set by
47913         --disable-nscd.  If enabled, define USE_NSCD.
47914         * configure: Regenerated.
47915         * config.h.in: Add USE_NSCD.
47916         * config.make.in (use-nscd): New substituted variable.
47917         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
47918         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
47919         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
47920         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
47921         (CFLAGS-getgrnam_r.c): Likewise.
47922         (CFLAGS-initgroups.c): Likewise.
47923         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
47924         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
47925         Variables removed.
47926         * inet/getnetgrent_r.c
47927         (nscd_setnetgrent): New function, broken out of ...
47928         (setnetgrent): ... here.  Call it.
47929         (innetgr): Conditionalize nscd bits on [USE_NSCD].
47930         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
47931         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
47932         * nscd/Makefile (routines, aux): Move definitions after include of
47933         Makeconfig.  Conditionalize on [$(use-nscd) != no].
47934         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
47935         Conditionalize on [USE_NSCD].
47936         (is_nscd, nscd_init_cb): Likewise.
47937         (nss_load_library): Conditionalize init callback on [USE_NSCD].
47938         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
47939         * nss/nss_db/db-init.c: Likewise.
47940         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
47941         [USE_NSCD].
47942         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
47943         (make_request): Use it.
47944         (cache_valid_p): New function.
47945         (__check_pf): Use it.
47946         * NEWS: Add item for --disable-nscd.
47948 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
47950         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
47951         to support sed >= 4.2.1-20-ga9bf076.
47952         * configure: Regenerated.
47954 2012-08-22  Roland McGrath  <roland@hack.frob.com>
47956         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
47957         Conditionalize whole body on [IREL].
47959 2012-08-22  Jeff Law <law@redhat.com>
47961         [BZ #14505]
47962         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
47963         if the family is PF_UNSPEC.
47965 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
47967         * Makerules (lib-version): Rename from V.
47968         (install-lib-nosubdir): Change V to lib-version.
47970 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
47972         [BZ #14252]
47973         * powerpc32/power6/wcschr.c: New file.
47974         * powerpc32/power6/wcscpy.c: New file.
47975         * powerpc32/power6/wcsrchr.c: New file.
47976         * powerpc64/power6/wcschr.c: New file.
47977         * powerpc64/power6/wcscpy.c: New file.
47978         * powerpc64/power6/wcsrchr.c: New file.
47980 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
47982         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
47983         (two_way_short_needle): Use it.
47984         * string/strstr.c (AVAILABLE1_USES_J): Define.
47985         * string/strcasestr.c: Likewise.
47987         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
47988         array references.
47989         * string/strcasestr.c (TOLOWER): Make side-effect safe.
47991         [BZ #11607]
47992         * NEWS: Add an entry.
47993         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
47994         define their defaults.
47995         (two_way_short_needle): Detect end-of-string on-the-fly.
47996         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
47997         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
47998         * string/bug-strcasestr1.c: New test.
47999         * string/Makefile: Run it.
48001 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
48003         [BZ #11607]
48004         * string/str-two-way.h (two_way_short_needle): Optimize matching of
48005         the first character.
48007 2012-08-21  Roland McGrath  <roland@hack.frob.com>
48009         * csu/elf-init.c (__libc_csu_irel): Function removed.
48010         * csu/libc-start.c (apply_irel): New function.
48011         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
48013 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
48015         * sysdeps/unix/sysv/linux/kernel-features.h
48016         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
48017         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
48018         <kernel-features.h>.
48019         [__NR_fadvise64_64]: Make code unconditional.
48020         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
48021         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
48022         !__NR_fadvise64_64)]: Likewise.
48023         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
48024         !__NR_fadvise64_64))]: Likewise.
48025         [__NR_fadvise64]: Make code unconditional.
48026         [!__NR_fadvise64]: Remove conditional code.
48027         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
48028         <kernel-features.h>.
48029         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
48030         unconditional.
48031         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
48032         conditional code.
48033         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
48034         not include <kernel-features.h>.
48035         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
48036         unconditional.
48037         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
48038         conditional code.
48039         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
48040         include <kernel-features.h>.
48041         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
48042         unconditional.
48043         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
48044         conditional code.
48046 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
48048         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
48049         slight instruction rearrangements per scrollpipe analysis.
48050         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
48052 2012-08-20  Roland McGrath  <roland@hack.frob.com>
48054         * manual/syslog.texi (syslog; vsyslog, closelog):
48055         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
48056         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
48058         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
48059         DSOCAPS to match condition on defining it.
48061 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
48063         * sysdeps/unix/sysv/linux/kernel-features.h
48064         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
48065         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
48066         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
48067         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
48068         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
48069         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
48070         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
48071         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
48072         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
48073         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
48075         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
48076         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
48078         * sysdeps/unix/sysv/linux/kernel-features.h
48079         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
48080         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
48081         unconditional.
48082         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
48083         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
48084         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
48085         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
48086         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
48087         Make code unconditional.
48088         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
48089         (__mmap64) [!__NR_mmap2]: Likewise.
48090         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
48091         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
48092         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
48093         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
48094         [__NR_mmap2]: Make code unconditional.
48095         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
48096         (__mmap64) [!__NR_mmap2]: Likewise.
48098 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48100         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
48102 2012-08-18  Andreas Jaeger  <aj@suse.de>
48104         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
48106 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
48108         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
48109         * include/unistd.h (__have_sock_cloexec): Likewise.
48110         (__have_pipe2): Likewise.
48111         (__have_dup3): Likewise.
48113 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
48115         [BZ #9685]
48116         * include/unistd.h (__have_pipe2): Change define into an extern int.
48117         (__have_dup3): Likewise.
48118         * socket/have_sock_cloexec.c: Include fcntl.h.
48119         (__have_pipe2): New variable.
48120         (__have_dup3): Likewise.
48122 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
48124         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
48126 2012-08-17  Marek Polacek  <polacek@redhat.com>
48128         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
48129         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
48131 2012-08-17  Roland McGrath  <roland@hack.frob.com>
48133         * configure.in: Add AC_SUBST for sysheaders.
48134         * configure: Regenerated.
48135         * config.make.in (sysheaders): New substituted variable.
48137         * sysdeps/unix/mkfifo.c: Moved ...
48138         * sysdeps/posix/mkfifo.c: ... here.
48139         * sysdeps/unix/mkfifoat.c: Moved ...
48140         * sysdeps/posix/mkfifoat.c: ... here.
48142         * sysdeps/unix/utime.c: Moved ...
48143         * sysdeps/posix/utime.c: ... here.
48145         * sysdeps/unix/time.c: Moved ...
48146         * sysdeps/posix/time.c: ... here.
48147         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
48148         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
48150         * sysdeps/unix/nice.c: Moved ...
48151         * sysdeps/posix/nice.c: ... here.
48153         * sysdeps/unix/alarm.c: Moved ...
48154         * sysdeps/posix/alarm.c: ... here.
48156         * intl/Makefile ($(codeset_mo)): Depend on the input file.
48158 2012-08-17  Jeff Law <law@redhat.com>
48160         * intl/Makefile (codeset_mo): New variable.
48161         ($(codeset_mo)): New target.
48162         (tst-codeset.out): Depend on that.  Remove explicit rule.
48163         (tst-gettext3.out, tst-gettext5.out): Likewise.
48164         (LOCPATH-ENV, tst-codeset-ENV): New variables.
48165         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
48166         * intl/tst-codeset.sh: Remove.
48167         * intl/tst-gettext3.sh: Likewise.
48168         * intl/tst-gettext5.sh: Likewise.
48170 2012-08-17  Roland McGrath  <roland@hack.frob.com>
48172         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
48173         * sysdeps/unix/syscalls.list: ... here.
48175         * sysdeps/posix/getaddrinfo.c
48176         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
48177         (gaiconf_init, gaiconf_reload): Use them.
48178         [!_STATBUF_ST_NSEC]
48179         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
48180         Define using time_t rather than struct timespec.
48182         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
48183         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
48184         Macros removed.
48185         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
48186         [!NO_THREADS].
48187         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
48188         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
48189         Likewise.
48191         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
48192         __libc_cleanup_push argument.
48194         * bits/param.h: New file.
48195         * misc/sys/param.h: New file.
48196         * include/sys/param.h: New file.
48197         * misc/Makefile (headers): Add bits/param.h.
48198         * sysdeps/generic/sys/param.h: File removed.
48199         * sysdeps/unix/sysv/linux/bits/param.h: New file.
48200         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
48201         * sysdeps/mach/hurd/bits/param.h: New file.
48202         * sysdeps/mach/hurd/sys/param.h: File removed.
48204         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
48205         last change.
48207         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
48208         [_IO_MTSAFE_IO].
48209         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
48210         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
48211         New macros.
48213         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
48214         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
48215         rather than -D_IO_MTSAFE_IO conditionally.
48216         * stdio-common/Makefile (CPPFLAGS): Likewise.
48217         * wcsmbs/Makefile (CPPFLAGS): Likewise.
48218         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
48219         Use $(libio-mtsafe).
48220         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
48221         of -D_IO_MTSAFE_IO.
48222         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
48223         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
48224         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
48225         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
48226         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
48227         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
48228         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
48229         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
48230         (CFLAGS-fread_u_chk.c): Likewise.
48231         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
48232         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
48233         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
48234         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
48235         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
48236         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
48237         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
48238         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
48239         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
48241         * libio/Makefile: Test [$(libc-reentrant) = yes]
48242         instead of [$(filter %REENTRANT, $(defines)) nonempty].
48244         * Makeconfig
48245         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
48246         * sysdeps/pthread/configure: File removed.
48247         * sysdeps/pthread/Makeconfig: New file.
48248         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
48249         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
48251 2012-08-16  Gary Benson  <gbenson@redhat.com>
48253         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
48254         unmapping the first object in a namespace.
48256 2012-08-16  Roland McGrath  <roland@hack.frob.com>
48258         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
48259         (__internal_setnetgrent): ... this.  Add internal_function to
48260         definition.  Add libc_hidden_def.
48261         (setnetgrent): Update caller.
48262         (internal_endnetgrent): Renamed to ...
48263         (__internal_endnetgrent): ... this.  Add internal_function to
48264         definition.  Add libc_hidden_def.
48265         (endnetgrent): Update caller.
48266         (internal_getnetgrent_r): Renamed to ...
48267         (__internal_getnetgrent_r): ... this.  Add internal_function to
48268         definition.  Add libc_hidden_def.
48269         (__getnetgrent_r): Update caller.
48270         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
48272 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
48274         * stdlib/longlong.h: Update from GCC.
48276 2012-08-16  Roland McGrath  <roland@hack.frob.com>
48278         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
48279         on _QL, which is set by umul_ppmm but never used.
48280         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
48281         variables, which are set by GMP macros but never used.
48282         * stdio-common/_itowa.c (_itowa): Likewise.
48283         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
48284         * stdlib/mod_1.c (mpn_mod_1): Likewise.
48286 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
48288         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
48289         struct La_sh_regs is not constant.
48290         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
48291         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
48292         and struct La_sparc64_regs are not constant.
48294 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
48296         * sysdeps/unix/sysv/linux/kernel-features.h
48297         (__ASSUME_POSIX_TIMERS): Remove.
48298         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
48299         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
48300         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
48301         Make code unconditional.
48302         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
48303         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
48304         Make code unconditional.
48305         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
48306         * sysdeps/unix/sysv/linux/clock_nanosleep.c
48307         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
48308         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
48309         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
48310         Make code unconditional.
48311         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
48312         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
48313         (__libc_missing_posix_timers): Remove.
48315 2012-08-15  Roland McGrath  <roland@hack.frob.com>
48317         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
48318         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
48320         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
48322         * elf/dl-sym.c: Include <stdlib.h>.
48324         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
48325         constants, which avoids warnings in 32-bit builds.
48327         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
48328         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
48330         * misc/lseek.c: File moved to ...
48331         * io/lseek.c: ... here.
48333         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
48335         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
48336         shifting LEN more than 31 bits at once.
48338 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48340         [BZ #14195]
48341         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
48342         segmentation fault for a case of two empty input strings.
48343         * string/test-strncasecmp.c (check1): Renamed to...
48344         (bz12205): ...this.
48345         (bz14195): Add new testcase for two empty input strings and N > 0.
48346         (test_main): Call new testcase, adapt for renamed function.
48348 2012-08-15  Andreas Jaeger  <aj@suse.de>
48350         [BZ #14090]
48351         * crypt/md5test2.c: New test, based on test supplied by Serge
48352         Belyshev <belyshev@depni.sinp.msu.ru>.
48353         * crypt/Makefile (xtests): Add md5test-giant..
48354         * crypt/Makefile ($(objpfx)md5test-giant): Add.
48356 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
48358         [BZ #14090]
48359         * crypt/md5.c (md5_process_block): Don't assume the buffer
48360         length is less than 2**32.
48361         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
48362         length is less than 2**64.
48364 2012-08-15  Roland McGrath  <roland@hack.frob.com>
48366         * string/str-two-way.h: Include <sys/param.h>.
48367         (MAX): Macro removed.
48369         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
48370         Move #define and #undef of memmove to just before and after
48371         including <string.h>.
48373         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
48374         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
48375         and after including <string.h>.  Move declarations of
48376         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
48377         to before #include "string/memmove.c".
48379         * include/dirent.h: Declare __getdirentries.
48381         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
48382         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
48384 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
48386         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
48387         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
48388         * sysdeps/i386/configure: Regenerated.
48389         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
48390         STABS_CURRENT_FILE, and STABS_FUN.
48391         (END): Remove call to STABS_FUN_END.
48392         (STABS_CURRENT_FILE1): Delete.
48393         (STABS_CURRENT_FILE): Likewise.
48394         (STABS_FUN): Likewise.
48395         (STABS_FUN_END): Likewise.
48396         (STABS_FUN2): Likewise.
48397         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
48398         * sysdeps/x86_64/configure: Regenerated.
48400 2012-08-14  Roland McGrath  <roland@hack.frob.com>
48402         * elf/dl-open.c: Include <atomic.h>.
48403         * elf/dl-lookup.c: Likewise.
48405 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
48407         * sysdeps/unix/sysv/linux/kernel-features.h
48408         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
48409         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
48410         unconditionally.
48411         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
48412         unconditionally.
48413         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
48414         condition on __ASSUME_CLONE_THREAD_FLAGS.
48416 2012-08-14  Andreas Jaeger  <aj@suse.de>
48418         * sysdeps/i386/fpu/libm-test-ulps: Update.
48420 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
48422         * include/atomic.h (atomic_exchange_and_add): Split into ...
48423         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
48424         New atomic macros.
48426 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
48428         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48430 2012-08-13  Jeff Law <law@redhat.com>
48432         * manual/stdio.texi (snprintf): Clarify handling of the trailing
48433         null byte in the output string.
48435 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
48437         * sysdeps/unix/sysv/linux/kernel-features.h
48438         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
48439         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
48440         (__ASSUME_ARG_MAX_STACK_BASED): Define.
48441         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
48442         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
48443         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
48444         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
48446 2012-08-09  Jeff Law <law@redhat.com>
48448         [BZ #13939]
48449         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
48450         When avoid_arena is set, don't retry in the that arena.  Pick the
48451         next one, whatever it might be.
48452         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
48453         (arena_lock): Pass in new parameter to arena_get2.
48454         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
48455         arena_get2.
48456         (__libc_malloc): Unify retrying after main arena failure with
48457         __libc_memalign version.
48458         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
48460 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
48462         [BZ #14166]
48463         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
48464         to __redirect_strstr.
48465         (__strstr_sse42): Use typeof __redirect_strstr.
48466         (__strstr_ia32): Likewise.
48467         (__libc_strstr): New prototype.
48468         (strstr): Renamed to ...
48469         (__libc_strstr): This.
48470         (strstr): New strong alias of __libc_strstr.
48471         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
48472         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
48473         __redirect_time.
48474         Include <time.h>.
48475         (__libc_time): New prototype.
48476         (time_ifunc): Replace time with __libc_time.
48477         (time): New strong alias and hidden definition of __libc_time.
48478         (__GI_time): Remove strong alias.
48479         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
48480         Include <stddef.h>.
48481         (memmove): Redefined to __redirect_memmove.
48482         (__memmove_sse2): Use typeof __redirect_memmove.
48483         (__memmove_ssse3): Likewise.
48484         (__memmove_ssse3_back): Likewise.
48485         (__libc_memmove): New prototype.
48486         (memmove): Renamed to ...
48487         (__libc_memmove): This.
48488         (memmove): New strong alias of __libc_memmove.
48490 2012-08-08  Mark Salter  <msalter@redhat.com>
48492         * elf/elf.h
48493         (R_MN10300_TLS_GD): Define.
48494         (R_MN10300_TLS_LD): Likewise.
48495         (R_MN10300_TLS_LDO): Likewise.
48496         (R_MN10300_TLS_GOTIE): Likewise.
48497         (R_MN10300_TLS_IE): Likewise.
48498         (R_MN10300_TLS_LE): Likewise.
48499         (R_MN10300_TLS_DTPMOD): Likewise.
48500         (R_MN10300_TLS_DTPOFF): Likewise.
48501         (R_MN10300_TLS_TPOFF): Likewise.
48502         (R_MN10300_SYM_DIFF): Likewise.
48503         (R_MN10300_ALIGN): Likewise.
48504         (R_MN10300_NUM): Update.
48506 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
48508         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
48509         Remove.
48511 2012-08-08  Roland McGrath  <roland@hack.frob.com>
48513         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
48515         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
48516         sysdeps/unix -> sysdeps/posix move.
48517         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
48519 2012-08-07      Allan McRae     <allan@archlinux.org>
48521         [BZ #14303]
48522         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
48523         (SUNOS_CPP): Likewise.
48524         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
48525         not found.
48526         (open_input): Call CPP using execvp.
48528 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
48530         * sysdeps/unix/sysv/linux/kernel-features.h
48531         (__ASSUME_PROT_GROWSUPDOWN): Remove.
48532         (__ASSUME_NO_CLONE_DETACHED): Likewise.
48533         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
48534         (__ASSUME_WAITID_SYSCALL): Likewise.
48535         * sysdeps/unix/sysv/linux/dl-execstack.c
48536         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
48537         code unconditional.
48538         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
48539         conditional code.
48540         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
48541         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
48542         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
48543         code.
48544         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
48545         unconditional.
48546         [__ASSUME_WAITID_SYSCALL]: Likewise.
48547         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
48549 2012-08-07  Roland McGrath  <roland@hack.frob.com>
48551         * sysdeps/unix/closedir.c: Renamed to ...
48552         * sysdeps/posix/closedir.c: ... here.
48553         * sysdeps/unix/dirfd.c: Renamed to ...
48554         * sysdeps/posix/dirfd.c: ... here.
48555         * sysdeps/unix/dirstream.h: Renamed to ...
48556         * sysdeps/posix/dirstream.h: ... here.
48557         * sysdeps/unix/fdopendir.c: Renamed to ...
48558         * sysdeps/posix/fdopendir.c: ... here.
48559         * sysdeps/unix/opendir.c: Renamed to ...
48560         * sysdeps/posix/opendir.c: ... here.
48561         * sysdeps/unix/readdir.c: Renamed to ...
48562         * sysdeps/posix/readdir.c: ... here.
48563         * sysdeps/unix/readdir_r.c: Renamed to ...
48564         * sysdeps/posix/readdir_r.c: ... here.
48565         * sysdeps/unix/rewinddir.c: Renamed to ...
48566         * sysdeps/posix/rewinddir.c: ... here.
48567         * sysdeps/unix/seekdir.c: Renamed to ...
48568         * sysdeps/posix/seekdir.c: ... here.
48569         * sysdeps/unix/telldir.c: Renamed to ...
48570         * sysdeps/posix/telldir.c: ... here.
48571         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
48572         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
48573         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
48574         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
48576         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
48577         * bits/fcntl.h: ... here.
48579         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
48580         not 0.
48581         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
48582         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
48583         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
48584         (struct flock): Move l_start, l_len to the beginning.
48585         Use __pid_t for l_pid.
48586         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
48587         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
48588         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
48589         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
48590         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
48591         [__USE_LARGEFILE64] (struct flock64): New type.
48592         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
48594         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
48595         * bits/dirent.h: ... here.
48597         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
48598         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
48600 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
48602         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
48603         Change from 2.6.0 to 2.6.16.
48604         * sysdeps/unix/sysv/linux/configure: Regenerated.
48605         * sysdeps/unix/sysv/linux/kernel-features.h
48606         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
48607         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
48608         version.
48609         (__ASSUME_UTIMES): Likewise.
48610         (__ASSUME_CLONE_STOPPED): Remove.
48611         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
48612         architectures, not kernel version.
48613         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
48614         (__ASSUME_NO_CLONE_DETACHED): Likewise.
48615         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
48616         (__ASSUME_WAITID_SYSCALL): Likewise.
48617         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
48618         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
48619         * README: State 2.6.16 as minimum Linux kernel version.  Do not
48620         refer to older versions.
48622 2012-08-06  Roland McGrath  <roland@hack.frob.com>
48624         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
48625         Define alphasort64 as an alias.
48626         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
48627         Define versionsort64 as an alias.
48628         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
48629         Define scandir64 as an alias.
48630         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
48631         Define scandirat64 as an alias.
48632         * dirent/alphasort64.c (alphasort64):
48633         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
48634         * dirent/versionsort64.c: Likewise.
48635         * dirent/scandir64.c: Likewise.
48636         * dirent/scandirat64.c: Likewise.
48637         * sysdeps/wordsize-64/alphasort.c: File removed.
48638         * sysdeps/wordsize-64/alphasort64.c: File removed.
48639         * sysdeps/wordsize-64/scandir.c: File removed.
48640         * sysdeps/wordsize-64/scandir64.c: File removed.
48641         * sysdeps/wordsize-64/scandirat.c: File removed.
48642         * sysdeps/wordsize-64/scandirat64.c: File removed.
48643         * sysdeps/wordsize-64/versionsort.c: File removed.
48644         * sysdeps/wordsize-64/versionsort64.c: File removed.
48645         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
48646         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
48647         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
48648         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
48649         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
48650         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
48651         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
48652         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
48654         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
48655         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
48656         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
48657         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
48658         [defined __arch64__ || defined __sparcv9]
48659         (__INO_T_MATCHES_INO64_T): New macro.
48660         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
48661         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
48662         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
48663         * sysdeps/unix/sysv/linux/bits/dirent.h
48664         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
48665         (_DIRENT_MATCHES_DIRENT64): New macro.
48667         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
48668         Define lockf64 as an alias.
48669         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
48670         Define fseeko64 as an alias.
48671         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
48672         Define ftello64 as an alias.
48673         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
48674         Define _IO_fgetpos64 and fgetpos64 as aliases.
48675         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
48676         Define _IO_fsetpos64 and fsetpos64 as aliases.
48677         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
48678         Conditionalize body on this.
48679         * libio/fseeko64.c: Likewise.
48680         * libio/ftello64.c: Likewise.
48681         * libio/iofgetpos64.c: Likewise.
48682         * libio/iofsetpos64.c: Likewise.
48683         * sysdeps/wordsize-64/lockf.c: File removed.
48684         * sysdeps/wordsize-64/lockf64.c: File removed.
48685         * sysdeps/wordsize-64/fseeko.c: File removed.
48686         * sysdeps/wordsize-64/fseeko64.c: File removed.
48687         * sysdeps/wordsize-64/ftello.c: File removed.
48688         * sysdeps/wordsize-64/ftello64.c: File removed.
48689         * sysdeps/wordsize-64/iofgetpos.c: File removed.
48690         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
48691         * sysdeps/wordsize-64/iofsetpos.c: File removed.
48692         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
48693         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
48694         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
48695         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
48696         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
48697         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
48698         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
48699         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
48700         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
48701         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
48702         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
48704         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
48705         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
48706         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
48707         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
48708         [defined __arch64__ || defined __sparcv9]
48709         (__OFF_T_MATCHES_OFF64_T): New macro.
48710         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
48711         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
48712         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
48713         (__OFF_T_MATCHES_OFF64_T): New macro.
48715 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
48717         * stdlib/secure-getenv.c (__secure_getenv): Replace
48718         GLIBC_2_16 with GLIBC_2_17.
48720 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
48722         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
48723         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
48725 2012-08-03  David S. Miller  <davem@davemloft.net>
48727         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48729 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
48731         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
48732         Remove.
48733         (__ASSUME_CORRECT_SI_PID): Likewise.
48734         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
48735         (__ASSUME_TMPFS_NAME): Likewise.
48736         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
48737         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
48738         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
48739         (HAVE_AUX_SECURE): Make definition unconditional.
48740         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
48741         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
48743 2012-08-03  Roland McGrath  <roland@hack.frob.com>
48745         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
48746         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
48747         * sysdeps/mach/hurd/eloop-threshold.h: New file.
48748         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
48749         __eloop_threshold instead of SYMLOOP_MAX.
48751         * sysdeps/generic/eloop-threshold.h: New file.
48752         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
48753         of MAXSYMLINKS.
48754         * elf/chroot_canon.c (chroot_canon): Likewise.
48756 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
48758         [BZ #13717]
48759         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
48760         Change to 2.6.0 everywhere.
48761         * sysdeps/unix/sysv/linux/configure: Regenerated.
48762         * sysdeps/unix/sysv/linux/kernel-features.h
48763         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
48764         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
48765         kernel versions.
48766         (__ASSUME_POSIX_TIMERS): Define unconditionally.
48767         (__ASSUME_FUTEX_REQUEUE): Remove.
48768         (__ASSUME_STATFS64): Define unconditionally.
48769         (__ASSUME_AT_SECURE): Likewise.
48770         (__ASSUME_CORRECT_SI_PID): Likewise.
48771         (__ASSUME_TGKILL): Define without depending on kernel version for
48772         i386.
48773         (__ASSUME_UTIMES): Likewise.
48774         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
48775         kernel version.
48776         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
48777         (__ASSUME_TMPFS_NAME): Likewise.
48778         * README: Update reference to Linux kernel versions.
48780 2012-08-02  Marek Polacek  <polacek@redhat.com>
48782         [BZ# 14150]
48783         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
48784         libc_cv_asm_type_prefix with %.
48785         * configure: Regenerated.
48786         * include/libc-symbols.h: Remove comment about
48787         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
48788         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
48789         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
48790         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
48791         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
48792         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
48793         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
48794         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
48795         * elf/tst-unique2mod1.c: Likewise.
48796         * elf/tst-unique1mod2.c: Likewise.
48797         * elf/tst-unique1mod1.c: Likewise.
48798         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
48799         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
48800         Replace ASM_TYPE_DIRECTIVE with .type.
48801         * sysdeps/s390/s390-64/sysdep.h: Likewise.
48802         * sysdeps/i386/sysdep.h: Likewise.
48803         * sysdeps/x86_64/sysdep.h: Likewise.
48804         * sysdeps/sh/sysdep.h: Likewise.
48805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
48806         Do not define ASM_TYPE_DIRECTIVE.
48807         * sysdeps/powerpc/sysdep.h: Likewise.
48808         * sysdeps/powerpc/powerpc32/sysdep.h:
48809         Replace ASM_TYPE_DIRECTIVE with .type.
48810         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
48811         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
48812         * sysdeps/i386/fpu/e_powf.S: Likewise.
48813         * sysdeps/i386/fpu/e_expl.S: Likewise.
48814         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
48815         * sysdeps/i386/fpu/e_acosh.S: Likewise.
48816         * sysdeps/i386/fpu/e_pow.S: Likewise.
48817         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
48818         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
48819         * sysdeps/i386/fpu/s_expm1.S: Likewise.
48820         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
48821         * sysdeps/i386/fpu/e_log2.S: Likewise.
48822         * sysdeps/i386/fpu/e_log2l.S: Likewise.
48823         * sysdeps/i386/fpu/e_scalb.S: Likewise.
48824         * sysdeps/i386/fpu/e_powl.S: Likewise.
48825         * sysdeps/i386/fpu/e_log10f.S: Likewise.
48826         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
48827         * sysdeps/i386/fpu/e_logl.S: Likewise.
48828         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
48829         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
48830         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
48831         * sysdeps/i386/fpu/e_log2f.S: Likewise.
48832         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
48833         * sysdeps/i386/fpu/e_log.S: Likewise.
48834         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
48835         * sysdeps/i386/fpu/e_logf.S: Likewise.
48836         * sysdeps/i386/fpu/e_log10l.S: Likewise.
48837         * sysdeps/i386/fpu/e_atanh.S: Likewise.
48838         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
48839         * sysdeps/i386/fpu/e_log10.S: Likewise.
48840         * sysdeps/i386/fpu/s_frexp.S: Likewise.
48841         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
48842         * sysdeps/i386/fpu/s_asinh.S: Likewise.
48843         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
48844         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
48845         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
48846         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
48847         * sysdeps/i386/i686/strtok.S: Likewise.
48848         * sysdeps/i386/i386-mcount.S: Likewise.
48849         * sysdeps/i386/strtok.S: Likewise.
48850         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
48851         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
48852         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
48853         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
48854         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
48855         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
48856         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
48857         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
48858         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
48859         * sysdeps/x86_64/_mcount.S: Likewise.
48860         * sysdeps/x86_64/strtok.S: Likewise.
48861         * sysdeps/sh/_mcount.S: Likewise.
48863 2012-08-01  Roland McGrath  <roland@hack.frob.com>
48865         * libio/iofopen.c: Include <fcntl.h>.
48866         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
48867         (_IO_fopen64, fopen64): Define as aliases.
48868         * libio/iofopen64.c: Include <fcntl.h>.
48869         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
48870         Conditionalize body on this.
48871         * sysdeps/wordsize-64/iofopen.c: File removed.
48872         * sysdeps/wordsize-64/iofopen64.c: File removed.
48874 2012-08-01  Marek Polacek  <polacek@redhat.com>
48876         * libc/Makeconfig: Use elf in place of binfmt-subdir.
48877         Use dlfcn directly instead of a variable.
48878         (binfmt-subdir): Do not define.
48879         (dlfcn): Likewise.
48881 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
48883         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
48884         Remove all definitions.
48885         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
48886         <kernel-features.h>.
48887         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
48888         (miss_F_GETOWN_EX): Remove all definitions.
48889         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
48890         macro definition.
48891         [!__ASSUME_FCNTL64]: Remove conditional code.
48892         [__ASSUME_FCNTL64]: Make code unconditional.
48893         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
48894         <kernel-features.h>.
48895         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
48896         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
48897         (lockf64) [__NR_fcntl64]: Make code unconditional.
48898         (lockf64) [__ASSUME_FCNTL64]: Likewise.
48900         * sysdeps/unix/sysv/linux/kernel-features.h
48901         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
48902         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
48903         Make code unconditional.
48904         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
48905         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
48906         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
48907         [__NR_vfork]: Make code unconditional.
48908         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
48909         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
48910         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
48911         [__NR_vfork]: Make code unconditional.
48912         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
48913         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
48915 2012-08-01  Roland McGrath  <roland@hack.frob.com>
48917         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
48918         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
48920         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
48921         Define mkstemp64 as an alias.
48922         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
48923         Define mkstemps64 as an alias.
48924         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
48925         Define mkostemp64 as an alias.
48926         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
48927         Define mkostemps64 as an alias.
48928         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
48929         Conditionalize body on this.
48930         * misc/mkostemp64.c: Likewise.
48931         * misc/mkostemps64.c: Likewise.
48932         * misc/mkstemps64.c: Likewise.
48933         * sysdeps/wordsize-64/mkstemp64.c: File removed.
48934         * sysdeps/wordsize-64/mkostemp64.c: File removed.
48935         * sysdeps/wordsize-64/mkostemp.c: File removed.
48936         * sysdeps/wordsize-64/mkstemp.c: File removed.
48937         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
48938         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
48939         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
48940         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
48942         [BZ #14138]
48943         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
48944         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
48945         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
48946         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
48948         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
48949         compat_symbol macros from <shlib-compat.h> rather than the underlying
48950         default_symbol_version and symbol_version macros, so that DEFAULT
48951         lines in shlib-versions are respected.
48952         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
48954 2012-08-01  Florian Weimer  <fweimer@redhat.com>
48956         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
48957         Declare with warn_unused_result.
48958         (setgid, setregid, setegid, setresgid): Likewise.
48959         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
48960         Likewise.
48961         * WUR-REPORT: Remove set*id functions.
48963 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
48965         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
48967 2012-07-31  Roland McGrath  <roland@hack.frob.com>
48969         [BZ #10191]
48970         * include/sys/socket.h (__libc_accept, __libc_accept4):
48971         Add attribute_hidden.
48972         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
48974         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
48975         use of PTR_MANGLE.
48976         * inet/getnetgrent_r.c (setup): Likewise.
48978         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
48980 2012-07-31  David S. Miller  <davem@davemloft.net>
48982         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48984 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
48986         [BZ #13629]
48987         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
48988         value between 1.0 and 2.0 and smaller part has absolute value less
48989         than 1.0.
48990         * math/s_clog10.c (__clog10): Likewise.
48991         * math/s_clog10f.c (__clog10f): Likewise.
48992         * math/s_clog10l.c (__clog10l): Likewise.
48993         * math/s_clogf.c (__clogf): Likewise.
48994         * math/s_clogl.c (__clogl): Likewise.
48995         * math/libm-test.inc (clog_test): Add more tests.
48996         (clog10_test): Likewise.
48997         * sysdeps/i386/fpu/libm-test-ulps: Update.
48998         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49000 2012-07-31  Florian Weimer  <fweimer@redhat.com>
49002         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
49003         Exit with zero in case no suitable GID is found, and write a
49004         message to standard error.
49006 2012-07-30  Roland McGrath  <roland@hack.frob.com>
49008         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
49009         rather than to 1.
49010         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
49011         (MAXPATHLEN): Removed.
49012         (NOGROUP, NODEV): New macros.
49013         (setbit, clrbit, isset, isclr): New macros.
49014         (howmany, roundup, powerof2): New macros.
49015         (DEV_BSIZE): New macro.
49017         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
49018         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
49020         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
49021         definition on [!__NO_LONG_DOUBLE_MATH].
49023         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
49024         PTR_MANGLE and PTR_DEMANGLE.
49026         * socket/accept4.c (accept4): Rename to __libc_accept4.
49027         Define accept4 as a weak alias.
49029         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
49030         on [_DIRENT_HAVE_D_TYPE].
49031         * io/ftw.c (ftw_dir): Likewise.
49033         * io/xmknod.c (__xmknod): Don't check PATH for being null.
49035         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
49037         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
49038         Use the BSD numbers rather than the arbitrary ones we had.
49039         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
49040         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
49041         (SIGXCPU, SIGXFSZ): New macros.
49042         (_NSIG): Now 32.
49044         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
49045         initializer on [_LIBC_REENTRANT].
49047         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
49048         definitions inside [_POSIX_MAPPED_FILES].
49050         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
49052         * dirent/opendir.c: Include <fcntl.h>.
49054         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
49055         (__libc_getspecific): Likewise.
49056         (__libc_key_create): Likewise.
49058         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
49059         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
49060         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
49061         (tmpfile64): Define as alias.
49062         * sysdeps/wordsize-64/tmpfile.c: File removed.
49063         * sysdeps/wordsize-64/tmpfile64.c: File removed.
49064         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
49065         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
49067         * stdio-common/vfscanf.c: Include <stdbool.h>.
49068         * nss/makedb.c: Likewise.
49069         * stdio-common/_i18n_number.h: Likewise.
49070         * argp/argp-help.c: Likewise.
49071         * posix/wordexp.c: Likewise.
49072         * sysdeps/posix/spawni.c: Likewise.
49073         * nss/nss_files/files-initgroups.c: Likewise.
49074         * stdio-common/reg-modifier.c: Include <stdlib.h>.
49075         * nss/nss_files/files-initgroups.c: Likewise.
49076         * nss/nss_db/db-netgrp.c: Likewise.
49077         * nss/nss_db/db-initgroups.c: Likewise.
49078         * io/fchmodat.c: Include <sys/stat.h>.
49080         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
49081         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
49083         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
49084         [HAVE_MMAP].
49086         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
49087         Add multiple inclusion protection.
49089 2012-07-27  David S. Miller  <davem@davemloft.net>
49091         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49093 2012-07-27  Gary Benson  <gbenson@redhat.com>
49095         [BZ #14298]
49096         * elf/rtld.c: Include <stap-probe.h>.
49097         (dl_main): Added static probes "init_start" and "init_complete".
49098         * elf/dl-load.c: Include <stap-probe.h>.
49099         (lose): Take new parameter "nsid".
49100         Added static probe "map_failed".
49101         (_dl_map_object_from_fd): Pass namespace id to lose.
49102         Added static probe "map_start".
49103         (open_verify): Pass namespace id to lose.
49104         * elf/dl-open.c: Include <stap-probe.h>.
49105         (dl_open_worker) Added static probes "map_complete", "reloc_start"
49106         and "reloc_complete".
49107         * elf/dl-close.c: Include <stap-probe.h>.
49108         (_dl_close_worker): Added static probes "unmap_start" and
49109         "unmap_complete".
49110         * elf/rtld-debugger-interface.txt: New file documenting the above.
49112 2012-07-26  Roland McGrath  <roland@hack.frob.com>
49114         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
49115         rather than a string variable.
49116         * sunrpc/rpc_main.c (h_output): Likewise.
49117         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
49119 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
49121         * inet/check_native.c: New file.
49123 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
49125         [BZ #13629]
49126         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
49127         if larger part has absolute value 1.0.
49128         * math/s_clog10.c (__clog10): Likewise.
49129         * math/s_clog10f.c (__clog10f): Likewise.
49130         * math/s_clog10l.c (__clog10l): Likewise.
49131         * math/s_clogf.c (__clogf): Likewise.
49132         * math/s_clogl.c (__clogl): Likewise.
49133         * math/libm-test.inc (clog_test): Add more tests.
49134         (clog10_test): Likewise.
49135         * sysdeps/i386/fpu/libm-test-ulps: Update.
49136         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49138         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
49139         (pltexit): Likewise.
49140         (La_regs): Likewise.
49141         (La_retval): Likewise.
49142         (int_retval): Likewise.
49143         Update #error for removed macros to refer only to definitions in
49144         tst-audit.h.
49145         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
49146         macro.
49147         (pltexit): Likewise.
49148         (La_regs): Likewise.
49149         (La_retval): Likewise.
49150         (int_retval): Likewise.
49151         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
49152         macro.
49153         (pltexit): Likewise.
49154         (La_regs): Likewise.
49155         (La_retval): Likewise.
49156         (int_retval): Likewise.
49157         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
49158         macro.
49159         (pltexit): Likewise.
49160         (La_regs): Likewise.
49161         (La_retval): Likewise.
49162         (int_retval): Likewise.
49163         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
49164         macro.
49165         (pltexit): Likewise.
49166         (La_regs): Likewise.
49167         (La_retval): Likewise.
49168         (int_retval): Likewise.
49169         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
49170         macro.
49171         (pltexit): Likewise.
49172         (La_regs): Likewise.
49173         (La_retval): Likewise.
49174         (int_retval): Likewise.
49175         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
49176         macro.
49177         (pltexit): Likewise.
49178         (La_regs): Likewise.
49179         (La_retval): Likewise.
49180         (int_retval): Likewise.
49181         * sysdeps/generic/tst-audit.h: Update comment to refer only to
49182         macro definitions in tst-audit.h.
49183         * sysdeps/i386/tst-audit.h: New file.
49184         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
49185         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
49186         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
49187         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
49188         * sysdeps/sh/tst-audit.h: Likewise.
49189         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
49190         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
49191         * sysdeps/x86_64/tst-audit.h: Likewise.
49193 2012-07-26  Andreas Jaeger  <aj@suse.de>
49195         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
49196         ptrace.
49198         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
49199         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
49200         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
49201         PTRACE_O_MASK.
49202         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
49203         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
49204         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
49206         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
49207         value.
49209         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
49210         _sigsys.
49211         (si_call_addr, si_syscall, si_arch): Define new macro.
49212         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
49213         _sigsys.
49214         (si_call_addr, si_syscall, si_arch): Define new marcro.
49215         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
49216         _sigsys.
49217         (si_call_addr, si_syscall, si_arch): Define new macro.
49218         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
49219         _sigsys.
49220         (si_call_addr, si_syscall, si_arch): Define new macro.
49222 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
49224         [BZ #13717]
49225         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
49226         Change to 2.4.21 where previously 2.4.1.
49227         * sysdeps/unix/sysv/linux/configure: Regenerated.
49228         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
49229         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
49230         Linux kernel version.
49231         (__ASSUME_STD_AUXV): Remove.
49232         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
49233         kernel version.
49234         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
49235         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
49236         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
49237         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
49238         (__ASSUME_NETLINK_SUPPORT): Likewise.
49239         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
49240         (__no_netlink_support): Remove conditional definition.
49241         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
49242         Remove.
49243         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
49244         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
49245         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
49246         (if_nameindex_ioctl): Remove.
49247         (if_nameindex_netlink): Do not handle __no_netlink_support.
49248         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
49249         code.
49250         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
49251         Remove conditional code.
49252         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
49253         code.
49254         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
49255         unconditional.
49256         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
49257         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
49258         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
49259         Remove.
49260         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
49261         [!__ASSUME_STD_AUXV]: Remove conditional code.
49262         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
49263         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
49264         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
49265         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
49266         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
49267         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
49268         code.
49269         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
49270         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
49271         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
49272         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
49273         conditional code.
49274         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
49275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
49276         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
49277         code.
49278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
49279         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
49280         conditional code.
49281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
49282         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
49283         code unconditional.
49284         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
49285         conditional code.
49286         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
49287         unconditional.
49288         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
49289         conditional code.
49290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
49291         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
49292         unconditional.
49293         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
49294         conditional code.
49295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
49296         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
49297         code unconditional.
49298         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
49299         conditional code.
49300         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
49301         unconditional.
49302         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
49303         conditional code.
49304         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
49305         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
49306         code unconditional.
49307         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
49308         conditional code.
49309         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
49310         unconditional.
49311         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
49312         conditional code.
49314 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
49316         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
49317         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
49318         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
49319         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
49320         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
49321         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
49322         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
49323         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
49324         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
49325         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
49326         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
49327         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
49328         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
49329         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
49330         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
49331         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
49332         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
49333         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
49334         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
49335         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
49336         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
49337         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
49338         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
49340 2012-07-25  Florian Weimer  <fweimer@redhat.com>
49342         * Versions.def: Add GLIBC_2.17.
49343         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
49344         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
49345         Introduce __libc_secure_getenv.
49346         * stdlib/Versions (2.17): Add secure_getenv
49347         (GLIBC_PRIVATE): Add __libc_secure_getenv.
49348         * stdlib/secure-getenv.c: Rename __secure_getenv to
49349         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
49350         symbol __secure_getenv for GLIBC_2.0.
49351         * stdlib/tst-secure-getenv.c: New.
49352         * stdlib/Makefile (tests): Add testcase.
49353         * manual/startup.texi (Environment Access): Document
49354         secure_getenv.
49355         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
49356         __libc_secure_getenv.
49357         * inet/ruserpass.c (ruserpass): Likewise.
49358         * malloc/mtrace.c (mtrace): Likewise.
49359         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
49360         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
49361         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
49362         * sysdeps/posix/tempname.c: Likewise.  Evaluate
49363         HAVE_SECURE_GETENV.
49364         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
49365         __secure_getenv to __libc_secure_getenv.
49366         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
49367         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
49368         Likewise.
49369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
49370         Likewise.
49371         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
49372         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
49373         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
49374         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
49375         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
49376         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
49377         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
49379 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
49381         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
49382         (struct La_i86_retval): Likewise.
49383         (struct La_x86_64_regs): Likewise.
49384         (struct La_x86_64_retval): Likewise.
49385         (struct La_x32_regs): Likewise.
49386         (struct La_x32_retval): Likewise.
49387         (struct La_ppc32_regs): Likewise.
49388         (struct La_ppc32_retval): Likewise.
49389         (struct La_ppc64_regs): Likewise.
49390         (struct La_ppc64_retval): Likewise.
49391         (struct La_sh_regs): Likewise.
49392         (struct La_sh_retval): Likewise.
49393         (struct La_s390_32_regs): Likewise.
49394         (struct La_s390_32_retval): Likewise.
49395         (struct La_s390_64_regs): Likewise.
49396         (struct La_s390_64_retval): Likewise.
49397         (struct La_sparc32_regs): Likewise.
49398         (struct La_sparc32_retval): Likewise.
49399         (struct La_sparc64_regs): Likewise.
49400         (struct La_sparc64_retval): Likewise.
49401         (struct audit_ifaces): Remove architecture-specific pltenter and
49402         pltexit members.
49403         * sysdeps/i386/ldsodefs.h: New file.
49404         * sysdeps/powerpc/ldsodefs.h: Likewise.
49405         * sysdeps/s390/ldsodefs.h: Likewise.
49406         * sysdeps/sh/ldsodefs.h: Likewise.
49407         * sysdeps/sparc/ldsodefs.h: Likewise.
49408         * sysdeps/x86_64/ldsodefs.h: Likewise.
49410 2012-07-25  Marek Polacek  <polacek@redhat.com>
49412         [BZ #6808]
49413         * math/libm-test.inc (yn_test): Add another test.
49414         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
49415         to ERANGE when the result is +-Inf.
49416         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
49417         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
49418         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
49419         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
49421 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
49423         * conform/data/time.h-data (NULL): Use macro-constant.  Require
49424         equal to 0.
49425         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
49426         clock_t.
49427         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
49429 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
49431         * configure.in <sysdeps resolving>: Correct printing
49432         Implies_before.
49433         * configure: Regenerate.
49435 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
49437         * math/w_ilogb.c: Include <limits.h>.
49438         * math/w_ilogbl.c: Likewise.
49440 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
49442         * manual/lang.texi (__va_copy): Document primarily as ISO C99
49443         va_copy.  Document allowing for unavailable va_copy only as
49444         pre-C99 compatibility.
49445         * manual/string.texi (Copying and Concatenation): Use va_copy
49446         instead of __va_copy in concat example.
49448 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
49450         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
49451         (__sendto): Use create_address_port.  Initialize APORT and deallocate
49452         it if not null.
49454         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
49455         with O_NOLINK passed to __file_name_lookup.
49457         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
49458         with O_NOLINK passed to __file_name_lookup.
49460         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
49461         negative N or less than NGIDS.
49463         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
49464         type to string_t.  Set ERANGE as errno and return it if NAME is not big
49465         enough.  Use memcpy instead of strncpy.
49467 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
49469         * elf/Makefile (check-data): Remove.
49470         (localplt.data): New vpath directive.
49471         ($(objpfx)check-localplt.out): Use localplt.data from vpath
49472         instead of $(check-data).
49473         * scripts/data/localplt-generic.data: Move to ...
49474         * sysdeps/generic/localplt.data: ... here.
49475         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
49476         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
49477         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
49478         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
49479         ... here.
49480         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
49481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
49482         ... here.
49483         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
49484         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
49485         ... here.
49486         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
49487         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
49488         ... here.
49489         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
49490         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
49491         ... here.
49492         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
49493         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
49494         ... here.
49496 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49498         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
49499         PPC32 and PPC64 files.
49500         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
49501         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
49503 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49505         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
49506         __makecontext_ret to ...
49507         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
49508         ... here and call exit if uc_link is NULL.  New file.
49509         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
49510         __makecontext_ret.S.
49511         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
49512         __makecontext_ret to ...
49513         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
49514         ... here and call exit if uc_link is NULL.  New file.
49515         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
49516         __makecontext_ret.S.
49518 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49520         * elf/elf.h (R_390_IRELATIVE): New definition.
49521         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
49522         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
49523         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
49524         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
49525         (elf_machine_lazy_rel): Likewise.
49526         * sysdeps/s390/dl-irel.h: New file.
49527         * sysdeps/s390/s390-64/memcpy.S: New asm code.
49528         * sysdeps/s390/s390-64/memset.S: New asm code.
49529         * sysdeps/s390/s390-64/memcmp.S: New asm code.
49530         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
49531         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
49532         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
49533         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
49534         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
49535         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
49536         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
49537         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
49538         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
49539         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
49540         * sysdeps/s390/s390-32/memcpy.S: New asm code.
49541         * sysdeps/s390/s390-32/memset.S: New asm code.
49542         * sysdeps/s390/s390-32/memcmp.S: New asm code.
49544 2012-07-17  Marek Polacek  <polacek@redhat.com>
49546         [BZ #14349]
49547         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
49548         * sysdeps/s390/s390-64/configure.in: Likewise.
49549         * sysdeps/sparc/configure.in: Likewise.
49550         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
49551         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
49552         * sysdeps/i386/configure.in: Likewise.
49553         * sysdeps/x86_64/configure.in: Likewise.
49554         * sysdeps/sh/configure.in: Likewise.
49555         * sysdeps/s390/s390-32/configure: Regenerated.
49556         * sysdeps/s390/s390-64/configure: Likewise.
49557         * sysdeps/x86_64/configure: Likewise.
49558         * sysdeps/sh/configure: Likewise.
49559         * sysdeps/powerpc/powerpc64/configure: Likewise.
49560         * sysdeps/powerpc/powerpc32/configure: Likewise.
49561         * sysdeps/sparc/configure: Likwise.
49562         * sysdeps/i386/configure: Likewise.
49564         * elf/dl-open.c: Comment fixes.
49566 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
49568         * Makefile [CXX] (check-data): Remove.
49569         [CXX] (c++-types.data): New vpath directive.
49570         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
49571         vpath.  Do not allow for C++ type data being missing.
49572         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
49573         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
49574         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
49575         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
49576         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
49577         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
49578         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
49579         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
49580         ... here.
49581         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
49582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
49583         ... here.
49584         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
49585         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
49586         ... here.
49587         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
49588         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
49589         ... here.
49590         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
49591         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
49592         ... here.
49593         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
49594         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
49595         ... here.
49596         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
49597         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
49598         ... here.
49599         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
49600         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
49602         * elf/tls-macros.h (TLS_LE): Move architecture-specific
49603         definitions to architecture-specific files.
49604         (TLS_IE): Likewise.
49605         (TLS_LD): Likewise.
49606         (TLS_GD): Likewise.
49607         * sysdeps/i386/tls-macros.h: New file.
49608         * sysdeps/powerpc/tls-macros.h: Likewise.
49609         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
49610         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
49611         * sysdeps/sh/tls-macros.h: Likewise.
49612         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
49613         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
49614         * sysdeps/x86_64/tls-macros.h: Likewise.
49616 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
49618         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
49619         zero value for regular exit case.
49621         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
49622         (__start_context): Preserve zero value for regular exit case.
49624 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
49625             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49627         * manual/setjmp.texi (setcontext): Clarify normal process
49628         termination when uc_link is the null pointer.
49629         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
49630         exit call.
49632 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
49634         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
49635         preprocessor.  Test for each exception mask separately.
49637 2012-07-16  Andreas Jaeger  <aj@suse.de>
49639         * po/ru.po: Update from translation team.
49641 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
49643         * conform/data/string.h-data (NULL): Use macro-constant.  Require
49644         equal to 0.
49645         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
49646         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
49647         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
49648         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
49649         [ISO || ISO99 || ISO11] (*_t): Do not allow.
49651 2012-07-13  Andreas Jaeger  <aj@suse.de>
49653         * po/fr.po: Update from translation team.
49655 2012-07-12  Marek Polacek  <polacek@redhat.com>
49657         [BZ #14173]
49658         * math/libm-test.inc (yn_test): Add test for BZ #14173.
49659         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
49660         loop condition.
49662 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
49664         [BZ #13717]
49665         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
49666         Change to 2.4.1 where previously 2.4.0.
49667         * sysdeps/unix/sysv/linux/configure: Regenerated.
49668         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
49669         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
49670         version.
49671         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
49672         (__ASSUME_AT_CLKTCK): Remove.
49673         (__ASSUME_AT_PAGESIZE): Likewise.
49674         (__ASSUME_AT_XID): Likewise.
49675         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
49676         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
49677         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
49678         unconditionally.
49679         (HAVE_AUX_PAGESIZE): Likewise.
49680         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
49681         [__ASSUME_AT_CLKTCK]: Make code unconditional.
49682         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
49684 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
49686         [BZ #14307]
49687         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
49688         the temporary buffer used to invoke __gethostbyname2_r,
49689         __gethostbyaddr_r and gethostbyname4_r to make room for struct
49690         host_data / struct gaih_addrtuple.
49691         * resolv/nss_dns/dns-host.c (global scope): Move definition of
49692         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
49693         header file nss/nsswitch.h.
49694         * nss/nsswitch.h (global scope): Add definition of implementation
49695         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
49696         resolv/nss_dns/dns-host.c).
49698 2012-07-11  Andreas Jaeger  <aj@suse.de>
49700         * po/fr.po: Update from translation team.
49702         * po/sv.po: Update from translation team
49703         * po/fr.po: Another update from translation team.
49705 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49707         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
49708         for subnormals or multiply small sinh result by itself.
49709         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
49710         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49712 2012-07-11  David S. Miller  <davem@davemloft.net>
49714         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49716 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
49718         [BZ #14347]
49719         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
49720         (INTERNAL_MARK): Shift it here.
49722 2012-07-10  Marek Polacek  <polacek@redhat.com>
49724         [BZ #14151]
49725         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
49726         libc_cv_asm_global_directive with .globl.
49727         * configure: Regenerated.
49728         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
49729         with .globl.
49730         * sysdeps/i386/configure: Regenerated.
49731         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
49732         with .globl.
49733         * sysdeps/x86_64/configure: Regenerated.
49734         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
49735         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
49736         * elf/tst-unique2mod2.c: Likewise.
49737         * elf/tst-unique2mod1.c: Likewise.
49738         * elf/tst-unique1mod2.c: Likewise.
49739         * elf/tst-unique1mod1.c: Likewise.
49740         * sysdeps/s390/s390-32/sysdep.h: Likewise.
49741         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
49742         * sysdeps/s390/s390-64/sysdep.h: Likewise.
49743         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
49744         * sysdeps/mach/sysdep.h: Likewise.
49745         * sysdeps/i386/sysdep.h: Likewise.
49746         * sysdeps/i386/i386-mcount.S: Likewise.
49747         * sysdeps/x86_64/_mcount.S: Likewise.
49748         * sysdeps/x86_64/sysdep.h: Likewise.
49749         * sysdeps/sh/_mcount.S: Likewise.
49750         * sysdeps/sh/sysdep.h: Likewise.
49751         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
49752         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
49753         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
49754         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
49755         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
49756         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
49757         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
49758         * locale/localeinfo.h: Likewise.
49759         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
49760         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
49762 2012-07-09  Roland McGrath  <roland@hack.frob.com>
49764         [BZ #14336]
49765         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
49766         system".
49767         * manual/message.texi (The Uniforum approach): Likewise.
49768         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
49769         (glibc iconv Implementation): Likewise.
49771 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
49773         [BZ #14337]
49774         * math/s_clog.c (__clog): Avoid scaling a value down where that
49775         could result in underflow.
49776         * math/s_clog10.c (__clog10): Likewise.
49777         * math/s_clog10f.c (__clog10f): Likewise.
49778         * math/s_clog10l.c (__clog10l): Likewise.
49779         * math/s_clogf.c (__clogf): Likewise.
49780         * math/s_clogl.c (__clogl): Likewise.
49781         * math/libm-test.inc (clog_test): Add more tests.
49782         (clog10_test): Likewise.
49783         * sysdeps/i386/fpu/libm-test-ulps: Update.
49784         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49786 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
49788         [BZ #14283]
49789         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
49790         by 7 not 8 to examine high bit of fractional part.
49792         [BZ #14042]
49793         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
49794         for call to __mcount_internal.
49795         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
49796         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
49797         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
49799 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
49801         [BZ #14154]
49802         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
49803         approximation for values within 0x1p-13f of an odd multiple of
49804         pi/4.
49805         * math/libm-test.inc (tan_test): Do not allow spurious underflow
49806         exception.  Add more tests.
49807         * sysdeps/i386/fpu/libm-test-ulps: Update.
49809         [BZ #6778]
49810         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
49811         inputs and return -1 for them.  Do not check for +Inf in case not
49812         reachable for +Inf.
49813         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
49814         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
49815         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
49816         and return -1 for them.  Do not check for +Inf in case not
49817         reachable for +Inf.
49818         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
49819         define.
49820         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
49821         and return -1 for them.  Do not check for +Inf in case not
49822         reachable for +Inf.
49823         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
49824         spurious underflow.
49825         * sysdeps/i386/fpu/libm-test-ulps: Update.
49826         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49828 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
49830         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
49832 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
49834         [BZ #14157]
49835         [BZ #14331]
49836         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
49837         could result in spurious underflow.  Scale down values above
49838         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
49839         * math/s_csqrtf.c (__csqrtf): Likewise.
49840         * math/s_csqrtl.c (__csqrtl): Likewise.
49841         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
49842         spurious underflow.
49843         * sysdeps/i386/fpu/libm-test-ulps: Update.
49844         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49846 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
49848         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
49849         xopen-msg.sed.
49850         * catgets/xopen-msg.awk: New file.
49851         * catgets/xopen-msg.sed: Removed.
49853         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
49854         po2text.sed.
49855         * intl/po2test.awk: New file.
49856         * intl/po2test.sed: Removed.
49858 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
49860         [BZ #14328]
49861         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
49862         or multiply small sinh result by itself.
49863         * math/s_ctanf.c (__ctanf): Likewise.
49864         * math/s_ctanh.c (__ctanh): Likewise.
49865         * math/s_ctanhf.c (__ctanhf): Likewise.
49866         * math/s_ctanhl.c (__ctanhl): Likewise.
49867         * math/s_ctanl.c (__ctanl): Likewise.
49868         * math/libm-test.inc (ctan_test_tonearest): New function.
49869         (ctan_test_towardzero): Likewise.
49870         (ctan_test_downward): Likewise.
49871         (ctan_test_upward): Likewise.
49872         (ctanh_test_tonearest): Likewise.
49873         (ctanh_test_towardzero): Likewise.
49874         (ctanh_test_downward): Likewise.
49875         (ctanh_test_upward): Likewise.
49876         (main): Call these new functions.
49877         * sysdeps/i386/fpu/libm-test-ulps: Update.
49878         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49880 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
49882         * .gitignore: Delete /ports entry.
49884 2012-07-03  Andreas Jaeger  <aj@suse.de>
49886         * po/bg.po: Update from translation team.
49887         * po/cs.po: Likewise.
49888         * po/de.po: Likewise.
49889         * po/hr.po: Likewise.
49890         * po/nl.pl: Likewise.
49891         * po/pl.po: Likewise.
49892         * po/vi.po: Likewise.
49894 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
49896         * Makeconfig [!+link] (+link-before-libc): New variable.
49897         [!+link] (+link-after-libc): Likewise.
49898         [!+link] (+link-tests): Likewise.
49899         [!+link] (+link): Define in terms of $(+link-before-libc) and
49900         $(+link-after-libc).
49901         [!+link-static] (+link-static-before-libc): New variable.
49902         [!+link-static] (+link-static-after-libc): Likewise.
49903         [!+link-static] (+link-static-tests): Likewise.
49904         [!+link-static] (+link-static): Define in terms of
49905         $(+link-static-before-libc) and $(+link-static-after-libc).
49906         [build-shared] (link-libc-before-gnulib): New variable.
49907         [build-shared] (link-libc-tests): Likewise.
49908         [build-shared] (link-libc): Define in terms of
49909         $(link-libc-before-gnulib).
49910         [!build-shared] (link-libc-tests): New variable.
49911         (link-libc-static-tests): New variable.
49912         [!gnulib] (gnulib-arch): New variable.
49913         [!gnulib] (gnulib-tests): Likewise.
49914         [!gnulib] (static-gnulib-arch): Likewise.
49915         [!gnulib] (static-gnulib-tests): Likewise.
49916         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
49917         Define with "=" instead of ":=".
49918         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
49919         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
49920         * Rules (binaries-all-notests): New variable.
49921         (binaries-all-tests): Likewise.
49922         (binaries-static-notests): Likewise.
49923         (binaries-static-tests): Likewise.
49924         (binaries-all): Define using $(binaries-all-notests) and
49925         $(binaries-all-tests).
49926         (binaries-static): Define using $(binaries-static-notests) and
49927         $(binaries-static-tests).
49928         (binaries-shared-tests): New variable.
49929         (binaries-shared-notests): Likewise.
49930         (binaries-shared): Remove variable.
49931         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
49932         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
49933         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
49934         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
49935         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
49936         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
49937         * elf/Makefile (sln-modules): New variable.
49938         (extra-objs): Add $(sln-modules:=.o).
49939         (ldconfig-modules): Add static-stubs.
49940         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
49941         * elf/static-stubs.c: New file.
49943         [BZ #14283]
49944         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
49945         by 7 not 8 to examine high bit of fractional part.  Use volatile
49946         variables when splitting into final array of floats if
49947         __FLT_EVAL_METHOD__ != 0.
49948         * math/libm-test.inc (cos_test): Add another test.
49949         (sin_test): Likewise.
49950         * sysdeps/i386/fpu/libm-test-ulps: Update.
49952         [BZ #14273]
49953         * math/libm-test.inc (cosh_test): Add more tests.
49955         * version.h (RELEASE): Set to "development".
49956         (VERSION): Set to "2.16.90".
49958 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
49960         * NEWS: Update copyright. Remove last-updated date.
49961         Mention math library bug fixes and timezone data changes.
49962         * README: Mention GNU/Hurd, x32, and HPPA support status.
49964 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
49966         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
49968 2012-06-27  Andreas Jaeger  <aj@suse.de>
49970         * manual/contrib.texi (Contributors): Add Samuel Thibault.
49972 2012-06-25  Andreas Jaeger  <aj@suse.de>
49974         * sysdeps/s390/fpu/libm-test-ulps: Update.
49976 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
49977             Thomas Schwinge  <thomas@codesourcery.com>
49979         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
49980         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
49981         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
49982         fanotify_mark.
49984 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
49986         * sysdeps/mach/start.c: Remove file.
49987         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
49988         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
49989         * sysdeps/sh/init-first.c: Likewise.
49991         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
49992         registers for frame unwinding purposes, add CFI directives.
49993         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
49994         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
49995         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
49996         Likewise.
49998         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
49999         __fortify_fail returning.
50000         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
50002         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
50003         sysdeps/sh/____longjmp_chk.S.
50004         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
50005         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
50006         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
50007         (gen-as-const-headers): Append sigaltstack-offsets.sym.
50009         * sysdeps/sh/abort-instr.h: New file.
50010         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
50011         process in case exit returns.
50013         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
50014         initialize the GOT register before use.
50016         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
50017         calculation of ARGC > 4.
50019         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
50020         meaningful names to some local labels.
50022 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
50023             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
50025         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
50026         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
50027         (__arch_compare_and_exchange_val_16_acq): Likewise.
50028         (__arch_compare_and_exchange_val_32_acq): Likewise.
50029         (atomic_exchange_and_add): Fix gUSA sequence.
50030         (atomic_add): Likewise.
50031         (atomic_add_negative): Likewise.
50032         (atomic_add_zero): Likewise.
50033         (atomic_bit_test_set): Likewise.
50035 2012-06-22  Andreas Schwab  <schwab@redhat.com>
50037         [BZ #13579]
50038         * include/link.h (struct link_map): Add l_free_initfini.
50039         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
50040         l_initfini.
50041         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
50042         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
50043         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
50044         set.
50046 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
50048         * configure.in: Use AC_LANG_SOURCE.
50049         * configure: Regenerate.
50051 2012-06-22  Roland McGrath  <roland@hack.frob.com>
50053         * configure.in (libc_cv_localstatedir): New substituted variable.
50054         * configure: Regenerated.
50055         * config.make.in (localstatedir): New variable, substituted from
50056         libc_cv_localstatedir.
50057         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
50058         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
50059         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
50060         * sysdeps/gnu/configure: Regenerated.
50062 2012-06-21  Jeff Law  <law@redhat.com>
50064         [BZ #14277]
50065         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
50066         free.  Simplify list management for _LIBC case.
50068 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
50070         [BZ #14273]
50071         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
50072         Clear sign bit of 64-bit integer value before comparing against
50073         overflow value.
50075         * sysdeps/mach/configure: Regenerated.
50077 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
50079         [BZ #14278]
50080         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
50082 2012-06-21  Jeff Law  <law@redhat.com>
50084         [BZ #13882]
50085         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
50086         uint16_t for elements in the "seen" array to avoid char overflows.
50087         * elf/dl-fini.c (_dl_sort_fini): Likewise.
50088         * elf/dl-open.c (dl_open_worker): Likewise.
50090 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
50092         * scripts/list-sources.sh: Scan PORTS for translations.
50093         * po/libc.pot: Regenerated.
50095 2012-06-21  Andreas Jaeger  <aj@suse.de>
50097         [BZ #12194]
50098         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
50099         warning.
50100         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
50101         * bits/byteswap-16.h (__bswap_16): Likewise.
50102         * bits/byteswap.h (__bswap_constant_16): Likewise.
50104 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
50106         [BZ #14117]
50107         * sysdeps/i386/fpu_control.h: Removed.
50108         * sysdeps/x86_64/fpu_control.h: Moved to ...
50109         * sysdeps/x86/fpu_control.h: Here.
50111         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
50112         (_FPU_SETCW): Likewise.
50114 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
50116         [BZ #14117]
50117         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
50118         * sysdeps/x86/fpu/bits/mathinline.h: This.
50119         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
50121         [BZ #14050]
50122         [BZ #14117]
50123         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
50124         functions if __x86_64__ is defined.
50126 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
50128         * string/endian.h: Add !__ASSEMBLER__ condition for including
50129         conversion interfaces.
50131 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
50133         [BZ #14241]
50134         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
50135         of ABS(x) in calculating zero to negative powers other than odd
50136         integers.
50137         * math/libm-test.inc (pow_test): Add more tests.
50139 2012-06-15  Andreas Jaeger  <aj@suse.de>
50141         * manual/contrib.texi (Contributors): Update entry of Liubov
50142         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
50143         Machado Filho.
50145 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
50147         * string/string.h: Add __wur to GNU version of strerror_r.
50149 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
50151         [BZ #14229]
50152         * string/Makefile (tests): Add tst-strtok_r.
50153         * string/tst-strtok_r.c: New file.
50154         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
50155         RAX_LP/RDX_LP on SAVE_PTR.
50157 2012-06-14  Roland McGrath  <roland@hack.frob.com>
50159         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
50161 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
50163         * libm_test.inc (csqrt_test): Allow more spurious underflow
50164         exceptions.
50165         (j0_test): Likewise.
50166         (j1_test): Likewise.
50167         (y0_test): Likewise.
50168         (y1_test): Likewise.
50170 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
50172         * po/Makefile (libc.pot): Use UTF-8 charset.
50174 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
50176         [BZ #14210]
50177         Suppress sign-conversion warning from FD_SET.
50178         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
50179         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
50180         not unsigned long int.
50181         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
50183 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
50185         [BZ #14050]
50186         [BZ #14117]
50187         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
50188         __extern_always_inline instead of __extern_inline.
50189         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
50190         (__signbit): Likewise.
50191         (__signbitl): Support C++ namespace.
50192         (lrintf): New inline function.
50193         (lrint): Likewise.
50194         (llrintf): Likewise.
50195         (llrint): Likewise.
50196         (fmaxf): Likewise.
50197         (fmax): Likewise.
50198         (fminf): Likewise.
50199         (fmin): Likewise.
50200         (rint): Likewise.
50201         (rintf): Likewise.
50202         (ceil): Likewise.
50203         (ceilf): Likewise.
50204         (floor): Likewise.
50205         (floorf): Likewise.
50206         (nearbyint): Likewise.
50207         (nearbyintf): Likewise.
50209 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
50211         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
50212         non-default versions.
50214 2012-06-11  Roland McGrath  <roland@hack.frob.com>
50216         [BZ #14218]
50217         * manual/argp.texi (Argp): Reword argp_parse description slightly.
50219 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
50221         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
50222         (FE_UPWARD, FE_DOWNWARD): Don't define.
50223         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
50224         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
50226         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
50227         reading it.
50228         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
50229         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
50231 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
50233         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
50234         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
50235         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
50236         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
50238 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
50240         [BZ #14117]
50241         * sysdeps/i386/fpu/bits/fenv.h: Removed.
50242         * sysdeps/i386/fpu/Implies: New file.
50243         * sysdeps/x86_64/fpu/Implies: Likewise.
50244         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
50245         * sysdeps/x86/fpu/bits/fenv.h: This.
50247         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
50248         __SSE_MATH__.
50250 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
50252         [BZ #14134]
50253         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
50254         character 0xffff that matches the last element of the
50255         conversion table.
50257 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50259         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
50260         fmodl commit.
50262 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50264         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
50265         values higher than 25.6283.
50267 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50269         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
50270         subnormal exponent extraction and add some __builtin_expect.
50271         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
50272         Fix for subnormal mantissa calculation.
50274 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
50276         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
50277         cpu2 is -1 and errno is not ENOSYS.
50279 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
50281         [BZ #14117]
50282         * sysdeps/i386/i486/bits/string.h: Renamed to ...
50283         * sysdeps/x86/bits/string.h: This.
50284         * sysdeps/x86_64/bits/string.h: Removed.
50286         * sysdeps/i386/i486/bits/string.h: Define inline functions only
50287         if not compiling for x86-64, but compiling for >= i486.
50289         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
50290         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
50292         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
50293         New macro from Linux kernel 3.4.0.
50294         (FP_XSTATE_MAGIC2): Likewise.
50295         (FP_XSTATE_MAGIC2_SIZE): Likewise.
50296         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
50297         (struct _fpx_sw_bytes): New struct.
50298         (struct _xsave_hdr): Likewise.
50299         (struct _ymmh_state): Likewise.
50300         (struct _xstate): Likewise.
50302         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
50303         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
50304         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
50305         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
50306         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
50307         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
50309         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
50310         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
50311         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
50312         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
50313         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
50314         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
50316 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
50318         [BZ #13743]
50319         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
50320         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
50321         (sysdep_headers): Include sys/platform/ppc.h.
50322         * sysdeps/powerpc/test-gettimebase.c: Test for
50323         __ppc_get_timebase() to catch future ISA opcode/insn changes.
50324         * manual/Makefile (appendices): Include platform.texi.
50325         * manual/contrib.texi (Contributors): Update @node pointers.
50326         * manual/maint.texi (Maintenance): Likewise.
50327         (Platform): New node.
50328         * manual/platform.texi: New file.  Document the new features.
50330 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
50331             Jakub Jelinek  <jakub@redhat.com>
50333         [BZ #14188]
50334         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
50335         where __builtin_expect is unavailable.
50337 2012-06-03  David S. Miller  <davem@davemloft.net>
50339         * stdlib/longlong.h: Updated from GCC.
50341 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
50343         [BZ #14042]
50344         * sysdeps/powerpc/powerpc32/mcount.c: New file.
50345         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
50346         __mcount_internal.
50347         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
50348         (GLIBC_2.16): Likewise.
50350 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
50352         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
50354 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
50356         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
50357         (default-abi): New variable.
50358         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
50359         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
50360         variable.
50361         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
50362         Likewise.
50363         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
50364         Likewise.
50365         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
50366         Likewise.
50368         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
50369         definition.  Document in comment.
50371 2012-06-01  David S. Miller  <davem@davemloft.net>
50373         * stdlib/longlong.h: Updated from GCC.
50375 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
50377         [BZ #14117]
50378         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
50379         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
50380         sys/debugreg.h sys/io.h here.
50381         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
50382         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
50383         sys/io.h.
50384         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
50385         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
50386         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
50387         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
50388         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
50389         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
50391         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
50392         Define only if __x86_64__ is defined.
50394 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
50396         [BZ #14048]
50397         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
50398         Use int64_t for variable i.
50399         * math/libm-test.inc (fmod_test): Add more tests.
50401         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
50402         z computation is not scheduled after fetestexcept.
50403         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
50404         Use math_force_eval instead of asm to ensure calculation scheduled
50405         before exception test.
50406         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
50407         Ensure a1 + u.d computation is not scheduled after fetestexcept.
50409 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
50411         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
50412         computation is not scheduled after fetestexcept.
50414 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
50416         [BZ #14117]
50417         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
50418         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
50420 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50422         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
50423         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
50425 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
50427         [BZ #14117]
50428         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
50429         <bits/wordsize.h>.
50430         (__WCHAR_MIN): Support __WORDSIZE == 64.
50431         (__WCHAR_MAX): Likewise.
50433         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
50434         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
50436         [BZ #14183]
50437         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
50438         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
50440         [BZ #14117]
50441         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
50442         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
50444         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
50445         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
50447         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
50448         Defined to 1 if __x86_64__ isn't defined.
50449         (_STAT_VER_LINUX_OLD): New.
50450         (st_atime): Remove duplicate.
50451         (st_mtime): Likewise.
50452         (st_ctime): Likewise.
50454 2012-05-31  David S. Miller  <davem@davemloft.net>
50456         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
50457         entries.
50459 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
50461         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
50462         gen-libm-test.pl.
50464         [BZ #14132]
50465         * elf/dl-reloc.c: Include <_itoa.h>.
50466         (_dl_reloc_bad_type): Remove use of INTUSE.
50467         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
50468         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
50469         * stdio-common/psiginfo.c (psiginfo): Likewise.
50470         * stdio-common/psignal.c (psignal): Likewise.
50471         * string/strsignal.c (strsignal): Likewise.
50472         * include/signal.h (_sys_siglist): Declare hidden proto.
50473         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
50474         INTVARDEF with libc_hidden_data_def.
50475         * stdio-common/itoa-udigits.c: Likewise.
50476         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
50477         (_itoa_lower_digits_internal): Remove declaration.
50478         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
50479         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
50480         (_sys_sigabbrev_internal): Remove aliases.
50481         (_sys_siglist): Define hidden alias.
50483 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
50485         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50486         bits/sysctl.h.
50488 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
50490         [BZ #14117]
50491         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
50492         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
50494         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
50495         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
50496         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
50497         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
50498         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
50499         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
50501         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
50502         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
50503         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
50505         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
50506         with __addr.
50507         (insw): Likewise.
50508         (insl): Likewise.
50509         (outsb): Likewise.
50510         (outsw): Likewise.
50511         (outsl): Likewise.
50513         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
50514         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
50515         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
50517         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
50518         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
50519         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
50520         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
50521         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
50522         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
50524         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
50525         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
50527         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
50528         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
50530         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
50531         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
50532         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
50534         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
50535         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
50536         to ...
50537         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
50539         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
50540         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
50541         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
50543         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
50544         for x86-64.
50545         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
50547 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
50549         * math/math.h (M_El): Use two more decimal places.
50550         (M_LOG2El): Likewise.
50551         (M_LOG10El): Likewise.
50552         (M_LN2l): Likewise.
50553         (M_LN10l): Likewise.
50554         (M_PIl): Likewise.
50555         (M_PI_2l): Likewise.
50556         (M_PI_4l): Likewise.
50557         (M_1_PIl): Likewise.
50558         (M_2_PIl): Likewise.
50559         (M_2_SQRTPIl): Likewise.
50560         (M_SQRT2l): Likewise.
50561         (M_SQRT1_2l): Likewise.
50563 2012-05-31  David S. Miller  <davem@davemloft.net>
50565         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
50566         values between float registers.
50567         * sysdeps/sparc/sparc64/memset.S: Likewise.
50568         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
50570 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
50572         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
50573         -D_FORTIFY_SOURCE=1.
50574         (CPPFLAGS-tst-longjmp_chk.c): Define.
50575         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
50576         (CPPFLAGS-tst-longjmp_chk2.c): Define.
50577         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
50578         CFLAGS-tst-wchar-h.c.
50580 2012-05-31  Marek Polacek  <polacek@redhat.com>
50582         [BZ #14132]
50583         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
50584         __endmntent_internal): Remove declaration.
50585         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
50586         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
50587         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
50589 2012-05-30  David S. Miller  <davem@davemloft.net>
50591         * sysdeps/sparc/sparc32/soft-fp/q_util.c
50592         (___Q_simulate_exceptions): Use real FP ops rather than writing
50593         into the %fsr.
50594         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
50595         Likewise.
50597 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
50599         [BZ #14117]
50600         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
50601         * sysdeps/x86/bits/xtitypes.h: This.
50603         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
50604         * sysdeps/x86/bits/wordsize.h: This.
50606         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
50607         * sysdeps/x86/bits/huge_vall.h: This.
50609         * sysdeps/i386/bits/select.h: Removed.
50610         * sysdeps/x86_64/bits/select.h: Renamed to ...
50611         * sysdeps/x86/bits/select.h: This.
50613         * sysdeps/i386/bits/setjmp.h: Removed.
50614         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
50615         * sysdeps/x86/bits/setjmp.h: This.
50617         * sysdeps/i386/bits/mathdef.h: Removed.
50618         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
50619         * sysdeps/x86/bits/mathdef.h: This.
50621 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
50623         [BZ #14132]
50624         * include/sys/socket.h (__connect_internal)
50625         (__libc_sa_len_internal): Remove declaration.
50626         (__connect, __libc_sa_len): Declare hidden_proto.
50627         (SA_LEN): Remove use of INTUSE.
50628         * socket/connect.c: Add libc_hidden_def.
50629         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
50630         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
50631         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
50632         alias.
50633         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
50634         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
50635         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
50636         of adding _internal alias.
50638 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
50640         [BZ #14117]
50641         * sysdeps/i386/bits/link.h: Removed.
50642         * sysdeps/i386/bits/linkmap.h: Likewise.
50643         * sysdeps/x86_64/bits/link.h: Renamed to ...
50644         * sysdeps/x86/bits/link.h: This.
50645         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
50646         * sysdeps/x86/bits/linkmap.h: This.
50648         * sysdeps/i386/bits/endian.h: Removed.
50649         * sysdeps/x86_64/bits/endian.h: Renamed to ...
50650         * sysdeps/x86/bits/endian.h: This.
50652         * sysdeps/i386/bits/byteswap.h: Removed.
50653         * sysdeps/i386/bits/byteswap-16.h: Likewise.
50654         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
50655         * sysdeps/x86/bits/byteswap.h: This.
50656         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
50657         * sysdeps/x86/bits/byteswap-16.h: This.
50658         * sysdeps/i386/Implies: Add x86.
50659         * sysdeps/x86_64/Implies: Likewise.
50661 2012-05-30  David S. Miller  <davem@davemloft.net>
50663         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
50664         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
50665         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
50666         (FP_TRAPPING_EXCEPTIONS): Define.
50667         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
50668         (FP_TRAPPING_EXCEPTIONS): Define.
50669         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
50670         subnormals only when inexact has been signalled or underflow
50671         exceptions are enabled.
50672         (_FP_PACK_CANONICAL): Likewise.
50674 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
50676         [BZ #14183]
50677         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
50678         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
50680 2012-05-30  Richard Henderson  <rth@twiddle.net>
50682         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
50683         with #ifndef NOT_IN_libc.
50685         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
50686         marked to avoid plt entry.
50688 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
50690         [BZ #14112]
50691         * Makeconfig (default-abi): New macro.
50692         (abi-includes): Likewise.
50693         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
50694         $(abi-$(default-abi)-lib-soname) for soname if defined.
50695         ($(common-objpfx)gnu/lib-names.stmp): Generate from
50696         abi-variants.
50697         * Makefile (installed-stubs): Likewise.
50698         * include/stubs-biarch.h: Removed.
50699         * scripts/lib-names.awk: Only handle one library at a time.
50700         * scripts/soversions.awk: Remove WORDSIZE support.
50701         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
50702         entries.
50703         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
50704         Removed.
50705         (syscall-list-default-condition): Likewise.
50706         (syscall-list-default-condition): Likewise.
50707         (syscall-list-includes): Likewise.
50708         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
50709         syscall-list-* with abi-*.  Handle undefined abi-variants.
50710         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
50711         * sysdeps/unix/sysv/linux/i386/Implies: New file.
50712         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
50713         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
50714         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
50715         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
50716         Removed.
50717         (syscall-list-32-options): Likewise.
50718         (syscall-list-32-condition): Likewise.
50719         (syscall-list-64-options): Likewise.
50720         (syscall-list-64-condition): Likewise.
50721         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
50722         macro.
50723         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
50724         Renamed to ...
50725         (abi-*): This.
50726         (abi-64-ld-soname): New macro.
50727         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
50728         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
50729         Renamed to ...
50730         (abi-*): This.
50731         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
50732         * sysdeps/x86_64/x32/shlib-versions: Likewise.
50734 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
50736         * sysdeps/unix/sysv/linux/kernel-features.h
50737         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
50738         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
50739         include <kernel-features.h>.
50740         [!__NR_ftruncate64]: Remove conditional code.
50741         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
50742         [__NR_ftruncate64]: Make code unconditional.
50743         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
50744         * sysdeps/unix/sysv/linux/truncate64.c: Do not
50745         include <kernel-features.h>.
50746         [!__NR_ftruncate64]: Remove conditional code.
50747         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
50748         [__NR_ftruncate64]: Make code unconditional.
50749         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
50750         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
50751         include <kernel-features.h>.
50752         [!__NR_ftruncate64]: Remove conditional code.
50753         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
50754         [__NR_ftruncate64]: Make code unconditional.
50755         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
50756         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
50757         include <kernel-features.h>.
50758         [!__NR_ftruncate64]: Remove conditional code.
50759         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
50760         [__NR_ftruncate64]: Make code unconditional.
50761         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
50763         * configure.in (libc_cv_fpie): Weaken to a compile test using
50764         LIBC_TRY_CC_OPTION.
50765         * configure: Regenerated.
50767 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50769         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
50770         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
50771         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
50772         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
50773         Refreshed.
50774         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
50775         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
50776         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
50777         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
50778         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
50779         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
50780         Refreshed.
50782 2012-05-27  David S. Miller  <davem@davemloft.net>
50784         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
50785         (___Q_zero): New.
50786         (__Q_simulate_exceptions): Return void.  Change to simulate
50787         exceptions by writing into the %fsr.
50788         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
50789         (__Qp_handle_exceptions): Likewise.
50790         (numbers): Delete.
50791         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
50792         __Qp_handle_exceptions.
50793         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
50794         __Qp_handle_exceptions.
50795         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
50796         as unused and give dummy FP_RND_NEAREST initializer.
50797         (FP_INHIBIT_RESULTS): Define.
50798         (___Q_simulate_exceptions): Update declaration.
50799         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
50800         formatting.
50801         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
50802         as unused and give dummy FP_RND_NEAREST initializer.
50803         (__Qp_handle_exceptions): Update declaration.
50804         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
50805         formatting.
50807 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
50809         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
50810         the temporary FPU control word.
50811         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
50812         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
50813         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
50814         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
50815         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
50816         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
50817         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
50818         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
50819         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
50820         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
50821         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
50823 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
50825         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
50826         fields.
50828 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
50830         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
50831         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
50832         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
50833         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
50834         Likewise.
50835         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
50836         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
50837         Likewise.
50839 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
50841         * po/h.po: Update from translation team.
50843 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
50845         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
50847         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
50848         handling of denormals.
50849         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
50850         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
50851         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
50852         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
50853         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
50854         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
50855         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
50856         Likewise.
50858 2012-05-26  Marek Polacek  <polacek@redhat.com>
50860         [BZ #14152]
50861         * math/libm-test.inc (fma_test): Don't always expect underflow
50862         exception.
50864 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
50866         [BZ #12416]
50867         * elf/tst-execstack.c: Include stackinfo.h.
50868         (do_test): Adjust test case to ensure that pthread_getattr_np
50869         behaviour remains the same after marking stack executable.
50871 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
50873         * sysdeps/unix/sysv/linux/kernel-features.h
50874         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
50875         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
50876         kernel-features.h.
50877         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
50878         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
50879         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
50880         kernel-features.h.
50881         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
50882         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
50884 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
50886         * configure.in: Define the default includes to being none.
50887         * configure: Regenerated.
50889 2012-05-25  Roland McGrath  <roland@hack.frob.com>
50891         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
50892         * sysdeps/x86_64/setjmp.S: Likewise.
50893         * sysdeps/i386/bsd-setjmp.S: Likewise.
50894         * sysdeps/i386/bsd-_setjmp.S: Likewise.
50895         * sysdeps/i386/setjmp.S: Likewise.
50896         * sysdeps/i386/__longjmp.S: Likewise.
50897         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
50898         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
50900         * include/stap-probe.h: New file.
50901         * configure.in: Handle --enable-systemtap.
50902         * configure: Regenerated.
50903         * config.h.in (USE_STAP_PROBE): New #undef.
50904         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
50905         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
50906         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
50908 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
50910         [BZ #13717]
50911         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
50912         to 2.4.0 where earlier.
50913         * sysdeps/unix/sysv/linux/configure: Regenerated.
50914         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
50915         <kernel-features.h>.
50916         [__ASSUME_32BITUIDS]: Make code unconditional.
50917         [!__ASSUME_32BITUIDS]: Remove conditional code.
50918         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
50919         <kernel-features.h>.
50920         [__ASSUME_32BITUIDS]: Make code unconditional.
50921         [!__ASSUME_32BITUIDS]: Remove conditional code.
50922         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
50923         [__ASSUME_32BITUIDS]: Make code unconditional.
50924         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
50925         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
50926         <kernel-features.h>.
50927         [__ASSUME_32BITUIDS]: Make code unconditional.
50928         [!__ASSUME_32BITUIDS]: Remove conditional code.
50929         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
50930         <kernel-features.h>.
50931         [__ASSUME_32BITUIDS]: Make code unconditional.
50932         [!__ASSUME_32BITUIDS]: Remove conditional code.
50933         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
50934         <kernel-features.h>.
50935         [__ASSUME_32BITUIDS]: Make code unconditional.
50936         [!__ASSUME_32BITUIDS]: Remove conditional code.
50937         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
50938         <kernel-features.h>.
50939         [__ASSUME_32BITUIDS]: Make code unconditional.
50940         [!__ASSUME_32BITUIDS]: Remove conditional code.
50941         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
50942         <kernel-features.h>.
50943         [__ASSUME_32BITUIDS]: Make code unconditional.
50944         [!__ASSUME_32BITUIDS]: Remove conditional code.
50945         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
50946         <kernel-features.h>.
50947         [__ASSUME_32BITUIDS]: Make code unconditional.
50948         [!__ASSUME_32BITUIDS]: Remove conditional code.
50949         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
50950         <kernel-features.h>.
50951         [__ASSUME_32BITUIDS]: Make code unconditional.
50952         [!__ASSUME_32BITUIDS]: Remove conditional code.
50953         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
50954         <kernel-features.h>.
50955         [__ASSUME_32BITUIDS]: Make code unconditional.
50956         [!__ASSUME_32BITUIDS]: Remove conditional code.
50957         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
50958         <kernel-features.h>.
50959         [__ASSUME_32BITUIDS]: Make code unconditional.
50960         [!__ASSUME_32BITUIDS]: Remove conditional code.
50961         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
50962         <kernel-features.h>.
50963         [__ASSUME_32BITUIDS]: Make code unconditional.
50964         [!__ASSUME_32BITUIDS]: Remove conditional code.
50965         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
50966         <kernel-features.h>.
50967         [__NR_setresgid] (__setresgid): Do not declare.
50968         [__ASSUME_32BITUIDS]: Make code unconditional.
50969         [!__ASSUME_32BITUIDS]: Remove conditional code.
50970         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
50971         <kernel-features.h>.
50972         [__NR_setresuid] (__setresuid): Do not declare.
50973         [__ASSUME_32BITUIDS]: Make code unconditional.
50974         [!__ASSUME_32BITUIDS]: Remove conditional code.
50975         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
50976         <kernel-features.h>.
50977         [__ASSUME_32BITUIDS]: Make code unconditional.
50978         [!__ASSUME_32BITUIDS]: Remove conditional code.
50979         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
50980         <kernel-features.h>.
50981         [__ASSUME_32BITUIDS]: Make code unconditional.
50982         [!__ASSUME_32BITUIDS]: Remove conditional code.
50983         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
50984         <kernel-features.h>.
50985         [__ASSUME_32BITUIDS]: Make code unconditional.
50986         [!__ASSUME_32BITUIDS]: Remove conditional code.
50987         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
50988         <kernel-features.h>.
50989         [__ASSUME_32BITUIDS]: Make code unconditional.
50990         [!__ASSUME_32BITUIDS]: Remove conditional code.
50991         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
50992         <kernel-features.h>.
50993         [__ASSUME_32BITUIDS]: Make code unconditional.
50994         [!__ASSUME_32BITUIDS]: Remove conditional code.
50995         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
50996         <kernel-features.h>.
50997         [__ASSUME_32BITUIDS]: Make code unconditional.
50998         [!__ASSUME_32BITUIDS]: Remove conditional code.
50999         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
51000         <kernel-features.h>.
51001         [__ASSUME_32BITUIDS]: Make code unconditional.
51002         [!__ASSUME_32BITUIDS]: Remove conditional code.
51003         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
51004         <kernel-features.h>.
51005         [__ASSUME_32BITUIDS]: Make code unconditional.
51006         [!__ASSUME_32BITUIDS]: Remove conditional code.
51007         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
51008         <kernel-features.h>.
51009         [__ASSUME_32BITUIDS]: Make code unconditional.
51010         [!__ASSUME_32BITUIDS]: Remove conditional code.
51011         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
51012         <kernel-features.h>.
51013         [__ASSUME_32BITUIDS]: Make code unconditional.
51014         [!__ASSUME_32BITUIDS]: Remove conditional code.
51015         * sysdeps/unix/sysv/linux/kernel-features.h
51016         (__ASSUME_SETRESUID_SYSCALL): Remove.
51017         (__ASSUME_SETRESGID_SYSCALL): Likewise.
51018         (__ASSUME_32BITUIDS): Likewise.
51019         (__ASSUME_LDT_WORKS): Likewise.
51020         (__ASSUME_O_DIRECTORY): Likewise.
51021         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
51022         architecture but not kernel version.
51023         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
51024         (__ASSUME_MMAP2_SYSCALL): Likewise.
51025         (__ASSUME_STAT64_SYSCALL): Likewise.
51026         (__ASSUME_IPC64): Likewise.
51027         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
51028         <kernel-features.h>.
51029         [__ASSUME_32BITUIDS]: Make code unconditional.
51030         [!__ASSUME_32BITUIDS]: Remove conditional code.
51031         * sysdeps/unix/sysv/linux/opendir.c: Do not include
51032         <kernel-features.h>.
51033         [__ASSUME_O_DIRECTORY]: Make code unconditional.
51034         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
51035         132096]: Remove conditional code.
51036         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
51037         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
51038         <kernel-features.h>.
51039         [__ASSUME_32BITUIDS]: Make code unconditional.
51040         [!__ASSUME_32BITUIDS]: Remove conditional code.
51041         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
51042         <kernel-features.h>.
51043         [__ASSUME_32BITUIDS]: Make code unconditional.
51044         [!__ASSUME_32BITUIDS]: Remove conditional code.
51045         * sysdeps/unix/sysv/linux/setegid.c: Do not include
51046         <kernel-features.h>.
51047         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
51048         unconditional.
51049         (__setresgid): Do not declare.
51050         [__ASSUME_32BITUIDS]: Make code unconditional.
51051         [!__ASSUME_32BITUIDS]: Remove conditional code.
51052         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
51053         <kernel-features.h>.
51054         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
51055         unconditional.
51056         (__setresuid): Do not declare.
51057         [__ASSUME_32BITUIDS]: Make code unconditional.
51058         [!__ASSUME_32BITUIDS]: Remove conditional code.
51059         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
51060         <kernel-features.h>.
51061         [__ASSUME_32BITUIDS]: Make code unconditional.
51062         [!__ASSUME_32BITUIDS]: Remove conditional code.
51063         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
51064         <kernel-features.h>.
51065         [__ASSUME_32BITUIDS]: Make code unconditional.
51066         [!__ASSUME_32BITUIDS]: Remove conditional code.
51068 2012-05-25  Richard Henderson  <rth@twiddle.net>
51070         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
51071         dl_hwcap to ifunc resolver.
51072         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
51073         elf_ifunc_invoke.
51074         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
51075         dl_hwcap to ifunc resolver.
51076         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
51078 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
51080         [BZ #14153]
51081         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
51082         for |x| <= 2**-26, not 2**-57.
51083         * math/libm-test.inc (acos_test): Do not allow spurious underflow
51084         exception.
51086 2012-05-24  Jeff Law  <law@redhat.com>
51088         * stdio-common/Makefile (tests): Add bug25.
51089         * stdio-common/bug25.c: New test.
51091 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
51093         [BZ #13576]
51094         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
51095         multiple of MALLOC_ALIGNMENT in size.
51096         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
51098 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
51100         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
51101         Require >= 256.
51102         (FILENAME_MAX): Use macro-int-constant.
51103         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
51104         (_IOFBF): Use macro-int-constant.
51105         (_IOLBF): Likewise.
51106         (_IONBF): Likewise.
51107         (SEEK_CUR): Likewise.
51108         (SEEK_END): Likewise.
51109         (SEEK_SET): Likewise.
51110         (TMP_MAX): Likewise.
51111         (EOF): Use macro-int-constant.  Require < 0.
51112         (NULL): Use macro-constant.  Require == 0.
51113         (stdin): Require type to be FILE *.
51114         (stdout): Likewise.
51115         (stderr): Likewise.
51116         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
51117         macro-int-constant.
51118         (EXIT_SUCCESS): Likewise.
51119         (NULL): Use macro-constant.  Require == 0.
51120         (RAND_MAX): Use macro-int-constant.
51121         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
51122         [C99-based standards] (strtof): Require function.
51123         [C99-based standards] (strtold): Likewise.
51124         [C99-based standards] (strtoll): Likewise.
51125         [C99-based standards] (strtoull): Likewise.
51126         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
51127         [ISO || ISO99 || ISO11] (limits.h): Likewise.
51128         [ISO || ISO99 || ISO11] (math.h): Likewise.
51129         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
51130         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
51131         [ISO || ISO99 || ISO11] (*_t): Do not allow.
51133 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
51135         [BZ #14132]
51136         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
51137         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
51138         * intl/dgettext.c (DCGETTEXT): Likewise.
51139         * intl/gettext.c (DCGETTEXT): Likewise.
51140         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
51141         * posix/regex_internal.h (gettext): Likewise.
51142         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
51143         Remove declaration.
51144         * include/argz.h (__argz_count_internal)
51145         (__argz_stringify_internal): Remove declaration.
51146         (__argz_count, __argz_stringify): Declare hidden proto.
51147         * intl/dcgettext.c: Remove use of INTDEF.
51148         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
51149         * string/argz-stringify.c: Likewise.
51150         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
51151         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
51152         Declare hidden proto.
51153         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
51154         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
51155         Declare hidden proto.
51156         * include/stdio.h (__asprintf_internal): Don't declare.
51157         (__asprintf): Don't define as macro.  Declare hidden proto.
51158         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
51159         (__fsetlocking): Declare hidden proto.
51160         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
51161         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
51162         hidden proto.
51163         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
51164         (_IO_setlinebuf): Remove use of INTUSE.
51165         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
51166         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
51167         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
51168         Remove declaration.
51169         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
51170         (_IO_do_flush): Remove use of INTUSE.
51171         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
51172         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
51173         (_IO_adjust_column, _IO_least_wmarker)
51174         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
51175         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
51176         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
51177         (_IO_default_doallocate, _IO_wdefault_doallocate)
51178         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
51179         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
51180         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
51181         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
51182         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
51183         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
51184         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
51185         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
51186         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
51187         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
51188         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
51189         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
51190         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
51191         proto.
51192         (_IO_flush_all_internal, _IO_adjust_column_internal)
51193         (_IO_default_uflow_internal, _IO_default_finish_internal)
51194         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
51195         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
51196         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
51197         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
51198         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
51199         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
51200         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
51201         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
51202         (_IO_file_close_internal, _IO_file_close_it_internal)
51203         (_IO_file_underflow_internal, _IO_file_overflow_internal)
51204         (_IO_file_init_internal, _IO_file_attach_internal)
51205         (_IO_file_fopen_internal, _IO_file_read_internal)
51206         (_IO_file_sync_internal, _IO_file_seek_internal)
51207         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
51208         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
51209         (_IO_str_underflow_internal, _IO_str_overflow_internal)
51210         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
51211         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
51212         (_IO_list_all_internal, _IO_link_in_internal)
51213         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
51214         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
51215         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
51216         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
51217         (_IO_do_write_internal, _IO_padn_internal)
51218         (_IO_getline_info_internal, _IO_getline_internal)
51219         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
51220         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
51221         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
51222         (_IO_vfscanf_internal, _IO_vfprintf_internal)
51223         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
51224         (_IO_init_internal, _IO_un_link_internal): Don't declare.
51225         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
51226         with libc_hidden_ver, remove use of INTUSE.
51227         * libio/genops.c: Likewise.
51228         * libio/freopen.c: Likewise.
51229         * libio/freopen64.c: Likewise.
51230         * libio/iofclose.c: Likewise.
51231         * libio/iofdopen.c: Likewise.
51232         * libio/iofflush.c: Likewise.
51233         * libio/iofflush_u.c: Likewise.
51234         * libio/iofgets.c: Likewise.
51235         * libio/iofgets_u.c: Likewise.
51236         * libio/iofopen.c: Likewise.
51237         * libio/iofopncook.c: Likewise.
51238         * libio/iofread.c: Likewise.
51239         * libio/iofread_u.c: Likewise.
51240         * libio/ioftell.c: Likewise.
51241         * libio/iofwrite.c: Likewise.
51242         * libio/iogetline.c: Likewise.
51243         * libio/iogets.c: Likewise.
51244         * libio/iogetwline.c: Likewise.
51245         * libio/iopadn.c: Likewise.
51246         * libio/iopopen.c: Likewise.
51247         * libio/ioseekoff.c: Likewise.
51248         * libio/ioseekpos.c: Likewise.
51249         * libio/iosetbuffer.c: Likewise.
51250         * libio/iosetvbuf.c: Likewise.
51251         * libio/ioungetc.c: Likewise.
51252         * libio/ioungetwc.c: Likewise.
51253         * libio/iovdprintf.c: Likewise.
51254         * libio/iovsprintf.c: Likewise.
51255         * libio/iovsscanf.c: Likewise.
51256         * libio/memstream.c: Likewise.
51257         * libio/obprintf.c: Likewise.
51258         * libio/oldfileops.c: Likewise.
51259         * libio/oldiofclose.c: Likewise.
51260         * libio/oldiofdopen.c: Likewise.
51261         * libio/oldiofopen.c: Likewise.
51262         * libio/oldiopopen.c: Likewise.
51263         * libio/oldstdfiles.c: Likewise.
51264         * libio/putc.c: Likewise.
51265         * libio/setbuf.c: Likewise.
51266         * libio/setlinebuf.c: Likewise.
51267         * libio/stdfiles.c: Likewise.
51268         * libio/strops.c: Likewise.
51269         * libio/vasprintf.c: Likewise.
51270         * libio/vscanf.c: Likewise.
51271         * libio/vsnprintf.c: Likewise.
51272         * libio/vswprintf.c: Likewise.
51273         * libio/wfiledoalloc.c: Likewise.
51274         * libio/wfileops.c: Likewise.
51275         * libio/wgenops.c: Likewise.
51276         * libio/wmemstream.c: Likewise.
51277         * libio/wstrops.c: Likewise.
51278         * libio/__fpurge.c: Likewise.
51279         * libio/__fsetlocking.c: Likewise.
51280         * assert/assert.c: Likewise.
51281         * debug/fgets_chk.c: Likewise.
51282         * debug/fgets_u_chk.c: Likewise.
51283         * debug/fread_chk.c: Likewise.
51284         * debug/fread_u_chk.c: Likewise.
51285         * debug/gets_chk.c: Likewise.
51286         * debug/obprintf_chk.c: Likewise.
51287         * debug/vasprintf_chk.c: Likewise.
51288         * debug/vdprintf_chk.c: Likewise.
51289         * debug/vsnprintf_chk.c: Likewise.
51290         * debug/vsprintf_chk.c: Likewise.
51291         * malloc/mtrace.c: Likewise.
51292         * misc/error.c: Likewise.
51293         * misc/syslog.c: Likewise.
51294         * stdio-common/asprintf.c: Likewise.
51295         * stdio-common/fxprintf.c: Likewise.
51296         * stdio-common/getw.c: Likewise.
51297         * stdio-common/isoc99_fscanf.c: Likewise.
51298         * stdio-common/isoc99_scanf.c: Likewise.
51299         * stdio-common/isoc99_vfscanf.c: Likewise.
51300         * stdio-common/isoc99_vscanf.c: Likewise.
51301         * stdio-common/isoc99_vsscanf.c: Likewise.
51302         * stdio-common/printf-prs.c: Likewise.
51303         * stdio-common/printf_fp.c: Likewise.
51304         * stdio-common/printf_fphex.c: Likewise.
51305         * stdio-common/printf_size.c: Likewise.
51306         * stdio-common/putw.c: Likewise.
51307         * stdio-common/scanf.c: Likewise.
51308         * stdio-common/sprintf.c: Likewise.
51309         * stdio-common/tmpfile.c: Likewise.
51310         * stdio-common/vfprintf.c: Likewise.
51311         * stdio-common/vfscanf.c: Likewise.
51312         * stdlib/strfmon_l.c: Likewise.
51313         * sunrpc/openchild.c: Likewise.
51314         * sunrpc/xdr_stdio.c: Likewise.
51315         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
51316         * sysdeps/mach/hurd/tmpfile.c: Likewise.
51318 2012-05-24  Roland McGrath  <roland@hack.frob.com>
51320         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
51322         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
51323         in the third column, to generate for the shared library an IFUNC
51324         that uses _dl_vdso_vsym.
51325         * Makerules (COMPILE.c, compile-stdin.c): New variables.
51326         * Makeconfig (object-suffixes-noshared): New variable.
51328         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
51329         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
51330         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
51331         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
51333         [BZ #14132]
51334         * include/sys/time.h (__gettimeofday): Remove macro.
51335         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
51336         * time/gettimeofday.c (__gettimeofday): Remove #undef.
51337         Remove INTDEF.
51338         (__gettimeofday): Add libc_hidden_def.
51339         (gettimeofday): Add libc_hidden_weak.
51340         * sysdeps/mach/gettimeofday.c: Likewise.
51341         * sysdeps/posix/gettimeofday.c: Likewise.
51342         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
51343         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
51344         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
51345         (__gettimeofday_internal): Remove strong_alias.
51346         (__gettimeofday): Add libc_hidden_def.
51347         (gettimeofday): Add libc_hidden_weak.
51348         * sysdeps/unix/syscalls.list (gettimeofday):
51349         Remove __gettimeofday_internal alias.
51351 2012-05-24  Daniel Jacobowitz  <drow@false.org>
51352             H.J. Lu  <hongjiu.lu@intel.com>
51354         [BZ #12495]
51355         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
51356         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
51357         (largebin_index_32_big): New.
51358         (largebin_index): Use it for 16-byte alignment.
51359         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
51360         correction with front_misalign.
51362 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
51364         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
51365         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
51366         Likewise.
51367         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
51368         Likewise.
51369         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
51370         Likewise.
51371         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
51372         Likewise.
51373         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
51374         Likewise.
51375         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
51376         Likewise.
51377         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
51378         Likewise.
51379         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
51380         Likewise.
51381         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
51382         Likewise.
51383         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
51384         Likewise.
51385         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
51386         Likewise.
51387         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
51388         Likewise.
51390         * scripts/data/c++-types-x32-linux-gnu.data: New file.
51391         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
51393 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
51395         [BZ #10846]
51396         [BZ #14036]
51397         * math/libm-test.inc (exp_test): Add test from bug 14036.
51398         (pow_test): Add test from bug 10846.
51400         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
51401         and other flags.
51402         (special_function): Do not include flags in test name.
51403         (parse_args): Likewise.
51404         * sysdeps/i386/fpu/libm-test-ulps: Update.
51405         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
51406         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
51407         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
51408         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51410         * math/gen-libm-test.pl (%beautify): Add entries for underflow
51411         exceptions.
51412         * math/libm-test.inc ("Philosophy"): Update comment about
51413         exception testing.
51414         (UNDERFLOW_EXCEPTION): New macro.
51415         (UNDERFLOW_EXCEPTION_OK): Likewise.
51416         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
51417         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
51418         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
51419         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
51420         (INVALID_EXCEPTION_OK): Update value.
51421         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
51422         (OVERFLOW_EXCEPTION_OK): Likewise.
51423         (IGNORE_ZERO_INF_SIGN): Likewise.
51424         (test_exceptions): Handle underflow exceptions.
51425         (acos_test): Update for underflow exception expectations.
51426         (cexp_test): Likewise.
51427         (clog_test): Likewise.
51428         (clog10_test): Likewise.
51429         (csqrt_test): Likewise.
51430         (ctan_test): Likewise.
51431         (ctanh_test): Likewise.
51432         (exp_test): Likewise.
51433         (exp10_test): Likewise.
51434         (exp2_test): Likewise.
51435         (expm1_test): Likewise.
51436         (fma_test): Likewise.
51437         (j0_test): Likewise.
51438         (jn_test): Likewise.
51439         (nexttoward_test): Likewise.
51440         (pow_test): Likewise.
51441         (scalbn_test): Likewise.
51442         (scalbln_test): Likewise.
51443         (tan_test): Likewise.
51444         (y1_test): Likewise.
51445         * sysdeps/i386/fpu/libm-test-ulps: Update.
51446         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51448 2012-05-23  David S. Miller  <davem@davemloft.net>
51450         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
51451         (__libc_sigaction): Remove unused local variables.
51453 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
51455         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
51457 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
51459         mktime: avoid signed integer overflow
51460         * time/mktime.c (__mktime_internal): Do not mishandle the case
51461         where diff == INT_MIN.
51463         mktime: simplify computation of average
51464         * time/mktime.c (ranged_convert): Use new time_t_avg function
51465         instead of rolling our own (probably-slower) code.
51467         mktime: do not assume signed right shift propagates sign bit
51468         * time/mktime.c (isdst_differ): New static function.
51469         (__mktime_internal): No need to normalize tm_isdst now.
51470         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
51471         tm_isdst values.
51473         mktime: merge another wrapv change from gnulib
51474         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
51475         from some compilers.
51477         mktime: remove incorrect attempt at unusual arithmetics
51478         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
51479         The code didn't really work on such machines anyway.
51480         (TYPE_MINIMUM): Assume two's complement.
51481         (twos_complement_arithmetic): Verify that long_int and time_t
51482         are two's complement (or unsigned, in the latter case).
51484         mktime: check signed shifts on long_int and time_t, too
51485         * time/mktime.c (SHR): Check that shifts work as desired
51486         on the types long_int and time_t too, as SHR is used on
51487         such types.
51489         mktime: do not assume 'long' is wide enough
51490         * time/mktime.c (verify): Move decl up.
51491         (long_int): New type.
51492         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
51493         to remove assumption in the code that 'long' is wide enough to
51494         store year values.  This assumption is not true on x32 and on
51495         some non-glibc platforms.
51497         mktime: merge wrapv change from gnulib
51498         * time/mktime.c (WRAPV): New macro.
51499         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
51500         (guess_time_tm, __mktime_internal): Do not assume that signed
51501         integer overflow wraps around; modern compilers generate code
51502         where this assumption is no longer valid.
51504 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
51506         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
51507         Replace "jmp L(pseudo_end)" with "ret".
51508         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
51509         Likewise.
51511 2012-05-23  Andreas Jaeger  <aj@suse.de>
51513         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
51514         * sysdeps/unix/sysv/linux/poll.c: Remove file.
51516 2012-05-23  Andreas Jaeger  <aj@suse.de>
51517             Maximilian Attems  <max@stro.at>
51519         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
51520         New macros.
51522 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
51524         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
51525         code so that pseudo_end is just ret and the stack pointer is
51526         correct also for static library in error case.
51528 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
51530         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
51531         move to syscalls.list.
51532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
51533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
51534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
51535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
51537         * manual/install.texi (Running make install): Do not mention Linux
51538         kernel version for which pt_chown is not needed.
51539         (Linux): Do not mention problems with nscd with 2.0 kernels.
51540         * INSTALL: Regenerated.
51542 2012-05-23  Andreas Jaeger  <aj@suse.de>
51544         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
51545         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
51546         macro.
51547         * sysdeps/unix/sysv/linux/s390/bits/mman.h
51548         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
51549         * sysdeps/unix/sysv/linux/sh/bits/mman.h
51550         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
51551         * sysdeps/unix/sysv/linux/i386/bits/mman.h
51552         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
51553         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
51554         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
51555         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
51556         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
51557         * sysdeps/unix/sysv/linux/bits/in.h
51558         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
51560 2012-05-22  Roland McGrath  <roland@hack.frob.com>
51562         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
51563         (PREPARE_VERSION): Just use assert instead, it will be elided
51564         under [NDEBUG] anyway.
51566 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
51568         * sysdeps/unix/sysv/linux/Makefile: Include
51569         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
51570         (sysdep_routines): Remove sysctl.
51571         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
51572         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
51573         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
51574         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
51575         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
51577 2012-05-22  Andreas Jaeger  <aj@suse.de>
51579         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
51580         that pseudo_end is just ret and the stack pointer is correct also
51581         for static library in error case.
51583 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
51585         [BZ #14122]
51586         * nss/nsswitch.c (defconfig_entries): New variable.
51587         (__nss_database_lookup): Don't leak defconfig entries.
51588         (nss_parse_service_list): Don't leak on error paths.
51589         (free_database_entries): New function.
51590         (free_defconfig): New function.
51591         (free_mem): Move common code to free_database_entries.
51593 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
51595         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
51596         Add arch_prctl.
51597         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
51599         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
51600         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
51601         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
51602         New macro.
51603         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
51604         (INTERNAL_SYSCALL_TYPES): Likewise.
51605         (LOAD_ARGS_TYPES_[1-6]): Likewise.
51606         (LOAD_REGS_TYPES_[1-6]): Likewise.
51607         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
51608         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
51610 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51612         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
51613         copysignl for GLIBC_2_0.
51614         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
51615         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
51616         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
51617         logbl for GLIBC_2_0.
51618         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
51619         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
51621 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
51623         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
51624         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
51626         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
51627         Use "neg %eax".
51629         * time/mktime.c: Update copyright years.
51631 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
51633         mktime: merge comment-quoting-style change from gnulib
51634         * time/mktime.c: Quote 'like this' in comments.
51635         The GNU coding standards suggest that we no longer quote `like this',
51636         as "`" and "'" are typically rendered asymmetrically nowadays.
51637         The typical gnulib style is to quote 'like this' when quoting
51638         code, and "like this" when quoting English.
51640         * time/mktime.c (compile-command): Add "-I.".
51642         mktime: merge mktime-internal.h change from gnulib
51643         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
51645         mktime: merge time_r change from gnulib
51646         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
51648         mktime: merge DEBUG change from gnulib
51649         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
51650         case system <time.h> has a #define.
51652         mktime: merge <sys/types.h> change from gnulib
51653         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
51654         since <time.t> is now guaranteed to define time_t.
51656         mktime: merge HAVE_CONFIG_H change from gnulib
51657         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
51659 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
51661         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
51662         Use "neg %eax".
51664         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
51665         __rlim_t cast.
51666         (struct rusage): Use anonymous union to pad each field to
51667         __syscall_slong_t.
51669 2012-05-21  David S. Miller  <davem@davemloft.net>
51671         * Makefules (o-iterator): Remove .s cases.
51672         (compile-command.s): Delete.
51673         (COMPILE.s): Delete.
51674         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
51676 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
51678         * configure.in (libc_cv_predef_stack_protector): Only consider
51679         "foobar" and "__stack_chk_fail" lines in libc_undefs.
51680         * configure: Regenerated.
51682 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
51684         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
51685         New macro.  Use R*LP on int and pointer.
51686         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
51687         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
51688         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
51689         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
51691         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
51692         [__WORDSIZE_TIME64_COMPAT32] instead of
51693         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
51694         (struct utmp): Likewise.
51695         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
51696         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
51697         Renamed to ...
51698         (__WORDSIZE_TIME64_COMPAT32): This.
51699         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
51700         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
51701         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
51702         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
51703         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
51704         (__WORDSIZE_TIME64_COMPAT32): New macro.
51706 2012-05-21  Andreas Jaeger  <aj@suse.de>
51708         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
51709         only if [SHARED]. Add prototype for __wcschr_ia32.
51711 2012-05-21  Roland McGrath  <roland@hack.frob.com>
51713         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
51714         of %rbp unmolested in the jmp_buf while mangling the low bits.
51715         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
51716         unmolested high bits of %rbp while demangling the low bits.
51717         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
51719 2012-05-21  Andreas Jaeger  <aj@suse.de>
51721         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
51722         * sunrpc/svc_simple.c: Use it for registerrpc.
51723         * sunrpc/xcrypt.c: Use it for passwd2des.
51725         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
51727 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
51729         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
51730         Don't define if [__SYSCALL_WORDSIZE != 32].
51731         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
51732         New macro.
51734 2012-05-21  Bruno Haible  <bruno@clisp.org>
51735             Andreas Jaeger  <aj@suse.de>
51737         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
51738         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
51739         inptr and inend for must_buffer_ch.
51740         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
51741         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
51742         * stdio-common/Makefile (tests): Remove bug15.
51743         (bug15-ENV): Remove macro.
51744         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
51745         anymore.
51747 2012-05-19  Andreas Jaeger  <aj@suse.de>
51748             Roland McGrath  <roland@hack.frob.com>
51750         * manual/contrib.texi: Completely rewritten. It contains now an
51751         alphabetical list of contributors and their contributions.
51753 2012-05-21  Richard Henderson  <rth@twiddle.net>
51755         * misc/getauxval.c (__getauxval): Use unsigned long int.
51756         * misc/sys/auxv.h: Include <sys/cdefs.h>.
51757         (getauxval): Use unsigned long int.
51759 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
51761         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
51763 2012-05-21  Roland McGrath  <roland@hack.frob.com>
51765         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
51766         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
51767         __alignof__ (long double).
51769 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51771         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51773 2012-05-20  Richard Henderson  <rth@twiddle.net>
51775         * misc/getauxval.c: New file.
51776         * misc/sys/auxv.h: New file.
51777         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
51778         (routines): Add getauxval.
51779         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
51780         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
51781         * elf/dl-sysdep.c (_dl_auxv): Remove.
51782         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
51783         * elf/dl-support.c (_dl_auxv): New variable.
51784         (_dl_aux_init): Initialize it.
51785         * manual/startup.texi (Auxiliary Vector): New node.
51786         * sysdeps/generic/bits/hwcap.h: New file.
51787         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
51788         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
51789         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
51790         * sysdeps/sparc/sysdep.h: ... here.  Include it.
51791         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
51792         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
51793         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
51794         Update.
51795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
51796         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
51797         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
51798         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
51799         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
51800         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
51801         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
51802         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
51804 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51806         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51808 2012-05-19  David S. Miller  <davem@davemloft.net>
51810         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51812 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
51814         [BZ #14123]
51815         * math/s_ccosh.c: Include <float.h>
51816         (__ccosh): Avoid internal overflow calculating sinh and cosh
51817         values before multiplying by sin and cos values.
51818         * math/s_ccoshf.c: Likewise.
51819         * math/s_ccoshl.c: Likewise.
51820         * math/s_csin.c: Likewise.
51821         * math/s_csinf.c: Likewise.
51822         * math/s_csinl.c: Likewise.
51823         * math/s_csinh.c: Likewise.
51824         * math/s_csinhf.c: Likewise.
51825         * math/s_csinhl.c: Likewise.
51826         * math/libm-test.inc (ccos_test): Add more tests.
51827         (ccosh_test): Likewise.
51828         (csin_test): Likewise.
51829         (csinh_test): Likewise.
51830         * sysdeps/i386/fpu/libm-test-ulps: Update.
51831         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51833 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
51835         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
51836         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
51838         * sysdeps/x86_64/x32/_itoa.h: Add comment.
51840 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
51842         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
51843         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
51844         * sysdeps/powerpc/soft-fp/Versions: Likewise.
51845         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
51846         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
51847         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
51848         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
51849         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
51850         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
51851         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
51852         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
51853         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
51854         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
51855         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
51856         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
51857         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
51858         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
51859         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
51860         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
51861         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
51862         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
51863         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
51864         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
51865         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
51866         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
51867         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
51868         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
51869         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
51870         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
51871         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
51872         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
51874 2012-05-18  Andreas Jaeger  <aj@suse.de>
51876         * csu/.gitignore: Delete.
51878 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
51880         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
51881         (timex): Use __syscall_slong_t.
51883 2012-05-18  Andreas Jaeger  <aj@suse.de>
51884             Carlos O'Donell  <carlos_odonell@mentor.com>
51886         * manual/install.texi (Configuring and compiling): Update
51887         description about files modified in the source directory.
51888         * INSTALL: Regenerated.
51890 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
51892         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
51893         value.  Use "or" to set return value to -1.
51894         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
51895         negate return value.
51897 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
51899         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
51900         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
51901         failure if the compiler has Graphite support disabled.
51902         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
51903         Likewise.
51904         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
51905         (CFLAGS-memmove.c): Likewise.
51906         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
51907         Likewise.
51909 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
51911         * sysdeps/x86_64/x32/_itoa.h: New file.
51913         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
51914         getdents system call only if kernel and user dirents have the
51915         same d_ino and d_off.
51917         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
51918         LLONG_MAX != LONG_MAX.
51919         (_itoa_word): Use _ITOA_WORD_TYPE on value.
51920         (_fitoa_word): Likewise.
51922         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
51923         years.
51924         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
51925         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
51926         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
51928         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
51929         include <bits/wordsize.h>.  Check __x86_64__ instead of
51930         __WORDSIZE.
51931         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
51932         if __x86_64__ is defined.  Use anonymous union on fpstate.
51934         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
51935         anonymous union.
51937 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
51939         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
51940         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
51941         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
51942         Refer to _rtld_local_ro instead of _rtld_global_ro.
51943         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
51944         Likewise.
51945         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
51946         Likewise.
51947         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
51948         Likewise.
51949         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
51950         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
51951         of _rtld_global, and rtld_progname instead of _dl_argv[0].
51953         [BZ #10882]
51954         * sysdeps/powerpc/powerpc32/dl-machine.c
51955         (__elf_machine_runtime_setup) [PROF]: Don't reference
51956         _dl_prof_resolve.
51958 2012-05-18  Andreas Jaeger  <aj@suse.de>
51960         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
51961         function only available for GCCs before 3.4 since GCC 3.4
51962         introduced a builtin.
51963         (lrint): Likewise.
51964         (llrintf): Likewise.
51965         (llrint): Likewise.
51966         (fmaxf): Likewise.
51967         (fmax): Likewise.
51968         (fminf): Likewise.
51969         (fmin): Likewise.
51970         (rint): Likewise.
51971         (rintf): Likewise.
51972         (nearbyint): Likewise.
51973         (nearbyintf): Likewise.
51974         (ceil): Likewise.
51975         (ceilf): Likewise.
51976         (floor): Likewise.
51977         (floorf): Likewise.
51979 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
51981         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
51982         on both fields and cast pointer to __syscall_ulong_t.
51984         * bits/types.h (__fsword_t): New type.
51985         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
51986         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
51987         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
51988         (__FSWORD_T_TYPE): Likewise.
51989         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
51990         (__FSWORD_T_TYPE): Likewise.
51991         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
51992         (__FSWORD_T_TYPE): Likewise.
51993         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
51994         (__FSWORD_T_TYPE): Likewise.
51995         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
51996         __SWORD_TYPE with __fsword_t.
51997         (statfs64): Likewise.
51999 2012-05-17  David S. Miller  <davem@davemloft.net>
52001         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
52003 2012-05-17  Andreas Jaeger  <aj@suse.de>
52005         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
52006         warning.
52008 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
52010         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
52012 2012-05-17  Andreas Jaeger  <aj@suse.de>
52014         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
52015         when it is used.
52017 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
52019         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
52021 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
52023         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
52024         * sysdeps/x86_64/tst-mallocalign1.c: New file.
52026 2012-05-17  Andreas Jaeger  <aj@suse.de>
52027             Carlos O'Donell  <carlos_odonell@mentor.com>
52029         [BZ #14059]
52030         * sysdeps/x86_64/multiarch/init-arch.h
52031         (bit_YMM_Usable): Rename to...
52032         (bit_AVX_Usable): ... this.
52033         (bit_FMA4_Usable): New macro.
52034         (bit_XMM_state): New macro.
52035         (bit_YMM_state): New macro.
52036         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
52037         [__ASSEMBLER__] (index_AVX_Usable): ... this.
52038         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
52039         (CPUID_OSXSAVE): New macro.
52040         (CPUID_AVX): New macro.
52041         (CPUID_FMA4): New macro.
52042         (index_YMM_Usable): Rename to...
52043         (index_AVX_Usable): ... this.
52044         (HAS_AVX): Use HAS_ARCH_FEATURE.
52045         (HAS_FMA4): Likewise.
52046         (HAS_YMM_USABLE): Remove.
52047         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52048         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
52049         are present.
52050         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
52051         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
52052         * sysdeps/x86_64/multiarch/Makefile: Likewise.
52053         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
52054         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
52056 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
52058         * math/libm-test.c: Support platforms without multiple rounding modes.
52059         * math/bug-nextafter.c: Support platforms without FP exceptions.
52060         * math/bug-nexttoward.c: Likewise.
52061         * math/test-fenv.c: Likewise.
52062         * math/test-misc.c: Likewise.
52063         * stdlib/bug-getcontext.c: Likewise.
52065 2012-05-17  Andreas Jaeger  <aj@suse.de>
52067         * manual/examples/search.c (critter_cmp): Change signature to
52068         avoid warnings.
52069         * manual/string.texi (Collation Functions): Likewise.
52071 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
52073         * bits/types.h: Fold copyright years.
52074         * bits/typesizes.h: Likewise.
52075         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
52076         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
52077         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
52078         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
52079         * time/time.h: Likewise.
52081 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
52083         [BZ #208]
52084         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
52085         in instead of returning them.  Return void.
52086         (__libc_mallinfo): Accumulate over all arenas.
52087         (__malloc_stats): Adjust for change in int_mallinfo interface.
52089 2012-05-16  Roland McGrath  <roland@hack.frob.com>
52091         [BZ #10375]
52092         * configure.in (NM): Add AC_CHECK_TOOL for it.
52093         (libc_extra_cflags): New substituted variable.
52094         Check for -fstack-protector being used implicitly.
52095         * configure: Regenerated.
52096         * config.make.in (config-extra-cflags): New variable,
52097         gets @libc_extra_cflags@.
52098         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
52100         [BZ #10375]
52101         * configure.in: Check for _FORTIFY_SOURCE being predefined.
52102         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
52103         * configure: Regenerated.
52104         * config.make.in (CPPUNDEFS): New substituted variable.
52105         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
52106         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
52107         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
52109 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
52111         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
52112         (mq_attr): Use __syscall_slong_t.
52114 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
52116         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
52117         Check __x86_64__ instead of __WORDSIZE.
52118         (_STAT_VER_LINUX): Likewise.
52119         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
52120         __syscall_ulong_t and __syscall_slong_t.
52121         (stat64): Likewise.
52123 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
52125         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
52127 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
52129         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
52131 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
52133         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
52134         __syscall_ulong_t.
52136         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
52137         include <bits/wordsize.h>.  Check __x86_64__ instead of
52138         __WORDSIZE.
52139         (greg_t): Use "__extension__ long long int" if __x86_64__ is
52140         defined.
52141         (mcontext_t): Replace "unsigned long" with "unsigned long long".
52143         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
52144         include <bits/wordsize.h>.  Check __x86_64__ instead of
52145         __WORDSIZE.
52146         (user_regs_struct): Use "__extension__ unsigned long long"
52147         instead of "unsigned long" if __x86_64__ is defined.
52148         (user): Likewise.  Pad after pointer field if __ILP32__ is
52149         defined.
52151 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
52153         * configure.in (makeinfo): Require version 4.5 or later.  Allow
52154         versions 5 to 9.
52155         * configure: Regenerated.
52156         * manual/install.texi (texinfo): Increase version requirement to
52157         4.5 or later.
52158         * INSTALL: Regenerated.
52160         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
52162 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
52164         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
52166         * sysdeps/x86_64/x32/ffs.c: New file.
52168         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
52169         __syscall_ulong_t.
52170         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
52171         defined.  Use __syscall_ulong_t.
52172         (shminfo): Use __syscall_ulong_t.
52173         (shm_info): Likewise.
52175         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
52176         __syscall_ulong_t.
52178         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
52179         <bits/wordsize.h>.
52180         (msgqnum_t): Use __syscall_ulong_t.
52181         (msglen_t): Likewise.
52182         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
52183         __syscall_ulong_t.
52185         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
52186         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
52188         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
52190         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
52191         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
52193         * sysvipc/sys/msg.h (msgbuf): Replace long int with
52194         __syscall_slong_t.
52196         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
52197         include <bits/wordsize.h>.  Check __x86_64__ instead of
52198         __WORDSIZE.
52200         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
52201         "unsigned long long int" if __x86_64__ is defined.
52202         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
52204         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
52205         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
52206         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
52208         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
52209         <stdint.h>.
52210         (GET_PC): Cast to uintptr_t first.
52211         (GET_FRAME): Likewise.
52212         (GET_STACK): Likewise.
52214         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
52215         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
52216         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
52217         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
52218         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
52219         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
52220         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
52221         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
52222         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
52223         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
52224         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
52225         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
52226         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
52227         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
52228         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
52229         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
52230         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
52231         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
52232         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
52233         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
52234         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
52235         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
52236         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
52237         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
52238         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
52239         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
52240         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
52241         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
52242         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
52244 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
52246         * Makerules (+depfiles): Also collect depfiles from .oS in
52247         $(extra-objs).
52248         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
52249         .oS, $(libnldbl-routines)).
52251         * Makerules (native-compile-mkdep-flags): Define.
52252         * sunrpc/Makefile (extra-objs): Add $(addprefix
52253         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
52254         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
52255         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
52256         calling $(make-target-directory).
52258 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
52260         * bits/types.h (__snseconds_t): Removed.
52261         * time/time.h (struct timespec): Replace __snseconds_t with
52262         __syscall_slong_t.
52263         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
52264         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
52265         Likewise.
52266         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
52267         (__SNSECONDS_T_TYPE): Likewise.
52268         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
52269         (__SNSECONDS_T_TYPE): Likewise.
52270         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
52271         (__SNSECONDS_T_TYPE): Likewise.
52273 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
52275         * sysdeps/mach/hurd/bits/typesizes.h
52276         (__SYSCALL_SLONG_TYPE): New macro.
52277         (__SYSCALL_ULONG_TYPE): Likewise.
52279 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
52281         * bits/types.h (__syscall_slong_t): New type.
52282         (__syscall_ulong_t): Likewise.
52284         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
52285         (__SYSCALL_ULONG_TYPE): Likewise.
52286         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
52287         (__SYSCALL_SLONG_TYPE): Likewise.
52288         (__SYSCALL_ULONG_TYPE): Likewise.
52289         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
52290         (__SYSCALL_SLONG_TYPE): Likewise.
52291         (__SYSCALL_ULONG_TYPE): Likewise.
52292         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
52293         (__SYSCALL_SLONG_TYPE): Likewise.
52294         (__SYSCALL_ULONG_TYPE): Likewise.
52296 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
52298         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
52299         Add sigaltstack-offsets.sym.
52300         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
52301         <sigaltstack-offsets.h>.
52302         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
52303         longjmp_msg pointer.
52304         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
52305         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
52306         signal stack.
52307         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
52309 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
52311         * elf/stackguard-macros.h: Remove file.
52312         * sysdeps/generic/stackguard-macros.h: New file.
52313         * sysdeps/i386/stackguard-macros.h: Likewise.
52314         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
52315         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
52316         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
52317         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
52318         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
52319         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
52320         * sysdeps/x86_64/stackguard-macros.h: Likewise.
52321         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
52322         <elf/stackguard-macros.h>.
52324         [BZ #14109]
52325         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
52326         __aligned__ in attribute.
52327         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
52328         (gregset_t): Likewise.
52330 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
52332         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
52333         * sysdeps/x86_64/64/Implies-after: Here.  New file.
52334         * sysdeps/x86_64/x32/Implies-after: New file.
52336 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
52338         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
52339         and access return value for _dl_profile_fixup.  Use R10_LP to
52340         load frame size.
52342 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
52344         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
52346 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
52348         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
52349         * sysdeps/x86_64/x32/sysdep.h: New file.
52351 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
52353         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
52354         * sysdeps/x86_64/setjmp.S: Likewise.
52356 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52358         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
52359         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
52360         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
52361         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
52362         remove unused global constant.
52364 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
52366         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
52367         include of <not-cancel.h>.
52369 2012-05-15  Roland McGrath  <roland@hack.frob.com>
52371         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
52373 2012-05-15  Jeff Law  <law@redhat.com>
52374             Andreas Jaeger  <aj@suse.de>
52376         [BZ #13594]
52377         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
52378         out from...
52379         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
52380         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
52381         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
52382         code changing __hst_map_handle.map.
52384 2012-05-15  Roland McGrath  <roland@hack.frob.com>
52386         * configure.in (sysnames): Look for Implies-before and Implies-after
52387         files.
52388         * configure: Regenerated.
52390 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
52392         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
52393         8-byte data alignment with LP_SIZE alignment.
52395 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
52397         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
52398         into R10_LP.
52400 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
52402         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
52404 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
52406         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
52407         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
52408         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
52409         Likewise.
52410         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
52412 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
52414         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
52415         (stackinfo_sub_sp): Likewise.
52417 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
52419         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
52420         RAX_LP.
52422 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
52424         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
52425         into R*_LP.
52427 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
52429         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
52430         sizes into R*_LP.
52432 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
52434         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
52436 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
52438         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
52439         into R11_LP and load __x86_64_shared_cache_size_half into
52440         R8_LP.
52442 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
52444         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
52445         R8_LP.
52447 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52449         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
52450         logb for POWER7.
52451         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
52452         logbf for POWER7.
52453         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
52454         logbl for POWER7.
52455         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
52456         powerpc32/power7/fpu/s_logb.c via #include.
52457         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
52458         powerpc32/power7/fpu/s_logbf.c via #include.
52459         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
52460         powerpc32/power7/fpu/s_logbl.c via #include.
52462 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
52464         * README.libm: Remove file.
52466 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
52468         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
52469         count for x32.  Use R*_LP and omit operand-size suffix.
52471 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
52473         * shlib-versions: Move x86_64-.*-linux.* entries to ...
52474         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
52475         * sysdeps/x86_64/x32/shlib-versions: New file.
52477 2012-05-14  Roland McGrath  <roland@hack.frob.com>
52479         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
52480         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
52481         Use _dl_fatal_printf instead.
52483 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
52485         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
52486         set if not set by the user.  Do not allow for being unset.
52487         * sysdeps/unix/sysv/linux/configure: Regenerated.
52489 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
52491         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
52492         the `q' suffix from lea and replace .quad with ASM_ADDR.
52494 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
52496         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
52497         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
52498         instead of $17.
52499         (PTR_DEMANGLE): Likewise.
52501 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
52503         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
52504         (LP_OP): Likewise.
52505         (ASM_ADDR): Likewise.
52506         (RAX_LP): Likewise.
52507         (RBP_LP): Likewise.
52508         (RBX_LP): Likewise.
52509         (RCX_LP): Likewise.
52510         (RDI_LP): Likewise.
52511         (RSI_LP): Likewise.
52512         (RSP_LP): Likewise.
52513         (R8_LP): Likewise.
52514         (R9_LP): Likewise.
52515         (R10_LP): Likewise.
52516         (R10_LP): Likewise.
52517         (R11_LP): Likewise.
52518         (R12_LP): Likewise.
52519         (R13_LP): Likewise.
52520         (R14_LP): Likewise.
52521         (R15_LP): Likewise.
52523 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
52525         * sysdeps/x86_64/x32/dl-machine.h: New file.
52527 2012-05-14  Andreas Jaeger  <aj@suse.de>
52529         * manual/Makefile (subdir): Remove export of subdir.
52530         (all): Remove target.
52531         (.PHONY): Remove all from list.
52532         (mkinstalldirs): Remove.
52533         (.PHONY): Remove installdirs from list.
52534         ($(inst_infodir)/libc.info): Use make-target-directory.
52535         (installdirs): Remove.
52536         (subdir_%): Remove.
52537         (glibc-targets): Remove.
52538         (lib): Remove.
52539         (stubs): Remove.
52540         ($(objpfx)stubs ../po/manual.pot): Remove.
52541         ($(objpfx)stamp%): Remove.
52542         (make-target-directory): Remove.
52543         (subdir_install): Remove.
52544         (routines): Remove.
52545         (aux): Remove.
52546         (sources): Remove.
52547         (objects): Remove.
52548         (headers): Remove.
52550         [BZ #13750]
52551         * manual/.gitignore: Remove, it's not needed anymore.
52552         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
52553         all files in it.
52554         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
52555         directory.
52556         (texis): Renamed to $(objpfx)texis.
52557         (texis-path): New, contains path to generated files.
52558         (chapters.%): Use texis-path for complete path, add extra argument
52559         libc-texinfo.sh.
52560         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
52561         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
52562         (summary,texi, stamp-summary): Use complete path of
52563         files. Generate files in build dir.
52564         (dir-add.texi): Build in build dir.
52565         (libm-err.texi,stamp-libm-err): Likewise.
52566         (version.texi, stamp-version): Likewise.
52567         (.%c.texi): Likewise.
52568         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
52569         (mostlyclean): Remove target.
52570         (realclean): Remove target.
52571         (generated): Add new variable with contents from mostlyclean and
52572         realclean, remove entries duplicated in common-mostlyclean, add
52573         stamp-libm-err and stamp-version.
52574         (generated-dirs): Add libc directory.
52575         ($(inst_infodir)/libc.info): Install files from build dir.
52577         * manual/install.texi (Configuring and compiling): Adjust since
52578         the info files are not part of the tar ball anymore.
52580 2012-05-14  Andreas Jaeger  <aj@suse.de>
52582         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
52583         variable.
52585 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
52587         [BZ #13717]
52588         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
52589         to 2.2.0 where earlier.
52590         * sysdeps/unix/sysv/linux/configure: Regenerated.
52591         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
52592         Remove conditional code.
52593         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
52594         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
52595         Remove conditional code.
52596         [!__NR_lchown]: Likewise.
52597         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
52598         [__NR_lchown]: Likewise.
52599         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
52600         comment referencing __ASSUME_LCHOWN_SYSCALL.
52601         * sysdeps/unix/sysv/linux/i386/sigaction.c
52602         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
52603         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
52604         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
52605         Remove conditional code.
52606         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
52607         (__protocol_available): Remove #if 0 code.
52608         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
52609         conditional code.
52610         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
52611         * sysdeps/unix/sysv/linux/kernel-features.h
52612         (__ASSUME_GETCWD_SYSCALL): Don't define.
52613         (__ASSUME_REALTIME_SIGNALS): Likewise.
52614         (__ASSUME_PREAD_SYSCALL): Likewise.
52615         (__ASSUME_PWRITE_SYSCALL): Likewise.
52616         (__ASSUME_POLL_SYSCALL): Likewise.
52617         (__ASSUME_LCHOWN_SYSCALL): Likewise.
52618         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
52619         non-SPARC.
52620         (__ASSUME_SIOCGIFNAME): Don't define.
52621         (__ASSUME_MSG_NOSIGNAL): Likewise.
52622         (__ASSUME_SENDFILE): Define unconditionally.
52623         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
52624         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
52625         conditional code.
52626         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
52627         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
52628         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
52629         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
52630         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
52631         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
52632         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
52633         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
52634         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
52635         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
52636         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
52637         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
52638         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
52639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
52640         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
52641         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
52642         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
52643         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
52644         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
52645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
52646         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
52647         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
52648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
52649         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
52650         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
52651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
52652         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
52653         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
52654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
52655         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
52656         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
52657         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
52658         Remove conditional code.
52659         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
52660         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
52661         Remove conditional code.
52662         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
52663         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
52664         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
52665         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
52666         Remove conditional code.
52667         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
52668         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
52669         Remove conditional code.
52670         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
52671         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
52672         Remove conditional code.
52673         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
52674         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
52675         Remove conditional code.
52676         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
52677         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
52678         Remove conditional code.
52679         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
52680         * sysdeps/unix/sysv/linux/sh/pwrite64.c
52681         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
52682         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
52683         * sysdeps/unix/sysv/linux/sigaction.c
52684         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
52685         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
52686         * sysdeps/unix/sysv/linux/sigpending.c
52687         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
52688         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
52689         * sysdeps/unix/sysv/linux/sigprocmask.c
52690         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
52691         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
52692         * sysdeps/unix/sysv/linux/sigsuspend.c
52693         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
52694         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
52695         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
52696         (__libc_missing_rt_sigs): Remove.
52697         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
52698         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
52699         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
52700         Remove conditional code.
52701         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
52702         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
52703         return 1.
52704         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
52705         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
52706         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
52707         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
52709 2012-05-14  Andreas Jaeger  <aj@suse.de>
52711         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
52712         it's not used in glibc.
52713         (__coshm1): Likewise.
52714         (__acosh1p): Likewise.
52715         (__sgn): Likewise.
52717         * manual/string.texi (Copying and Concatenation): Add missing
52718         variable in concat example.
52719         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
52721 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
52723         [BZ #14103]
52724         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
52725         __builtin_clzl with __builtin_clzll.
52727 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
52729         [BZ #14104]
52730         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
52731         libc_freeres_ptr.
52733 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52735         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
52736         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
52737         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
52738         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
52740 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
52742         * NEWS: Update ia64 info.
52744 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
52746         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
52747         used as bcopy.
52749 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
52751         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
52752         * sysdeps/unix/syscalls.list (dup3): Likewise.
52753         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
52754         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
52756 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
52758         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
52759         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
52761 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
52763         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
52764         thread pointer.
52765         (TLS_IE): Use mov/add instead of movq/addq to load thread
52766         pointer.
52767         (TLS_GD_PREFIX): New.
52768         (TLS_GD): Use it.
52770 2012-05-11  David S. Miller  <davem@davemloft.net>
52772         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
52773         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
52774         (_FPU_SETCW): Likewise.
52776 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
52778         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
52779         is 32-byte aligned.
52781 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
52783         [BZ #11837]
52784         * iconvdata/gb18030.c: Update tables.
52785         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
52786         characters specially.
52787         (BODY for TO_LOOP): Add encoding of missing ranges.
52789 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
52791         [BZ #13673]
52792         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
52793         * sysdeps/mach/hurd/dup3.c: Likewise.
52794         * sysdeps/mach/hurd/readlinkat.c: Likewise.
52795         * sysdeps/powerpc/memmove.c:: Likewise.
52797 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
52799         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
52800         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
52802 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
52804         * elf/elf.h (R_X86_64_RELATIVE64): New.
52805         (R_X86_64_NUM): Updated.
52806         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
52807         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
52808         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
52809         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
52810         tst-quad1pie tst-quad2pie
52811         (modules-names): Add tst-quadmod1 tst-quadmod2.
52812         ($(objpfx)tst-quad1): New dependency.
52813         ($(objpfx)tst-quad2): Likewise.
52814         ($(objpfx)tst-quad1pie): Likewise.
52815         ($(objpfx)tst-quad2pie): Likewise.
52816         * sysdeps/x86_64/tst-quad1.c: New file.
52817         * sysdeps/x86_64/tst-quad1pie.c: New file.
52818         * sysdeps/x86_64/tst-quad2.c: Likewise.
52819         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
52820         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
52821         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
52822         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
52823         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
52825 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52827         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
52828         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
52829         * streams/stropts.h (t_scalar_t): Define type.
52831         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
52832         (_PATH_PRESERVE): Set to "/var/lib".
52833         (_PATH_RWHODIR): Set to "/var/spool/rwho".
52835         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
52836         instead of int.
52838         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
52839         if __dir_mkfile succeeded.
52841         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
52842         checking for _hurd_dtablesize.  Unlock it right after having
52843         finished _hurd_dtable allocation.
52845 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
52847         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
52848         * sysdeps/mach/hurd/configure: Regenerated.
52849         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
52850         special-casing to...
52851         * sysdeps/gnu/configure.in: ... this new file.
52852         * sysdeps/unix/sysv/linux/configure: Regenerated.
52853         * sysdeps/gnu/configure: New generated file.
52855         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
52856         for Linux: use nsec instead of usec, as well as:
52857         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
52858         members of type struct timespec.
52859         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
52860         New macros.
52861         (struct stat64): Likewise.
52862         (_STATBUF_ST_NSEC): New macro.
52863         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
52865         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
52866         __strtoul_internal rather than strtoul.
52868 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
52870         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
52871         and reject them.
52873 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52875         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
52876         which preserves existing values.
52877         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
52879 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
52881         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
52882         TIMEOUT values.  Return EINVAL for NFDS values either negative or
52883         greater than FD_SETSIZE.
52885 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52887         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
52888         allocated, call __vm_protect to finish enabling the existing space, and
52889         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
52890         allocate the remainder.
52892 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
52894         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
52895         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
52897 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52899         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
52900         sysdeps/mach/hurd/readlink.c.
52902         * posix/tst-sysconf.c (posix_options): Only use
52903         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
52904         _POSIX_SYNCHRONIZED_IO when they are defined
52905         * sysdeps/mach/hurd/bits/posix_opt.h:
52906         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
52907         (_XOPEN_REALTIME): Undefine macro.
52908         (_XOPEN_REALTIME_THREADS): Undefine macro.
52909         (_XOPEN_SHM): Undefine macro.
52910         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
52911         macro to -1.
52912         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
52913         macro to -1.
52914         (_POSIX_ASYNC_IO): Undefine macro.
52915         (_POSIX_PRIORITIZED_IO): Undefine macro.
52916         (_POSIX_SPIN_LOCKS): Define macro to -1.
52918         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
52919         SA_NODEFER, SA_RESETHAND.
52920         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
52921         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
52922         F_DUPFD_CLOEXEC.
52924 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
52926         * elf/Makefile (pldd-modules): Define unconditionally.
52928 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
52930         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
52932 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52934         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
52935         Return ENOENT when name is empty.
52936         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
52938 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
52940         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
52942         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
52944 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52946         Fix mlock in all cases except non-readable pages.
52947         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
52948         instead of VM_PROT_ALL as parameter to __vm_wire function.
52950         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
52951         (__mkdir): When path is `/', just fail with EEXIST.
52952         * sysdeps/mach/hurd/mkdirat.c: Likewise.
52954 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
52956         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
52957         <sys/uio.h> (for writev).
52958         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
52959         and <sys/param.h> (for MIN).
52961 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
52963         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
52964         REQUESTED_TIME.  Properly set the remaining time and return EINTR
52965         if interrupted.
52967 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
52969         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
52970         Depend on against $(link-rpcuserlibs).
52972 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52974         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
52975         (__libc_stack_end): Do not use attribute_relro.
52976         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
52977         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
52978         to libthread-provided value.
52979         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
52980         attribute_relro.
52982 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
52984         [BZ #3748]
52985         * bits/libc-lock.h (__libc_once_get): New macro.
52986         * sysdeps/mach/bits/libc-lock.h: Likewise.
52987         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
52988         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
52989         instead of using implementation details.
52991         * libio/fileops.c: Unconditionally include <kernel-features.h>.
52992         * libio/freopen.c: Likewise.
52993         * libio/freopen64.c: Likewise.
52994         * misc/syslog.c: Likewise.
52995         * nscd/connections.c: Likewise.
52996         * nscd/netgroupcache.c: Likewise.
52997         * sysdeps/posix/getcwd.c: Likewise.
52999 2012-05-10  Roland McGrath  <roland@hack.frob.com>
53001         * math/w_ilogbf.c: Add #include <limits.h>.
53003 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53005         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
53006         path instead of returning without unlocking.
53008         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
53009         immediate-write ioctls.
53010         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
53012 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
53014         * sysdeps/mach/hurd/i386/init-first.c (init): Use
53015         __builtin_frame_address instead of making assumptions about the
53016         location of the return address relative to DATA.  Force early load of
53017         the return address.
53018         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
53019         __builtin_frame_address.
53021         dup3 for GNU Hurd.
53022         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
53023         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
53024         implement dup3 and do some further code clean-ups.
53025         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
53026         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
53028 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53030         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
53032         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
53033         HURD_CRITICAL_END around holding _hurd_dtable_lock.
53034         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
53035         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
53036         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
53037         d->port.lock.
53039         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
53040         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
53041         when handler == SIG_ERR, not when handler != SIG_ERR.
53043 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
53045         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
53046         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
53047         definitions.
53049         accept4 for GNU Hurd.
53050         * include/sys/socket.h (__libc_accept4): New prototype.
53051         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
53052         to implement __libc_accept4.
53053         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
53054         __libc_accept4.
53055         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
53057         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
53058         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
53059         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
53060         signal-defines.sym.
53062 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53064         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
53066 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
53068         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
53069         assertion on O_CLOEXEC flag.
53070         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
53071         * hurd/intern-fd.c: Likewise.
53072         * hurd/port2fd.c: Likewise.
53074 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53076         [BZ #3906]
53077         * bits/in.h (IPV6_PKTINFO): Define new macro.
53078         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
53080 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53082         [BZ #13954]
53083         [BZ #13955]
53084         [BZ #13956]
53085         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
53086         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
53087         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
53088         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
53089         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
53090         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
53091         * math/libm-test.inc (logb_test) : Additional logb tests.
53093 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
53094             Andreas Jaeger  <aj@suse.de>
53096         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
53097         * configure: Regenerated.
53098         * config.h.in (LINK_OBSOLETE_RPC): New macro.
53099         * config.make.in (link-obsolete-rpc): New substituted variable.
53100         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
53101         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
53102         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
53103         (shared-only-routines): Don't set it under [link-obsolete-rpc],
53104         so that libc.a contains the symbols.
53105         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
53106         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
53107         * sunrpc/auth_none.c: Likewise.
53108         * sunrpc/auth_unix.c: Likewise.
53109         * sunrpc/authdes_prot.c: Likewise.
53110         * sunrpc/authuxprot.c: Likewise.
53111         * sunrpc/clnt_gen.c: Likewise.
53112         * sunrpc/clnt_perr.c: Likewise.
53113         * sunrpc/clnt_raw.c: Likewise.
53114         * sunrpc/clnt_simp.c: Likewise.
53115         * sunrpc/clnt_tcp.c: Likewise.
53116         * sunrpc/clnt_udp.c: Likewise.
53117         * sunrpc/clnt_unix.c: Likewise.
53118         * sunrpc/des_crypt.c: Likewise.
53119         * sunrpc/des_soft.c: Likewise.
53120         * sunrpc/get_myaddr.c: Likewise.
53121         * sunrpc/key_call.c: Likewise.
53122         * sunrpc/key_prot.c: Likewise.
53123         * sunrpc/netname.c: Likewise.
53124         * sunrpc/pm_getmaps.c: Likewise.
53125         * sunrpc/pm_getport.c: Likewise.
53126         * sunrpc/pmap_clnt.c: Likewise.
53127         * sunrpc/pmap_prot.c: Likewise.
53128         * sunrpc/pmap_prot2.c: Likewise.
53129         * sunrpc/pmap_rmt.c: Likewise.
53130         * sunrpc/publickey.c: Likewise.
53131         * sunrpc/rpc_cmsg.c: Likewise.
53132         * sunrpc/rpc_common.c: Likewise.
53133         * sunrpc/rpc_dtable.c: Likewise.
53134         * sunrpc/rpc_prot.c: Likewise.
53135         * sunrpc/rpc_thread.c: Likewise.
53136         * sunrpc/rtime.c: Likewise.
53137         * sunrpc/svc.c: Likewise.
53138         * sunrpc/svc_auth.c: Likewise.
53139         * sunrpc/svc_raw.c: Likewise.
53140         * sunrpc/svc_run.c: Likewise.
53141         * sunrpc/svc_tcp.c: Likewise.
53142         * sunrpc/svc_udp.c: Likewise.
53143         * sunrpc/svc_unix.c: Likewise.
53144         * sunrpc/svcauth_des.c: Likewise.
53145         * sunrpc/xcrypt.c: Likewise.
53146         * sunrpc/xdr.c: Likewise.
53147         * sunrpc/xdr_array.c: Likewise.
53148         * sunrpc/xdr_float.c: Likewise.
53149         * sunrpc/xdr_intXX_t.c: Likewise.
53150         * sunrpc/xdr_mem.c: Likewise.
53151         * sunrpc/xdr_rec.c: Likewise.
53152         * sunrpc/xdr_ref.c: Likewise.
53153         * sunrpc/xdr_sizeof.c: Likewise.
53154         * sunrpc/xdr_stdio.c: Likewise.
53156 2012-05-10  Roland McGrath  <roland@hack.frob.com>
53158         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
53159         change.  Update copyright years.
53161 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
53163         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
53165 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
53166             Joseph Myers  <joseph@codesourcery.com>
53167             Paul Pluzhnikov  <ppluzhnikov@google.com>
53169         [BZ #14012]
53170         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
53171         requiring rpcgen.
53172         [cross-compiling] (extra-libs): Likewise.
53173         [cross-compiling] (extra-libs-others): Likewise.
53174         [cross-compiling] (librpcsvc-routines): Likewise.
53175         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
53176         [cross-compiling] (omit-deps): Likewise.
53177         (sunrpc-CPPFLAGS): New variable.
53178         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
53179         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
53180         (cross-rpcgen-objs): New variable.
53181         (extra-objs): Append $(cross-rpcgen-objs).
53182         ($(cross-rpcgen-objs)): New rule.
53183         ($(objpfx)cross-rpcgen): Likewise.
53184         (rpcgen-cmd): Define to use $(built-program-file).  Expand
53185         comment.
53186         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
53187         ($(objpfx)x%.stmp): Likewise.
53188         * sunrpc/proto.h [IS_IN_build] (_): Define.
53189         [IS_IN_build] (_libc_intl_domainname): Likewise.
53191 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
53193         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
53194         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
53195         and R_X86_64_TPOFF64.
53197 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
53199         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
53200         sysdeps/unix/sysv/syscalls.list.
53201         (stime): Likewise.
53202         (utime): Likewise.
53203         * sysdeps/unix/sysv/syscalls.list: Remove file.
53205 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
53207         [BZ #3440]
53208         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
53209         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
53210         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
53211         (__LC_IDENTIFICATION): Make these macros useful in #if
53212         expressions, as required by C99.
53214 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
53216         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
53217         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
53218         after this.
53220 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
53222         * stdlib/longlong.h: Updated from GCC.
53224 2012-05-09  Andreas Jaeger  <aj@suse.de>
53226         * nscd/nscd.c (run_modes): Make named enum, reorder so that
53227         default is first entry.
53228         (run_mode): Set type.
53229         (main): Remove informal message about syslog.
53230         (options): Fix typo.
53232         [BZ #14053]
53233         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
53234         to asm.
53235         (lrint): Likewise.
53236         (llrintf): Likewise.
53237         (llrint): Likewise.
53238         (rint): Likewise.
53239         (rintf): Likewise.
53240         (nearbyint): Likewise.
53241         (nearbyintf): Likewise.
53243 2012-05-09  Andreas Jaeger  <aj@suse.de>
53244             Pedro Alves  <palves@redhat.com>
53246         * nscd/nscd.c (run_mode): Use enum.
53247         (main): Cleanup coding style issue.
53249 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
53250             Andreas Jaeger  <aj@suse.de>
53252         * nscd/nscd.c (go_background): Replaced with...
53253         (run_mode): ... this.
53254         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
53255         (options): Add -F --foreground.
53256         (main): Implement it.
53257         (parse_opt): Parse it.
53259 2012-05-09  Andreas Jaeger  <aj@suse.de>
53261         [BZ #14083]
53262         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
53263         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
53264         -Wconversion warning.
53265         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
53266         Likewise.
53268 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
53270         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
53271         == 0.
53272         (LC_ALL): Use macro-int-constant.
53273         (LC_COLLATE): Likewise.
53274         (LC_CTYPE): Likewise.
53275         (LC_MESSAGES): Likewise.
53276         (LC_MONETARY): Likewise.
53277         (LC_NUMERIC): Likewise.
53278         (LC_TIME): Likewise.
53279         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
53280         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
53281         [ISO || ISO99 || ISO11] (*_t): Do not allow.
53282         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
53283         Specify type.
53284         [C99-based standards] (float_t): Expect type.
53285         [C99-based standards] (double_t): Expect type.
53286         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
53287         type.
53288         [C99-based standards] (HUGE_VALL): Likewise.
53289         [C99-based standards] (INFINITY): Likewise.
53290         [C99-based standards] (NAN): Likewise.
53291         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
53292         [C99-based standards] (FP_NAN): Likewise.
53293         [C99-based standards] (FP_NORMAL): Likewise.
53294         [C99-based standards] (FP_SUBNORMAL): Likewise.
53295         [C99-based standards] (FP_ZERO): Likewise.
53296         [C99-based standards] (FP_FAST_FMA): Use
53297         optional-macro-int-constant.  Specify type.  Require == 1.
53298         [C99-based standards] (FP_FAST_FMAF): Likewise.
53299         [C99-based standards] (FP_FAST_FMAL): Likewise.
53300         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
53301         [C99-based standards] (FP_ILOGBNAN): Likewise.
53302         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
53303         Specify type.
53304         [C99-based standards] (MATH_ERREXCEPT): Likewise.
53305         [C99-based standards] (math_errhandling): Specify type.
53306         [ISO99 || ISO11] (signgam): Do not allow.
53307         [non-C99-based standards] (copysignf): Do not allow.
53308         [non-C99-based standards] (exp2f): Likewise.
53309         [non-C99-based standards] (log2f): Likewise.
53310         [non-C99-based standards] (modff): Allow.
53311         [non-C99-based standards] (erff): Do not allow.
53312         [non-C99-based standards] (erfcf): Likewise.
53313         [non-C99-based standards] (gammaf): Likewise.
53314         [non-C99-based standards] (hypotf): Likewise.
53315         [non-C99-based standards] (j0f): Likewise.
53316         [non-C99-based standards] (j1f): Likewise.
53317         [non-C99-based standards] (jnf): Likewise.
53318         [non-C99-based standards] (lgammaf): Likewise.
53319         [non-C99-based standards] (tgammaf): Likewise.
53320         [non-C99-based standards] (y0f): Likewise.
53321         [non-C99-based standards] (y1f): Likewise.
53322         [non-C99-based standards] (ynf): Likewise.
53323         [non-C99-based standards] (isnanf): Likewise.
53324         [non-C99-based standards] (acoshf): Likewise.
53325         [non-C99-based standards] (asinhf): Likewise.
53326         [non-C99-based standards] (atanhf): Likewise.
53327         [non-C99-based standards] (cbrtf): Likewise.
53328         [non-C99-based standards] (expm1f): Likewise.
53329         [non-C99-based standards] (ilogbf): Likewise.
53330         [non-C99-based standards] (log1pf): Likewise.
53331         [non-C99-based standards] (logbf): Likewise.
53332         [non-C99-based standards] (nextafterf): Likewise.
53333         [non-C99-based standards] (remainderf): Likewise.
53334         [non-C99-based standards] (rintf): Likewise.
53335         [non-C99-based standards] (scalbf): Likewise.
53336         [non-C99-based standards] (copysignl): Likewise.
53337         [non-C99-based standards] (exp2l): Likewise.
53338         [non-C99-based standards] (log2l): Likewise.
53339         [non-C99-based standards] (modfl): Allow.
53340         [non-C99-based standards] (erfl): Do not allow.
53341         [non-C99-based standards] (erfcl): Likewise.
53342         [non-C99-based standards] (gammal): Likewise.
53343         [non-C99-based standards] (hypotl): Likewise.
53344         [non-C99-based standards] (j0l): Likewise.
53345         [non-C99-based standards] (j1l): Likewise.
53346         [non-C99-based standards] (jnl): Likewise.
53347         [non-C99-based standards] (lgammal): Likewise.
53348         [non-C99-based standards] (tgammal): Likewise.
53349         [non-C99-based standards] (y0l): Likewise.
53350         [non-C99-based standards] (y1l): Likewise.
53351         [non-C99-based standards] (ynl): Likewise.
53352         [non-C99-based standards] (isnanl): Likewise.
53353         [non-C99-based standards] (acoshl): Likewise.
53354         [non-C99-based standards] (asinhl): Likewise.
53355         [non-C99-based standards] (atanhl): Likewise.
53356         [non-C99-based standards] (cbrtl): Likewise.
53357         [non-C99-based standards] (expm1l): Likewise.
53358         [non-C99-based standards] (ilogbl): Likewise.
53359         [non-C99-based standards] (log1pl): Likewise.
53360         [non-C99-based standards] (logbl): Likewise.
53361         [non-C99-based standards] (nextafterl): Likewise.
53362         [non-C99-based standards] (remainderl): Likewise.
53363         [non-C99-based standards] (rintl): Likewise.
53364         [non-C99-based standards] (scalbl): Likewise.
53365         [ISO || ISO99 || ISO11] (*_t): Do not allow.
53366         [non-C99-based standards] (FP_*): Do not allow.
53367         [C99-based standards] (FP_*): Change to
53368         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
53369         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
53370         allow.
53371         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
53372         (SIG_ERR): Likewise.
53373         [X/Open-based standards] (SIG_HOLD): Likewise.
53374         (SIG_IGN): Likewise.
53375         (SIGABRT): Use macro-int-constant.  Specify type.  Require
53376         positive value.
53377         (SIGFPE): Likewise.
53378         (SIGILL): Likewise.
53379         (SIGINT): Likewise.
53380         (SIGSEGV): Likewise.
53381         (SIGTER): Likewise.
53382         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
53383         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
53384         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
53385         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
53386         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
53387         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
53388         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
53389         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
53390         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
53391         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
53392         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
53393         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
53394         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
53395         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
53396         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
53397         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
53398         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
53399         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
53400         [X/Open-based standards] (SIGTRAP): Likewise.
53401         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
53402         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
53403         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
53404         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
53405         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
53406         allow.
53408 2012-05-08  Ian Wienand  <ianw@vmware.com>
53410         [BZ #14080]
53411         * time/tzset.c (__tzset_parse_tz): Update default rules for
53412         daylight time changes in the Energy Policy Act of 2005.
53414 2012-05-09  Andreas Jaeger  <aj@suse.de>
53416         [BZ #13983]
53417         * elf/ldconfig.c (parse_conf): Change string to make clear that
53418         ldconfig only issued a warning if ld.so.conf does not exist.
53420 2012-05-08  David S. Miller  <davem@davemloft.net>
53422         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
53423         movxtod instead of popping the value on the stack.
53425         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53427 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
53429         * config.h.in: Add HAVE_ARM_PCS_VFP.
53431 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
53433         [BZ #13979]
53434         * include/features.h: Warn if user requests __FORTIFY_SOURCE
53435         checking but the checks are disabled for any reason.
53437 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
53439         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
53440         and ELF64_R_TYPE with ELFW(R_TYPE).
53442 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
53444         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
53445         (ulimit): Likewise.
53447         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
53448         (settimeofday): Likewise.
53450 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
53452         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
53453         a struct th_u2 inside the union, and move tu_block/tu_code into
53454         a new th_u3 union of tu_block/tu_code inside of that.  Move
53455         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
53456         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
53457         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
53458         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
53459         (th_stuff): Change to th_u1.tu_stuff.
53460         (th_data): Define.
53461         (th_msg): Change to th_u1.th_u2.tu_data.
53463 2012-05-07  David S. Miller  <davem@davemloft.net>
53465         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53467         [BZ #14074]
53468         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
53469         (SETUP_PIC_REG): Use it.
53470         (SETUP_PIC_REG_LEAF): Use it.
53472 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
53474         [BZ #13885]
53475         [BZ #13923]
53476         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
53477         USE_AS_EXPM1L.
53478         (EXPL_FINITE): Likewise.
53479         (FLDLOG): Likewise.
53480         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
53481         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
53482         e_expl.S.
53483         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
53484         USE_AS_EXPM1L.
53485         (EXPL_FINITE): Likewise.
53486         (FLDLOG): Likewise.
53487         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
53488         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
53489         e_expl.S.
53490         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
53491         test of -max_value argument for long double.
53492         * sysdeps/i386/fpu/libm-test-ulps: Update.
53493         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53495 2012-05-06  David S. Miller  <davem@davemloft.net>
53497         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
53498         quad soft-float symbols whose references which are compiler
53499         generated.
53500         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
53502 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
53504         [BZ #13884]
53505         [BZ #13914]
53506         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
53507         USE_AS_EXP10L.
53508         (EXPL_FINITE): Likewise.
53509         (FLDLOG): Likewise.
53510         (c0): Likewise.
53511         (c1): Likewise.
53512         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
53513         Adjust comments for base varying.
53514         (__expl_finite): Change alias to EXPL_FINITE.
53515         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
53516         e_expl.S.
53517         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
53518         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
53519         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
53520         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
53521         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
53522         USE_AS_EXP10L.
53523         (EXPL_FINITE): Likewise.
53524         (FLDLOG): Likewise.
53525         (c0): Likewise.
53526         (c1): Likewise.
53527         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
53528         Adjust comments for base varying.
53529         (__expl_finite): Change alias to EXPL_FINITE.
53530         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
53531         tests for bugs.
53532         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53534         [BZ #14064]
53535         * math/libm-test.inc (check_float_internal): Correct ulp
53536         calculation for subnormal expected results.
53538 2012-05-06  Andreas Jaeger  <aj@suse.de>
53540         * Makeconfig (+math-flags): New, set to -frounding-math.
53541         (+cflags): Add +math-flags so that all of glibc gets compiled with
53542         it.
53544         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
53546 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
53548         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
53549         Disable one test.
53551         [BZ #13787]
53552         [BZ #13922]
53553         [BZ #14036]
53554         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
53555         (__ieee754_expl): Allow for and saturate large arguments.
53556         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
53557         (u_threshold): Likewise.
53558         (__exp): Call __ieee754_exp before checking for overflow and
53559         underflow.
53560         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
53561         (u_threshold): Likewise.
53562         (__expf): Call __ieee754_expf before checking for overflow and
53563         underflow.
53564         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
53565         (u_threshold): Likewise.
53566         (__expl): Call __ieee754_expl before checking for overflow and
53567         underflow.
53568         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
53569         (__ieee754_expl): Allow for and saturate large arguments.
53570         * math/libm-test.inc (exp_test): Add another test.  Do not allow
53571         missing overflow exception on overflow.
53572         (expm1_test): Do not allow missing overflow exception on overflow.
53574         * sysdeps/i386/fpu/e_expl.c: Move to ...
53575         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
53576         rather than using inline asm.
53577         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
53578         * sysdeps/x86_64/fpu/e_expl.S: Copy from
53579         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
53581         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
53582         (nice): Likewise.
53583         (poll): Likewise.
53584         (signal): Likewise.
53585         (time): Likewise.
53586         (times): Likewise.
53588 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
53590         * sysdeps/unix/syscalls.list (adjtime): Add entry from
53591         sysdeps/unix/common/syscalls.list.
53592         (fchmod): Likewise.
53593         (fchown): Likewise.
53594         (ftruncate): Likewise.
53595         (getrusage): Likewise.
53596         (gettimeofday): Likewise.
53597         (setpgid): Likewise.
53598         (setregid): Likewise.
53599         (setreuid): Likewise.
53600         (sigaction): Likewise.
53601         (truncate): Likewise.
53602         (vhangup): Likewise.
53603         * sysdeps/unix/common/syscalls.list: Remove file.
53604         * sysdeps/unix/bsd/Implies: Don't include unix/common.
53605         * sysdeps/unix/sysv/linux/Implies: Likewise.
53607 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
53609         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
53610         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
53611         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
53612         Moved to ...
53613         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
53614         Here.
53615         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
53616         to ...
53617         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
53618         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
53619         to ...
53620         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
53621         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
53622         to ...
53623         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
53624         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
53625         to ...
53626         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
53627         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
53628         to ...
53629         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
53630         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
53631         to ...
53632         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
53633         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
53634         to ...
53635         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
53636         Here.
53637         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
53638         to ...
53639         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
53640         Here.
53641         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
53642         to ...
53643         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
53644         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
53645         Moved to ...
53646         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
53647         Here.
53648         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
53649         to ...
53650         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
53652 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
53654         * sysdeps/unix/common/bits/dirent.h: Remove file.
53655         * sysdeps/unix/common/bits/fcntl.h: Likewise.
53657         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
53658         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
53659         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
53660         * sysdeps/unix/bsd/isatty.c: Likewise.
53661         * sysdeps/unix/bsd/tcdrain.c: Likewise.
53662         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
53663         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
53665 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53667         [BZ #13563]
53668         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
53669         long double comparison inaccuracies.
53670         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
53671         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53673 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
53675         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
53676         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
53678 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
53680         [BZ #14049]
53681         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
53682         nonzero digits before rounding a hex value.
53683         * stdlib/tst-strtod.c (tests): Add another test.
53685 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53687         * sysdeps/s390/fpu/libm-test-ulps: Update.
53689 2012-05-03  Andreas Jaeger  <aj@suse.de>
53691         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
53692         does not get optimized out.
53693         (malloc_opt_barrier): New.
53695 2012-05-03  Andreas Jaeger  <aj@suse.de>
53696             Roland McGrath  <roland@hack.frob.com>
53698         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
53699         intermediate file deletion.
53700         (generated): Add .symlist files.
53702 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
53704         [BZ #13775]
53705         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
53706         Redirect under this condition.
53707         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
53708         [__USE_GNU] (__dprintf_chk): Not under this condition.
53709         [__USE_GNU] (__vdprintf_chk): Likewise.
53710         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
53711         under this condition.
53712         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
53713         [__USE_XOPEN2K8] (dprintf): Define under this condition.
53714         [__USE_XOPEN2K8] (vdprintf): Likewise.
53715         [__USE_GNU] (__dprintf_chk): Not under this condition.
53716         [__USE_GNU] (__vdprintf_chk): Likewise.
53717         [__USE_GNU] (dprintf): Likewise.
53718         [__USE_GNU] (vdprintf): Likewise.
53720 2012-05-03  Roland McGrath  <roland@hack.frob.com>
53722         * elf/Makefile (common-generated): Set this instead of generated for
53723         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
53724         $(all-built-dso)-derived lists.
53726 2012-05-03  Andreas Jaeger  <aj@suse.de>
53728         * sysdeps/i386/fpu/libm-test-ulps: Update.
53730         * FAQ: Removed.
53731         * FAQ.in: Likewise.
53732         * scripts/gen-FAQ.pl: Likewise.
53733         * manual/install.texi (Installation): Point to online location of
53734         FAQ.
53735         * Makefile (files-for-dist): Remove FAQ.
53736         (FAQ): Remove.
53738 2012-05-02  Allan McRae  <allan@archlinux.org>
53740         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
53741         (LDFLAGS-reldepmod5.so): Likewise.
53742         (LDFLAGS-reldep6mod1.so): Likewise.
53743         (LDFLAGS-reldep6mod4.so): Likewise.
53744         (LDFLAGS-reldep8mod3.so): Likewise.
53745         (LDFLAGS-unload4mod1.so): Likewise.
53746         (LDFLAGS-unload4mod2.so): Likewise.
53747         (LDFLAGS-tst-initorder): Likewise.
53748         (LDFLAGS-tst-initordera2.so): Likewise.
53749         (LDFLAGS-tst-initordera3.so): Likewise.
53750         (LDFLAGS-tst-initordera4.so): Likewise.
53751         (LDFLAGS-tst-initorderb2.so): Likewise.
53752         (LDFLAGS-noload): Likewise.
53753         (LDFLAGS-next): Likewise.
53754         (LDFLAGS-order2mod1.so): Likewise.
53755         (LDFLAGS-order2mod2.so): Likewise.
53756         (LDFLAGS-tst-initorder2): Likewise.
53757         (LDFLAGS-tst-initorder2a.so): Likewise.
53758         (LDFLAGS-tst-initorder2b.so): Likewise.
53759         (LDFLAGS-tst-initorder2c.so): Likewise.
53760         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
53762 2012-05-02  David S. Miller  <davem@davemloft.net>
53764         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53766 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
53768         [BZ #14055]
53769         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
53771 2012-05-02  Andreas Jaeger  <aj@suse.de>
53773         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
53774         since we manipulate rounding mode.
53775         (CPPFLAGS-test-idouble.c): Likewise.
53776         (CPPFLAGS-test-ifloat.c): Likewise.
53777         (CFLAGS-test-ldouble.c): Likewise.
53778         (CFLAGS-test-double.c): Likewise.
53779         (CFLAGS-test-float.c): Likewise.
53780         (CFLAGS-test-misc.c): Likewise.
53781         (CFLAGS-test-test-fenv.c): Likewise.
53783 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53785         [BZ #2550]
53786         [BZ #2570]
53787         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
53788         comparisons to determine direction to adjust input.
53790 2012-05-01  Roland McGrath  <roland@hack.frob.com>
53792         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
53793         output to the target.
53795         * scripts/localplt.awk: New file.
53796         * elf/Makefile ($(objpfx)check-localplt): Target removed.
53797         (check-localplt-CFLAGS): Variable removed.
53798         ($(all-built-dso:=.jmprel)): New static pattern rule.
53799         (generated): Add those targets.
53800         (localplt-built-dso): New variable.
53801         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
53803         * elf/check-localplt.c: File removed.
53805         * scripts/check-execstack.awk: New file.
53806         * elf/Makefile ($(objpfx)check-execstack): Target removed.
53807         (check-execstack-CFLAGS): Variable removed.
53808         ($(objpfx)check-execstack.h): Target removed.
53809         ($(objpfx)execstack-default): New target.
53810         (generated): Add that instead of check-execstack.h.
53811         ($(all-built-dso:=.phdr)): New static pattern rule.
53812         (generated): Add those targets.
53813         * elf/check-execstack.c: File removed.
53815         * scripts/check-textrel.awk: New file.
53816         * elf/Makefile ($(objpfx)check-textrel): Target removed.
53817         (check-textrel-CFLAGS): Variable removed.
53818         (all-built-dso): Use := to define.o
53819         ($(all-built-dso:=.dyn)): New static pattern rule.
53820         (generated): Add those targets.
53821         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
53822         * config.make.in (READELF): New substituted variable.
53823         * elf/check-textrel.c: File removed.
53825 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
53827         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
53828         allow.
53829         * conform/data/ctype.h-data [C99-based standards] (isblank):
53830         Expect function.
53831         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
53832         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
53833         [ISO || ISO99 || ISO11] (*_t): Do not allow.
53834         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
53835         Specify type.  Require positive value.
53836         (EILSEQ): Likewise.
53837         (ERANGE): Likewise.
53838         [ISO || POSIX] (EILSEQ): Do not expect.
53839         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
53840         Specify type.  Require positive value.
53841         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
53842         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
53843         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
53844         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
53845         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
53846         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
53847         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
53848         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
53849         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
53850         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
53851         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
53852         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
53853         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
53854         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
53855         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
53856         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
53857         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
53858         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
53859         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
53860         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
53861         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
53862         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
53863         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
53864         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
53865         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
53866         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
53867         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
53868         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
53869         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
53870         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
53871         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
53872         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
53873         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
53874         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
53875         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
53876         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
53877         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
53878         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
53879         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
53880         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
53881         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
53882         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
53883         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
53884         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
53885         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
53886         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
53887         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
53888         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
53889         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
53890         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
53891         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
53892         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
53893         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
53894         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
53895         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
53896         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
53897         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
53898         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
53899         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
53900         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
53901         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
53902         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
53903         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
53904         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
53905         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
53906         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
53907         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
53908         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
53909         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
53910         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
53911         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
53912         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
53913         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
53914         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
53915         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
53916         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
53917         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
53918         Require >= 2.
53919         (FLT_ROUNDS): Expect as macro, not constant.
53920         (FLT_MANT_DIG): Use macro-int-constant.
53921         (DBL_MANT_DIG): Likewise.
53922         (LDBL_MANT_DIG): Likewise.
53923         (FLT_DIG): Likewise.
53924         (DBL_DIG): Likewise.
53925         (LDBL_DIG): Likewise.
53926         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
53927         (DBL_MIN_EXP): Likewise.
53928         (LDBL_MIN_EXP): Likewise.
53929         (FLT_MAX_EXP): Use macro-int-constant.
53930         (DBL_MAX_EXP): Likewise.
53931         (LDBL_MAX_EXP): Likewise.
53932         (FLT_MAX_10_EXP): Likewise.
53933         (DBL_MAX_10_EXP): Likewise.
53934         (LDBL_MAX_10_EXP): Likewise.
53935         (FLT_MAX): Use macro-constant.
53936         (DBL_MAX): Likewise.
53937         (LDBL_MAX): Likewise.
53938         (FLT_EPSILON): Use macro-constant.  Give upper bound.
53939         (DBL_EPSILON): Likewise.
53940         (LDBL_EPSILON): Likewise.
53941         (FLT_MIN): Likewise.
53942         (DBL_MIN): Likewise.
53943         (LDBL_MIN): Likewise.
53944         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
53945         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
53946         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
53947         [ISO11] (FLT_HAS_SUBNORM): Likewise.
53948         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
53949         [ISO11] (DBL_DECIMAL_DIG): Likewise.
53950         [ISO11] (FLT_DECIMAL_DIG): Likewise.
53951         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
53952         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
53953         [ISO11] (FLT_TRUE_MIN): Likewise.
53954         [ISO11] (LDBL_TRUE_MIN): Likewise.
53955         [ISO || ISO99 || ISO11] (*_t): Do not allow.
53956         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
53957         (SCHAR_MIN): Use macro-int-constant.  Specify type.
53958         (SCHAR_MAX): Likewise.
53959         (UCHAR_MAX): Likewise.
53960         (CHAR_MIN): Likewise.
53961         (CHAR_MAX): Likewise.
53962         (MB_LEN_MAX): Use macro-int-constant.
53963         (SHRT_MIN): Use macro-int-constant.  Specify type.
53964         (SHRT_MAX): Likewise.
53965         (USHRT_MAX): Likewise.
53966         (INT_MAX): Likewise.
53967         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
53968         bound negative.
53969         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
53970         bound with "U".
53971         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
53972         bound with "L".
53973         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
53974         bound negative.  Suffix upper bound with "L".
53975         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
53976         bound with "UL".
53977         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
53978         Specify type.
53979         [C99-based standards] (LLONG_MAX): Likewise.
53980         [C99-based standards] (ULLONG_MAX): Likewise.
53981         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
53982         == 0.
53983         [ISO11] (max_align_t): Require type.
53984         [ISO || ISO99 || ISO11] (*_t): Do not allow.
53986         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
53987         from $CFLAGS, without defining away __attribute__ calls.
53988         (checknamespace): Use $CFLAGS_namespace.
53990         * conform/conformtest.pl (@keywords): Only include C99 keywords
53991         for standards based on C99 or C11.
53993         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
53994         Disable tests.
53995         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
53996         UNIX98]: Likewise.
53998         * conform/conformtest.pl: Handle "macro-int-constant" and test for
53999         usability of symbols in #if.
54001         * conform/conformtest.pl: If macro or constant types start
54002         "promoted:", expect the symbol to be of the following type
54003         promoted by the integer promotions.
54005         * conform/conformtest.pl: Parse all "constant" and "macro" lines
54006         in one place.  Also handle "macro-constant".
54008         * conform/conformtest.pl: Only accept expected macro values with
54009         "==".  Parse all "macro" lines in one place.
54010         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
54012         * conform/conformtest.pl: Handle braced types on "constant" lines
54013         instead of handling "typed-constant".
54014         * conform/data/signal.h-data: Use "constant" instead of
54015         "typed-constant".
54017         * conform/conformtest.pl: Handle "optional-" at start of lines in
54018         one place rather than duplicating several cases.  Handle each
54019         format of "macro" line with initial "optional-".
54021         * conform/conformtest.pl: Only accept expected constant or
54022         optional-constant values with "==".  Parse all "constant" lines in
54023         one place.  Parse all "optional-constant" lines in one place.
54024         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
54025         * conform/data/fmtmsg.h-data: Likewise.
54026         * conform/data/netinet/in.h-data: Likewise.
54027         * conform/data/tar.h-data: Likewise.
54028         * conform/data/limits.h-data: Use "==" form on "constant" and
54029         "optional-constant" lines.
54031         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
54032         Use -std=c99 for XOPEN2K.
54033         (@knownproblems): Remove.
54034         (newtoken): Don't check %isknown.
54036         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
54037         Do not expect macro.
54038         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
54039         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
54040         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
54041         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
54042         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
54043         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
54044         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
54045         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
54046         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
54047         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
54048         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
54049         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
54050         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
54051         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
54052         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
54053         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
54054         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
54055         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
54056         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
54057         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
54058         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
54059         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
54060         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
54061         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
54062         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
54063         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
54064         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
54065         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
54066         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
54067         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
54068         [XPG3] (acosh): Likewise.
54069         [XPG3] (asinh): Likewise.
54070         [XPG3] (atanh): Likewise.
54071         [XPG3] (cbrt): Likewise.
54072         [XPG3] (expm1): Likewise.
54073         [XPG3] (ilogb): Likewise.
54074         [XPG3] (log1p): Likewise.
54075         [XPG3] (logb): Likewise.
54076         [XPG3] (nextafter): Likewise.
54077         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
54078         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
54079         [XPG3] (remainder): Likewise.
54080         [XPG3] (rint): Likewise.
54081         [XPG3 || XPG4 || UNIX98] (round): Likewise.
54082         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
54083         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
54084         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
54085         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
54086         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
54087         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
54088         [UNIX98 || XOPEN2K] (scalb): Expect.
54089         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
54090         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
54091         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
54092         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
54093         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
54094         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
54095         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
54096         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
54097         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
54098         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
54099         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
54100         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
54101         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
54102         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
54103         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
54104         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
54105         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
54106         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
54107         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
54108         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
54109         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
54110         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
54111         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
54112         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
54113         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
54114         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
54115         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
54116         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
54117         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
54118         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
54119         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
54120         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
54121         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
54122         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
54123         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
54124         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
54125         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
54126         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
54127         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
54128         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
54129         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
54130         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
54131         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
54132         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
54133         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
54134         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
54135         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
54136         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
54137         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
54138         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
54139         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
54140         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
54141         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
54142         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
54143         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
54144         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
54145         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
54146         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
54147         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
54148         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
54149         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
54150         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
54151         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
54152         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
54153         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
54154         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
54155         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
54156         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
54157         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
54158         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
54159         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
54160         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
54161         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
54162         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
54163         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
54164         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
54165         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
54166         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
54167         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
54168         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
54169         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
54170         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
54171         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
54172         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
54173         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
54174         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
54175         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
54176         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
54177         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
54178         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
54179         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
54180         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
54181         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
54182         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
54183         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
54184         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
54185         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
54186         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
54187         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
54188         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
54189         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
54190         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
54191         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
54192         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
54193         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
54194         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
54195         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
54196         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
54197         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
54198         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
54199         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
54200         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
54201         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
54202         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
54203         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
54204         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
54205         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
54206         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
54207         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
54208         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
54209         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
54210         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
54211         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
54212         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
54213         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
54214         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
54215         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
54216         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
54217         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
54218         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
54219         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
54220         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
54221         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
54222         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
54223         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
54224         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
54225         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
54227         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
54228         _XOPEN_SOURCE_EXTENDED for XPG4.
54230         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
54232         * Makeconfig (localtime): Remove variable.
54233         (inst_localtime-file): Likewise.
54235 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
54237         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
54238         Update.
54239         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
54240         Update.
54241         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
54242         Update.
54243         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
54244         Update.
54245         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
54246         Update.
54247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
54248         Update.
54249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
54250         Update.
54251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
54252         Update.
54253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
54254         Update.
54256 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
54258         [BZ #2550]
54259         [BZ #2570]
54260         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
54261         comparisons to determine direction to adjust input.
54262         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
54263         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
54264         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
54265         Likewise.
54266         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
54267         Likewise.
54268         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
54269         Likewise.
54270         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
54271         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
54272         Likewise.
54273         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
54274         Likewise.
54275         * math/libm-test.inc (nexttoward_test): Add more tests.
54277 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
54279         [BZ #14040]
54280         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
54281         in version GLIBC_2.1, not GLIBC_2.0.
54282         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
54283         Likewise.
54285 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
54287         [BZ #13942]
54288         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
54289         (1 - x) * (1 + x).
54290         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
54291         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
54292         * math/libm-test.inc (acos_test): Add more tests.
54293         (asin_test): Likewise.
54294         * sysdeps/i386/fpu/libm-test-ulps: Update.
54295         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54297         [BZ #14034]
54298         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
54299         of square root.
54300         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
54301         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
54302         * math/libm-test.inc (acos_test_tonearest): New function.
54303         (acos_test_towardzero): Likewise.
54304         (acos_test_downward): Likewise.
54305         (acos_test_upward): Likewise.
54306         (asin_test_tonearest): Likewise.
54307         (asin_test_towardzero): Likewise.
54308         (asin_test_downward): Likewise.
54309         (asin_test_upward): Likewise.
54310         (main): Call the new functions.
54311         * sysdeps/i386/fpu/libm-test-ulps: Update.
54312         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54314         [BZ #13884]
54315         [BZ #13924]
54316         * math/e_exp10.c: Include <float.h>.
54317         (__ieee754_exp10): Handle underflow here rather than multiplying
54318         large negative argument by M_LN10.
54319         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
54320         of __ieee754_expf.
54321         * math/e_exp10l.c: Include <float.h>.
54322         (__ieee754_exp10l): Handle underflow here rather than multiplying
54323         large negative argument by M_LN10l.
54324         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
54325         spurious overflow exception on underflow.
54327 2012-04-29  Marek Polacek  <polacek@redhat.com>
54329         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
54330         (__fortify_function): New macro.
54331         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
54332         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
54333         __extern_always_inline.
54334         * libio/bits/stdio2.h: Likewise.
54335         * libio/bits/stdio.h: Likewise.
54336         * string/string.h: Likewise.
54337         * string/bits/string3.h: Likewise.
54338         * include/stdio.h: Likewise.
54339         * stdlib/bits/stdlib.h: Likewise.
54340         * stdlib/stdlib.h: Likewise.
54341         * rt/bits/mqueue2.h: Likewise.
54342         * rt/mqueue.h: Likewise.
54343         * posix/bits/unistd.h: Likewise.
54344         * posix/unistd.h: Likewise.
54345         * io/bits/poll2.h: Likewise.
54346         * io/bits/fcntl2.h: Likewise.
54347         * io/fcntl.h: Likewise.
54348         * io/sys/poll.h: Likewise.
54349         * misc/bits/syslog.h: Likewise.
54350         * misc/bits/syslog-ldbl.h: Likewise.
54351         * misc/sys/syslog.h: Likewise.
54352         * socket/bits/socket2.h: Likewise.
54353         * socket/sys/socket.h: Likewise.
54354         * debug/tst-chk1.c: Likewise.
54355         * wcsmbs/bits/wchar2.h: Likewise.
54356         * wcsmbs/bits/wchar-ldbl.h: Likewise.
54357         * wcsmbs/wchar.h: Likewise.
54359 2012-04-29  Andreas Jaeger  <aj@suse.de>
54361         * Makerules (tests): Remove enable-check-abi protection.
54362         (check-abi-warn): Remove.
54363         (check-abi-%): Remove check-abi-warn usage.
54365         * configure.in: Remove check-abi configure option.
54366         * configure: Regenerated.
54367         * config.make.in (enable-check-abi): Remove.
54369 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
54371         [BZ #14033]
54372         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
54373         double functions to double *_finite functions.
54375         [BZ #13941]
54376         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
54377         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
54378         LDBL_MIN_EXP.
54379         * stdio-common/Makefile (tests): Add tst-sprintf3.
54380         * stdio-common/tst-sprintf3.c: New file.
54382         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
54383         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
54385 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
54387         * conform/conformtest.pl: Remove duplicate typed-constant
54388         handling.
54390 2012-04-28  David S. Miller  <davem@davemloft.net>
54392         * Makerules (%.abilist): Add vpath on sysdep_dirs.
54393         (check-abi-%): Remove AWK script prerequisite and explicit
54394         abilist directory.
54395         (check-abi): Rewrite to just diff the symlist with the abilist.
54396         (config-tls, config-abi-config): Delete, no longer used.
54397         (update-abi-%): Remove AWK script and explicit abilist directory.
54398         (update-abi): Rewrite to simply compare and conditionally copy the
54399         symlist and the sysdep abilist file.  Remove update-abi-config
54400         checks.
54401         * abilist/ld.abilist: Remove.
54402         * abilist/libBrokenLocale.abilist: Remove.
54403         * abilist/libanl.abilist: Remove.
54404         * abilist/libcrypt.abilist: Remove.
54405         * abilist/libdl.abilist: Remove.
54406         * abilist/librt.abilist: Remove.
54407         * abilist/libthread_db.abilist: Remove.
54408         * abilist/libutil.abilist: Remove.
54409         * scripts/extract-abilist.awk: Remove.
54410         * scripts/merge-abilist.awk: Remove.
54411         * sysdeps/generic/libcidn.abilist: New file.
54412         * sysdeps/generic/libnss_compat.abilist: New file.
54413         * sysdeps/generic/libnss_db.abilist: New file.
54414         * sysdeps/generic/libnss_dns.abilist: New file.
54415         * sysdeps/generic/libnss_files.abilist: New file.
54416         * sysdeps/generic/libnss_hesiod.abilist: New file.
54417         * sysdeps/generic/libnss_nis.abilist: New file.
54418         * sysdeps/generic/libnss_nisplus.abilist: New file.
54419         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
54420         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
54421         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
54422         file.
54423         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
54424         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
54425         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
54426         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
54427         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
54428         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
54429         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
54430         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
54431         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
54432         file.
54433         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
54434         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
54435         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
54436         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
54437         file.
54438         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
54439         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
54440         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
54441         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
54442         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
54443         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
54444         file.
54445         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
54446         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
54447         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
54448         file.
54449         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
54450         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
54451         New file.
54452         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
54453         New file.
54454         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
54455         New file.
54456         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
54457         New file.
54458         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
54459         New file.
54460         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
54461         New file.
54462         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
54463         New file.
54464         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
54465         New file.
54466         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
54467         New file.
54468         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
54469         New file.
54470         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
54471         New file.
54472         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
54473         New file.
54474         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
54475         New file.
54476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
54477         file.
54478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
54479         New file.
54480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
54481         New file.
54482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
54483         file.
54484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
54485         New file.
54486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
54487         New file.
54488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
54489         file.
54490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
54491         New file.
54492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
54493         New file.
54494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
54495         New file.
54496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
54497         New file.
54498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
54499         New file.
54500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
54501         New file.
54502         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
54503         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
54504         file.
54505         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
54506         New file.
54507         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
54508         file.
54509         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
54510         file.
54511         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
54512         file.
54513         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
54514         file.
54515         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
54516         file.
54517         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
54518         New file.
54519         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
54520         file.
54521         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
54522         file.
54523         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
54524         New file.
54525         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
54526         file.
54527         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
54528         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
54529         file.
54530         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
54531         New file.
54532         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
54533         file.
54534         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
54535         file.
54536         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
54537         file.
54538         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
54539         file.
54540         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
54541         file.
54542         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
54543         New file.
54544         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
54545         file.
54546         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
54547         file.
54548         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
54549         New file.
54550         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
54551         file.
54552         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
54553         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
54554         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
54555         file.
54556         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
54557         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
54558         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
54559         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
54560         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
54561         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
54562         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
54563         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
54564         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
54565         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
54566         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
54567         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
54568         file.
54569         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
54570         New file.
54571         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
54572         file.
54573         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
54574         file.
54575         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
54576         file.
54577         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
54578         file.
54579         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
54580         file.
54581         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
54582         New file.
54583         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
54584         New file.
54585         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
54586         file.
54587         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
54588         New file.
54589         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
54590         file.
54591         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
54592         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
54593         file.
54594         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
54595         New file.
54596         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
54597         file.
54598         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
54599         file.
54600         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
54601         file.
54602         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
54603         file.
54604         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
54605         file.
54606         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
54607         New file.
54608         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
54609         New file.
54610         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
54611         file.
54612         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
54613         New file.
54614         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
54615         file.
54617 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
54619         * conform/conformtest.pl: Fix typo in handling typed-constant from
54620         allow-header.
54622 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
54624         * README: Cut down references to pre-2.6 Linux kernels and
54625         Linuxthreads.  Update lists of configurations in libc and ports
54626         and sort alphabetically.  Say "or newer" with Linux kernel version
54627         requirements.
54629         * config.h.in [IS_IN_build]: Allow compiling without optimization.
54631 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
54633         [BZ #887]
54634         * math/libm-test.inc (logb_test_downward): New test to expose
54635         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
54636         rounding mode.
54638 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
54640         [BZ #14027]
54641         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
54642         to be done.
54643         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
54644         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
54646 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
54648         * sysdeps/unix/i386/brk.S: Remove file.
54649         * sysdeps/unix/i386/dl-brk.S: Likewise.
54650         * sysdeps/unix/i386/pipe.S: Likewise.
54651         * sysdeps/unix/i386/sigreturn.S: Likewise.
54652         * sysdeps/unix/i386/syscall.S: Likewise.
54653         * sysdeps/unix/i386/vfork.S: Likewise.
54654         * sysdeps/unix/i386/wait.S: Likewise.
54656         * sysdeps/unix/common/tcsendbrk.c: Move to ...
54657         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
54659         * configure.in (arm*-none*): Do not allow without
54660         --enable-hacker-mode.
54661         (netbsd*): Remove case setting base_os.
54662         (386bsd*): Likewise.
54663         (freebsd*): Likewise.
54664         (bsdi*): Likewise.
54665         (osf*): Likewise.
54666         (sunos*): Likewise.
54667         (ultrix*): Likewise.
54668         (newsos*): Likewise.
54669         (dynix*): Likewise.
54670         (*bsd*): Likewise.
54671         (sysv*): Likewise.
54672         (isc*): Likewise.
54673         (esix*): Likewise.
54674         (sco*): Likewise.
54675         (minix*): Likewise.
54676         (irix4*): Likewise.
54677         (irix6*): Likewise.
54678         (solaris[2-9]*): Likewise.
54679         (none): Likewise.
54680         * configure: Regenerated.
54682 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54684         [BZ #11521]
54685         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
54686         overflow or cancellation in calculating denominator.
54687         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
54688         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
54689         down expression to avoid unexpected rounding in newer GCCs.
54690         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
54692 2012-04-26  David S. Miller  <davem@davemloft.net>
54694         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
54695         long-double compat symbols.
54696         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
54697         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
54698         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
54699         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
54700         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
54701         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
54702         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
54703         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
54704         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
54705         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
54706         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
54707         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
54708         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
54710 2012-04-25  David S. Miller  <davem@davemloft.net>
54712         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
54713         HWCAP_* values only after the memory barriers have been defined.
54714         (atomic_full_barrier): Define.
54715         (atomic_read_barrier): Define.
54716         (atomic_write_barrier): Define.
54718 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
54720         * shlib-versions: Add libgcc_s version information.
54721         * sysdeps/generic/libgcc_s.h: Remove.
54722         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
54723         libgcc_s.h.
54724         * sysdeps/gnu/unwind-resume.c: Likewise.
54725         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
54727 2012-04-25  David S. Miller  <davem@davemloft.net>
54729         * sysdeps/unix/sparc/brk.S: Delete.
54730         * sysdeps/unix/sparc/dl-brk.S: Delete.
54731         * sysdeps/unix/sparc/pipe.S: Delete.
54732         * sysdeps/unix/sparc/sysdep.S: Delete.
54733         * sysdeps/unix/sparc/sysdep.h: Delete.
54734         * sysdeps/unix/sparc/vfork.S: Delete.
54735         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
54736         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
54737         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
54738         (ret_ERRVAL, r0, r1, MOVE): Define.
54739         (JUMPTARGET): Remove.
54740         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
54741         sysdeps/unix/sparc/sysdep.h
54742         (ENTRY, END): Remove.
54743         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
54745 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
54747         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
54748         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
54749         -DIS_IN_build.
54751         * timezone/README: Update upstream location and email address for
54752         tzcode and tzdata.
54753         * timezone/zdump.c: Update from tzcode 2012b.
54754         * timezone/zic.c: Likewise.
54756         * configure.in (libc_cv_as_needed): Remove test.
54757         * configure: Regenerated.
54758         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
54759         conditional definition.
54760         [$(have-as-needed) != yes] (no-as-needed): Likewise.
54761         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
54762         * config.make.in (have-as-needed): Remove variable.
54764 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
54765             Paul Pluzhnikov  <ppluzhnikov@google.com>
54767         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
54768         strings correctly.
54770 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
54772         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
54773         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
54774         * sysdeps/sh/strlen.S: Likewise.
54776 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
54778         * sysdeps/unix/fork.S: Remove file.
54779         * sysdeps/unix/i386/fork.S: Likewise.
54780         * sysdeps/unix/sparc/fork.S: Likewise.
54782         * sysdeps/unix/system.c: Remove file.
54783         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
54785         * sysdeps/unix/getegid.S: Remove file.
54786         * sysdeps/unix/geteuid.S: Likewise.
54788 2012-04-24  Roland McGrath  <roland@hack.frob.com>
54790         * scripts/check-localplt.awk: New file.
54791         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
54792         of diff.
54793         * scripts/data/localplt-generic.data: Add a comment.
54795         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
54796         NODE when __dir_mkfile failed.
54797         * sysdeps/mach/hurd/symlinkat.c: Likewise.
54798         Reported by Ludovic Courtès <ludo@gnu.org>.
54800 2012-04-24  Andreas Jaeger  <aj@suse.de>
54802         * Makerules (common-clean): Also remove gen-as-const-headers
54803         files.
54805 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
54807         * Makerules (native-compile): Do not change working directory for
54808         build.  Use $(OUTPUT_OPTION) in command.
54809         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
54811 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54813         [BZ #13886]
54814         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
54815         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
54816         * math/libm-test.inc (floor_test): Add more tests.
54817         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
54819 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
54821         * sysdeps/unix/getdents.c: Remove file.
54822         * sysdeps/unix/sysv/getdents.c: Likewise.
54823         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
54825         * sysdeps/unix/syscalls.list (madvise): Add syscall from
54826         sysdeps/unix/mman/syscalls.list.
54827         (mmap): Likewise.
54828         (mprotect): Likewise.
54829         (msync): Likewise.
54830         (munmap): Likewise.
54831         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
54832         * sysdeps/unix/mman/syscalls.list: Remove.
54833         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
54835         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
54836         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
54837         * configure: Regenerated.
54838         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
54839         $(libgcc_s_suffix).
54840         * config.make.in (libgcc_s_suffix): Remove variable.
54842 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
54844         * sysdeps/unix/sysv/gethostname.c: Move to ...
54845         * sysdeps/posix/gethostname.c: ... here.
54847         * sysdeps/unix/execve.S: Remove file.
54849         * sysdeps/unix/_exit.S: Remove file.
54851 2012-04-23  Andreas Jaeger  <aj@suse.de>
54853         [BZ #13739]
54854         * manual/Makefile: Remove make dist support, there's no
54855         need for a stand-alone documentation tar ball.
54856         (TEXI2DVI): Define always, it's not in Makeconfig.
54857         (dist): Removed.
54858         (tar-it): Removed.
54859         (edition): Removed.
54860         (glibc-doc-$(edition).tar): Removed
54861         (%.Z): Removed.
54862         (%.gz): Removed.
54863         (%.uu): Removed.
54864         (ETAGS): Remove, it's in Makeconfig.
54865         (move-if-change): Remove, it's in Makeconfig.
54867 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
54869         [BZ #13970]
54870         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
54871         (strtod, strtof, strtold, strtol, strtoul, strtoq)
54872         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
54873         (strtod_l, strtof_l, strtold_l): Remove __wur.
54874         It is not necessarily an error to ignore strtol's return value.
54875         One can reliably look at the stored endptr to decide whether
54876         the number had valid syntax.
54878 2012-04-21  Andreas Jaeger  <aj@suse.de>
54880         [BZ #13739]
54881         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
54883 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
54885         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
54886         * sysdeps/unix/sysv/Versions: Remove file.
54888 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
54890         [BZ #13927]
54891         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54893 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
54895         [BZ #7064]
54896         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
54897         version from __vm86.
54899 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
54901         * sysdeps/unix/common/lxstat.c: Remove file.
54902         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
54904         * sysdeps/unix/sysv/Makefile: Remove file.
54906         * sysdeps/unix/sysv/direct.h: Remove file.
54908         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
54909         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
54910         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
54911         * sysdeps/unix/sysv/bits/signum.h: Likewise.
54912         * sysdeps/unix/sysv/bits/stat.h: Likewise.
54913         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
54914         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
54916         * sysdeps/unix/sysv/setrlimit.c: Remove file.
54918         * sysdeps/unix/xmknod.c: Remove file.
54919         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
54921         * sysdeps/unix/sysv/settimeofday.c: Remove file.
54923         * sysdeps/unix/sysv/i386/time.S: Remove file.
54925         * sysdeps/unix/fxstat.c: Remove file.
54926         * sysdeps/unix/xstat.c: Likewise.
54927         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
54929         * sysdeps/unix/sysv/sigaction.c: Remove file.
54931         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
54932         (sysdep_headers): Remove variable.
54933         [termio.h not in sysdep_headers] (generated): Likewise.
54934         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
54935         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
54936         * sysdeps/unix/sysv/tcdrain.c: Likewise.
54937         * sysdeps/unix/sysv/tcflow.c: Likewise.
54938         * sysdeps/unix/sysv/tcflush.c: Likewise.
54939         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
54940         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
54941         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
54942         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
54943         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
54945         * sysdeps/unix/siglist.c: Remove file.
54947         * sysdeps/unix/getppid.S: Remove file.
54949         * sysdeps/unix/mkdir.c: Remove file.
54950         * sysdeps/unix/rmdir.c: Likewise.
54952 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
54954         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
54955         ERR_MAX value.
54956         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
54957         errlist-compat value.
54959 2012-04-18  David S. Miller  <davem@davemloft.net>
54961         * sysdeps/generic/memcopy.h (reg_char): Delete.
54962         * debug/strcat_chk.c: Use char, not reg_char.
54963         * debug/strcpy_chk.c: Likewise.
54964         * debug/strncat_chk.c: Likewise.
54965         * debug/strncpy_chk.c: Likewise.
54966         * string/memchr.c: Likewise.
54967         * string/memrchr.c: Likewise.
54968         * string/rawmemchr.c: Likewise.
54969         * string/strcat.c: Likewise.
54970         * string/strchr.c: Likewise.
54971         * string/strchrnul.c: Likewise.
54972         * string/strcmp.c: Likewise.
54973         * string/strcpy.c: Likewise.
54974         * string/strncat.c: Likewise.
54975         * string/strncmp.c: Likewise.
54976         * string/strncpy.c: Likewise.
54978 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
54980         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
54981         __builtin_memcopy is called when src and dest ranges are known to not
54982         overlap.
54984 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
54986         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
54987         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
54988         fwd_align_merge macro call.
54989         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
54990         bwd_align_merge macro call.
54991         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
54993 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
54995         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
54996         bwd_align_merge macros.
54997         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
54998         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
54999         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
55001 2012-04-18  David S. Miller  <davem@davemloft.net>
55003         * sysdeps/sparc/sparc64/memcopy.h: Delete.
55005 2012-04-18  Andreas Jaeger  <aj@suse.de>
55007         [BZ# 6794]
55008         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
55009         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
55010         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
55012         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
55013         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
55014         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
55016         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
55017         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
55018         Adjust for changed ldbl-128 files.
55020         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
55021         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
55022         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
55024 2012-04-17  David S. Miller  <davem@davemloft.net>
55026         * sysdeps/sparc/sparc32/memcopy.h: Delete.
55028 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
55030         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
55031         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
55032         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
55033         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
55034         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
55035         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
55037 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55039         [BZ #6794]
55040         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
55041         * math/libm-test.inc: Add ilogb errno and exception tests.
55042         * math/w_ilogb.c: New file: ilogb wrapper.
55043         * math/w_ilogbf.c: New file: ilogbf wrapper.
55044         * math/w_ilogbl.c: New file: ilogbl wrapper.
55045         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
55046         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
55047         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
55048         exception being thrown with 0.0 as argument.
55049         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
55050         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
55051         exception being thrown with 0.0 as argument.
55052         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
55053         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
55054         exception being thrown with 0.0 as argument.
55055         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
55056         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
55057         exception being thrown with 0.0 as argument.
55058         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
55059         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
55060         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
55061         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
55062         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
55063         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
55064         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
55065         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
55066         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
55068 2012-04-17  Petr Baudis  <pasky@ucw.cz>
55070         * include/sys/uio.h: Change __vector to __iovec to avoid clash
55071         with altivec.
55073 2012-04-16  Marek Polacek  <polacek@redhat.com>
55075         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
55077 2012-04-16  Marek Polacek  <polacek@redhat.com>
55079         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
55080         operands of fdivp instruction.
55082 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
55084         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
55085         * elf/tst-auditmod3b.c: Likewise.
55086         * elf/tst-auditmod4b.c: Likewise.
55087         * elf/tst-auditmod5b.c: Likewise.
55088         * elf/tst-auditmod6b.c: Likewise.
55089         * elf/tst-auditmod6c.c: Likewise.
55090         * elf/tst-auditmod7b.c: Likewise.
55091         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
55092         * sysdeps/x86_64/preconfigure.in: Likewise.
55093         * sysdeps/x86_64/preconfigure: Regenerated.
55095 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
55097         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
55098         __ILP32__.
55100 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
55102         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
55103         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
55105 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
55107         [BZ #13973]
55108         * locale/iso-639.def: Fix gl language name. Spotted by
55109         Yaron Shahrabani.
55111 2012-04-12  Roland McGrath  <roland@hack.frob.com>
55113         [BZ #2074]
55114         * libio/libio.h (__io_write_fn): Update comment.
55116 2012-04-12  Petr Baudis  <pasky@ucw.cz>
55118         [BZ #2074]
55119         * stdio.texi (Hook Functions): The user provided writer function
55120         is not allowed to return -1.
55122 2012-04-11  David S. Miller  <davem@davemloft.net>
55124         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55126 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
55128         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
55129         Add a leading slash to rtkaio.
55131 2012-04-11  Jim Meyering  <meyering@redhat.com>
55133         [BZ #11959]
55134         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
55135         It is not necessarily an error to ignore fwrite's return
55136         value.  One can reliably use ferror to test for errors after
55137         the fact.
55139 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
55141         * bits/types.h (__snseconds_t): New type.
55142         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
55144         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
55145         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
55146         (__SNSECONDS_T_TYPE): Likewise.
55147         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
55148         (__SNSECONDS_T_TYPE): Likewise.
55149         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
55150         (__SNSECONDS_T_TYPE): Likewise.
55152 2012-04-10  Andreas Jaeger  <aj@suse.de>
55154         [BZ #2636]
55155         * manual/time.texi (Processor Time): Return type of times is
55156         elapsed real time since an arbitrary point in the past.
55157         (CPU Time): Move CLK_TCK from here...
55158         (Processor Time): ...to here.  Correct description.
55159         * manual/conf.texi (Constants for Sysconf): Correct description of
55160         _SC_CLK_TCK.
55162 2012-04-10  David S. Miller  <davem@davemloft.net>
55164         [BZ #13967]
55165         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
55166         where the is a gap between DT_REL(A) and DT_JMPREL.
55168 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
55170         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
55171         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
55172         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
55174 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
55176         * elf/dl-support.c (_dl_inhibit_cache): New variable.
55177         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
55178         (dl_main): Handle --inhibit-cache.
55179         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
55180         _dl_inhibit_cache.
55181         * elf/dl-load.c (_dl_map_object): Use it.
55182         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
55184 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
55186         [BZ #13872]
55187         * sysdeps/i386/fpu/e_powl.S (p78): New object.
55188         (__ieee754_powl): Saturate large exponents rather than testing for
55189         overflow of y*log2(x).
55190         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
55191         * math/libm-test.inc (pow_test): Do not permit spurious overflow
55192         exceptions.
55194         [BZ #11521]
55195         * math/s_ctan.c: Include <float.h>.
55196         (__ctan): Avoid internal overflow or cancellation in calculating
55197         denominator.
55198         * math/s_ctanf.c: Likewise.
55199         * math/s_ctanl.c: Likewise.
55200         * math/s_ctanh.c: Likewise.
55201         * math/s_ctanhf.c: Likewise.
55202         * math/s_ctanhl.c: Likewise.
55203         * math/libm-test.inc (ctan_test): Add more tests.
55204         (ctanh_test): Likewise.
55205         * sysdeps/i386/fpu/libm-test-ulps: Update.
55206         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55208 2012-04-09  Andreas Jaeger  <aj@suse.de>
55210         [BZ #6894]
55211         * manual/filesys.texi (Directory Entries): Mention that d_namlen
55212         is an optional BSD extension.
55214         [BZ #10254]
55215         * manual/stdio.texi (Opening Streams): Document additional fopen
55216         parameters.
55218 2012-04-09  Roland McGrath  <roland@hack.frob.com>
55220         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
55221         %eax without telling the compiler.
55223 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
55225         [BZ # 13963]
55226         * manual/install.texi: Use sourceware.org.
55228 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
55230         [BZ #13873]
55231         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
55232         (__ieee754_pow): Generate overflow and underflow using huge*huge
55233         and tiny*tiny rather than just returning constant infinity or zero
55234         for large exponents.
55235         * math/libm-test.inc (pow_test): Require overflow exceptions for
55236         applicable cases of large exponents.
55238         [BZ #706]
55239         * sysdeps/i386/fpu/e_pow.S (p10): New object.
55240         (__ieee754_pow): Use iterative multiplication algorithm only for
55241         integer exponents with absolute value below 1024.  Check for odd
55242         integer exponents when using algorithm for real exponents.
55243         * math/libm-test.inc (pow_test): Add more tests.
55244         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55246 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
55248         [BZ #13705]
55249         * math/libm-test.inc (exp_test): Do not allow overflow exception
55250         on underflow test.
55252 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
55254         [BZ #13705]
55255         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
55256         instead of __kernel_standard_f.
55258 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
55260         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
55261         * sysdeps/x86_64/memset_chk.S: Likewise.
55263 2012-04-08  Andreas Jaeger  <aj@suse.de>
55265         [BZ #10153]
55266         * manual/startup.texi (Environment Access): Describe return value
55267         for putenv and setenv.
55269         [BZ #6895]
55270         * manual/filesys.texi (Directory Entries): Add description for
55271         DT_LNK.
55273         [BZ #6890]
55274         * manual/filesys.texi (Directory Entries): Clarify that it's file
55275         system not operating system in the description of DT_UNKNOWN.
55277         [BZ #6578]
55278         * manual/syslog.texi (closelog): Fix reference, it's openlog.
55280 2012-04-08  Stephen Compall  <s11@member.fsf.org>
55282         [BZ #6649]
55283         * manual/llio.texi (Opening and Closing Files): Add cross
55284         reference to explain mode argument.
55286 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
55288         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
55289         * sysdeps/x86_64/memset_chk.S: Likewise.
55291 2012-04-07  David S. Miller  <davem@davemloft.net>
55293         * elf/elf.h (R_SPARC_WDISP10): Define.
55294         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
55295         R_SPARC_SIZE32.
55296         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
55297         R_SPARC_SIZE64 and R_SPARC_H34.
55299 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
55301         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
55302         conditions and remove no longer applicable assertion.
55304 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
55306         * bits/byteswap.h: Include <features.h>.
55307         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
55308         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
55310 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
55312         * bits/byteswap.h (__bswap_16): Removed.
55313         Include <bits/byteswap-16.h> to get __bswap_16.
55314         * sysdeps/i386/bits/byteswap.h: Likewise.
55315         * sysdeps/s390/bits/byteswap.h: Likewise.
55316         * sysdeps/x86_64/bits/byteswap.h: Likewise.
55317         * bits/byteswap-16.h: New file.
55318         * sysdeps/i386/bits/byteswap-16.h: Likewise.
55319         * sysdeps/s390/bits/byteswap-16.h: Likewise.
55320         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
55321         * string/Makefile (headers): Add bits/byteswap-16.h.
55323 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
55325         [BZ #13895]
55326         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
55327         extra indirection.
55328         * nss/Makefile (tests-static, tests): Add tst-nss-static.
55329         * nss/tst-nss-static.c: New.
55331 2012-04-06  Robert Millan  <rmh@gnu.org>
55333         [BZ #6486]
55334         * manual/llio.texi (File Position Primitive): lseek
55335         refers to WHENCE when it really means OFFSET.
55337 2012-04-06  Andreas Jaeger  <aj@suse.de>
55339         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
55340         strncmp declarations.
55342         * abilist/libc.abilist: Add __poll and __ppoll.
55344 2012-04-05  David S. Miller  <davem@davemloft.net>
55346         * scripts/check-local-headers.sh: Accept a host triplet in the
55347         path matched by the exclude regexp.
55349         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
55350         definition.
55351         * sysdeps/powerpc/powerpc32/dl-machine.h
55352         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
55353         * sysdeps/s390/s390-32/dl-machine.h
55354         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
55355         * sysdeps/sparc/sparc32/dl-machine.h
55356         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
55357         * sysdeps/sparc/sparc64/dl-machine.h
55358         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
55360         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
55361         lazy binding.
55362         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
55363         undefined symbol errors.
55365         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
55366         DT_NEEDED entries.
55368 2012-04-05  Michael Matz  <matz@suse.de>
55370         [BZ #13592]
55371         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
55373 2012-04-05  Andreas Jaeger  <aj@suse.de>
55375         [BZ #13908]
55376         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
55377         comment.
55379 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
55381         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
55382         which ROUND is no valid rounding mode.
55384 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
55386         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
55387         read again.
55388         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
55390 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
55392         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
55393         an exception using FPU order intentionally.
55395 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
55397         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
55398         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
55399         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
55400         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
55402 2012-04-05  Simon Josefsson  <simon@josefsson.org>
55404         [BZ #12340]
55405         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
55406         EINVAL when BUFLEN is too smal.
55408 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
55410         [BZ #13553]
55411         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
55412         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
55414 2012-04-03  Andreas Jaeger  <aj@suse.de>
55416         [BZ #13938]
55417         * manual/setjmp.texi (System V contexts): Fix sentence.
55419         [BZ #13926]
55420         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
55421         New macro for this case.
55422         [!__GNUC__] (__bswap_64): New inline function for this case.
55423         * sysdeps/x86_64/bits/byteswap.h: Likewise.
55424         * bits/byteswap.h: Likewise.
55425         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
55426         ull, guard with __GLIBC_HAVE_LONG_LONG.
55428         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
55429         __GLIBC_HAVE_LONG_LONG.
55431         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
55432         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
55434 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
55436         [BZ #13691]
55437         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
55438         inptr and inend, rather than using last_ch.
55440 2012-04-02  David S. Miller  <davem@davemloft.net>
55442         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
55443         * stdio-common/printf-parse.h (read_int): Change return type to
55444         'int', return -1 on INT_MAX overflow.
55445         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
55446         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
55447         overflows INT_MAX.  Check for overflow of in-format-string precision
55448         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
55449         SIZE_MAX not INT_MAX for integer overflow test.
55450         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
55451         skip the construct in the format string but do not record anything.
55452         * stdio-common/bug22.c: Adjust to test both width/prevision
55453         INT_MAX overflow as well as total length INT_MAX overflow.  Check
55454         explicitly for proper errno values.
55456 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
55458         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
55459         CHAR_MAX.
55460         * string/test-strcmp.c [! WIDE]: Likewise.
55461         * time/tst-mktime2.c: Likewise for INT_MAX.
55462         * string/test-string.h: #include <sys/param.h> for MIN.
55464         * csu/init-first.c (__libc_init_first): Call __ctype_init.
55465         * sysdeps/i386/init-first.c (init): Likewise.
55466         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
55467         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
55468         * sysdeps/sh/init-first.c (init): Likewise.
55470 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
55472         * po/ru.po: Update from translation team.
55473         * po/vi.po: Likewise.
55475 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
55477         * resolv/nss_dns/dns-host.c: Merge copyright years.
55479 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55481         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
55482         Optimize memcpy with prefetch if
55483         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
55484         src, dst pointers have unequal 16 byte alignments.
55486 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
55488         [BZ #13928]
55489         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
55490         from a CNAME entry and return the minimum ttl for the query.
55491         (gaih_getanswer_slice): Likewise.
55493 2012-03-30  Jeff Law  <law@redhat.com>
55495         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
55496         due to long keys.
55497         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
55498         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
55500         * resolv/nss_dns/dns-host.c: Update copyright year.
55502 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
55504         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
55505         requests to save a system call.  Fix check that all bytes are sent.
55507         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
55508         comments for sendmmsg.
55510 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
55512         [BZ #13691]
55513         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
55514         with only 1 character between 0x0041 and 0x01b0.
55515         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
55516         * wcsmbs/tst-mbsnrtowcs.c: New file.
55518 2012-03-29  David S. Miller  <davem@davemloft.net>
55520         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
55521         small copies by hand.
55523 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
55525         [BZ #13761]
55526         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
55527         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
55528         group memberships.
55530 2012-03-28  David S. Miller  <davem@davemloft.net>
55532         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
55533         that branches into memcpy.
55534         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
55535         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
55536         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
55537         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
55538         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
55539         bits.
55540         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
55541         implementation too.
55542         * sysdeps/sparc/mempcpy.S: New file.
55544         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
55545         the IFUNC routine in the libc case.
55546         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
55548         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
55549         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
55550         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
55551         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
55552         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
55553         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
55554         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
55555         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
55557         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
55558         loop to 256 bytes instead of 64 bytes and fix test signedness.
55560         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
55561         * sysdeps/sparc/sparc32/Makefile: rather than here...
55562         * sysdeps/sparc/sparc64/Makefile: and here.
55564 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
55566         * malloc/mallocbug.c: Avoid warnings about unused variables.
55568 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
55570         [BZ #13760]
55571         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
55572         in the right place. Discard and retry query if response is
55573         larger than input buffer size.
55575 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
55577         [BZ #369]
55578         [BZ #2678]
55579         [BZ #3866]
55580         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
55581         x for large integer exponent.
55582         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
55583         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
55584         sign of result as needed afterwards.
55585         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
55586         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
55587         result for underflowing pow the same as for overflow.
55588         (__kernel_standard_l): Handle powl overflow and underflow here
55589         rather than calling __kernel_standard.
55590         * math/libm-test.inc (pow_test): Add more tests.
55592         [BZ #3868]
55593         [BZ #13879]
55594         [BZ #13910]
55595         [BZ #13911]
55596         [BZ #13912]
55597         [BZ #13913]
55598         [BZ #13915]
55599         [BZ #13916]
55600         [BZ #13917]
55601         [BZ #13918]
55602         [BZ #13919]
55603         [BZ #13920]
55604         [BZ #13921]
55605         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
55606         * sysdeps/ieee754/k_standard.c: Include <float.h>.
55607         (__kernel_standard_l): New function.
55608         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
55609         __kernel_standard.
55610         * math/w_acosl.c (__acosl): Likewise.
55611         * math/w_asinl.c (__asinl): Likewise.
55612         * math/w_atan2l.c (__atan2l): Likewise.
55613         * math/w_atanhl.c (__atanhl): Likewise.
55614         * math/w_coshl.c (__coshl): Likewise.
55615         * math/w_exp10l.c (__exp10l): Likewise.
55616         * math/w_exp2l.c (__exp2l): Likewise.
55617         * math/w_fmodl.c (__fmodl): Likewise.
55618         * math/w_hypotl.c (__hypotl): Likewise.
55619         * math/w_j0l.c (__j0l, __y0l): Likewise.
55620         * math/w_j1l.c (__j1l, __y1l): Likewise.
55621         * math/w_jnl.c (__jnl, __ynl): Likewise.
55622         * math/w_lgammal.c (__lgammal): Likewise.
55623         * math/w_log10l.c (__log10l): Likewise.
55624         * math/w_log2l.c (__log2l): Likewise.
55625         * math/w_logl.c (__logl): Likewise.
55626         * math/w_powl.c (__powl): Likewise.
55627         * math/w_remainderl.c (__remainderl): Likewise.
55628         * math/w_scalbl.c (sysv_scalbl): Likewise.
55629         * math/w_sinhl.c (__sinhl): Likewise.
55630         * math/w_sqrtl.c (__sqrtl): Likewise.
55631         * math/w_tgammal.c (__tgammal): Likewise.
55632         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
55633         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
55634         * math/libm-test.inc (acos_test): Add more tests.
55635         (acosh_test): Likewise.
55636         (asin_test): Likewise.
55637         (atanh_test): Likewise.
55638         (exp_test): Likewise.
55639         (exp10_test): Likewise.
55640         (exp2_test): Likewise.
55641         (expm1_test): Likewise.
55642         (lgamma_test): Likewise.
55643         (log_test): Likewise.
55644         (log10_test): Likewise.
55645         (log1p_test): Likewise.
55646         (log2_test): Likewise.
55647         (pow_test): Do not allow some spurious overflow exceptions.
55648         (sqrt_test): Add more tests.
55649         (tgamma_test): Likewise.
55650         (y0_test): Likewise.
55651         (y1_test): Likewise.
55652         (yn_test): Likewise.
55654 2012-03-27  Anton Blanchard  <anton@samba.org>
55656         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
55657         MAP_HUGETLB.
55658         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
55659         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
55660         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
55662 2012-03-27  David S. Miller  <davem@davemloft.net>
55664         * conform/Makefile: Run run-conformtest.sh using $(BASH).
55666         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
55667         have-as-vis3 check.
55669 2012-03-27  Andreas Jaeger  <aj@suse.de>
55671         * sysdeps/x86_64/elf/configure.in: Moved to ...
55672         * sysdeps/x86_64/configure.in: ... here.
55673         * sysdeps/x86_64/elf/start.S: Moved to ...
55674         * sysdeps/x86_64/start.S: ... here.
55675         * sysdeps/x86_64/elf/configure: Delete.
55677         * sysdeps/x86_64/configure.in: Merge contents from
55678         sysdeps/i386/configure.in (without i686 check).
55680         * sysdeps/i386/elf/Versions: Merge into ...
55681         * sysdeps/i386/Versions: ... this.
55682         * sysdeps/i386/elf/Versions: Delete file.
55683         * sysdeps/i386/elf/start.S: Moved to ...
55684         * sysdeps/i386/start.S: ...here.
55685         * sysdeps/i386/elf/configure.in: Merge into...
55686         * sysdeps/i386/configure.in: ...here.
55687         * sysdeps/i386/elf/configure.in: Delete file.
55688         * sysdeps/i386/elf/configure: Delete file.
55690         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
55691         * debug/backtracesyms.c: ... here.
55692         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
55693         * debug/backtracesymsfd.c: ... here.
55694         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
55695         * sysdeps/generic/ifunc-sel.h: ... here.
55697         * sysdeps/unix/i386/start.c: Delete file.
55698         * sysdeps/unix/sparc/start.c: Delete file.
55699         * sysdeps/unix/start.c: Delete file.
55701         * sysdeps/sh/elf/configure.in: Moved to ...
55702         * sysdeps/sh/configure.in: ... here.
55703         * sysdeps/sh/elf/start.S: Moved to ...
55704         * sysdeps/sh/start.S: ... here.
55705         * sysdeps/sh/elf/configure: Delete file.
55707         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
55708         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
55709         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
55710         * sysdeps/powerpc/powerpc64/entry.h: ... here.
55711         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
55712         * sysdeps/powerpc/powerpc64/start.S: here.
55713         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
55714         * sysdeps/powerpc/powerpc64/Makefile: ... this.
55715         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
55716         * sysdeps/powerpc/powerpc64/configure.in: ... this.
55717         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
55719         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
55720         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
55721         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
55722         * sysdeps/powerpc/powerpc32/start.S: ... here.
55723         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
55724         * sysdeps/powerpc/powerpc32/configure.in: ... this.
55725         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
55727         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
55728         * sysdeps/powerpc/ifunc-sel.h: ... here.
55729         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
55730         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
55732         * sysdeps/sparc/elf/configure.in: Moved to ...
55733         * sysdeps/sparc/configure.in: ... here.
55734         * sysdeps/sparc/elf/configure: Delete file.
55735         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
55736         * sysdeps/sparc/sparc32/start.S: ... here.
55737         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
55738         * sysdeps/sparc/sparc64/start.S: ... here.
55739         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
55740         * sysdeps/sparc/sparc32/Makefile: ... this.
55741         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
55742         * sysdeps/sparc/sparc64/Makefile: ... this.
55744         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
55745         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
55746         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
55747         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
55748         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
55749         * sysdeps/s390/s390-32/setjmp.S: ... here.
55750         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
55751         * sysdeps/s390/s390-32/configure.in: ... here.
55752         * sysdeps/s390/s390-32/elf/configure: Delete file.
55753         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
55754         * sysdeps/s390/s390-32/start.S: ... here.
55756         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
55757         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
55758         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
55759         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
55760         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
55761         * sysdeps/s390/s390-64/setjmp.S: ... here.
55762         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
55763         * sysdeps/s390/s390-64/configure.in: ... here
55764         * sysdeps/s390/s390-64/elf/configure: Delete file.
55765         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
55766         * sysdeps/s390/s390-64/start.S: ... here.
55767         * sysdeps/s390/s390-64/elf/configure: Delete.
55769         * configure.in: Remove support for elf directories in sysdeps.
55771         * configure: Regenerated.
55772         * sysdeps/i386/configure: Regenerated.
55773         * sysdeps/powerpc/powerpc32/configure: Regenerated.
55774         * sysdeps/powerpc/powerpc64/configure: Regenerated.
55775         * sysdeps/s390/s390-32/configure: Regenerated.
55776         * sysdeps/s390/s390-64/configure: Regenerated.
55777         * sysdeps/sh/configure: Regenerated.
55778         * sysdeps/sparc/configure: Regenerated.
55779         * sysdeps/x86_64/configure: Regenerated.
55781 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
55783         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55785         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
55786         denormal result into account.
55788 2012-03-25  Roland McGrath  <roland@hack.frob.com>
55790         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
55791         Reported by Allan McRae <allan@archlinux.org>.
55793 2012-03-23  Jeff Law  <law@redhat.com>
55795         * nss/getnssent.c (__nss_getent): Fix typo.
55797 2012-03-23  David S. Miller  <davem@davemloft.net>
55799         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55801 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
55803         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
55804         to pad to uint64_t for each field.
55805         (dl_tls_index): Replace unsigned long with uint64_t.
55807 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
55808         Paul Pluzhnikov  <ppluzhnikov@google.com>
55810         [BZ #6528]
55811         * grp/Makefile (otherlibs): Don't set it.
55812         * inet/Makefile (otherlibs): Likewise.
55813         * login/Makefile (otherlibs): Likewise.
55814         * nscd/Makefile (otherlibs): Likewise.
55815         * posix/Makefile (otherlibs): Likewise.
55816         * pwd/Makefile (otherlibs): Likewise.
55817         * rt/Makefile (otherlibs): Likewise.
55818         * sunrpc/Makefile (otherlibs): Likewise.
55819         * nss/Makefile (otherlibs): Likewise.
55820         Add libnss_files to routines and static-only-routines.
55821         ($(objpfx)getent): Remove rule.
55822         * resolv/Makefile: Add libnss_dns and libresolv to routines and
55823         static-only-routines.
55825 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
55827         [BZ #13892]
55828         * math/s_cexp.c: Include <float.h>.
55829         (__cexp): Handle exp result overflowing not necessarily
55830         overflowing both real and imaginary parts of result.
55831         * math/s_cexpf.c: Likewise.
55832         * math/s_cexpl.c: Likewise.
55833         * math/libm-test.inc (cexp_test): Add more tests.
55834         * sysdeps/i386/fpu/libm-test-ulps: Update.
55835         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55837 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
55839         * include/link.h (ELFW): New macro.
55840         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
55841         Replace ELF64_R_TYPE with ELFW(R_TYPE).
55843 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
55845         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
55846         with uint64_t.
55848 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
55850         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
55851         declaration.
55852         (struct La_x32_retval): Likewise.
55854 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
55856         * sysdeps/x86_64/preconfigure.in: New file.
55857         * sysdeps/x86_64/preconfigure: New generated file.
55859 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
55861         [BZ #13824]
55862         * math/e_exp2l.c: Include <float.h>.
55863         (__ieee754_exp2l): Handle overflow and underflow cases
55864         separately.  Only pass fractional part of argument to
55865         __ieee754_expl.
55866         * math/libm-test.inc (exp2_test): Add more tests.
55868         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
55869         negating x to take absolute value.
55870         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
55871         Likewise.
55872         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
55873         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
55874         Likewise.
55875         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
55876         computing low part if x was negated.
55877         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
55879 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
55881         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
55882         la_x32_gnu_pltexit.
55883         (pltexit): Cast int_retval to ptrdiff_t.
55884         * elf/tst-auditmod3b.c: Likewise.
55885         * elf/tst-auditmod4b.c: Likewise.
55886         * elf/tst-auditmod5b.c: Likewise.
55887         * elf/tst-auditmod6b.c: Likewise.
55888         * elf/tst-auditmod6c.c: Likewise.
55889         * elf/tst-auditmod7b.c: Likewise.
55891         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
55892         and x32_gnu_pltexit.
55894         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
55895         __ELF_NATIVE_CLASS.
55896         (La_x32_regs): New macro.
55897         (La_x32_retval): Likewise.
55898         (la_x32_gnu_pltenter): New function prototype.
55899         (la_x32_gnu_pltexit): Likewise.
55901 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
55903         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
55904         exponent.
55906         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55908         * configure.in (libc_cv_cc_nofma): Check for option to disable
55909         generation of FMA instructions.
55910         * configure: Regenerate.
55911         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
55912         * sysdeps/ieee754/dbl-64/Makefile: New file.
55913         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
55914         Remove brandred-fma4.
55915         (CFLAGS-brandred-fma4.c): Remove.
55916         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
55917         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
55918         define.
55919         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
55920         define.
55922 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
55924         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
55925         LLONG_MAX != LONG_MAX.
55926         (_itoa_word): Use _ITOA_WORD_TYPE on value.
55927         (_fitoa_word): Likewise.
55928         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
55929         LLONG_MAX != LONG_MAX.
55930         * stdio-common/_itowa.h: Include <_itoa.h>.
55931         (_itowa_word): Use _ITOA_WORD_TYPE on value.
55932         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
55933         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
55934         only if not defined.
55935         (_ITOA_WORD_TYPE): Likewise.
55936         (_itoa_word): Use _ITOA_WORD_TYPE on value.
55937         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
55939 2012-03-21  David S. Miller  <davem@davemloft.net>
55941         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55943 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
55945         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
55946         of x86_64 when setting libc_cv_slibdir, libdir and
55947         libc_cv_localedir.
55948         * sysdeps/unix/sysv/linux/configure: Regenerated.
55950 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
55952         * manual/lang.texi (Old Varargs): Remove section.
55953         (How Variadic): Update menu.
55954         (va_start): Do not mention varargs.h.
55956 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
55957             Joseph Myers  <joseph@codesourcery.com>
55959         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
55960         link test.
55961         * configure: Regenerated.
55963 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
55965         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
55966         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
55967         conformtest.pl
55969 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
55971         * NOTES: Remove.
55972         * Makefile (files-for-dist): Remove NOTES.
55973         (NOTES): Remove rule.
55974         * README: Don't refer to NOTES.
55975         * manual/creature.texi: Don't include macros.texi.
55976         * manual/intro.texi (creature.texi): Remove comment referring to
55977         NOTES.
55979         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
55980         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
55981         * configure: Regenerated.
55982         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
55983         LIBC_TRY_CC_OPTION.
55984         (libc_cv_as_i686): Likewise.
55985         (libc_cv_cc_avx): Likewise.
55986         (libc_cv_cc_sse2avx): Likewise.
55987         (libc_cv_cc_fma4): Likewise.
55988         (libc_cv_cc_novzeroupper): Likewise.
55989         * sysdeps/i386/configure: Regenerated.
55991         [BZ #13883]
55992         * sysdeps/i386/fpu/s_cexp.S: Remove.
55993         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
55994         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
55995         * math/libm-test.inc (cexp_test): Add more tests.
55996         * sysdeps/i386/fpu/libm-test-ulps: Update.
55997         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55999 2012-03-21  Allan McRae  <allan@archlinux.org>
56001         * timezone/Makefile: Do not install iso3166.tab and zone.tab
56003 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
56005         [BZ #13871]
56006         * math/w_exp2.c: Do not include <float.h>.
56007         (o_threshold, u_threshold): Remove.
56008         (__exp2): Calculate result before checking finiteness and calling
56009         __kernel_standard.
56010         * math/w_exp2f.c: Likewise.
56011         * math/w_exp2l.c: Likewise.
56012         * math/libm-test.inc (exp2_test): Require overflow exception for
56013         1e6 input.
56015         [BZ #3866]
56016         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
56017         range of signed 64-bit integers before using fistpll.  Remove
56018         checks for whether integers fit in mantissa bits.
56019         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
56020         the range of signed 32-bit integers before using fistpl.  Remove
56021         checks for whether integers fit in mantissa bits.
56022         * sysdeps/i386/fpu/e_powl.S (p64): New object.
56023         (__ieee754_powl): Test for y outside the range of signed 64-bit
56024         integers before using fistpll.  Reduce 64-bit values to 63-bit
56025         ones as needed.
56026         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
56027         divide-by-zero is raised for zero to large negative powers.
56028         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
56029         (__ieee754_powl): Test for y outside the range of signed 64-bit
56030         integers before using fistpll.  Reduce 64-bit values to 63-bit
56031         ones as needed.
56032         * math/libm-test.inc (pow_test): Add more tests.
56034 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
56036         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
56037         <stdio-common/_itoa.h>.
56038         * debug/segfault.c: Likewise.
56039         * elf/dl-cache.c: Likewise.
56040         * elf/dl-minimal.c: Likewise.
56041         * elf/dl-misc.c: Likewise.
56042         * elf/dl-sysdep.c: Likewise.
56043         * elf/dl-version.c: Likewise.
56044         * elf/rtld.c: Likewise.
56045         * hurd/hurdsock.c: Likewise.
56046         * hurd/lookup-retry.c: Likewise.
56047         * malloc/malloc.c: Likewise.
56048         * malloc/mtrace.c: Likewise.
56049         * nscd/nscd_getgr_r.c: Likewise.
56050         * nscd/nscd_getpw_r.c: Likewise.
56051         * nscd/nscd_getserv_r.c: Likewise.
56052         * posix/getopt_init.c: Likewise.
56053         * posix/wordexp.c: Likewise.
56054         * stdio-common/_itoa.c: Likewise.
56055         * stdio-common/printf_fphex.c: Likewise.
56056         * stdio-common/vfprintf.c: Likewise.
56057         * string/_strerror.c: Likewise.
56058         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
56059         * sysdeps/i386/i686/hp-timing.h: Likewise.
56060         * sysdeps/mach/_strerror.c: Likewise.
56061         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
56062         * sysdeps/mach/hurd/sethostid.c: Likewise.
56063         * sysdeps/mach/hurd/xmknodat.c: Likewise.
56064         * sysdeps/mach/xpg-strerror.c: Likewise.
56065         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
56066         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
56067         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
56068         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
56069         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
56070         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
56071         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
56072         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
56073         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
56074         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
56075         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
56076         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
56077         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
56078         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
56079         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
56080         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
56081         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
56082         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
56083         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
56084         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
56085         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
56087         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
56089         * stdio-common/_itoa.h: Moved to ...
56090         * sysdeps/generic/_itoa.h: Here.
56092         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
56094         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
56095         instead of "_itoa.h" and "_itowa.h".
56096         * stdio-common/vfprintf.: Likewise.
56098 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
56100         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
56101         <bits/wordsize.h>.
56102         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
56103         (__signbit): Likwise.
56104         (llrintf): Likwise.
56105         (llrint): Likwise.
56107 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
56109         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
56110         __WORDSIZE != 64.
56112 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
56114         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
56115         OVERFLOW_EXCEPTION_OK.
56116         * math/libm-test.inc ("Philosophy"): Update comment about
56117         exception testing.
56118         (OVERFLOW_EXCEPTION): Define.
56119         (OVERFLOW_EXCEPTION_OK): Likewise.
56120         (INVALID_EXCEPTION_OK): Renumber.
56121         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
56122         (IGNORE_ZERO_INF_SIGN): Likewise.
56123         (test_exceptions): Handle FE_OVERFLOW.
56124         (exp10_test): Expect overflow exceptions.
56125         (exp2_test): Likewise.
56126         (expm1_test): Likewise.
56127         (nextafter_test): Likewise.
56128         (pow_test): Likewise.
56129         (scalbn_test): Likewise.
56130         (scalbln_test): Likewise.
56132 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
56134         * sysdeps/x86_64/bits/atomic.h
56135         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
56136         64bit integer.
56137         (atomic_exchange_acq): Likewise.
56138         (__arch_exchange_and_add_body): Likewise.
56139         (__arch_add_body): Likewise.
56140         (atomic_add_negative): Likewise.
56141         (atomic_add_zero): Likewise.
56143 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
56145         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
56146         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
56148 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
56150         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
56151         Check __x86_64__ instead of __WORDSIZE.
56153 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
56155         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
56157 2012-03-19  David S. Miller  <davem@davemloft.net>
56159         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56161         * sysdeps/sparc/fpu/fenv_private.h: New file.
56162         * sysdeps/sparc/fpu/math_private.h: Use it.
56163         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
56164         Remove.
56165         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
56166         (libc_feholdexcept_setroundl): Remove.
56167         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
56168         Remove.
56169         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
56170         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
56172 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
56174         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
56175         int64_t instead of long int.
56176         (INSERT_WORDS64): Likwise.
56178 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
56180         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
56181         _Unwind_GetCFA return to _Unwind_Ptr first.
56183 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
56185         [BZ #13629]
56186         * math/s_clog.c: Include <float.h>.
56187         (__clog): Scale large or subnormal inputs.
56188         * math/s_clogf.c: Likewise.
56189         * math/s_clogl.c: Likewise.
56190         * math/s_clog10.c: Include <float.h>.
56191         (M_LOG10_2): Define.
56192         (__clog10): Scale large or subnormal inputs.
56193         * math/s_clog10f.c: Likewise.
56194         * math/s_clog10l.c: Likewise.
56195         * math/libm-test.inc (clog_test): Add more tests.
56196         (clog10_test): Likewise.
56197         * sysdeps/i386/fpu/libm-test-ulps: Update.
56198         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56200         [BZ #11451]
56201         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
56202         x and y.
56203         * math/libm-test.inc (atan2_test): Add another test.
56205         * Makerules (common-objdir-compile): Remove.
56206         * sysdeps/unix/Makefile (config-generated): Do not add
56207         $(unix-generated) to variable.
56208         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
56209         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
56210         Remove rule.
56211         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
56212         Likewise.
56213         [generic bits/local_lim.h] (before-compile): Do not append to
56214         variable.
56215         [generic bits/local_lim.h] (common-generated): Likewise.
56216         [generic sys/param.h] (before-compile): Do not append to variable.
56217         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
56218         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
56219         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
56220         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
56221         include.
56222         [generic sys/param.h] (sys/param.h-includes): Remove variable.
56223         [generic sys/param.h] (sys/param.h-includes): Remove rule.
56224         [generic sys/param.h] ($(addprefix
56225         $(common-objpfx),$(sys/param.h-includes))): Likewise.
56226         [generic sys/param.h] (common-generated): Do not append to
56227         variable.
56228         [generic sys/param.h] (sysdep_headers): Likewise.
56229         [generic bits/errno.h] (before-compile): Do not append to
56230         variable.
56231         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
56232         rule.
56233         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
56234         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
56235         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
56236         [generic bits/errno.h] (common-generated): Do not append to
56237         variable.
56238         [generic bits/ioctls.h] (before-compile): Do not append to
56239         variable.
56240         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
56241         rule.
56242         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
56243         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
56244         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
56245         rule.
56246         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
56247         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
56248         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
56249         [generic bits/ioctls.h] (common-generated): Do not append to
56250         variable.
56251         [generic sys/syscall.h] (syscall.h): Remove variable.
56252         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
56253         rule.
56254         [generic sys/syscall.h] (before-compile): Do not append to
56255         variable.
56256         [generic sys/syscall.h] (common-generated): Likewise.
56257         * sysdeps/unix/errnos-tmpl.c: Remove file.
56258         * sysdeps/unix/errnos.awk: Likewise.
56259         * sysdeps/unix/ioctls-tmpl.c: Likewise.
56260         * sysdeps/unix/ioctls.awk: Likewise.
56261         * sysdeps/unix/mk-local_lim.c: Likewise.
56262         * sysdeps/unix/snarf-ioctls: Likewise.
56264 2012-03-19  Richard Henderson  <rth@twiddle.net>
56266         * sysdeps/i386/fpu/fenv_private.h: New file.
56267         * sysdeps/i386/fpu/math_private.h: Use it.
56268         (math_opt_barrier, math_force_eval): Remove.
56269         (libc_feholdexcept_setround_53bit): Remove.
56270         (libc_feupdateenv_53bit): Remove.
56271         * sysdeps/x86_64/fpu/math_private.h: Likewise.
56272         (math_opt_barrier, math_force_eval): Remove.
56273         (libc_feholdexcept): Remove.
56274         (libc_feholdexcept_setround): Remove.
56275         (libc_fetestexcept, libc_fesetenv): Remove.
56276         (libc_feupdateenv_test): Remove.
56277         (libc_feupdateenv, libc_feholdsetround): Remove.
56278         (libc_feresetround): Remove.
56280         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
56281         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
56283         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
56284         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
56285         (libc_feupdateenv_testl): New.
56286         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
56287         (libc_feupdateenv_testf): New.
56288         (libc_feupdateenv): Use libc_feupdateenv_test.
56289         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
56290         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
56292         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
56293         (libc_feholdsetroundf, libc_feholdsetroundl): New.
56294         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
56295         (libc_feresetround_noex): New.
56296         (libc_feresetround_noexf): New.
56297         (libc_feresetround_noexl): New.
56298         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
56299         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
56300         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
56301         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
56302         SET_RESTORE_ROUND.
56303         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
56304         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
56305         (__cos): Likewise.
56306         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
56307         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
56308         SET_RESTORE_ROUND_NOEX.
56309         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
56310         SET_RESTORE_ROUND_NOEXF.
56311         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
56312         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
56313         (libc_feholdsetroundf): New.
56314         (libc_feresetround, libc_feresetroundf): New.
56316         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
56317         (libc_feholdexcept_setround_53bit): Convert from macro to function.
56318         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
56320         * sysdeps/generic/math_private.h: Include <fenv.h>.
56321         (default_libc_feholdexcept): New.
56322         (default_libc_feholdexcept_setround): New.
56323         (default_libc_fesetenv, default_libc_feupdateenv): New.
56324         (libc_feholdexcept): Only define if undefined.
56325         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
56326         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
56327         (libc_feholdexcept_setroundl): Likewise.
56328         (libc_feholdexcept_setround_53bit): Likewise.
56329         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
56330         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
56331         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
56332         (libc_feupdateenv_53bit): Likewise.
56333         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
56334         (libc_feholdexcept): Convert from macro to inline function.
56335         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
56336         (libc_fesetenv, libc_feupdateenv): Likewise.
56338         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
56339         not previously defined.
56340         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
56341         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
56342         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
56343         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
56344         * sysdeps/ieee754/flt-32/math_private.h: New file.
56345         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
56346         math_private.h below SET_FLOAT_WORD.
56347         (__isnan, __isinf_ns, __finite): Remove.
56348         (__isnanf, __isinf_nsf, __finitef): Remove.
56350 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
56352         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56354 2012-03-17  David S. Miller  <davem@davemloft.net>
56356         [BZ #6471]
56357         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
56358         for 2.16.
56360 2012-03-16  David S. Miller  <davem@davemloft.net>
56362         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
56363         warnings.
56365         [BZ #6471]
56366         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
56367         properly.
56368         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
56369         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
56370         sysdep_routines when subdir is sysvipc.
56371         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
56372         __getshmlba helper.
56374         * sysdeps/sparc/fpu/libm-test/ulps: Update.
56376 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
56378         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
56379         [__LP64__].
56381 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
56383         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
56384         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
56385         (__lround): Renamed to ...
56386         (__llround): This.  Replace long int with long long int.
56387         Define lround functions as aliases of llround functions.
56388         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
56390 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
56392         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
56393         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
56394         adresses to uintptr_t.  Replace "long int" and "unsigned long
56395         int" with "greg_t" on va_arg.
56397 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
56399         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
56400         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
56402         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
56403         Move e_machine check before EI_CLASS check.  Handle x32
56404         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
56405         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
56406         SKIP_EM_IA_64 and include
56407         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
56409         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
56410         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
56411         (add_system_dir): New macro.
56413         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
56414         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
56416 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
56418         [BZ #2551]
56419         [BZ #2552]
56420         [BZ #2553]
56421         [BZ #2554]
56422         [BZ #2562]
56423         [BZ #2563]
56424         [BZ #2565]
56425         [BZ #2566]
56426         [BZ #2576]
56427         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
56428         (y0): Likewise.
56429         * math/w_j0f.c (j0f): Likewise.
56430         (y0f): Likewise.
56431         * math/w_j0l.c (__j0l): Likewise.
56432         (__y0l): Likewise.
56433         * math/w_j1.c (j1): Likewise.
56434         (y1): Likewise.
56435         * math/w_j1f.c (j1f): Likewise.
56436         (y1f): Likewise.
56437         * math/w_j1l.c (__j1l): Likewise.
56438         (__y1l): Likewise.
56439         * math/w_jn.c (jn): Likewise.
56440         (yn): Likewise.
56441         * math/w_jnf.c (jnf): Likewise.
56442         (ynf): Likewise.
56443         * math/w_jnl.c (__jnl): Likewise.
56444         (__ynl): Likewise.
56445         * math/libm-test.inc (j0_test): Add more tests.
56446         (j1_test): Likewise.
56447         (jn_test): Likewise.  Add trailing semicolon to existing test.
56448         (y0_test): Likewise.
56449         (y1_test): Likewise.
56450         * sysdeps/i386/fpu/libm-test-ulps: Update.
56451         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56453         [BZ #13851]
56454         [BZ #13854]
56455         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
56456         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
56457         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
56458         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
56459         (__tanl): Set errno for infinite argument.
56460         * sysdeps/i386/fpu/mptan.c: Remove.
56461         * sysdeps/i386/fpu/s_tan.S: Likewise.
56462         * sysdeps/i386/fpu/s_tanl.S: Likewise.
56463         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
56464         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
56465         * math/libm-test.inc (tan_test): Add more tests and enable more
56466         tests for double and long double.
56467         * sysdeps/i386/fpu/libm-test-ulps: Update.
56468         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56470 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
56472         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
56473         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
56475 2012-03-16  Roland McGrath  <roland@hack.frob.com>
56477         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
56478         * configure.in: Use it for both main tree and add-ons.
56479         * configure: Regenerated.
56481 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
56483         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
56485 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
56487         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
56488         in comment.
56490         [BZ #13851]
56491         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
56492         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
56493         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
56494         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
56495         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
56496         infinite argument.
56497         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
56498         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
56499         != 0 for prec == 2.
56500         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
56501         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
56502         * sysdeps/i386/fpu/s_cosl.S: Likewise.
56503         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
56504         * sysdeps/i386/fpu/s_sinl.S: Likewise.
56505         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
56506         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
56507         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
56508         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
56509         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
56510         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
56511         * math/libm-test.inc (cos_test): Add more tests and enable more
56512         tests for long double.
56513         (sin_test): Likewise.
56514         (sincos_test): Likewise.
56515         * sysdeps/i386/fpu/libm-test-ulps: Update.
56516         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56518 2012-03-16  David S. Miller  <davem@davemloft.net>
56520         * sysdeps/sparc/fpu/math_private.h: New file.
56522 2012-03-15  David S. Miller  <davem@davemloft.net>
56524         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
56525         file.
56526         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
56527         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
56528         file.
56529         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
56530         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
56531         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
56532         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
56533         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
56534         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
56535         sysdep routines.
56536         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
56538         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
56539         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
56541         * sysdeps/sparc/sparc-ifunc.h: New file.
56542         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
56543         sparc-ifunc.h
56544         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
56545         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
56546         Likewise.
56547         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
56548         Likewise.
56549         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
56550         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
56551         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
56552         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
56553         Likewise.
56554         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
56555         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
56556         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
56557         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
56558         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
56559         Likewise.
56560         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
56561         Likewise.
56562         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
56563         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
56564         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
56565         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
56566         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
56567         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
56568         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
56569         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
56570         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
56571         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
56572         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
56573         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
56574         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
56575         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
56576         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
56577         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
56578         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
56579         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
56580         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
56581         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
56582         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
56583         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
56584         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
56585         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
56587 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
56589         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
56590         scaling.
56591         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56593 2012-03-15  Andreas Jaeger  <aj@suse.de>
56595         [BZ #13852]
56596         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
56597         ieee754/flt-32 implementation for sin, cos and sincos.
56598         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
56599         * sysdeps/i386/fpu/s_cosf.S: Likewise.
56600         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
56601         * sysdeps/i386/fpu/s_sinf.S: Likewise.
56602         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
56603         ieee754/flt-32 implementation for tan.
56605         * math/libm-test.inc (cos_test): Enable some large input tests for
56606         float as well
56607         (sin_test): Likewise.
56608         (sincos_test): Likewise.
56609         (tan_test): Add tests for large input.
56611         * sysdeps/i386/fpu/libm-test-ulps: Update.
56613 2012-03-15  Andreas Jaeger  <aj@suse.de>
56615         [BZ #13658]
56616         * math/libm-test.inc (cos_test): Add more test cases.
56617         (sin_test): Likewise.
56618         (sincos_test): Likewise.
56620 2012-03-15  Andreas Jaeger  <aj@suse.de>
56622         [BZ #13837]
56623         * math/libm-test.inc (cos_test): Add a test case for large input
56624         value.
56625         (sin_test): Likewise.
56626         (sincos_test): Likewise.
56628 2012-03-15  Andreas Jaeger  <aj@suse.de>
56629             Joseph Myers  <joseph@codesourcery.com>
56631         [BZ #13658]
56632         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
56633         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
56634         * sysdeps/i386/fpu/branred.c: Likewise.
56635         * sysdeps/i386/fpu/dosincos.c: Likewise.
56636         * sysdeps/i386/fpu/mpa.c: Likewise.
56637         * sysdeps/i386/fpu/s_cos.S: Likewise.
56638         * sysdeps/i386/fpu/s_sin.S: Likewise.
56639         * sysdeps/i386/fpu/s_sincos.S: Likewise.
56640         * sysdeps/i386/fpu/sincos32.c: Likewise.
56642         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
56643         Define.
56644         (libc_feupdateenv_53bit): Define.
56645         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
56646         Define.
56647         (libc_feupdateenv_53bit): Define.
56649         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
56650         53 bit (without extend i386 double precision).
56652         * math/libm-test.inc (sincos_test): Add tests for large input.
56653         (sin): Likewise.
56654         (cos): Likewise.
56656         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
56658 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
56660         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56662 2012-03-15  David S. Miller  <davem@davemloft.net>
56664         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
56665         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
56666         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
56667         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
56668         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
56669         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
56670         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
56671         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
56672         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
56673         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
56674         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
56675         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
56676         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
56677         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
56678         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
56679         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
56680         file.
56681         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
56682         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
56683         file.
56684         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
56685         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
56686         file.
56687         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
56688         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
56689         file.
56690         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
56691         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
56692         fmin/fmax sysdep routines.
56693         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
56695 2012-03-14  David S. Miller  <davem@davemloft.net>
56697         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
56698         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
56699         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
56700         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
56701         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
56702         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
56703         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
56704         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
56705         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
56706         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
56707         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
56708         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
56709         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
56710         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
56711         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
56712         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
56713         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
56714         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
56715         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
56716         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
56717         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
56718         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
56719         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
56720         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
56721         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
56722         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
56723         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
56724         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
56725         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
56726         routines.
56727         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
56728         file.
56729         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
56730         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
56731         file.
56732         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
56733         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
56734         file.
56735         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
56736         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
56737         file.
56738         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
56739         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
56740         file.
56741         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
56742         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
56743         file.
56744         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
56745         file.
56746         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
56747         file.
56748         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
56749         file.
56750         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
56751         New file.
56752         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
56753         file.
56754         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
56755         file.
56756         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
56757         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
56758         file.
56759         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
56760         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
56761         file.
56762         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
56763         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
56764         file.
56765         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
56766         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
56767         VIS3 routines.
56769         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
56770         New file.
56772         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56774         * sysdeps/sparc/configure.in: New file.
56775         * sysdeps/sparc/configure: Generate.
56776         * configure.in (libc_cv_sparc_as_vis3): Substitute.
56777         * configure: Regenerate.
56778         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
56779         * config.make.in (have-as-vis3): New.
56780         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
56781         available use -Av9d instead of -Av9a.
56782         * sysdeps/sparc/sparc64/Makefile: Likewise.
56783         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
56784         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
56785         New file.
56786         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
56787         file.
56788         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
56789         New file.
56790         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
56791         file.
56792         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
56793         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
56794         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
56795         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
56796         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
56798         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
56799         fzeros/fnegs to load 0x80000000 into a float register instead of
56800         using the stack.
56801         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
56803 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
56805         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56806         bits/syscall.h.
56807         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
56808         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
56809         ($(inst_includedir)/bits/syscall.h): Remove rule.
56810         ($(objpfx)bits/syscall.d): Include instead of
56811         $(objpfx)syscall-list.d.
56812         (generated): Change syscall-list.h and syscall-list.d to
56813         bits/syscall.h and bits/syscall.d.
56815 2012-03-14  Roland McGrath  <roland@hack.frob.com>
56817         [BZ #13846]
56818         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
56820 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
56822         [BZ #13841]
56823         * math/s_csqrt.c: Include <float.h>.
56824         (__csqrt): Scale large or subnormal inputs.
56825         * math/s_csqrtf.c: Likewise.
56826         * math/s_csqrtl.c: Likewise.
56827         * math/libm-test.inc (csqrt_test): Add more tests.
56828         * sysdeps/i386/fpu/libm-test-ulps: Update.
56829         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56831         [BZ #13840]
56832         * math/libm-test.inc (hypot_test): Add more tests.
56834 2012-03-13  David S. Miller  <davem@davemloft.net>
56836         [BZ #13840]
56837         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
56838         double-precision for the calculation instead of scaling.
56840 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
56842         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
56843         manipulate bits before adding and subtracting TWO52[sx].
56844         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
56845         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
56846         Likewise.
56847         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
56849 2012-03-13  David S. Miller  <davem@davemloft.net>
56851         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
56852         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
56853         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
56854         rtld-global-offsets.h
56855         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
56857         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
56858         large parameters.
56860         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
56862         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
56863         'err' in the ifdef scope in which it is actually used.
56865         * nss/nss_db/db-init.c: Include string.h
56867 2012-03-12  David S. Miller  <davem@davemloft.net>
56869         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
56870         masking out of the most significant byte of random value used.
56871         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
56872         Fix coding style in previous change.
56874         * sysdeps/unix/sysv/linux/kernel-features.h
56875         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
56876         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
56877         expression.
56878         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
56879         later.
56881 2012-03-11  David S. Miller  <davem@davemloft.net>
56883         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
56884         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
56885         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
56886         for 'resultvar' otherwise things get truncated on 64-bit.
56888         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
56889         Fix masking out of the most significant byte of random value used.
56891         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56893 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
56895         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56897 2012-03-09  David S. Miller  <davem@davemloft.net>
56899         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
56900         variables with appropriate CPP guards.
56901         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
56902         from the frame pointer, not the stack pointer.  Correct layout
56903         comments.  Fix test on resulting framesize and the management of
56904         the outregs buffer for pltexit.  Preserve floating point return
56905         values across _dl_call_pltexit call.
56906         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
56907         framesize and the management of the outregs buffer for pltexit.
56908         Preserve floating point return values across _dl_call_pltexit
56909         call.
56910         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
56911         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
56912         (la_sparc64_gnu_pltexit): New functions.
56913         (print_exit): Fix format string for return register value.
56915 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
56917         * sunrpc/Makefile (others): Add rpcgen.
56918         ($(objpfx)rpcgen): Remove special build rule and dependency on
56919         libc.
56920         * sunrpc/rpcgen.c: New file.
56922 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
56924         [BZ #13673]
56925         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
56926         * stdio-common/bug-vfprintf-nargs.c: Likewise.
56927         * sysdeps/i386/crti.S: Likewise.
56928         * sysdeps/i386/crtn.S: Likewise.
56929         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
56930         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
56931         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
56932         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
56933         * sysdeps/sh/crti.S: Likewise.
56934         * sysdeps/sh/crtn.S: Likewise.
56935         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
56937         [BZ #13673]
56938         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
56939         with URL.
56940         * locale/programs/locfile-kw.gperf: Likewise.
56941         * locale/programs/charmap-kw.h: Regenerated.
56942         * locale/programs/locfile-kw.h: Likewise.
56944         [BZ #13673]
56945         * intl/plural.y: Replace FSF snail mail address with URL.
56946         * intl/plural.c: Regenerated.
56948 2012-03-09  Richard Henderson  <rth@twiddle.net>
56950         * include/math_private.h: Remove file.
56951         * math/math_private.h: Move file ...
56952         * sysdeps/generic/math_private.h: ... here.
56954         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
56955         * sysdeps/powerpc/fpu/math_private.h: Likewise.
56956         * sysdeps/x86_64/fpu/math_private.h: Likewise.
56958         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
56959         and <math_private.h>.
56960         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
56961         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
56962         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
56963         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
56964         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
56965         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
56966         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
56967         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56968         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
56969         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
56970         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56971         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
56972         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
56973         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
56974         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
56975         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
56976         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
56977         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
56978         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
56979         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
56980         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56981         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
56982         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
56983         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56984         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
56985         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
56986         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
56987         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
56988         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56989         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
56990         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
56991         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
56992         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
56993         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
56994         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
56995         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
56996         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
56997         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
56998         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
56999         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
57000         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
57001         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
57002         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
57003         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
57004         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
57005         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
57006         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
57007         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
57008         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
57009         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
57010         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
57011         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
57012         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
57013         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
57014         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
57015         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
57016         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
57017         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
57018         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
57019         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
57020         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
57021         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
57022         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
57023         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
57024         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
57025         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
57026         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
57027         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
57028         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
57029         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
57030         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
57031         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
57032         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
57033         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
57034         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
57035         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
57036         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
57037         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
57038         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
57039         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
57040         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
57041         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
57042         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
57043         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
57044         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
57045         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
57046         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
57047         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
57048         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
57049         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
57050         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
57051         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
57052         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
57053         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
57054         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
57055         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
57056         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
57057         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
57058         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
57059         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
57060         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
57061         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
57062         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
57063         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
57064         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
57065         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
57066         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
57067         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
57068         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
57069         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
57070         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
57071         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
57072         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
57073         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
57074         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
57075         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
57076         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
57077         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
57078         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
57079         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
57080         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
57081         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
57082         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
57083         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
57084         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
57085         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
57086         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
57087         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
57088         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
57089         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
57090         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
57091         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
57092         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
57093         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
57094         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
57095         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
57096         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
57097         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
57098         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
57099         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
57100         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
57101         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
57102         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
57103         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
57104         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
57105         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
57106         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
57107         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
57108         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
57109         * sysdeps/ieee754/k_standard.c: Likewise.
57110         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
57111         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
57112         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
57113         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
57114         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
57115         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
57116         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
57117         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
57118         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
57119         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
57120         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
57121         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
57122         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
57123         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
57124         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
57125         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
57126         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
57127         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
57128         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
57129         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
57130         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
57131         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
57132         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
57133         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
57134         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
57135         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
57136         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
57137         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
57138         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
57139         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
57140         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
57141         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
57142         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
57143         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
57144         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
57145         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
57146         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
57147         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
57148         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
57149         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
57150         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
57151         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
57152         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
57153         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
57154         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
57155         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
57156         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
57157         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
57158         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
57159         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
57160         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
57161         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
57162         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
57163         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
57164         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
57165         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
57166         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
57167         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
57168         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
57169         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
57170         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
57171         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
57172         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
57173         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
57174         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
57175         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
57176         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
57177         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
57178         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
57179         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
57180         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
57181         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
57182         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
57183         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
57184         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
57185         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
57186         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
57187         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
57188         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
57189         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
57190         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
57191         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
57192         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
57193         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
57194         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
57195         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
57196         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
57197         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
57198         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
57199         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
57200         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
57201         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
57202         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
57203         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
57204         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
57205         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
57206         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
57207         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
57208         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
57209         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
57210         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
57211         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
57212         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
57213         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
57214         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
57215         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
57216         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
57217         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
57218         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
57219         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
57220         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
57221         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
57222         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
57223         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
57224         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
57225         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
57226         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
57227         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
57228         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
57229         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
57230         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
57231         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
57232         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
57233         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
57234         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
57235         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
57236         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
57237         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
57238         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
57239         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
57240         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
57241         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
57242         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
57243         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
57244         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
57245         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
57246         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
57247         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
57248         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
57249         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
57250         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
57251         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
57252         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
57253         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
57254         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
57255         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
57256         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
57257         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
57258         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
57259         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
57260         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
57261         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
57262         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
57263         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
57264         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
57265         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
57266         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
57267         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
57268         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
57269         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
57270         * sysdeps/ieee754/s_lib_version.c: Likewise.
57271         * sysdeps/ieee754/s_matherr.c: Likewise.
57272         * sysdeps/ieee754/s_signgam.c: Likewise.
57273         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
57274         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
57275         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
57276         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
57277         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
57278         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
57279         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
57280         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
57281         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
57282         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
57283         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
57284         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
57285         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
57286         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
57287         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
57288         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
57289         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
57290         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
57291         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
57292         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
57293         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
57295 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
57297         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
57298         * sunrpc/rpc_main.c: Likewise.
57299         * sunrpc/rpc_svcout.c: Likewise.
57301 2012-03-09  David S. Miller  <davem@davemloft.net>
57303         * include/math_private.h: New file.
57305 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
57307         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
57308         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
57309         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
57310         from <bits/socket_type.h>.
57311         (enum __socket_type): Don't define here.
57312         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
57313         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57314         bits/socket_type.h.
57316         [BZ #13566]
57317         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
57318         checking __USE_GNU.
57320         * Makerules ($(inst_includedir)/%.h): New rule.
57321         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
57322         (install-others): Remove variable setting.
57323         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
57325 2012-03-08  Richard Henderson  <rth@twiddle.net>
57327         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
57328         from macro to inline function; merge with the
57329         !__LIBC_INTERNAL_MATH_INLINES version.
57330         (__ieee754_sqrtf): Likewise.
57332         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
57333         to inline function.
57334         (__rintf, __floor, __floorf): Likewise.
57336         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
57337         macro to inline function.
57338         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
57340         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
57341         not <math/math_private.h>.
57343 2012-03-08  David S. Miller  <davem@davemloft.net>
57345         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
57346         copyright year.
57347         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
57349 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
57351         * resolv/gai_misc.c (handle_requests): Fix struct timespec
57352         normalization.
57353         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
57354         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
57356 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
57358         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
57359         be defined individually, they must be defined as a block.  Define
57360         S for printing a string instead of hidint the different by using a
57361         macro for adding the 'l'.
57362         * stdio-common/tst-fphex-wide.c: Adjust.
57364 2012-03-07  Marek Polacek  <polacek@redhat.com>
57366         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
57368 2012-03-08  Marek Polacek  <polacek@redhat.com>
57370         [BZ #13806]
57371         * stdio-common/Makefile (tests): Add tst-fphex-wide.
57372         * stdio-common/tst-fphex.c: Define a few macros to make the
57373         test reusable.  Use them.
57374         * stdio-common/tst-fphex-wide.c: New file.
57376 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
57378         [BZ #6911]
57379         * manual/macros.texi (gnusystems): New macro.
57380         (nongnusystems): Likewise.
57381         (gnulinuxhurdsystems): Likewise.
57382         (gnuhurdsystems): Likewise..
57383         (gnulinuxsystems): Likewise.
57384         * manual/charset.texi: Use new macros or @theglibc{} to refer to
57385         variants of the GNU system, not "GNU system".
57386         * manual/conf.texi: Likewise.
57387         * manual/errno.texi: Likewise.  Update example of errno macro
57388         expansion.
57389         * manual/filesys.texi: Likewise.
57390         (getumask): Document as specific to GNU/Hurd.
57391         * manual/install.texi: Likewise.  Reword some references to
57392         GNU/Linux.
57393         * manual/intro.texi: Likewise.
57394         * manual/io.texi: Likewise.
57395         (File Name Portability): Detail which constraints are inapplicable
57396         to all GNU systems and which are only inapplicable to GNU/Hurd.
57397         * manual/job.texi: Likewise.
57398         * manual/llio.texi: Likewise.
57399         (O_NOCTTY): Document as present on GNU/Linux.
57400         * manual/maint.texi: Likewise.
57401         * manual/memory.texi: Likewise.
57402         * manual/pattern.texi: Likewise.
57403         * manual/pipe.texi: Likewise.
57404         * manual/process.texi: Likewise.
57405         * manual/resource.texi: Likewise.
57406         (RUSAGE_CHILDREN): Remove statement about specifying a particular
57407         child on GNU/Hurd.
57408         * manual/setjmp.texi: Likewise.
57409         * manual/signal.texi: Likewise.
57410         * manual/startup.texi: Likewise.
57411         * manual/stdio.texi: Likewise.
57412         * manual/terminal.texi: Likewise.
57413         (ONLCR): Document as POSIX.
57414         (OXTABS): Document availability on GNU/Linux as XTABS.
57415         (ONOEOT): Document availability separately from other bits.
57416         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
57417         * manual/time.texi: Likewise.
57418         * manual/users.texi: Likewise.
57419         * INSTALL: Regenerated.
57420         * sysdeps/gnu/errlist.c: Regenerated.
57422         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
57423         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
57424         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
57425         puts.
57426         * configure: Regenerated.
57428 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
57430         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
57431         default includes instead of AC_HEADER_CHECK.
57432         * sysdeps/i386/configure: Regenerated.
57434         [BZ #10716]
57435         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
57436         * math/s_cacoshf.c (__cacoshf): Likewise.
57437         * math/s_cacoshl.c (__cacoshl): Likewise.
57438         * math/s_casinh.c (__casinh): Set signs of result from argument.
57439         * math/s_casinhf.c (__casinhf): Likewise.
57440         * math/s_casinhl.c (__casinhl): Likewise.
57441         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
57442         (casinh_test): Add more tests.
57443         * sysdeps/i386/fpu/libm-test-ulps: Update.
57444         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57446 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
57448         * po/zh_TW.po: Update from translation team.
57450         * login/Makefile (distribute): Remove variable.
57451         * catgets/Makefile: Likewise.
57452         * mach/Makefile: Likewise.
57453         * malloc/Makefile: Likewise.
57454         * misc/Makefile: Likewise.
57455         * iconv/Makefile: Likewise.
57456         * nscd/Makefile: Likewise.
57457         * hurd/Makefile: Likewise.
57458         * manual/Makefile: Likewise.
57459         * locale/Makefile: Likewise.
57460         * intl/Makefile: Likewise.
57461         * conform/Makefile: Likewise.
57462         * nss/Makefile: Likewise.
57463         * time/Makefile: Likewise.
57464         * soft-fp/Makefile: Likewise.
57465         * dirent/Makefile: Likewise.
57466         * gmon/Makefile: Likewise.
57467         * po/Makefile: Likewise.
57468         * rt/Makefile: Likewise.
57469         * socket/Makefile: Likewise.
57470         * math/Makefile: Likewise.
57471         * signal/Makefile: Likewise.
57472         * debug/Makefile: Likewise.
57473         * elf/Makefile: Likewise.
57474         * timezone/Makefile: Likewise.
57475         * stdlib/Makefile: Likewise.
57476         * iconvdata/Makefile: Likewise.
57477         * sunrpc/Makefile: Likewise.
57478         * io/Makefile: Likewise.
57479         * argp/Makefile: Likewise.
57480         * inet/Makefile: Likewise.
57481         * hesiod/Makefile: Likewise.
57482         * grp/Makefile: Likewise.
57483         * csu/Makefile: Likewise.
57484         * wctype/Makefile: Likewise.
57485         * crypt/Makefile: Likewise.
57486         * libio/Makefile: Likewise.
57487         * string/Makefile: Likewise.
57488         * nis/Makefile: Likewise.
57489         * resolv/Makefile: Likewise.
57490         * stdio-common/Makefile: Likewise.
57491         * wcsmbs/Makefile: Likewise.
57492         * dlfcn/Makefile: Likewise.
57493         * posix/Makefile: Likewise.
57495         [BZ #6959]
57496         * timezone/Makefile: Don't install timezone files, just the programs
57497         and scripts.
57499 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
57501         * nss/databases.def: Add missing gshadow entry.
57503         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
57505 2012-03-06  Marek Polacek  <polacek@redhat.com>
57507         [BZ #13726]
57508         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
57509         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
57510         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
57511         * stdio-common/tst-long-dbl-fphex.c: New file.
57513 2012-03-06  David S. Miller  <davem@davemloft.net>
57515         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
57516         (set_obp_int): New function.
57517         (get_obp_int): New function.
57518         (__get_clockfreq_via_dev_openprom): Likewise.
57519         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
57520         Avoid unused variable warnings on 'val' and use builtin_expect.
57521         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
57522         __builtin_expect.
57523         (INLINE_CLONE_SYSCALL): Likewise.
57525 2012-03-05  David S. Miller  <davem@davemloft.net>
57527         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57529 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
57531         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57533         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
57534         only for |x| >= 40.
57535         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
57537 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
57539         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
57540         Replace gettimeofday with __vdso_gettimeofday.
57542         * sysdeps/unix/sysv/linux/x86_64/init-first.c
57543         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
57544         __vdso_clock_gettime and __vdso_getcpu.
57546         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
57547         time with __vdso_time.
57549 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
57551         * manual/lang.texi (size_t): Note types to which size_t may be
57552         equivalent with the GNU C Library, but do not describe when
57553         differences between them are significant.
57555 2012-03-05  Andreas Jaeger  <aj@suse.de>
57557         * sysdeps/i386/fpu/libm-test-ulps: Update.
57559 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
57561         [BZ #3976]
57562         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
57563         (__ieee754_pow): Save and restore rounding mode and use
57564         round-to-nearest for main computations.
57565         * math/libm-test.inc (pow_test_tonearest): New function.
57566         (pow_test_towardzero): Likewise.
57567         (pow_test_downward): Likewise.
57568         (pow_test_upward): Likewise.
57569         (main): Call the new functions.
57570         * sysdeps/i386/fpu/libm-test-ulps: Update.
57571         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57573         [BZ #3976]
57574         * math/libm-test.inc (cosh_test_tonearest): New function.
57575         (cosh_test_towardzero): Likewise.
57576         (cosh_test_downward): Likewise.
57577         (cosh_test_upward): Likewise.
57578         (sinh_test_tonearest): Likewise.
57579         (sinh_test_towardzero): Likewise.
57580         (sinh_test_downward): Likewise.
57581         (sinh_test_upward): Likewise.
57582         (main): Call the new functions.
57583         * sysdeps/i386/fpu/libm-test-ulps: Update.
57584         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57586 2012-03-05  Tom de Vries  <tom@codesourcery.com>
57588         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
57589         default stack guard is set in last bytes.
57590         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
57592 2012-03-05  Kees Cook  <keescook@chromium.org>
57594         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
57596         [BZ #13656]
57597         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
57598         possibly allocate from heap instead of stack.
57599         * stdio-common/bug-vfprintf-nargs.c: New file.
57600         * stdio-common/Makefile (tests): Add nargs overflow test.
57602 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
57604         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57606 2012-03-03  Marek Polacek  <polacek@redhat.com>
57608         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
57609         * math/math_private.h: Likewise.
57610         * stdlib/tst-strtod.c: Likewise.
57611         * sysdeps/i386/i486/bits/atomic.h: Likewise.
57612         * sysdeps/x86_64/bits/atomic.h: Likewise.
57614 2012-03-02  David S. Miller  <davem@davemloft.net>
57616         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
57617         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
57618         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
57619         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
57620         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
57621         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
57622         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
57623         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
57625 2012-03-02  Roland McGrath  <roland@hack.frob.com>
57627         [BZ #13792]
57628         * manual/examples/README: New file, says the example source files
57629         can be used under GPL>=2.
57630         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
57631         line containing just "*/".
57632         * manual/examples/add.c: Add copyright header (GPL>=2).
57633         * manual/examples/argp-ex1.c: Likewise.
57634         * manual/examples/argp-ex2.c: Likewise.
57635         * manual/examples/argp-ex3.c: Likewise.
57636         * manual/examples/argp-ex4.c: Likewise.
57637         * manual/examples/atexit.c: Likewise.
57638         * manual/examples/db.c: Likewise.
57639         * manual/examples/dir.c: Likewise.
57640         * manual/examples/dir2.c: Likewise.
57641         * manual/examples/execinfo.c: Likewise.
57642         * manual/examples/filecli.c: Likewise.
57643         * manual/examples/filesrv.c: Likewise.
57644         * manual/examples/fmtmsgexpl.c: Likewise.
57645         * manual/examples/genpass.c: Likewise.
57646         * manual/examples/inetcli.c: Likewise.
57647         * manual/examples/inetsrv.c: Likewise.
57648         * manual/examples/isockad.c: Likewise.
57649         * manual/examples/longopt.c: Likewise.
57650         * manual/examples/memopen.c: Likewise.
57651         * manual/examples/memstrm.c: Likewise.
57652         * manual/examples/mkfsock.c: Likewise.
57653         * manual/examples/mkisock.c: Likewise.
57654         * manual/examples/mygetpass.c: Likewise.
57655         * manual/examples/pipe.c: Likewise.
57656         * manual/examples/popen.c: Likewise.
57657         * manual/examples/rprintf.c: Likewise.
57658         * manual/examples/search.c: Likewise.
57659         * manual/examples/select.c: Likewise.
57660         * manual/examples/setjmp.c: Likewise.
57661         * manual/examples/sigh1.c: Likewise.
57662         * manual/examples/sigusr.c: Likewise.
57663         * manual/examples/stpcpy.c: Likewise.
57664         * manual/examples/strdupa.c: Likewise.
57665         * manual/examples/strftim.c: Likewise.
57666         * manual/examples/strncat.c: Likewise.
57667         * manual/examples/subopt.c: Likewise.
57668         * manual/examples/swapcontext.c: Likewise.
57669         * manual/examples/termios.c: Likewise.
57670         * manual/examples/testopt.c: Likewise.
57671         * manual/examples/testpass.c: Likewise.
57672         * manual/examples/timeval_subtract.c: Likewise.
57674         [BZ #13792]
57675         * manual/time.texi (Elapsed Time): Move timeval_subtract example
57676         function to ...
57677         * manual/timeval_subtract.c.texi: ... here, new file.
57679 2012-03-02  David S. Miller  <davem@davemloft.net>
57681         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
57683 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
57685         [BZ #3976]
57686         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
57687         (__sin): Save and restore rounding mode and use round-to-nearest
57688         for all computations.
57689         (__cos): Save and restore rounding mode and use round-to-nearest
57690         for all computations.
57691         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
57692         <fenv.h>.
57693         (tan): Save and restore rounding mode and use round-to-nearest for
57694         all computations.
57695         * math/libm-test.inc (cos_test_tonearest): New function.
57696         (cos_test_towardzero): Likewise.
57697         (cos_test_downward): Likewise.
57698         (cos_test_upward): Likewise.
57699         (sin_test_tonearest): Likewise.
57700         (sin_test_towardzero): Likewise.
57701         (sin_test_downward): Likewise.
57702         (sin_test_upward): Likewise.
57703         (tan_test_tonearest): Likewise.
57704         (tan_test_towardzero): Likewise.
57705         (tan_test_downward): Likewise.
57706         (tan_test_upward): Likewise.
57707         (main): Call the new functions.
57708         * sysdeps/i386/fpu/libm-test-ulps: Update.
57709         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57711         [BZ #10135]
57712         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
57713         small n, then large n, before computing and testing k+n.
57714         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
57715         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
57716         Likewise.
57717         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
57718         Likewise.
57719         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
57720         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
57721         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
57722         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
57723         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
57724         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
57725         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
57726         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
57727         * math/libm-test.inc (scalbn_test): Add more tests.
57728         (scalbln_test): Likewise.
57730         * manual/filesys.texi (mode_t): Describe constraints on size and
57731         signedness, not exact equivalence to a particular type.
57732         (ino_t): Likewise.
57733         (ino64_t): Likewise.
57734         (dev_t): Likewise.
57735         (nlink_t): Likewise.
57736         (blkcnt_t): Likewise.
57737         (blkcnt64_t): Likewise.
57738         * manual/llio.texi (off_t): Likewise.
57740         [BZ #3976]
57741         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
57742         (__ieee754_exp): Save and restore rounding mode and use
57743         round-to-nearest for all computations.
57744         * math/libm-test.inc (exp_test_tonearest): New function.
57745         (exp_test_towardzero): Likewise.
57746         (exp_test_downward): Likewise.
57747         (exp_test_upward): Likewise.
57748         (main): Call the new functions.
57749         * sysdeps/i386/fpu/libm-test-ulps: Update.
57750         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57752 2012-03-01  Chris Demetriou  <cgd@google.com>
57754         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
57755         have predictable order.
57757 2012-03-01  David S. Miller  <davem@davemloft.net>
57759         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
57761         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
57762         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
57763         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
57764         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
57766         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
57767         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
57768         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
57769         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
57770         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
57771         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
57772         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
57773         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
57774         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
57776         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57778         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
57779         * sysdeps/sparc/fpu/libm-test-ulps: to here.
57780         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
57782         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
57783         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
57784         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
57785         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
57786         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
57787         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
57788         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
57789         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
57790         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
57791         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
57792         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
57793         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
57794         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
57795         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
57796         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
57797         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
57798         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
57799         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
57800         * sysdeps/sparc/elf/configure: Regenerated.
57802 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
57804         * configure.in (AS, LD): Require binutils 2.20 or later.
57805         * configure: Regenerated.
57806         * manual/install.texi (Tools for Compilation): Give binutils 2.20
57807         as required minimum version.
57808         * INSTALL: Regenerated.
57810         [BZ #2541]
57811         [BZ #4108]
57812         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
57813         before squaring exponent.
57814         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
57815         bottom long double and 27 bits of top long double before squaring
57816         exponent.
57817         * math/libm-test.inc (erfc_test): Add more tests.
57818         * sysdeps/i386/fpu/libm-test-ulps: Update.
57819         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
57820         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57822 2012-03-01  Kai Tietz  <ktietz@redhat.com>
57824         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
57825         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
57826         containing bit-fields.
57827         * soft-fp/extended.h (_FP_UNION_E): Likewise.
57828         * soft-fp/single.h (_FP_UNION_S): Likewise.
57829         * soft-fp/double.h (_FP_UNION_D): Likewise.
57831 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
57833         [BZ #13786]
57834         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
57835         not include ../strcmp.S.
57836         [USE_AS_STRNCASECMP_L]: Likewise.
57837         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
57838         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
57839         * sysdeps/i386/i686/multiarch/strncase_l-c.c
57840         (__strncasecmp_l_ia32): Define as alias to
57841         __strncasecmp_l_nonascii.
57843         [BZ #5794]
57844         * math/libm-test.inc (expm1_test): Add test for bug 5794.
57845         * sysdeps/i386/fpu/libm-test-ulps: Update.
57846         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57848         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
57849         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57851 2012-02-29  Jeff Law  <law@redhat.com>
57853         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
57854         out of bounds read.
57856 2012-02-29  Marek Polacek  <polacek@redhat.com>
57858         [BZ #13706]
57859         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
57860         * elf/Makefile: Add rules to run tst-unused-dep.out.
57862 2012-02-28  David S. Miller  <davem@davemloft.net>
57864         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
57865         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
57866         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
57867         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
57868         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
57869         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
57871 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
57873         * math/libm-test.inc (llround_test): Move one test from
57874         lround_test.  Use TEST_f_L in moved test.
57875         (lround_test): Move misplaced test to llround_test.  Add testcase
57876         from bug 2561.
57878 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
57880         * sysdeps/x86_64/fpu/e_expf.S: New file.
57881         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
57883 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
57885         [BZ #13637]
57886         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
57887         of remain_len that may cause incomplete multi-byte character and
57888         false match.
57889         * posix/bug-regex33.c: New file.
57890         * posix/Makefile (tests): Add bug-regex33.
57892 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
57894         * manual/macros.texi: New file.
57895         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
57896         * manual/libc.texinfo: Include macros.texi.
57897         * manual/creatute.texi: Likewise.
57898         * manual/install.texi: Likewise.
57899         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
57900         @glibcadj{} in references to the GNU C Library.
57901         * manual/charset.texi: Likewise.
57902         * manual/conf.texi: Likewise.
57903         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
57904         when not using those macros.
57905         * manual/creature.texi: Likewise.
57906         * manual/crypt.texi: Likewise.
57907         * manual/errno.texi: Likewise.
57908         * manual/filesys.texi: Likewise.
57909         * manual/header.texi: Likewise.
57910         * manual/install.texi: Likewise.
57911         * manual/intro.texi: Likewise.
57912         * manual/io.texi: Likewise.
57913         * manual/job.texi: Likewise.
57914         * manual/lang.texi: Likewise.
57915         * manual/libc.texiinfo: Likewise.
57916         * manual/llio.texi: Likewise.
57917         * manual/locale.texi: Likewise.
57918         * manual/maint.texi: Likewise.
57919         * manual/math.texi: Likewise.
57920         * manual/memory.texi: Likewise.
57921         * manual/message.texi: Likewise.
57922         * manual/nss.texi: Likewise.
57923         * manual/pattern.texi: Likewise.
57924         * manual/process.texi: Likewise.
57925         * manual/resource.texi: Likewise.
57926         * manual/search.texi: Likewise.
57927         * manual/setjmp.texi: Likewise.
57928         * manual/signal.texi: Likewise.
57929         * manual/socket.texi: Likewise.
57930         * manual/startup.texi: Likewise.
57931         * manual/stdio.texi: Likewise.
57932         * manual/string.texi: Likewise.
57933         * manual/sysinfo.texi: Likewise.
57934         * manual/syslog.texi: Likewise.
57935         * manual/terminal.texi: Likewise.
57936         * manual/time.texi: Likewise.
57937         * manual/users.texi: Likewise.
57938         * INSTALL: Regenerated.
57939         * NOTES: Regenerated.
57940         * sysdeps/gnu/errlist.c: Regenerated.
57942 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
57944         * include/dirent.h: Include <dirstream.h> before
57945         <dirent/dirent.h>.
57947 2012-02-28  David S. Miller  <davem@davemloft.net>
57949         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
57950         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
57951         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
57952         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
57954 2012-02-27  David S. Miller  <davem@davemloft.net>
57956         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
57957         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
57958         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
57959         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
57961         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
57962         frame pointer instead of stack pointer relative arg slot.
57963         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
57964         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
57965         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
57967 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
57969         [BZ #3992]
57970         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
57972 2012-02-27  David S. Miller  <davem@davemloft.net>
57974         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
57975         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
57976         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
57977         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
57978         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
57979         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
57980         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
57981         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
57983 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
57985         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
57986         later.  Allow versions 5-9.
57987         * configure: Regenerated.
57988         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
57989         required minimum version and 4.6 as recommended version.  Do not
57990         mention bugs in GCC 2.7 and 2.8.
57991         * INSTALL: Regenerated.
57993 2012-02-27  David S. Miller  <davem@davemloft.net>
57995         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
57996         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
57997         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
57998         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
57999         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
58000         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
58001         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
58002         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
58004         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
58005         manipulate bits before adding and subtracting TWO112[sx].
58006         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
58008 2012-02-27  Roland McGrath  <roland@hack.frob.com>
58010         [BZ #13775]
58011         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
58012         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
58013         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
58014         being in POSIX, because they are in 1003.1-2008.
58016         * rt/tst-aio.c: Include <fcntl.h>.
58017         * rt/tst-aio7.c: Likewise.
58018         * rt/tst-aio64.c: Likewise.
58020         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
58022 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
58024         * manual/install.texi (--with-headers): Describe headers as
58025         interface headers, not private headers.
58026         (Specific advice for GNU/Linux systems): Describe use of headers
58027         from "make headers_install", not private headers from older
58028         kernels.
58029         * INSTALL: Regenerated.
58030         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
58031         Change to 2.6.19.
58032         * sysdeps/unix/sysv/linux/configure: Regenerated.
58034         * manual/llio.texi (fclean): Remove documentation.
58036         * manual/Makefile (libc-texi-generated): New variable.  Include
58037         version.texi.
58038         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
58039         $(libc-texi-generated), not duplicated list of files.
58040         (version.texi, stamp-version): New rules.
58041         (realclean): Remove $(libc-texi-generated), not individual files
58042         from that list.  Do not remove dir-add.texinfo.
58043         * manual/libc.texinfo: Comment out uses of edition numbers and
58044         references to printed manual.  Remove last-updated dates.
58045         (EDITION): Comment out.
58046         (ISBN): Likewise.
58047         (VERSION, UPDATED): Remove.
58048         (version.texi): Include.
58050 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
58052         * sysdeps/posix/spawni.c: Include <signal.h>.
58053         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
58054         * sysdeps/pthread/aio_fsync.c: Likewise.
58056 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
58058         * conform/Makefile (tests): Run only when not cross-compiling and
58059         when fast-check is not defined.
58061         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
58062         * conform/data/limits.h-data: Fixes for POSIX2008.
58063         * conform/run-conformtest.sh: Run all tests.
58064         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
58065         headers.
58066         * include/bits/dlfcn.h: Likewise.
58067         * include/langinfo.h: Likewise.
58068         * include/monetary.h: Likewise.
58069         * include/sys/poll.h: Likewise.
58071         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
58072         for __USE_GNU.
58073         * posix/spawn.h: Define __need_sigset_t.
58074         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
58075         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
58076         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
58077         to get sigevent_t only.
58078         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
58079         only for __USE_GNU.
58080         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
58081         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
58082         process_vm_writev only for __USE_GNU.
58083         * termios/termios.h: Declare tcgetsid also for POSIX2008.
58085         * conform/Makefile: For now ignore errors from run-conformtest.
58086         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
58087         POSIX to avoid namespace pollution.  Don't prepend headers.
58088         * conform/data/aio.h-data: Fixes for POSIX testing.
58089         * conform/data/fcntl.h-data: Likewise.
58090         * conform/data/glob.h-data: Likewise.
58091         * conform/data/grp.h-data: Likewise.
58092         * conform/data/pthread.h-data: Likewise.
58093         * conform/data/pwd.h-data: Likewise.
58094         * conform/data/signal.h-data: Likewise.
58095         * conform/data/spawn.h-data: Likewise.
58096         * conform/data/stdio.h-data: Likewise.
58097         * conform/data/stdlib.h-data: Likewise.
58098         * conform/data/stropts.h-data: Likewise.
58099         * conform/data/sys/mman.h-data: Likewise.
58100         * conform/data/sys/stat.h-data: Likewise.
58101         * conform/data/sys/types.h-data: Likewise.
58102         * conform/data/sys/wait.h-data: Likewise.
58103         * conform/data/time.h-data: Likewise.
58104         * conform/data/unistd.h-data: Likewise.
58105         * conform/data/utime.h-data: Likewise.
58107         * io/sys/stat.h: fchmod was always in POSIX.
58108         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
58109         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
58110         * rt/aio.h: Define __need_timespec before including <time.h>.
58111         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
58112         struct.  Add forward declaration of pthread_attr_t and use it in
58113         sigevent.
58114         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
58115         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
58116         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
58117         always remove CLK_TCK definition.
58119 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
58121         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
58123 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
58125         * conform/run-conformtest.sh: New file.
58126         * conform/Makefile: Run run-conformtest for tests.
58127         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
58128         support.
58130         * conform/data/uchar.h-data: New file.
58131         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
58132         * conform/data/arpa/inet.h-data: Likewise.
58133         * conform/data/assert.h-data: Likewise.
58134         * conform/data/complex.h-data: Likewise.
58135         * conform/data/cpio.h-data: Likewise.
58136         * conform/data/ctype.h-data: Likewise.
58137         * conform/data/dirent.h-data: Likewise.
58138         * conform/data/dlfcn.h-data: Likewise.
58139         * conform/data/errno.h-data: Likewise.
58140         * conform/data/fcntl.h-data: Likewise.
58141         * conform/data/float.h-data: Likewise.
58142         * conform/data/fmtmsg.h-data: Likewise.
58143         * conform/data/fnmatch.h-data: Likewise.
58144         * conform/data/ftw.h-data: Likewise.
58145         * conform/data/glob.h-data: Likewise.
58146         * conform/data/grp.h-data: Likewise.
58147         * conform/data/iconv.h-data: Likewise.
58148         * conform/data/inttypes.h-data: Likewise.
58149         * conform/data/langinfo.h-data: Likewise.
58150         * conform/data/libgen.h-data: Likewise.
58151         * conform/data/limits.h-data: Likewise.
58152         * conform/data/locale.h-data: Likewise.
58153         * conform/data/math.h-data: Likewise.
58154         * conform/data/monetary.h-data: Likewise.
58155         * conform/data/mqueue.h-data: Likewise.
58156         * conform/data/ndbm.h-data: Likewise.
58157         * conform/data/net/if.h-data: Likewise.
58158         * conform/data/netdb.h-data: Likewise.
58159         * conform/data/netinet/in.h-data: Likewise.
58160         * conform/data/nl_types.h-data: Likewise.
58161         * conform/data/poll.h-data: Likewise.
58162         * conform/data/pthread.h-data: Likewise.
58163         * conform/data/pwd.h-data: Likewise.
58164         * conform/data/regex.h-data: Likewise.
58165         * conform/data/sched.h-data: Likewise.
58166         * conform/data/search.h-data: Likewise.
58167         * conform/data/semaphore.h-data: Likewise.
58168         * conform/data/setjmp.h-data: Likewise.
58169         * conform/data/signal.h-data: Likewise.
58170         * conform/data/spawn.h-data: Likewise.
58171         * conform/data/stdarg.h-data: Likewise.
58172         * conform/data/stdio.h-data: Likewise.
58173         * conform/data/stdlib.h-data: Likewise.
58174         * conform/data/string.h-data: Likewise.
58175         * conform/data/strings.h-data: Likewise.
58176         * conform/data/stropts.h-data: Likewise.
58177         * conform/data/sys/ipc.h-data: Likewise.
58178         * conform/data/sys/mman.h-data: Likewise.
58179         * conform/data/sys/msg.h-data: Likewise.
58180         * conform/data/sys/resource.h-data: Likewise.
58181         * conform/data/sys/select.h-data: Likewise.
58182         * conform/data/sys/sem.h-data: Likewise.
58183         * conform/data/sys/shm.h-data: Likewise.
58184         * conform/data/sys/socket.h-data: Likewise.
58185         * conform/data/sys/stat.h-data: Likewise.
58186         * conform/data/sys/statvfs.h-data: Likewise.
58187         * conform/data/sys/time.h-data: Likewise.
58188         * conform/data/sys/timeb.h-data: Likewise.
58189         * conform/data/sys/times.h-data: Likewise.
58190         * conform/data/sys/types.h-data: Likewise.
58191         * conform/data/sys/uio.h-data: Likewise.
58192         * conform/data/sys/un.h-data: Likewise.
58193         * conform/data/sys/utsname.h-data: Likewise.
58194         * conform/data/sys/wait.h-data: Likewise.
58195         * conform/data/syslog.h-data: Likewise.
58196         * conform/data/tar.h-data: Likewise.
58197         * conform/data/termios.h-data: Likewise.
58198         * conform/data/utime.h-data: Likewise.
58199         * conform/data/utmpx.h-data: Likewise.
58200         * conform/data/varargs.h-data: Likewise.
58201         * conform/data/wchar.h-data: Likewise.
58202         * conform/data/wctype.h-data: Likewise.
58203         * conform/data/wordexp.h-data: Likewise.
58205         * include/stropts.h: New file.
58206         * include/uchar.h: New file.
58207         * include/aio.h: Changes to allow conformtest.pl to use the headers.
58208         * include/assert.h: Likewise.
58209         * include/ctype.h: Likewise.
58210         * include/dirent.h: Likewise.
58211         * include/dlfcn.h: Likewise.
58212         * include/fcntl.h: Likewise.
58213         * include/fnmatch.h: Likewise.
58214         * include/glob.h: Likewise.
58215         * include/grp.h: Likewise.
58216         * include/libio.h: Likewise.
58217         * include/locale.h: Likewise.
58218         * include/math.h: Likewise.
58219         * include/net/if.h: Likewise.
58220         * include/netdb.h: Likewise.
58221         * include/netinet/in.h: Likewise.
58222         * include/pthread.h: Likewise.
58223         * include/pwd.h: Likewise.
58224         * include/regex.h: Likewise.
58225         * include/sched.h: Likewise.
58226         * include/search.h: Likewise.
58227         * include/setjmp.h: Likewise.
58228         * include/signal.h: Likewise.
58229         * include/stdio.h: Likewise.
58230         * include/stdlib.h: Likewise.
58231         * include/string.h: Likewise.
58232         * include/sys/cdefs.h: Likewise.
58233         * include/sys/mman.h: Likewise.
58234         * include/sys/msg.h: Likewise.
58235         * include/sys/resource.h: Likewise.
58236         * include/sys/select.h: Likewise.
58237         * include/sys/socket.h: Likewise.
58238         * include/sys/stat.h: Likewise.
58239         * include/sys/statvfs.h: Likewise.
58240         * include/sys/time.h: Likewise.
58241         * include/sys/times.h: Likewise.
58242         * include/sys/uio.h: Likewise.
58243         * include/sys/utsname.h: Likewise.
58244         * include/sys/wait.h: Likewise.
58245         * include/termios.h: Likewise.
58246         * include/time.h: Likewise.
58247         * include/ulimit.h: Likewise.
58248         * include/unistd.h: Likewise.
58249         * include/utime.h: Likewise.
58250         * include/wchar.h: Likewise.
58251         * include/wctype.h: Likewise.
58252         * include/wordexp.h: Likewise.
58254         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
58256         * time/time.h: TIME_UTC must be a macro.
58257         Make timespec_get available for ISO C11 only as well.
58259 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
58261         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
58262         Reported by Peng Haitao <penght@cn.fujitsu.com>.
58264 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
58266         * configure.in: Use -o not -a in test for unsupported multi-arch.
58268 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
58270         * manual/texinfo.tex: Update to version 2012-01-19.16.
58272 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
58274         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
58276 2012-02-24  Roland McGrath  <roland@hack.frob.com>
58278         [BZ #13738]
58279         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
58280         * manual/fdl-1.3.texi: New file.
58281         * manual/fdl-1.1.texi: File removed.
58283         [BZ #13738]
58284         * manual/libc.texinfo (FDL_VERSION): New @set.
58285         Use it for mention of FDL in cover text.
58286         (Documentation License): Use it in @include file name.
58288 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
58289             Roland McGrath  <roland@hack.frob.com>
58291         [BZ #5461]
58292         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
58293         (not LONG_LONG_MAX and LONG_LONG_MIN.
58294         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
58295         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
58296         name.
58297         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
58299 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
58301         [BZ #2547]
58302         [BZ #11365]
58303         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
58304         manipulate bits before adding and subtracting TWO23[sx].
58305         * math/libm-test.inc (nearbyint_test): Add more tests.
58307 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
58309         [BZ #2548]
58310         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
58311         bits before adding and subtracting TWO23[sx].
58312         * math/libm-test.inc (rint_test): Add more tests.
58313         (rint_test_tonearest): Likewise.
58314         (rint_test_towardzero): Likewise.
58315         (rint_test_downward): Likewise.
58316         (rint_test_upward: Likewise.
58318 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
58320         [BZ #10110]
58321         * include/stdc-predef.h: New file.  Extracted from features.h.
58322         * include/features.h: Include stdc-predef.h.
58323         * Makefile (headers): Add stdc-predef.h.
58324         * CONFORMANCE (Compiler limitations): Update.
58326 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
58328         * manual/libc.texinfo (VERSION, UPDATED): Revert.
58330 2012-02-21  David S. Miller  <davem@davemloft.net>
58332         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
58333         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
58335 2012-02-20  David S. Miller  <davem@davemloft.net>
58337         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
58338         using a normal save/restore sequence, rather than allocating a
58339         dummy stack frame just to store a frame pointer and restore.
58340         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
58342 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
58344         * manual/install.texi: Fix stray word in line-wrapped comment.
58346 2012-02-20  David S. Miller  <davem@davemloft.net>
58348         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
58349         both binutils and gcc support GOTDATA.
58351         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
58352         "rd %pc" in the PIC register setup sequences.
58354         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
58355         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
58356         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
58357         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
58358         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
58359         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
58360         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
58361         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
58362         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
58363         (SYSCALL_ERROR_HANDLER): Likewise.
58364         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
58365         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
58366         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
58367         (SYSCALL_ERROR_HANDLER): Likewise.
58369         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
58370         (HAVE_GCC_GOTDATA): New.
58371         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
58372         relocation support in both binutils and gcc.
58373         * sysdeps/sparc/elf/configure: Regenerate.
58375         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
58376         * sysdeps/sparc/sparc32/elf/configure: Delete.
58377         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
58378         * sysdeps/sparc/sparc64/elf/configure: Delete.
58379         * sysdeps/sparc/elf/configure.in: New file.
58380         * sysdeps/sparc/elf/configure: Generate.
58382         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
58383         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
58384         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
58385         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
58386         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
58388 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
58390         * manual/install.texi: Do not mention specific glibc version
58391         numbers.
58392         * manual/libc.texinfo (VERSION, UPDATED): Update.
58393         (@copying): Use @copyright{} and range of years.
58395 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
58397         [BZ #13695]
58398         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
58399         [crti.S not in sysdirs] (generated): Do not append.
58400         [crti.S not in sysdirs] (omit-deps): Likewise.
58401         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
58402         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
58403         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
58404         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
58405         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
58406         Likewise.
58407         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
58408         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
58409         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
58410         * csu/defs.awk: Remove file.
58411         * sysdeps/generic/initfini.c: Likewise.
58412         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
58413         variable.
58414         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
58415         Likewise.
58417 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
58419         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
58420         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
58421         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
58422         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
58423         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
58424         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
58425         <bits/epoll.h>.
58426         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
58427         (__EPOLL_PACKED): Define to empty if not defined by
58428         <bits/epoll.h>.
58429         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
58430         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58431         bits/epoll.h.
58433 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
58435         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
58436         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
58437         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
58438         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
58439         <bits/timerfd.h>.
58440         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
58441         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58442         bits/timerfd.h.
58444 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
58446         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
58447         in C locale.
58448         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
58449         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
58450         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
58451         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58453 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
58455         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
58456         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
58458 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
58460         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
58461         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
58462         defined.
58463         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
58464         Likewise.
58465         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
58466         entry for 2.16.
58468 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
58470         * math/w_acos.c: Use non-signaling floating-point comparisons.
58471         * math/w_acosf.c: Likewise.
58472         * math/w_acosh.c: Likewise.
58473         * math/w_acoshf.c: Likewise.
58474         * math/w_acoshl.c: Likewise.
58475         * math/w_acosl.c: Likewise.
58476         * math/w_asin.c: Likewise.
58477         * math/w_asinf.c: Likewise.
58478         * math/w_asinl.c: Likewise.
58479         * math/w_atanh.c: Likewise.
58480         * math/w_atanhf.c: Likewise.
58481         * math/w_atanhl.c: Likewise.
58482         * math/w_exp2.c: Likewise.
58483         * math/w_exp2f.c: Likewise.
58484         * math/w_exp2l.c: Likewise.
58485         * math/w_j0.c: Likewise.
58486         * math/w_j0f.c: Likewise.
58487         * math/w_j0l.c: Likewise.
58488         * math/w_j1.c: Likewise.
58489         * math/w_j1f.c: Likewise.
58490         * math/w_j1l.c: Likewise.
58491         * math/w_jn.c: Likewise.
58492         * math/w_jnf.c: Likewise.
58493         * math/w_log.c: Likewise.
58494         * math/w_log10.c: Likewise.
58495         * math/w_log10f.c: Likewise.
58496         * math/w_log10l.c: Likewise.
58497         * math/w_log2.c: Likewise.
58498         * math/w_log2f.c: Likewise.
58499         * math/w_log2l.c: Likewise.
58500         * math/w_logf.c: Likewise.
58501         * math/w_logl.c: Likewise.
58502         * math/w_sqrt.c: Likewise.
58503         * math/w_sqrtf.c: Likewise.
58504         * math/w_sqrtl.c: Likewise.
58505         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
58506         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
58507         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
58508         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
58509         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
58511 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
58513         [BZ #9739]
58514         * manual/string.texi (strnlen): Use correct parameter name in
58515         equivalent expression.
58517 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
58519         [BZ #11174]
58520         * manual/users.texi (seteuid): Consistently use neweuid for
58521         argument name.
58523 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
58525         [BZ #13704]
58526         * manual/nss.texi (Services in the NSS configuration): Correct
58527         list of services in example configuration file.
58529 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
58531         [BZ #11322]
58532         * manual/arith.texi: Remove statements about negative zero
58533         behaving identically to zero.
58535 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
58537         [BZ #5993]
58538         * manual/install.texi: Do not document upgrading from libc5.
58540 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
58542         [BZ #4596]
58543         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
58545 2012-02-18  David S. Miller  <davem@davemloft.net>
58547         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
58548         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
58549         %o7 across the call.
58550         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
58551         instead.
58552         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
58553         SETUP_PIC_REG_LEAF.
58554         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
58555         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
58556         * sysdeps/sparc/crtn.S: Likewise.
58558 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
58560         * aout/Makefile: Remove.
58562 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
58564         [BZ #13058]
58565         * manual/examples/argp-ex1.c (main): Format definition in GNU
58566         style.
58567         * manual/examples/argp-ex2.c (main): Likewise.
58568         * manual/examples/argp-ex3.c (main): Likewise.
58569         * manual/examples/argp-ex4.c (main): Likewise.
58570         * manual/examples/longopt.c (main): Use new-style prototype
58571         definition.
58572         * manual/examples/strncat.c (main): Specify return type and use
58573         (void) for arguments.
58574         * manual/examples/subopt.c (main): Use char **argv argument.
58576 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
58578         [BZ #5077]
58579         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
58580         rounding modes.
58582 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
58584         [BZ #6907]
58585         * manual/string.texi (strchr): Change when strchrnul is
58586         recommended.
58588 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
58590         [BZ #174]
58591         * manual/locale.texi (setlocale): Document LOCPATH.
58593 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
58595         [BZ #10210]
58596         * manual/process.texi (execle): Move @dots{} before last argument.
58598 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
58600         [BZ #12047]
58601         * manual/charset.texi (Generic Charset Conversion): Fix typo
58602         (LC_TYPE -> LC_CTYPE).
58604 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
58606         [BZ #5805]
58607         * manual/arith.texi (scalbn): Use @var{} on parameter names.
58608         (scalbnf): Likewise.
58609         (scalbnl): Likewise.
58610         (scalbln): Likewise.
58611         (scalblnf): Likewise.
58612         (scalblnl): Likewise.
58613         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
58614         (vwarnx): Likewise.
58615         (verr): Likewise.
58616         (verrx): Likewise.
58617         * manual/filesys.texi (telldir): Use braces around return type.
58618         * manual/llio.texi (mmap): Add space after comma.
58619         (mmap64): Likewise.
58620         * manual/math.texi (jn): Use @var{} on parameter names.
58621         (jnf): Likewise.
58622         (jnl): Likewise.
58623         (yn): Likewise.
58624         (ynf): Likewise.
58625         (ynl): Likewise.
58626         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
58627         line.
58628         * manual/resource.texi (ulimit): Use @dots{} instead of literal
58629         "...".
58630         (sched_get_priority_min): Remove semicolon on @deftypefun line.
58631         (sched_get_priority_max): Likewise.
58632         * manual/signal.texi (sigvec): Add space after comma.
58633         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
58634         names.
58635         (if_indextoname): Likewise.
58636         (if_freenameindex): Likewise.
58637         (sendto): Use ',' instead of '.' in prototype.
58638         * manual/startup.texi (syscall): Use @dots{} instead of literal
58639         "...".
58640         * manual/stdio.texi (__fpending): Separate initial words of
58641         paragraph from @deftypefun line.
58642         * manual/syslog.texi (syslog): Use @dots{} instead of literal
58643         "...".
58644         (vsyslog): Use @var{} on parameter names.
58645         * manual/terminal.texi (stty): Use @var{} on parameter names.
58646         * manual/users.texi (getutmp): Use @var{} on parameter names.
58647         (getutmpx): Likewise.
58649 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
58651         [BZ #6884]
58652         * manual/stdio.texi (fopen): Fix typos in description of
58653         ",ccs=STRING".
58655 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
58657         [BZ #4026]
58658         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
58659         get clock_id definition.
58661 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
58663         [BZ #4822]
58664         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
58665         (madvise): Cast every argument to void on its own.
58667 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
58669         [BZ #9902]
58670         * manual/startup.texi (Exit Status): Fix typo.
58672 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
58674         [BZ #10140]
58675         * manual/examples/argp-ex1.c: Include <stdlib.h>.
58676         * manual/examples/argp-ex2.c: Likewise.
58677         * manual/examples/argp-ex3.c: Likewise.
58679 2012-02-16  Richard Henderson  <rth@redhat.com>
58681         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
58682         * sysdeps/s390/s390-32/initfini.c: Remove.
58683         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
58684         * sysdeps/s390/s390-64/initfini.c: Remove.
58686 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
58688         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
58689         compiler output for sysdeps/generic/initfini.c.
58690         * sysdeps/sh/elf/initfini.c: Remove file.
58692 2012-02-16  David S. Miller  <davem@davemloft.net>
58694         [BZ #11494]
58695         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
58697         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
58698         * sysdeps/sparc/crti.S: New file.
58699         * sysdeps/sparc/crtn.S: New file.
58700         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
58701         * sysdeps/sparc/sparc64/Makefile: Likewise.
58703 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
58705         [BZ #3335]
58706         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
58708 2012-02-15  Roland McGrath  <roland@hack.frob.com>
58710         [BZ #4822]
58711         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
58713         * mach/devstream.c (cookie_io_functions_t): Macro removed.
58714         (write, read, close): Likewise.
58715         Patch by Aurelien Jarno <aurelien@aurel32.net>.
58717 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
58719         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
58720         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
58721         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
58722         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
58723         <bits/signalfd.h>.
58724         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
58725         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58726         bits/signalfd.h.
58728 2012-02-14  Marek Polacek  <polacek@redhat.com>
58730         * sysdeps/x86_64/crti.S: New file.
58731         * sysdeps/x86_64/crtn.S: New file.
58732         * sysdeps/x86_64/elf/initfini.c: Remove file.
58734 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
58736         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
58737         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
58738         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
58739         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
58740         <bits/inotify.h>.
58741         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
58742         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58743         bits/inotify.h.
58745 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
58747         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
58748         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
58749         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
58750         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
58751         <bits/eventfd.h>.
58752         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
58753         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58754         bits/eventfd.h.
58756 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
58758         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
58759         __feraiseexcept instead of feraiseexcept.
58761         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
58762         nanosleep invocations.
58763         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
58764         strings, and add error checking for a nanosleep invocations.
58766 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
58768         Replace FSF snail mail address with URLs, as per GNU coding standards.
58769         Most of the snail mail addresses were wrong anyway, and omitting
58770         them makes the source code easier to maintain.  Almost all of the
58771         changes are to license notices and to locale LC_IDENTIFICATION
58772         addresses, except for this one:
58773         * manual/libc.texinfo: In "Published by", give the FSF's URL,
58774         not its snail mail address.
58776 2012-02-09  Richard Henderson  <rth@twiddle.net>
58778         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
58779         of kernel-features.h.
58781         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
58783 2012-02-08  Marek Polacek  <polacek@redhat.com>
58785         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
58786         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
58787         * sysdeps/gnu/_G_config.h: Likewise.
58788         * sysdeps/generic/_G_config.h: Likewise.
58790 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
58792         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
58793         tests.
58794         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58796         * sysdeps/powerpc/powerpc32/crti.S: New file.
58797         * sysdeps/powerpc/powerpc32/crtn.S: New file.
58798         * sysdeps/powerpc/powerpc64/crti.S: New file.
58799         * sysdeps/powerpc/powerpc64/crtn.S: New file.
58801         * Makeconfig (have-initfini): Don't set.
58802         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
58803         * configure.in (nopic_initfini): Don't substitute.
58804         * config.h.in (HAVE_INITFINI): Don't #undef.
58805         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
58806         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
58808 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
58810         Support crti.S and crtn.S provided directly by architectures.
58811         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
58812         [crti.S in sysdirs] (omit-deps): Likewise.
58813         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
58814         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
58815         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
58816         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
58817         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
58818         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
58819         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
58820         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
58821         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
58822         compiler output for sysdeps/generic/initfini.c.
58823         * sysdeps/i386/elf/Makefile: Remove file.
58824         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
58826 2012-02-07  Marek Polacek  <polacek@redhat.com>
58828         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
58829         * sysdeps/gnu/_G_config.h: Likewise.
58830         * sysdeps/mach/hurd/_G_config.h: Likewise.
58832 2012-02-07  Marek Polacek  <polacek@redhat.com>
58834         * math/Makefile (tests): Add tst-CMPLX2.
58835         * math/tst-CMPLX2.c: New file.
58837 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
58839         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
58841         * math/libm-test.inc (jn_test): Add missing L suffix.
58843 2012-02-06  Marek Polacek  <polacek@redhat.com>
58845         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
58846         * sysdeps/i386/fpu/e_powf.S: Likewise.
58847         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
58848         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
58849         * sysdeps/i386/fpu/e_acosh.S: Likewise.
58850         * sysdeps/i386/fpu/e_pow.S: Likewise.
58851         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
58852         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
58853         * sysdeps/i386/fpu/s_expm1.S: Likewise.
58854         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
58855         * sysdeps/i386/fpu/e_log2.S: Likewise.
58856         * sysdeps/i386/fpu/e_log2l.S: Likewise.
58857         * sysdeps/i386/fpu/e_scalb.S: Likewise.
58858         * sysdeps/i386/fpu/e_powl.S: Likewise.
58859         * sysdeps/i386/fpu/s_log1p.S: Likewise.
58860         * sysdeps/i386/fpu/e_log10f.S: Likewise.
58861         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
58862         * sysdeps/i386/fpu/e_logl.S: Likewise.
58863         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
58864         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
58865         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
58866         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
58867         * sysdeps/i386/fpu/e_log2f.S: Likewise.
58868         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
58869         * sysdeps/i386/fpu/e_log.S: Likewise.
58870         * sysdeps/i386/fpu/s_cexp.S: Likewise.
58871         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
58872         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
58873         * sysdeps/i386/fpu/e_logf.S: Likewise.
58874         * sysdeps/i386/fpu/e_log10l.S: Likewise.
58875         * sysdeps/i386/fpu/e_atanh.S: Likewise.
58876         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
58877         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
58878         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
58879         * sysdeps/i386/fpu/e_log10.S: Likewise.
58880         * sysdeps/i386/fpu/s_frexp.S: Likewise.
58881         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
58882         * sysdeps/i386/fpu/s_asinh.S: Likewise.
58883         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
58884         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
58885         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
58886         * sysdeps/i386/asm-syntax.h: Likewise.
58887         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
58888         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
58889         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
58890         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
58891         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
58892         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
58893         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
58894         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
58895         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
58896         * sysdeps/powerpc/sysdep.h: Likewise.
58897         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
58898         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
58900 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
58902         [BZ #411]
58903         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
58905 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
58907         * sysdeps/i386/sysdep.h: Include <features.h>.
58908         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
58909         version.
58911 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
58913         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
58914         Define.
58915         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
58916         LOAD_PIC_REG_STR.
58918 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
58920         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
58921         (SETUP_PIC_REG): Use GET_PC_THUNK.
58922         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
58923         macro.
58925 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
58927         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
58928         for non-PIC compilation.
58929         (SETUP_PIC_REG): Add .p2align directive.
58930         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
58931         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
58932         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
58933         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
58934         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
58935         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
58936         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
58937         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
58938         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
58939         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
58940         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
58941         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
58942         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
58943         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
58944         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
58945         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
58946         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
58947         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
58948         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
58949         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
58950         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
58951         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
58952         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
58953         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
58954         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
58955         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
58956         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
58957         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
58958         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
58959         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
58960         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
58961         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
58962         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
58963         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
58964         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
58965         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
58966         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
58967         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
58968         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
58969         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
58970         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
58972 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
58974         * math/tst-CMPLX.c: Include <stdio.h>.
58976 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
58978         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
58979         float.
58980         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
58981         * sysdeps/sparc/bits/mathdef.h: Likewise.
58983 2012-01-31  Marek Polacek  <polacek@redhat.com>
58985         * libio/libio.h: Don't define _PARAMS.
58986         * locale/programs/config.h: Don't define PARAMS.
58987         * stdlib/strtol_l.c: Likewise.
58988         (__strtol_l): Remove PARAMS from the prototype.
58990 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
58992         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
58993         names.  Just use the correct names.  Remove unnecessary wrapper
58994         functions.
58995         * malloc/arena.c: Likewise.
58996         * malloc/hooks.c: Likewise.
58998         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
58999         ARENA_TEST says not to.  Simplify test for creation of a new arena.
59000         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
59002 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
59004         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
59005         into tail calls.
59006         (update_get_addr): New function.
59007         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
59008         GET_ADDR_MODULE parameter.
59010 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
59012         * crypt/cert.c: Remove __STDC__ conditionals.
59013         * crypt/crypt-entry.c: Likewise.
59014         * crypt/crypt_util.c: Likewise.
59015         * libio/filedoalloc.c: Likewise.
59016         * libio/fileops.c: Likewise.
59017         * libio/genops.c: Likewise.
59018         * libio/iofclose.c: Likewise.
59019         * libio/iofdopen.c: Likewise.
59020         * libio/iofopen.c: Likewise.
59021         * libio/iofopen64.c: Likewise.
59022         * libio/iogetdelim.c: Likewise.
59023         * libio/iopopen.c: Likewise.
59024         * libio/obprintf.c: Likewise.
59025         * libio/oldfileops.c: Likewise.
59026         * libio/oldiofclose.c: Likewise.
59027         * libio/oldiofdopen.c: Likewise.
59028         * libio/oldiofopen.c: Likewise.
59029         * libio/oldiopopen.c: Likewise.
59030         * libio/wfiledoalloc.c: Likewise.
59031         * libio/wgenops.c: Likewise.
59032         * locale/programs/xmalloc.c: Likewise.
59033         * misc/syslog.c: Likewise.
59034         * stdio-common/xbug.c: Likewise.
59035         * string/memchr.c: Likewise.
59036         * string/memcmp.c: Likewise.
59037         * string/memrchr.c: Likewise.
59038         * string/rawmemchr.c: Likewise.
59039         * sysdeps/posix/getcwd.c: Likewise.
59040         * time/strftime_l.c: Likewise.
59042 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
59044         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
59045         * config.make.in (config-cflags-sse2avx): Define.
59046         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
59047         Fix typo.
59049 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
59051         * scripts/config.guess: Update from upstream config git repository.
59052         * scripts/config.sub: Likewise.
59054 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
59056         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
59057         (EM_NUM): Update.
59058         (R_TILEPRO_*, R_TILEGX_*): New macros.
59060         * scripts/firstversions.awk: Fix bug in version range handling.
59062         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
59064         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
59066         * include/sys/epoll.h: New file.
59067         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
59068         libc_hidden_def.
59070 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
59072         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
59073         Avoid unnecessary __WORDSIZE == 64 test.
59074         (fmaxf): Use VEX format if possible.
59075         (fmax): Likewise.
59076         (fminf): Likewise.
59077         (fmin): Likewise.
59079         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
59080         * math/math_private.h: Remove libc_fegetround* and
59081         libc_fesetround*.
59082         * sysdeps/i386/configure.in: Check for -msse2avx.
59083         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
59084         also if SSE2AVX is defined.
59085         Remove libc_fegetround* and libc_fesetround*.
59086         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
59087         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
59088         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
59089         of HAS_YMM_USABLE.
59090         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
59091         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
59092         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
59093         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
59094         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
59096         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
59098 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59100         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
59101         size is not set.
59102         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
59104 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
59106         [BZ #13618]
59107         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
59108         relocation.
59109         * Makeconfig (libm): Define.
59110         * elf/Makefile: Add rules to build and run tst-relsort1.
59111         * elf/tst-relsort1.c: New file.
59112         * elf/tst-relsort1mod1.c: New file.
59113         * elf/tst-relsort1mod2.c: New file.
59115 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
59117         * math/s_ldexp.c: Remove __STDC__ conditionals.
59118         * math/s_ldexpf.c: Likewise.
59119         * math/s_ldexpl.c: Likewise.
59120         * math/s_nextafter.c: Likewise.
59121         * math/s_nexttowardf.c: Likewise.
59122         * math/s_significand.c: Likewise.
59123         * math/s_significandf.c: Likewise.
59124         * math/s_significandl.c: Likewise.
59125         * math/w_jnl.c: Likewise.
59126         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
59127         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
59128         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
59129         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
59130         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
59131         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
59132         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
59133         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
59134         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
59135         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
59136         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
59137         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
59138         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
59139         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
59140         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
59141         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
59142         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
59143         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
59144         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
59145         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
59146         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
59147         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
59148         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
59149         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
59150         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
59151         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
59152         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
59153         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
59154         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
59155         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
59156         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
59157         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
59158         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
59159         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
59160         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
59161         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
59162         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
59163         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
59164         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
59165         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
59166         * sysdeps/ieee754/k_standard.c: Likewise.
59167         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
59168         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
59169         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
59170         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
59171         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
59172         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
59173         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
59174         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
59175         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
59176         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
59177         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
59178         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
59179         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
59180         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
59181         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
59182         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
59183         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
59184         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
59185         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
59186         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
59187         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
59188         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
59189         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
59190         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
59191         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
59192         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
59193         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
59194         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
59195         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
59196         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
59197         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
59198         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
59199         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
59200         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
59201         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
59202         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
59203         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
59204         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
59205         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
59206         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
59207         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
59208         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
59209         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
59210         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
59211         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
59212         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
59213         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
59214         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
59215         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
59216         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
59217         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
59218         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
59219         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
59220         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
59221         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
59222         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
59223         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
59224         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
59225         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
59226         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
59227         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
59228         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
59229         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
59230         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
59231         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
59232         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
59233         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
59234         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
59235         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
59236         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
59237         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
59238         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
59239         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
59240         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
59241         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
59242         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
59243         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
59244         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
59245         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
59246         * sysdeps/ieee754/s_matherr.c: Likewise.
59247         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
59248         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
59249         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
59250         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
59252 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
59254         * crypt/md5.h: Remove __STDC__ conditionals.
59255         * libio/libioP.h: Likewise.
59256         * locale/programs/config.h: Likewise.
59257         * sysdeps/generic/sysdep.h: Likewise.
59258         * sysdeps/i386/asm-syntax.h: Likewise.
59259         * sysdeps/s390/asm-syntax.h: Likewise.
59260         * sysdeps/unix/sysdep.h: Likewise.
59261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
59262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
59264 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
59266         * libio/libio.h: Remove __STDC__ conditionals.
59267         * malloc/obstack.h: Likewise.
59268         * math/complex.h: Likewise.
59269         * math/math.h: Likewise.
59270         * sysdeps/generic/_G_config.h: Likewise.
59271         * sysdeps/gnu/_G_config.h: Likewise.
59272         * sysdeps/mach/hurd/_G_config.h: Likewise.
59273         * sysdeps/powerpc/bits/mathdef.h: Likewise.
59274         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
59275         * sysdeps/sparc/bits/mathdef.h: Likewise.
59277 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
59279         [BZ #13583]
59280         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
59281         Clean up HAS_* macros.
59282         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
59283         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
59284         possible.
59285         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
59286         HAS_AVX.
59287         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
59288         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
59289         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
59290         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
59291         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
59293 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
59295         * elf/tst-unique3.cc (gets): Remove declaration.
59296         * elf/tst-unique3lib.cc (gets): Likewise.
59297         * elf/tst-unique3lib2.cc (gets): Likewise.
59298         * elf/tst-unique4.cc (gets): Likewise.
59300 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
59302         * include/stdio.h: Add C++ protection.  Add gets declarations and
59303         definitions.
59304         * debug/tst-chk1.c: Don't declare gets here.
59305         * stdio-common/tst-gets.c: Likewise.
59307 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
59309         * posix/glob: Remove directory.
59311 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
59313         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
59315 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
59317         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
59318         of the non-standard EPFNOSUPPORT.
59320 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59322         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
59323         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
59324         ANYWHERE set to 1 only on KERN_NO_SPACE error.
59326 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
59328         * wcsmbs/uchar.h: Test __STDC_VERSION__.
59330 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
59332         * nscd/aicache.c (addhstaiX): Do not cache negative results of
59333         transient errors.
59334         * nscd/grpcache.c (cache_addgr): Likewise.
59335         * nscd/hstcache.c (cache_addhst): Likewise.
59336         * nscd/initgrcache.c (addinitgroupsX): Likewise.
59337         * nscd/pwdcache.c (cache_addpw): Likewise.
59338         * nscd/servicescache.c (cache_addserv): Likewise.
59340 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
59342         * malloc/malloc.c: Various cleanups.
59343         * malloc/hooks.c: Likewise.
59345         * stdlib/Makefile (tests): Add bug-fmtmsg1.
59346         * stdlib/bug-fmtmsg1.c: New file.
59348         * stdlib/fmtmsg.c (init): Add missing unlock.
59349         Patch by Peng Haitao <penght@cn.fujitsu.com>.
59351 2012-01-12  Marek Polacek  <polacek@redhat.com>
59353         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
59354         and _GNU_SOURCE.
59356 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
59358         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
59359         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
59360         macro to ensure uniqueness of label name.
59361         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
59362         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
59364 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
59366         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
59368         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
59369         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
59370         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
59371         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
59373 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
59375         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
59377         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
59378         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
59379         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
59381         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
59383         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
59384         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
59385         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
59386         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
59388         * math/bits/math-finite.h: Add ldexp support.
59390 2012-01-10  Marek Polacek  <polacek@redhat.com>
59392         * locale/programs/localedef.h (show_archive_content): Add noreturn
59393         attribute.
59395 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
59397         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
59399 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
59401         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
59403         * io/Makefile (headers): Add bits/poll2.h.
59405 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
59407         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
59408         typo #include statement.
59410 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
59412         * include/sys/cdefs.h: Define __attribute_alloc_size.
59413         * catgets/gencat.c: Add alloc_size attribute and apply consistently
59414         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
59415         * elf/pldd.c: Likewise.
59416         * iconv/iconv_charmap.c: Likewise.
59417         * iconv/iconvconfig.c: Likewise.
59418         * iconv/strtab.c: Likewise.
59419         * locale/programs/locale.c: Likewise.
59420         * locale/programs/localedef.h: Likewise.
59421         * locale/programs/simple-hash.c: Likewise.
59422         * nscd/nscd.h: Likewise.
59423         * nss/makedb.c: Likewise.
59424         * sysdeps/generic/ldconfig.h: Likewise.
59425         * locale/programs/localedef.c: Remove xmalloc prototype.
59426         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
59428 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
59430         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
59431         appropriate.
59433 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
59435         * math/Makefile (tests): Add tst-CMPLX.
59436         * math/tst-CMPLX.c: New file.
59438         * math/complex.h (CMPLXL): Fix typo.
59440         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
59441         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
59442         GLIBC_2.16.
59443         * debug/tst-chk1.c: Add poll and ppoll tests.
59444         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
59445         * include/sys/poll.h: Add hidden proto for ppoll.
59446         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
59447         * sysdeps/mach/hurd/ppoll.c: Likewise.
59448         * io/ppoll.c: Likewise.
59449         * debug/poll_chk.c: New file.
59450         * debug/ppoll_chk.c: New file.
59451         * include/bits/poll2.h: New file.
59452         * io/bits/poll2.h: New file.
59454         [BZ #1350]
59455         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
59457         * configure.in: static is always set to yes.  Remove.
59458         * config.make.in: Don't set build-static.
59459         * Makeconfig: Remove use of build-static.
59460         * dlfcn/Makefile: Likewise.
59461         * elf/Makefile: Likewise.
59462         * math/Makefile: Likewise.
59463         * misc/Makefile: Likewise.
59464         * nptl/Makefile: Likewise.
59465         * sysdeps/mach/hurd/Makefile: Likewise.
59467         * configure.in: PWD_P is not used anymore.
59468         * config.make.in: Remove PWD_P entry.
59470         * configure.in: Remove last remnants of RANLIB.
59471         No need to check for signed size_t anymore.
59472         Don't set libc_commonpagesize and libc_relro_required here for Alpha
59473         and IA-64.
59474         Remove __builtin_expect test because we require at least gcc 3.4.
59475         * aclocal.m4: Likewise.
59477         * wcsmbs/mbrtoc16.c: Implement using towc function.
59478         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
59479         * wcsmbs/wcsmbsload.c: Likewise.
59480         * iconv/gconv_simple.c: Likewise.
59481         * iconv/gconv_int.h: Likewise.
59482         * iconv/gconv_builtin.h: Likewise.
59483         * iconv/iconv_prog.c: Remove CHAR16 handling.
59485         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
59487         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
59489         * configure.in: Remove --with-elf and --enable-bounded options.
59490         Dont set base_machine for ia64.  More non-ELF conditions removed.
59491         Remove testing and setting of leading underscore information.
59492         * config.make.in (build-bounded): Set to no.
59493         * config.h.in: Remove NO_UNDERSCORES entry.
59494         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
59495         them.
59496         * csu/start.c: Remove !NO_UNDERSCORE code.
59497         * locale/localeinfo.h: Likewise.
59498         * sysdeps/generic/machine-gmon.h: Likewise.
59499         * sysdeps/generic/sysdep.h: Likewise.
59500         * sysdeps/i386/sysdep.h: Likewise.
59501         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
59502         * sysdeps/mach/sysdep.h: Likewise.
59503         * sysdeps/s390/s390-32/sysdep.h: Likewise.
59504         * sysdeps/s390/s390-64/sysdep.h: Likewise.
59505         * sysdeps/sh/sysdep.h: Likewise.
59506         * sysdeps/sparc/sparc32/alloca.S: Likewise.
59507         * sysdeps/unix/i386/sysdep.S: Likewise.
59508         * sysdeps/unix/sparc/start.c: Likewise.
59509         * sysdeps/unix/sparc/sysdep.S: Likewise.
59510         * sysdeps/unix/sparc/sysdep.h: Likewise.
59511         * sysdeps/unix/start.c: Likewise.
59512         * sysdeps/unix/x86_64/sysdep.S: Likewise.
59513         * sysdeps/x86_64/sysdep.h: Likewise.
59515 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
59517         [BZ #13553]
59518         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
59519         for non-gcc.
59520         * argp/argp-fmtstream.h: Use const instead __const.
59521         * argp/argp.h: Likewise.
59522         * assert/assert.h: Likewise.
59523         * bits/fenv.h: Likewise.
59524         * bits/sched.h: Likewise.
59525         * bits/sigset.h: Likewise.
59526         * bits/sigthread.h: Likewise.
59527         * catgets/nl_types.h: Likewise.
59528         * conform/data/pthread.h-data: Likewise.
59529         * crypt/crypt-private.h: Likewise.
59530         * crypt/crypt.h: Likewise.
59531         * crypt/crypt_util.c: Likewise.
59532         * ctype/ctype.h: Likewise.
59533         * debug/execinfo.h: Likewise.
59534         * debug/mbsnrtowcs_chk.c: Likewise.
59535         * debug/mbsrtowcs_chk.c: Likewise.
59536         * debug/wcsnrtombs_chk.c: Likewise.
59537         * debug/wcsrtombs_chk.c: Likewise.
59538         * debug/wcstombs_chk.c: Likewise.
59539         * dirent/dirent.h: Likewise.
59540         * dlfcn/dlfcn.h: Likewise.
59541         * elf/neededtest4.c: Likewise.
59542         * grp/grp.h: Likewise.
59543         * gshadow/gshadow.h: Likewise.
59544         * iconv/gconv.h: Likewise.
59545         * iconv/gconv_int.h: Likewise.
59546         * iconv/gconv_simple.c: Likewise.
59547         * iconv/iconv.h: Likewise.
59548         * iconv/loop.c: Likewise.
59549         * iconv/skeleton.c: Likewise.
59550         * include/aio.h: Likewise.
59551         * include/aliases.h: Likewise.
59552         * include/argz.h: Likewise.
59553         * include/arpa/inet.h: Likewise.
59554         * include/assert.h: Likewise.
59555         * include/dirent.h: Likewise.
59556         * include/dlfcn.h: Likewise.
59557         * include/execinfo.h: Likewise.
59558         * include/fcntl.h: Likewise.
59559         * include/fenv.h: Likewise.
59560         * include/glob.h: Likewise.
59561         * include/grp.h: Likewise.
59562         * include/libintl.h: Likewise.
59563         * include/mntent.h: Likewise.
59564         * include/netdb.h: Likewise.
59565         * include/pwd.h: Likewise.
59566         * include/rpc/netdb.h: Likewise.
59567         * include/sched.h: Likewise.
59568         * include/search.h: Likewise.
59569         * include/shadow.h: Likewise.
59570         * include/signal.h: Likewise.
59571         * include/stdio.h: Likewise.
59572         * include/stdlib.h: Likewise.
59573         * include/string.h: Likewise.
59574         * include/sys/socket.h: Likewise.
59575         * include/sys/stat.h: Likewise.
59576         * include/sys/statfs.h: Likewise.
59577         * include/sys/statvfs.h: Likewise.
59578         * include/sys/syslog.h: Likewise.
59579         * include/sys/time.h: Likewise.
59580         * include/sys/uio.h: Likewise.
59581         * include/time.h: Likewise.
59582         * include/unistd.h: Likewise.
59583         * include/utmp.h: Likewise.
59584         * include/wchar.h: Likewise.
59585         * include/wctype.h: Likewise.
59586         * inet/aliases.h: Likewise.
59587         * inet/arpa/inet.h: Likewise.
59588         * inet/netinet/ether.h: Likewise.
59589         * inet/netinet/in.h: Likewise.
59590         * intl/libintl.h: Likewise.
59591         * io/bits/fcntl2.h: Likewise.
59592         * io/fcntl.h: Likewise.
59593         * io/ftw.h: Likewise.
59594         * io/sys/poll.h: Likewise.
59595         * io/sys/stat.h: Likewise.
59596         * io/sys/statfs.h: Likewise.
59597         * io/sys/statvfs.h: Likewise.
59598         * io/utime.h: Likewise.
59599         * libio/bits/stdio.h: Likewise.
59600         * libio/bits/stdio2.h: Likewise.
59601         * libio/libio.h: Likewise.
59602         * libio/libioP.h: Likewise.
59603         * libio/stdio.h: Likewise.
59604         * locale/lc-ctype.c: Likewise.
59605         * locale/locale.h: Likewise.
59606         * login/utmp.h: Likewise.
59607         * malloc/arena.c: Likewise.
59608         * malloc/malloc.c: Likewise.
59609         * malloc/malloc.h: Likewise.
59610         * malloc/mcheck.c: Likewise.
59611         * malloc/mtrace.c: Likewise.
59612         * math/bits/mathcalls.h: Likewise.
59613         * math/fenv.h: Likewise.
59614         * math/math_private.h: Likewise.
59615         * misc/bits/error.h: Likewise.
59616         * misc/bits/syslog.h: Likewise.
59617         * misc/err.h: Likewise.
59618         * misc/error.h: Likewise.
59619         * misc/fstab.h: Likewise.
59620         * misc/mntent.h: Likewise.
59621         * misc/regexp.h: Likewise.
59622         * misc/search.h: Likewise.
59623         * misc/sgtty.h: Likewise.
59624         * misc/sys/mman.h: Likewise.
59625         * misc/sys/syslog.h: Likewise.
59626         * misc/sys/uio.h: Likewise.
59627         * misc/sys/xattr.h: Likewise.
59628         * misc/ttyent.h: Likewise.
59629         * nis/rpcsvc/ypclnt.h: Likewise.
59630         * nss/nss.h: Likewise.
59631         * posix/bits/unistd.h: Likewise.
59632         * posix/fnmatch.h: Likewise.
59633         * posix/glob.h: Likewise.
59634         * posix/sched.h: Likewise.
59635         * posix/spawn.h: Likewise.
59636         * posix/sys/wait.h: Likewise.
59637         * posix/unistd.h: Likewise.
59638         * posix/wordexp.h: Likewise.
59639         * pwd/pwd.h: Likewise.
59640         * resolv/netdb.h: Likewise.
59641         * resource/sys/resource.h: Likewise.
59642         * rt/aio.h: Likewise.
59643         * rt/bits/mqueue2.h: Likewise.
59644         * rt/mqueue.h: Likewise.
59645         * shadow/shadow.h: Likewise.
59646         * signal/signal.h: Likewise.
59647         * socket/send.c: Likewise.
59648         * socket/sendto.c: Likewise.
59649         * socket/sys/socket.h: Likewise.
59650         * stdio-common/printf.h: Likewise.
59651         * stdlib/bits/stdlib.h: Likewise.
59652         * stdlib/fmtmsg.h: Likewise.
59653         * stdlib/monetary.h: Likewise.
59654         * stdlib/stdlib.h: Likewise.
59655         * stdlib/ucontext.h: Likewise.
59656         * streams/stropts.h: Likewise.
59657         * string/argz.h: Likewise.
59658         * string/bits/string2.h: Likewise.
59659         * string/string.h: Likewise.
59660         * string/strings.h: Likewise.
59661         * sunrpc/rpc/auth.h: Likewise.
59662         * sunrpc/rpc/auth_des.h: Likewise.
59663         * sunrpc/rpc/clnt.h: Likewise.
59664         * sunrpc/rpc/netdb.h: Likewise.
59665         * sunrpc/rpc/pmap_clnt.h: Likewise.
59666         * sunrpc/rpc/xdr.h: Likewise.
59667         * sysdeps/generic/inttypes.h: Likewise.
59668         * sysdeps/generic/net/if.h: Likewise.
59669         * sysdeps/generic/sys/swap.h: Likewise.
59670         * sysdeps/gnu/net/if.h: Likewise.
59671         * sysdeps/gnu/utmpx.h: Likewise.
59672         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
59673         * sysdeps/i386/i486/bits/string.h: Likewise.
59674         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
59675         * sysdeps/s390/bits/string.h: Likewise.
59676         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
59677         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
59678         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
59679         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
59680         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
59681         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
59682         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
59683         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
59684         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
59685         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
59686         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
59687         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
59688         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
59689         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
59690         * sysdeps/unix/sysv/linux/readv.c: Likewise.
59691         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
59692         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
59693         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
59694         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
59695         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
59696         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
59697         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
59698         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
59699         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
59700         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
59701         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
59702         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
59703         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
59704         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
59705         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
59706         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
59707         * sysvipc/sys/ipc.h: Likewise.
59708         * sysvipc/sys/msg.h: Likewise.
59709         * sysvipc/sys/sem.h: Likewise.
59710         * sysvipc/sys/shm.h: Likewise.
59711         * termios/termios.h: Likewise.
59712         * time/sys/time.h: Likewise.
59713         * time/time.h: Likewise.
59714         * wcsmbs/bits/wchar2.h: Likewise.
59715         * wcsmbs/uchar.h: Likewise.
59716         * wcsmbs/wchar.h: Likewise.
59717         * wctype/wctype.h: Likewise.
59719         [BZ #13551]
59720         * Makeconfig: Remove all but ELF support including AIX support.
59721         * Makerules: Likewise.
59722         * config.h.in: Likewise.
59723         * config.make.in: Likewise.
59724         * configure: Likewise.
59725         * configure.in: Likewise.
59726         * csu/Makefile: Likewise.
59727         * csu/version.c: Likewise.
59728         * debug/Makefile: Likewise.
59729         * dlfcn/Makefile: Likewise.
59730         * elf/Makefile: Likewise.
59731         * extra-lib.mk: Likewise.
59732         * iconv/Makefile: Likewise.
59733         * include/libc-symbols.h: Likewise.
59734         * include/shlib-compat.h: Likewise.
59735         * resolv/Makefile: Likewise.
59736         * resolv/res_libc.c: Likewise.
59737         * rt/Makefile: Likewise.
59738         * sysdeps/i386/asm-syntax.h: Likewise.
59739         * sysdeps/i386/sysdep.h: Likewise.
59740         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
59741         * sysdeps/mach/sysdep.h: Likewise.
59742         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
59743         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
59744         * sysdeps/s390/asm-syntax.h: Likewise.
59745         * sysdeps/s390/s390-32/sysdep.h: Likewise.
59746         * sysdeps/s390/s390-64/sysdep.h: Likewise.
59747         * sysdeps/sh/sysdep.h: Likewise.
59748         * sysdeps/unix/sparc/sysdep.h: Likewise.
59749         * sysdeps/wordsize-32/divdi3.c: Likewise.
59750         * sysdeps/x86_64/sysdep.h: Likewise.
59752         * argp/Versions: Remove _argp_unlock_xxx.
59754         [BZ #13559]
59755         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
59756         * abilist/libBrokenLocale.abilist: Likewise.
59757         * abilist/libanl.abilist: Likewise.
59758         * abilist/libc.abilist: Likewise.
59759         * abilist/libcrypt.abilist: Likewise.
59760         * abilist/libdl.abilist: Likewise.
59761         * abilist/libm.abilist: Likewise.
59762         * abilist/libnsl.abilist: Likewise.
59763         * abilist/libpthread.abilist: Likewise.
59764         * abilist/libresolv.abilist: Likewise.
59765         * abilist/librt.abilist: Likewise.
59766         * abilist/libthread_db.abilist: Likewise.
59767         * abilist/libutil.abilist: Likewise.
59768         * abilist/libnss_db.abilist: New file.
59770         * scripts/abilist.awk: Add support for indirect functions.
59772         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
59774         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
59776         * shlib-versions: Remove entries for ports architectures.
59778         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
59779         files in ports.
59780         * elf/stackguard-macros.h: Remove support for IA-64.
59781         * elf/tst-auditmod1.c: Likewise.
59782         * sysdeps/generic/ldsodefs.h: Likewise.
59784         * sysdeps/unix/sysv/linux/configure.in: Ports should define
59785         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
59786         configure files.
59788         [BZ #13552]
59789         * configure.in: Remove --enable-omitfp support.
59790         * FAQ.in: Adjust.
59791         * config.make.in: Likewise.
59792         * Makeconfig: Likewise.
59793         * manual/install.texi: Likewise.
59795         In case anyone cares, the IA-64 architecture could move to ports.
59796         * sysdeps/ia64/*: Removed.
59797         * sysdeps/unix/sysv/linux/ia64/*: Removed.
59798         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
59800         [BZ #13555]
59801         * configure.in: Remove entries for unsupported architectures.
59803         [BZ #13533]
59804         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
59805         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
59806         routines.
59807         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
59808         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
59809         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
59810         fall back to using wcrtomb.
59811         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
59812         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
59813         renaming.
59814         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
59815         * wcsmbs/tst-c16c32-1.c: New file.
59817         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
59818         local variable.
59820         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
59822         * elf/tst-unique3.cc: Add explicit declaration of gets.
59823         * elf/tst-unique3lib.cc: Likewise.
59824         * elf/tst-unique3lib2.cc: Likewise.
59825         * elf/tst-unique4.cc: Likewise.
59827         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
59829 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
59831         [BZ #13566]
59832         * assert/assert.h (static_assert): Don't define for C++.
59833         * libio/stdio.h (gets): Do declare for C++ <= C++11.
59834         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
59836 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
59838         * iconv/loop.c (single loop): Fix assertion in storing of
59839         remaining bytes.
59841         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
59843 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
59845         * posix/getconf.c: Update copyright year.
59846         * nss/getent.c: Likewise.
59847         * nss/makedb.c: Likewise.
59848         * iconv/iconvconfig.c: Likewise.
59849         * iconv/iconv_prog.c: Likewise.
59850         * elf/ldconfig.c: Likewise.
59851         * elf/pldd.c: Likewise.
59852         * elf/sotruss.ksh: Likewise.
59853         * catgets/gencat.c: Likewise.
59854         * csu/version.c: Likewise.
59855         * elf/ldd.bash.in: Likewise.
59856         * elf/sprof.c (print_version): Likewise.
59857         * locale/programs/locale.c: Likewise.
59858         * locale/programs/localedef.c: Likewise.
59859         * login/programs/pt_chown.c: Likewise.
59860         * nscd/nscd.c (print_version): Likewise.
59861         * debug/xtrace.sh: Likewise.
59862         * malloc/memusage.sh: Likewise.
59863         * malloc/mtrace.pl: Likewise.
59864         * debug/catchsegv.sh: Likewise.
59866 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
59868         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
59869         pure attribute.
59871 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
59873         [BZ #13533]
59874         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
59875         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
59876         transformations.
59877         * iconv/gconv_int.h: Likewise.
59878         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
59879         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
59880         from libc for GLIBC_2.16.
59881         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
59882         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
59883         * wcsmbs/uchar.h: Really define mbstate_t.
59884         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
59885         * wcsmbs/c16rtomb.c: New file.
59886         * wcsmbs/mbrtoc16.c: New file.
59887         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
59888         for C/POSIX locale.
59889         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
59890         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
59892         * wcsmbs/wchar.h: Add missing __restrict.
59894 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
59896         [BZ #13532]
59897         * time/Makefile (routines): Add timespec_get.
59898         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
59899         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
59900         timespec for ISO C11.
59901         * time/timespec_get.c: New file.
59902         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
59903         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
59905         [BZ #13531]
59906         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
59907         * stdlib/stdlib.h: Declare aligned_alloc.
59908         * Versions.def: Add GLIBC_2.16 for libc.
59909         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
59911         [BZ 13527]
59912         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
59913         ISO C11.
59915         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
59916         code.
59918         [BZ #13528]
59919         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
59921         [BZ #13529]
59922         * assert/assert.h (static_assert): Define.
59924         * version.h: Update for 2.16 development version.
59926         [BZ #13526]
59927         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
59928         _ISOC11_SOURCE.
59930         * version.h (RELEASE): Bump for 2.15 release.
59931         * include/features.h (__GLIBC_MINOR__): Bump to 15.
59933         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
59934         Patch by Marek Polacek <mpolacek@redhat.com>.
59936         * bits/byteswap.h: Protect long long constants with __extension__.
59937         * sysdeps/i386/bits/byteswap.h: Likewise.
59938         * sysdeps/ia64/bits/byteswap.h: Likewise.
59939         * sysdeps/s390/bits/byteswap.h: Likewise.
59940         * sysdeps/x86_64/bits/byteswap.h: Likewise.
59942 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59944         [BZ #13540]
59945         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
59946         destination buffer.
59947         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
59949 2011-12-23  Marek Polacek  <polacek@redhat.com>
59951         * elf/dl-addr.c (determine_info): Add inline keyword.
59952         * elf/tst-auditmod4b.c (check_avx): Likewise.
59953         * elf/tst-auditmod6b.c (check_avx): Likewise.
59954         * elf/tst-auditmod6c.c (check_avx): Likewise.
59955         * elf/tst-auditmod7b.c (check_avx): Likewise.
59957 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
59959         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
59960         !__SSE_MATH__.
59962 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59964         [BZ #13540]
59965         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
59966         processing for last bytes.
59968 2011-08-06  Bruno Haible  <bruno@clisp.org>
59970         [BZ #13061]
59971         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
59972         U+0385, not to U+1FEE.
59974         [BZ #13062]
59975         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
59976         entry for U+00A5 U+0301.
59978 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
59980         [BZ #13166]
59981         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
59982         buffer for the output is too small.
59984         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
59985         optimization.
59987         [BZ #13185]
59988         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
59989         SSE flags if possible.
59991 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59993         [BZ #13540]
59994         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
59995         processing for last bytes.
59997 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
59999         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
60000         (syscall-list-default-options, syscall-list-default-condition)
60001         (syscall-list-includes): Define.
60002         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
60003         list of ABIs and options and #if conditions for each ABI.  Do not
60004         handle common syscalls between ABIs specially.
60005         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
60006         Remove.
60007         (syscall-list-variants, syscall-list-32bit-options)
60008         (syscall-list-32bit-condition, syscall-list-64bit-options)
60009         (syscall-list-64bit-condition): Define.
60010         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
60011         (syscall-list-variants, syscall-list-32bit-options)
60012         (syscall-list-32bit-condition, syscall-list-64bit-options)
60013         (syscall-list-64bit-condition): Define.
60014         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
60015         Remove.
60016         (syscall-list-variants, syscall-list-32bit-options)
60017         (syscall-list-32bit-condition, syscall-list-64bit-options)
60018         (syscall-list-64bit-condition): Define.
60019         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
60020         Remove.
60021         (syscall-list-variants, syscall-list-32bit-options)
60022         (syscall-list-32bit-condition, syscall-list-64bit-options)
60023         (syscall-list-64bit-condition): Define.
60025 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
60027         * locale/iso-639.def: Add brx entry.
60029         [BZ #13328]
60030         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
60031         Proposed by Mariusz_Cukr <marcukr@op.pl>.
60033         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
60034         __feraiseexcept_renamed.
60036 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
60038         [BZ #13538]
60039         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
60040         EPOLLET with unsigned values.
60041         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
60042         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
60044         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
60045         to large cancellation.
60046         * math/s_cacoshf.c: Likewise.
60047         * math/s_cacoshl.c: Likewise.
60049 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
60051         [BZ #13305]
60052         [BZ #12786]
60053         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
60054         * math/s_cacoshf.c: Likewise.
60055         * math/s_cacoshl.c: Likewise.
60057 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
60059         [BZ #13439]
60060         * iconv/gconv.h: Define __GCONV_SWAP.
60061         * iconvdata/unicode.c: The swap bit must be stored in __flags.
60062         * iconvdata/utf-16.c: Likewise.
60063         * iconvdata/utf-32.c: Likewise.
60065 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
60067         [BZ #13524]
60068         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
60069         numerator after shifting it by one limb.
60071 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
60073         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
60074         under [__USE_EXTERN_INLINES].
60076 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
60078         [BZ #13446]
60079         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
60081 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60083         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
60084         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
60085         optimized code.
60086         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
60087         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
60088         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
60089         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
60090         for strncasecmp/strncasecmp_l compilation.
60091         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
60092         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
60094 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
60096         [BZ #13484]
60097         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
60098         of __asm__.
60100 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
60102         [BZ #13506]
60103         * time/tzfile.c (__tzfile_read): Check values from file header.
60105 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
60107         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
60108         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
60109         * powerpc/powerpc32/dl-start.S: Likewise.
60110         * powerpc/powerpc32/elf/start.S: Likewise.
60111         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
60112         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
60113         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
60114         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
60115         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
60116         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
60117         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
60118         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
60119         * powerpc/powerpc32/fpu/s_round.S: Likewise.
60120         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
60121         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
60122         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
60123         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
60124         * powerpc/powerpc32/memset.S: Likewise.
60125         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
60126         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
60127         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
60128         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
60129         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
60130         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
60131         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
60132         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
60133         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
60134         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
60135         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
60136         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
60137         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
60139 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60141         * math/libm-test.inc: Added more nearbyint tests.
60142         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
60143         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
60144         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
60145         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
60147 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
60149         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
60150         FD_CLOEXEC.
60152 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60154         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
60155         Add wcscpy-ssse3 wcscpy-c.
60156         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
60157         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
60158         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
60159         * sysdeps/x86_64/wcschr.S: New file.
60160         * sysdeps/x86_64/wcsrchr.S: New file.
60161         * string/test-strcmp.c: Remove checking of wcscmp function for
60162         wrong alignments.
60163         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
60164         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
60165         wcsrchr-sse2 wcsrchr-c.
60166         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
60167         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
60168         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
60169         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
60170         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
60171         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
60172         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
60173         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
60174         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
60175         * wcsmbc/wcschr.c (WCSCHR): New macro.
60177 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60179         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
60180         * wcsmbs/test-wcsrchr.c: New file.
60181         * string/test-strrchr.c: Add wcsrchr support.
60182         (WIDE): New macro.
60183         * wcsmbs/test-wcscpy.c: New file.
60184         * string/test-strcpy.c: Add wcscpy support.
60185         (WIDE): New macro.
60187 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
60189         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
60190         the inner loop.
60192 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
60194         [BZ #13472]
60195         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
60197 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
60199         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
60200         Minor optimizations.
60202         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
60203         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
60204         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
60206 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
60208         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
60209         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
60210         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
60211         for gcc to avoid warnings.
60212         * inet/Makefile (tests): Add tst-checks.
60213         * inet/tst-checks.c: New file.
60215         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
60216         warning.
60218         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
60219         __wmemcmp_sse2.
60221         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
60222         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
60224         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
60226 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
60228         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
60229         problem.
60231         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
60233 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
60235         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
60236         conditional on GCC version.
60237         (__arch_compare_and_exchange_val_8_acq)
60238         (__arch_compare_and_exchange_val_16_acq)
60239         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
60240         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
60241         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
60243 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
60245         * sysdeps/sh/backtrace.c: New file.
60247 2011-12-02  Andreas Schwab  <schwab@redhat.com>
60249         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
60250         parenthesis.
60252 2011-12-01  Andreas Schwab  <schwab@redhat.com>
60254         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
60255         falling back to utime.
60257 2011-11-30  Andreas Schwab  <schwab@redhat.com>
60259         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
60260         expectations for float.
60262 2011-11-29  Andreas Schwab  <schwab@redhat.com>
60264         * locale/weight.h (findidx): Add parameter len.
60265         * locale/weightwc.h (findidx): Likewise.
60266         * posix/fnmatch_loop.c (FCT): Adjust caller.
60267         * posix/regcomp.c (build_equiv_class): Likewise.
60268         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
60269         * posix/regexec.c (check_node_accept_bytes): Likewise.
60270         * string/strcoll_l.c (STRCOLL): Likewise.
60271         * string/strxfrm_l.c (STRXFRM): Likewise.
60273 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
60275         * Makefile.in: Remove CVSOPT handling.
60276         * configure.in: Remove use of AC_REVISION.
60277         * iconvdata/Makefile (distribute): No need to filter out CVS.
60278         * scripts/list-sources.sh: Remove CVS, subversion and monotone
60279         handling.
60281 2011-11-16  Andreas Schwab  <schwab@redhat.com>
60283         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
60284         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
60285         [USE_AS_STRNCASECMP_L]: Likewise.
60286         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
60287         NO_TLS_DIRECT_SEG_REFS.
60288         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
60289         Fix argument offsets for non-PIC.
60290         [USE_AS_STRNCASECMP_L]: Likewise.
60291         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
60292         NO_TLS_DIRECT_SEG_REFS.
60294 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
60296         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
60297         O_CLOEXEC.
60298         * locale/loadlocale.c (_nl_load_locale): Likewise.
60300 2011-11-15  Andreas Schwab  <schwab@redhat.com>
60302         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
60303         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
60304         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
60305         (SYSCALL_GETTIME): Set errno on error.
60307         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
60308         count references to noai6ai_cached.
60310 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
60312         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
60314         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
60315         FD_CLOEXEC for /proc/self/maps.
60317         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
60318         FD_CLOEXEC for /proc/meminfo.
60320         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
60321         gai.conf.
60323         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
60324         FD_CLOEXEC for given file.
60326         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
60328         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
60329         FD_CLOEXEC for /etc/hosts.
60330         (_gethtent): Likewise.
60332         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
60334         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
60335         cancellation and set FD_CLOEXEC for /etc/netgroup.
60337         * nss/nss_files/files-key.c (search): Don't allow cancellation when
60338         reading /etc/publickey.
60340         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
60341         allow cancellation when reading /etc/group.
60343         * nss/nss_files/files-alias.c (internal_setent): Don't allow
60344         cancellation.
60345         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
60347         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
60348         when using data file.
60350         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
60352         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
60353         (write_nis_obj): Use "c" and "e" in fopen.
60355         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
60357         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
60359         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
60361         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
60363         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
60364         locale.alias.
60366         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
60368         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
60370         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
60372         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
60373         file parsing and set FD_CLOEXEC.
60375 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
60377         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
60379 2011-11-14  Andreas Schwab  <schwab@redhat.com>
60381         * malloc/arena.c (arena_get2): Don't call reused_arena when
60382         _int_new_arena failed.
60384 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
60386         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
60387         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
60388         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
60389         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
60390         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
60391         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
60392         to compile strcasecmp and strncasecmp.
60393         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
60394         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
60396         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
60398 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
60400         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
60401         locale-defines.sym to gen-as-const-headers.
60402         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
60403         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
60404         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
60405         to compile strcasecmp and strncasecmp.
60406         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
60407         strcasecmp_l and strncasecmp_l.
60408         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
60409         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
60410         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
60411         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
60412         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
60413         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
60414         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
60415         * sysdeps/i386/i686/multiarch/strncase.S: New file.
60416         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
60417         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
60418         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
60420 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
60422         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
60423         result of SYSDEP_GETTIME_CPU to retval.
60424         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
60425         parameter list to macro.  Remove trailing semicolon.  Adjust users.
60427         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
60428         variable.
60430         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
60431         mantissa words.
60432         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
60434         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
60435         from unused variable.
60437         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
60438         DWARF definitions.
60439         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
60440         for assembling.
60442         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
60443         over namespaces.
60445         * sunrpc/rpc_prot.c (rejected): Fix case value.
60447         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
60448         unsigned long long int to avoid warnings in shift.
60450         * posix/regex_internal.c (re_string_reconstruct): Actually use result
60451         of use of trans.
60452         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
60453         variable tmp.
60455         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
60456         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
60457         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
60459         * nis/nis_table.c (nis_list): Use variable of correct type for
60460         result of __follow_path call.
60462 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60464         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
60465         of math functions ceil, trunc, floor, round, and sqrt, when
60466         avaliable on the platform.
60467         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
60468         name clash.
60469         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
60470         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
60471         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
60473 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
60475         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
60476         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
60478 2011-11-11  Roland McGrath  <roland@hack.frob.com>
60480         * include/unistd.h: Fix __readlink return type.
60481         Reported by Chris Metcalf <cmetcalf@tilera.com>.
60483 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
60485         * stdlib/ucontext.h: Undo last change for makecontext.
60487 2011-11-11  Andreas Schwab  <schwab@redhat.com>
60489         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
60491         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
60492         * setjmp/setjmp.h: Mark functions as non-leaf.
60493         * setjmp/bits/setjmp2.h: Likewise.
60494         * stdlib/ucontext.h: Likewise.
60496 2011-11-10  Andreas Schwab  <schwab@redhat.com>
60498         * malloc/arena.c (_int_new_arena): Don't increment narenas.
60499         (reused_arena): Don't check arena limit.
60500         (arena_get2): Atomically check arena limit.
60502 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
60504         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
60505         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
60507         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
60508         instructions.
60510 2011-11-07  Andreas Schwab  <schwab@redhat.com>
60512         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
60513         handler when locking.
60515         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
60516         Fix size of allocated buffer.
60518 2011-11-04  Andreas Schwab  <schwab@redhat.com>
60520         [BZ #10103]
60521         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
60522         declarations for long double functions.
60523         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
60525         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
60527 2011-11-03  Andreas Schwab  <schwab@redhat.com>
60529         * nscd/nscd.c (main): Don't start AVC thread until credentials are
60530         installed.
60532         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
60533         is disabled.
60535 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60537         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
60539 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
60541         * include/alloca.h (stackinfo_alloca_round): Define.
60542         (extend_alloca): Use it.
60543         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
60544         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
60545         here.
60547         * scripts/check-local-headers.sh: Ignore libaudit.h.
60549         * nscd/Makefile (extra-objs): Make recursively expanded.
60551 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
60553         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
60554         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
60556         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
60557         * posix/tst-rfc3484-2.c: Likewise.
60558         * posix/tst-rfc3484-3.c: Likewise.
60560         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
60561         process_vm_writev.
60562         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
60563         process_vm_writev.
60564         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
60565         process_vm_writev from libc using GLIBC_2.15 version.
60567         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
60569 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
60571         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
60572         stack usage.
60574 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
60576         [BZ #13367]
60577         * nss/getent.c (initgroups_keys): Show error message in case no group
60578         names are given.
60580         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
60581         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
60582         __bump_nl_timestamp.
60583         * nscd/connections (nscd_init): When host database is served open
60584         netlink socket and request notification about configuration changes.
60585         (main_loop_poll): Track netlink file descriptor and bump timestamp
60586         in case data becomes available.
60587         (main_loop_epoll): Likewise.
60588         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
60589         (database_pers_head): Add extra_data fileds.
60590         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
60591         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
60592         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
60593         Adjust caller.
60594         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
60595         in6ai data, call __free_in6ai.
60596         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
60597         Add -DHAVE_NETLINK.
60598         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
60599         interface information.  Reuse previous data if netlink timestamp
60600         is not changed.
60601         (__bump_nl_timestamp): New function.
60602         (__free_in6ai): New function.
60604 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
60606         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
60607         close_not_cancel_no_status here.
60608         (__check_pf): Reorganize code a bit to not call close twice if OOM.
60610 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
60612         [BZ #13276]
60613         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
60614         return value.
60616         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
60617         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
60618         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
60620 2011-07-03  Andreas Jaeger  <aj@suse.de>
60622         [BZ #10709]
60623         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
60624         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
60625         * math/libm-test.inc (sin_test): Add test case.
60627 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
60629         [BZ #13337]
60630         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
60631         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
60633         * elf/chroot_canon.c (chroot_canon): Cleanups.
60635         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
60637         [BZ #13335]
60638         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
60639         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
60641         * string/test-strchr.c: Make usable for strchrnul testing.
60642         * string/test-strchrnul.c: New file.
60643         * string/Makefile (strop-tests): Add strchrnul.
60645         * po/it.po: Update from translation team.
60646         * po/es.po: Likewise.
60648 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
60650         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
60651         the three constants needed as parameters.  Drop the others.
60652         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
60653         __m128i_strloadu_tolower.
60654         Create and initialize variable zero and use it in all the places
60655         where _mm_setzero_si128 was used.
60657         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
60658         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
60659         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
60660         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
60661         anymore.
60662         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
60663         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
60664         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
60665         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
60666         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
60667         __mpranred, __mptan.
60668         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
60669         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
60670         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
60671         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
60672         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
60673         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
60674         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
60675         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
60676         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
60678 2011-10-28  Andreas Schwab  <schwab@redhat.com>
60680         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
60681         redefine if SHARED.
60682         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
60684         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
60685         wide char related routines to wcsmbs subdir.
60687 2011-10-27  Andreas Schwab  <schwab@redhat.com>
60689         [BZ #13344]
60690         * misc/sys/cdefs.h (__THROWNL): Define.
60691         * posix/unistd.h: Use __THREADNL instead of __THREAD
60692         for memory synchronization functions.
60694 2011-10-26  Roland McGrath  <roland@hack.frob.com>
60696         [BZ #13349]
60697         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
60698         doesn't exist.
60699         * manual/stdio.texi (Obstack Streams): Node removed.
60701 2011-10-26  Andreas Schwab  <schwab@redhat.com>
60703         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
60704         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
60705         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
60707         * math/math_private.h (math_force_eval): Allow non-addressable
60708         arguments.
60709         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
60711 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
60713         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
60714         file is not needed.
60716         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
60717         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
60718         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
60719         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
60720         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
60721         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
60722         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
60723         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
60724         Add AVX variants.
60725         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
60726         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
60727         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
60728         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
60729         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
60730         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
60731         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
60732         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
60733         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
60734         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
60735         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
60736         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
60737         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
60738         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
60739         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
60740         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
60741         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
60742         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
60743         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
60745         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
60746         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
60748         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
60749         place.  Use VEX encoding when compiling for AVX.
60751 2011-10-25  Andreas Schwab  <schwab@redhat.com>
60753         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
60754         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
60756         * string/test-strchr.c (do_test): Don't generate NUL bytes.
60758 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
60760         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
60761         useless if() expression.
60762         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
60763         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
60764         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
60765         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
60766         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
60767         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
60768         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
60769         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
60770         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
60771         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
60772         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
60773         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
60774         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
60775         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
60776         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
60777         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
60778         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
60779         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
60780         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
60782         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
60784 2011-10-25  Andreas Schwab  <schwab@redhat.com>
60786         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
60787         condition.
60788         * elf/dl-fini.c (_dl_sort_fini): Likewise.
60790 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
60792         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
60793         .text section.  Avoid duplicate constants.
60794         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
60795         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
60796         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
60797         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
60798         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
60799         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
60800         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
60801         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
60802         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
60803         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
60804         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
60805         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
60806         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
60807         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
60808         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
60809         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
60810         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
60811         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
60812         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
60813         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
60814         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
60815         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
60816         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
60817         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
60818         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
60819         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
60820         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
60821         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
60822         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
60823         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
60824         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
60825         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
60826         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
60827         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
60828         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
60829         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
60830         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
60831         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
60832         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
60833         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
60834         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
60835         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
60836         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
60837         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
60838         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
60840 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
60842         * sysdeps/x86_64/dla.h: Move to ...
60843         * sysdeps/x86_64/fpu/dla.h: ...here.
60844         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
60845         situations.  Use __builtin_fma only for gcc 4.6 and up.
60847         * config.make.in: Add have-mfma4 entry.
60848         * configure.in: Substitute libc_cv_cc_fma4.
60849         * math/Makefile (dbl-only-routines): Add sincostab.
60850         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
60851         Use __sincostab not sincos.
60852         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
60853         name is a macro.
60854         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
60855         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
60856         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
60857         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
60858         using __copysign.
60859         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
60860         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
60861         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
60862         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
60863         and __inv.
60864         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
60865         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
60866         __copysign.
60867         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
60868         define aliases when function name is a macro.
60869         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
60870         sysdeps/ieee754/dbl-64/sincos.tbl.
60871         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
60872         fma4-enabled routines.
60873         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
60874         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
60875         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
60876         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
60877         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
60878         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
60879         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
60880         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
60881         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
60882         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
60883         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
60884         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
60885         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
60886         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
60887         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
60888         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
60889         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
60890         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
60891         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
60892         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
60893         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
60894         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
60895         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
60896         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
60897         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
60898         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
60899         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
60900         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
60901         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
60902         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
60904         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
60905         rename.
60906         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
60907         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
60908         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
60909         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
60910         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
60911         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
60912         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
60913         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
60915 2011-10-24  Andreas Schwab  <schwab@redhat.com>
60917         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
60919 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
60921         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
60923         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
60924         prediction.
60925         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
60927         * string/strnlen.c: Don't define STRNLEN, reverse logic.
60928         Remove unused variable magic_bits.
60929         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
60931         * string/strnlen.c: Define and use STRNLEN macro.
60932         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
60933         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
60934         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
60935         * wcsmbs/wcslen.c: Define and use WCSLEN.
60936         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
60937         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
60938         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
60939         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
60940         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
60941         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
60942         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
60944 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60946         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60947         strnlen-sse2-no-bsf.
60948         Rename strlen-no-bsf to strlen-sse2-no-bsf.
60949         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
60950         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
60951         Add strnlen support.
60952         (USE_AS_STRNLEN): New macro.
60953         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
60954         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
60955         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
60956         * sysdeps/x86_64/wcslen.S: New file.
60958 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
60960         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
60961         XMM-moves are used for copying on small sizes.
60963 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60965         * wcsmbs/Makefile (strop-tests): Add wcschr.
60966         * wcsmbs/test-wcschr.c: New file.
60967         * string/test-strchr.c: Update.
60968         Add wcschr support.
60969         (WIDE): New macro.
60971 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60973         * wcsmbs/Makefile (strop-tests): Add wcslen.
60974         * wcsmbs/test-wcslen.c: New file.
60975         * string/test-strlen.c: Update.
60976         Add wcslen support.
60977         (WIDE): New macro.
60979 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
60981         * po/it.po: Update from translation team.
60983 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60985         * sysdeps/x86_64/wcscmp.S: Update.
60986         Fix wrong comparison semantics.
60987         wcscmp shall use signed comparison not unsigned.
60988         Don't use substraction to avoid overflow bug.
60989         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
60990         * wcsmbc/wcscmp.c: Likewise.
60991         * string/test-strcmp.c: Likewise.
60992         Add new tests to check cases with negative values.
60994 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
60996         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
60997         * sysdeps/x86_64/dla.h: ...here.  New file.
60998         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
60999         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
61000         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
61001         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
61002         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
61003         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
61004         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
61005         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
61006         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
61008 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
61010         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
61011         __ynl_finite aliases.
61013 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
61015         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61017         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
61018         define DLA_FMA.
61019         [DLA_FMA] (EMULV): Use DLA_FMA.
61020         [DLA_FMA] (MUL12): Use EMULV.
61021         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
61022         that are not needed.
61023         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
61024         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
61025         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
61026         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
61027         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
61028         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
61029         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
61031 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
61033         * math/s_nan.c: Undef __nan.
61034         * math/s_nanf.c: Undef __nanf.
61035         * math/s_nanl.c: Undef __nanl.
61036         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
61037         "math_private.h".
61039 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
61041         * math/s_catan.c: Add branch predictions.
61042         * math/s_catanf.c: Likewise.
61043         * math/s_catanh.c: Likewise.
61044         * math/s_catanhf.c: Likewise.
61045         * math/s_catanhl.c: Likewise.
61046         * math/s_catanl.c: Likewise.
61047         * math/s_cexp.c: Likewise.
61048         * math/s_cexpf.c: Likewise.
61049         * math/s_cexpl.c: Likewise.
61050         * math/s_clog.c: Likewise.
61051         * math/s_clog10.c: Likewise.
61052         * math/s_clog10f.c: Likewise.
61053         * math/s_clog10l.c: Likewise.
61054         * math/s_clogf.c: Likewise.
61055         * math/s_clogl.c: Likewise.
61056         * math/s_csqrt.c: Likewise.
61057         * math/s_csqrtf.c: Likewise.
61058         * math/s_csqrtl.c: Likewise.
61059         * math/s_ctanf.c: Likewise.
61060         * math/s_ctanh.c: Likewise.
61061         * math/s_ctanhf.c: Likewise.
61062         * math/s_ctanhl.c: Likewise.
61063         * math/s_ctanl.c: Likewise.
61065         * math/math_private.h: Define __nan, __nanf, __nanl.
61066         * math/s_cacosh.c: Include <math_private.h>.
61067         * math/s_cacoshl.c: Likewise.
61068         * math/s_casinh.c: Likewise.
61069         * math/s_casinhf.c: Likewise.
61070         * math/s_casinhl.c: Likewise.
61071         * math/s_ccos.c: Rely entire on ccosh.
61072         * math/s_ccosf.c: Rely entire on ccoshf.
61073         * math/s_ccosl.c: Rely entirely on ccoshl.
61074         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
61075         Remove tests for FE_INVALID.
61076         * math/s_ccoshf.c: Likewise.
61077         * math/s_ccoshl.c: Likewise.
61078         * math/s_csin.c: Likewise.
61079         * math/s_csinf.c: Likewise.
61080         * math/s_csinh.c Likewise.
61081         * math/s_csinhf.c: Likewise.
61082         * math/s_csinhl.c: Likewise.
61083         * math/s_csinl.c: Likewise.
61084         * math/s_ctan.c: Likewise.
61085         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
61086         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
61087         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
61089 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
61091         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
61092         compilation problems.
61094         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
61095         __builtin_expect.
61097 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
61099         * sysdeps/i386/configure.in: Test for -mfma4 option.
61100         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
61101         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
61102         COMMON_CPUID_INDEX_80000001.
61103         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
61104         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
61105         use it if FMA3 is not supported.
61106         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
61108         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
61109         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
61111 2011-10-20  Andreas Schwab  <schwab@redhat.com>
61113         [BZ #12892]
61114         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
61115         it would create a cycle with a link time dependency.
61117 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
61119         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
61120         instruction.
61121         * string/Makefile (strop-tests): Add rawmemchr.
61122         * string/test-rawmemchr.c: New file.
61124         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
61125         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
61126         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
61127         when compiling str{,n}casecmp and when AVX is available.  Hook up
61128         new optimized code in initializers.
61130 2011-10-19  Andreas Schwab  <schwab@redhat.com>
61132         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
61133         __feraiseexcept instead of feraiseexcept.
61135 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
61137         * math/math_private.h: Define defaults for libc_fetestexcept and
61138         libc_feupdateenv.
61139         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
61140         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
61141         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
61142         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
61143         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
61144         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
61145         libc_fetestexcept and libc_feupdateenv.
61147         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
61148         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
61149         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
61150         * sysdeps/x86_64/fpu/math_private.h: Define special version of
61151         libc_feholdexcept_setround.
61153         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
61154         Add s_nearbyint-c and s_nearbyintf-c.
61155         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
61156         nearbyintf inlines.
61157         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
61158         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
61159         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
61160         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
61162         * math/math_private.h: Define defaults for libc_fegetround,
61163         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
61164         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
61165         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
61166         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
61167         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
61168         standard functions.
61169         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
61170         Remove comments and hacks for old compiler versions.
61171         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
61172         libc_fegetround, libc_fesetround, libc_feholdexcept, and
61173         libc_feholdexceptl.
61175 2011-10-18  Andreas Schwab  <schwab@redhat.com>
61177         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
61178         (__feraiseexcept_renamed): Add __NTH.
61179         (feraiseexcept): Add __NTH.  Rename local variables to fix
61180         namespace violations.
61182 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
61184         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
61186         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
61188         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
61189         recently added interfaces.
61190         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
61192         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
61193         about macro parameter expansion.
61195         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
61196         __NO_MATH_INLINES is defined.  Cleanups.
61198         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
61199         and __floorf is target has SSE4.1.
61200         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
61201         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
61202         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
61203         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
61205         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
61206         name.
61207         (floorf): Likewise.
61209         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
61211 2011-10-17  Andreas Schwab  <schwab@redhat.com>
61213         * misc/sys/cdefs.h: Fix last change.
61215         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
61216         database lookup.
61218 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
61220         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
61222         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
61223         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
61224         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
61225         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
61226         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
61227         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
61228         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
61229         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
61230         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
61231         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
61232         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
61233         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
61234         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
61235         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
61236         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
61237         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
61238         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
61239         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
61240         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
61241         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
61242         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
61243         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
61245         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
61246         ceil, ceilf, floor, floorf.
61248         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
61249         Perform IRELATIVE relocations last.
61251         * elf/do-rel.h: Add another parameter nrelative, replacing the
61252         local variable with the same name.  Change name of the function
61253         to end in Rel or Rela (uppercase).
61254         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
61255         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
61256         elf_dynamic_do_##reloc function.
61258 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
61260         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
61261         is sufficient, at least on modern CPUs.
61263         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
61265         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
61266         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
61268         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
61269         __expl_finite.
61270         * math/bits/math-finite.h: Add entries for exp.
61271         * math/e_expl.c: Add __*_finite alias.
61272         * sysdeps/i386/fpu/e_exp.S: Likewise.
61273         * sysdeps/i386/fpu/e_expf.S: Likewise.
61274         * sysdeps/i386/fpu/e_expl.c: Likewise.
61275         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
61276         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
61277         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
61278         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
61279         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
61280         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
61281         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
61283         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
61284         is sufficient, at least on modern CPUs.
61286         * ctype/ctype-info.c (__ctype_init): Define.
61287         * include/ctype.h (__ctype_init): Declare.
61288         (__ctype_b_loc): The variable is always initialized.
61289         (__ctype_toupper_loc): Likewise.
61290         (__ctype_tolower_loc): Likewise.
61291         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
61292         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
61294 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
61296         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
61298         * configure.in: Also look in $cxxmachine/include for C++ system
61299         headers.
61301 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61303         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
61304         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
61305         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
61306         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
61307         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
61308         (USE_AS_WMEMCMP): New macro.
61309         Fixing indents.
61310         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
61311         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
61312         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
61313         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
61314         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61315         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
61316         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
61317         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
61318         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
61319         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
61320         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
61321         (USE_AS_WMEMCMP): New macro.
61322         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
61323         * sysdeps/string/test-memcmp.c: Update.
61324         Fix simple_wmemcmp.
61325         Add new tests.
61326         * wcsmbs/wmemcmp.c: Update.
61327         (WMEMCMP): New macro.
61328         Fix overflow bug.
61330 2011-10-12  Andreas Jaeger  <aj@suse.de>
61332         [BZ #13268]
61333         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
61335 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
61337         * libio/iofwide.c (do_length): Avoid warning.
61339         * ctype/ctype.h (__isctype_f): Add missing __THROW.
61341 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
61343         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
61345         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
61346         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
61347         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
61348         * sysdeps/i386/i686/fpu/e_log.S: New file.
61349         * sysdeps/i386/i686/fpu/e_logf.S: New file.
61350         * sysdeps/i386/i686/fpu/e_logl.S: New file.
61352         * ctype/ctype.h: Add support for inlined isXXX functions when
61353         compiling C++ code.
61355 2011-10-14  Andreas Schwab  <schwab@redhat.com>
61357         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
61359         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
61361 2011-10-13  Roland McGrath  <roland@hack.frob.com>
61363         [BZ #13291]
61364         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
61366 2011-10-13  Andreas Schwab  <schwab@redhat.com>
61368         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
61369         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
61370         feraiseexcept.
61372         * sysdeps/x86_64/memrchr.S: Check for zero size.
61374         * string/stratcliff.c: Add memrchr tests.
61376 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61378         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61379         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
61380         rawmemchr-sse2 rawmemchr-sse2-bsf.
61381         * sysdeps/i386/i686/multiarch/memchr.S: New file.
61382         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
61383         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
61384         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
61385         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
61386         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
61387         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
61388         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
61389         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
61390         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
61391         * string/memrchr.c (MEMRCHR): New macro.
61393 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
61395         Add integration with gcc's -ffinite-math-only and optimize wrapper
61396         functions in libm.
61397         * Versions.def: Define GLIBC_2.15 version for libm.
61398         * math/Makefile (headers): Add bits/math-finite.h.
61399         * math/bits/math-finite.h: New file.
61400         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
61401         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
61402         * math/e_acoshl.c: Add __*_finite alias.
61403         * math/e_acosl.c: Likewise.
61404         * math/e_asinl.c: Likewise.
61405         * math/e_atan2l.c: Likewise.
61406         * math/e_atanhl.c: Likewise.
61407         * math/e_coshl.c: Likewise.
61408         * math/e_exp10.c: Likewise.
61409         * math/e_exp10f.c: Likewise.
61410         * math/e_exp10l.c: Likewise.
61411         * math/e_exp2l.c: Likewise.
61412         * math/e_fmodl.c: Likewise.
61413         * math/e_gammal_r.c: Likewise.
61414         * math/e_hypotl.c: Likewise.
61415         * math/e_j0l.c: Likewise.
61416         * math/e_j1l.c: Likewise.
61417         * math/e_jnl.c: Likewise.
61418         * math/e_lgammal_r.c: Likewise.
61419         * math/e_log10l.c: Likewise.
61420         * math/e_log2l.c: Likewise.
61421         * math/e_logl.c: Likewise.
61422         * math/e_powl.c: Likewise.
61423         * math/e_sinhl.c: Likewise.
61424         * math/e_sqrtl.c: Likewise.
61425         * math/e_scalb.c: Completely rewritten and optimized.
61426         * math/e_scalbf.c: Likewise.
61427         * math/e_scalbl.c: Likewise.
61428         * math/w_acos.c: Likewise.
61429         * math/w_acosf.c: Likewise.
61430         * math/w_acosl.c: Likewise.
61431         * math/w_acosh.c: Likewise.
61432         * math/w_acoshf.c: Likewise.
61433         * math/w_acoshl.c: Likewise.
61434         * math/w_asin.c: Likewise.
61435         * math/w_asinf.c: Likewise.
61436         * math/w_asinl.c: Likewise.
61437         * math/w_atan2.c: Likewise.
61438         * math/w_atan2f.c: Likewise.
61439         * math/w_atan2l.c: Likewise.
61440         * math/w_atanh.c: Likewise.
61441         * math/w_atanhf.c: Likewise.
61442         * math/w_atanhl.c: Likewise.
61443         * math/w_exp10.c: Likewise.
61444         * math/w_exp10f.c: Likewise.
61445         * math/w_exp10l.c: Likewise.
61446         * math/w_fmod.c: Likewise.
61447         * math/w_fmodf.c: Likewise.
61448         * math/w_fmodl.c: Likewise.
61449         * math/w_j0.c: Likewise.
61450         * math/w_j0f.c: Likewise.
61451         * math/w_j0l.c: Likewise.
61452         * math/w_j1.c: Likewise.
61453         * math/w_j1f.c: Likewise.
61454         * math/w_j1l.c: Likewise.
61455         * math/w_jn.c: Likewise.
61456         * math/w_jnf.c: Likewise.
61457         * math/w_log.c: Likewise.
61458         * math/w_logf.c: Likewise.
61459         * math/w_logl.c: Likewise.
61460         * math/w_log10.c: Likewise.
61461         * math/w_log10f.c: Likewise.
61462         * math/w_log10l.c: Likewise.
61463         * math/w_log2.c: Likewise.
61464         * math/w_log2f.c: Likewise.
61465         * math/w_log2l.c: Likewise.
61466         * math/w_pow.c: Likewise.
61467         * math/w_powf.c: Likewise.
61468         * math/w_powl.c: Likewise.
61469         * math/w_remainder.c: Likewise.
61470         * math/w_remainderf.c: Likewise.
61471         * math/w_remainderl.c: Likewise.
61472         * math/w_scalb.c: Likewise.
61473         * math/w_scalbf.c: Likewise.
61474         * math/w_scalbl.c: Likewise.
61475         * math/w_sqrt.c: Likewise.
61476         * math/w_sqrtf.c: Likewise.
61477         * math/w_sqrtl.c: Likewise.
61478         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
61479         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
61480         used.
61481         * math/math_private.h: Declare __kernel_standard_f.
61482         * math/w_cosh.c: Remove cruft and optimize a bit.
61483         * math/w_coshf.c: Likewise.
61484         * math/w_coshl.c: Likewise.
61485         * math/w_exp2.c: Likewise.
61486         * math/w_exp2f.c: Likewise.
61487         * math/w_exp2l.c: Likewise.
61488         * math/w_hypot.c: Likewise.
61489         * math/w_hypotf.c: Likewise.
61490         * math/w_hypotl.c: Likewise.
61491         * math/w_lgamma.c: Likewise.
61492         * math/w_lgamma_r.c: Likewise.
61493         * math/w_lgammaf.c: Likewise.
61494         * math/w_lgammaf_r.c: Likewise.
61495         * math/w_lgammal.c: Likewise.
61496         * math/w_lgammal_r.c: Likewise.
61497         * math/w_sinh.c: Likewise.
61498         * math/w_sinhf.c: Likewise.
61499         * math/w_sinhl.c: Likewise.
61500         * math/w_tgamma.c: Likewise.
61501         * math/w_tgammaf.c: Likewise.
61502         * math/w_tgammal.c: Likewise.
61503         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
61504         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
61505         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
61506         Minor optimizations.  Pretty printing.  Remove cruft.
61507         * sysdeps/i386/fpu/e_acosf.S: Likewise.
61508         * sysdeps/i386/fpu/e_acosh.S: Likewise.
61509         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
61510         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
61511         * sysdeps/i386/fpu/e_acosl.c: Likewise.
61512         * sysdeps/i386/fpu/e_asin.S: Likewise.
61513         * sysdeps/i386/fpu/e_asinf.S: Likewise.
61514         * sysdeps/i386/fpu/e_atan2.S: Likewise.
61515         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
61516         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
61517         * sysdeps/i386/fpu/e_atanh.S: Likewise.
61518         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
61519         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
61520         * sysdeps/i386/fpu/e_exp10.S: Likewise.
61521         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
61522         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
61523         * sysdeps/i386/fpu/e_exp2.S: Likewise.
61524         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
61525         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
61526         * sysdeps/i386/fpu/e_fmod.S: Likewise.
61527         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
61528         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
61529         * sysdeps/i386/fpu/e_hypot.S: Likewise.
61530         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
61531         * sysdeps/i386/fpu/e_log.S: Likewise.
61532         * sysdeps/i386/fpu/e_log10.S: Likewise.
61533         * sysdeps/i386/fpu/e_log10f.S: Likewise.
61534         * sysdeps/i386/fpu/e_log10l.S: Likewise.
61535         * sysdeps/i386/fpu/e_log2.S: Likewise.
61536         * sysdeps/i386/fpu/e_log2f.S: Likewise.
61537         * sysdeps/i386/fpu/e_log2l.S: Likewise.
61538         * sysdeps/i386/fpu/e_logf.S: Likewise.
61539         * sysdeps/i386/fpu/e_logl.S: Likewise.
61540         * sysdeps/i386/fpu/e_pow.S: Likewise.
61541         * sysdeps/i386/fpu/e_powf.S: Likewise.
61542         * sysdeps/i386/fpu/e_powl.S: Likewise.
61543         * sysdeps/i386/fpu/e_remainder.S: Likewise.
61544         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
61545         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
61546         * sysdeps/i386/fpu/e_scalb.S: Likewise.
61547         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
61548         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
61549         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
61550         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
61551         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
61552         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
61553         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
61554         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
61555         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
61556         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
61557         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
61558         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
61559         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
61560         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
61561         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
61562         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
61563         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
61564         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
61565         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
61566         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
61567         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
61568         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
61569         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
61570         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
61571         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
61572         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
61573         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
61574         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
61575         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
61576         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
61577         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
61578         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
61579         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
61580         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
61581         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
61582         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
61583         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
61584         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
61585         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
61586         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
61587         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
61588         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
61589         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
61590         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
61591         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
61592         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
61593         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
61594         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
61595         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
61596         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
61597         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
61598         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
61599         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
61600         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
61601         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
61602         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
61603         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
61604         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
61605         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
61606         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
61607         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
61608         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
61609         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
61610         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
61611         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
61612         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
61613         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
61614         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
61615         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
61616         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
61617         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
61618         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
61619         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
61620         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
61621         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
61622         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
61623         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
61624         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
61625         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
61626         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
61627         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
61628         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
61629         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
61630         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
61631         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
61632         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
61633         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
61634         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
61635         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
61636         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
61637         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
61638         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
61639         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
61640         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
61641         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
61642         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
61643         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
61644         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
61645         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
61646         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
61647         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
61648         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
61649         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
61650         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
61651         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
61652         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
61653         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
61654         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
61655         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
61656         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
61657         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
61658         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
61659         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
61660         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
61661         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
61662         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
61663         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
61664         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
61665         (__isnanf): Likewise.
61666         (__isinf_ns): Likewise.
61667         (__isinf_nsf): Likewise.
61668         (__finite): Likewise.
61669         (__finitef): Likewise.
61670         (__ieee754_sqrt): Define as macro.
61671         (__ieee754_sqrtf): Define as macro.
61672         (__ieee754_sqrtl): Define as macro.
61673         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
61674         inlined copy.
61675         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
61676         __FINITE_MATH_ONLY__ consistent.
61677         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
61679 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
61681         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
61682         of rawmemchr.
61684         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
61686 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
61688         * po/ja.po: Update from translation team.
61690 2011-10-08  Roland McGrath  <roland@hack.frob.com>
61692         * locale/programs/locarchive.c (prepare_address_space): New function.
61693         (create_archive, enlarge_archive, open_archive): Use it.
61695         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
61696         inside [SHARED], where it is used.
61698         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
61700         * nss/getent.c (netgroup_keys): Remove unused variable.
61701         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
61703 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
61705         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
61706         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
61707         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
61708         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
61709         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
61710         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
61711         * math/Makefile (libm-calls): Add s_isinf_ns.
61712         * math/divtc3.c: Use __isinf_nsl instead of isinf.
61713         * math/multc3.c: Likewise.
61714         * math/s_casin.c: Likewise.
61715         * math/s_casinf.c: Likewise.
61716         * math/s_casinl.c: Likewise.
61717         * math/s_ccos.c: Likewise.
61718         * math/s_ccosf.c: Likewise.
61719         * math/s_ccosl.c: Likewise.
61720         * math/s_ctan.c: Likewise.
61721         * math/s_ctanf.c: Likewise.
61722         * math/s_ctanh.c: Likewise.
61723         * math/s_ctanhf.c: Likewise.
61724         * math/s_ctanhl.c: Likewise.
61725         * math/s_ctanl.c: Likewise.
61726         * math/w_fmod.c: Likewise.
61727         * math/w_fmodf.c: Likewise.
61728         * math/w_fmodl.c: Likewise.
61729         * math/w_remainder.c: Likewise.
61730         * math/w_remainderf.c: Likewise.
61731         * math/w_remainderl.c: Likewise.
61732         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
61733         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
61734         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
61735         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
61736         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
61737         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
61738         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
61739         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
61741         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
61742         of the number.
61743         * stdio-common/printf_fphex.c: Likewise.
61744         * stdio-common/printf_size.c: Likewise.
61746         * math/e_exp10.c: Include math_private.h using <...> not "...".
61747         * math/e_exp10f.c: Likewise.
61748         * math/e_exp10l.c: Likewise.
61749         * math/e_exp2l.c: Likewise.
61750         * math/e_j0l.c: Likewise.
61751         * math/e_j1l.c: Likewise.
61752         * math/e_jnl.c: Likewise.
61753         * math/e_lgammal_r.c: Likewise.
61754         * math/e_rem_pio2l.c: Likewise.
61755         * math/e_scalb.c: Likewise.
61756         * math/e_scalbf.c: Likewise.
61757         * math/e_scalbl.c: Likewise.
61758         * math/k_cosl.c: Likewise.
61759         * math/k_sinl.c: Likewise.
61760         * math/k_tanl.c: Likewise.
61761         * math/s_cacoshf.c: Likewise.
61762         * math/s_catan.c: Likewise.
61763         * math/s_catanf.c: Likewise.
61764         * math/s_catanh.c: Likewise.
61765         * math/s_catanhf.c: Likewise.
61766         * math/s_catanhl.c: Likewise.
61767         * math/s_catanl.c: Likewise.
61768         * math/s_ccosh.c: Likewise.
61769         * math/s_ccoshf.c: Likewise.
61770         * math/s_ccoshl.c: Likewise.
61771         * math/s_cexp.c: Likewise.
61772         * math/s_cexpf.c: Likewise.
61773         * math/s_cexpl.c: Likewise.
61774         * math/s_clog.c: Likewise.
61775         * math/s_clog10.c: Likewise.
61776         * math/s_clog10f.c: Likewise.
61777         * math/s_clog10l.c: Likewise.
61778         * math/s_clogf.c: Likewise.
61779         * math/s_clogl.c: Likewise.
61780         * math/s_csin.c: Likewise.
61781         * math/s_csinf.c: Likewise.
61782         * math/s_csinh.c: Likewise.
61783         * math/s_csinhf.c: Likewise.
61784         * math/s_csinhl.c: Likewise.
61785         * math/s_csinl.c: Likewise.
61786         * math/s_csqrt.c: Likewise.
61787         * math/s_csqrtf.c: Likewise.
61788         * math/s_csqrtl.c: Likewise.
61789         * math/s_ctan.c: Likewise.
61790         * math/s_ctanf.c: Likewise.
61791         * math/s_ctanh.c: Likewise.
61792         * math/s_ctanhf.c: Likewise.
61793         * math/s_ctanhl.c: Likewise.
61794         * math/s_ctanl.c: Likewise.
61795         * math/s_ldexp.c: Likewise.
61796         * math/s_ldexpf.c: Likewise.
61797         * math/s_ldexpl.c: Likewise.
61798         * math/s_significand.c: Likewise.
61799         * math/s_significandf.c: Likewise.
61800         * math/s_significandl.c: Likewise.
61801         * math/w_acos.c: Likewise.
61802         * math/w_acosf.c: Likewise.
61803         * math/w_acosh.c: Likewise.
61804         * math/w_acoshf.c: Likewise.
61805         * math/w_acoshl.c: Likewise.
61806         * math/w_acosl.c: Likewise.
61807         * math/w_asin.c: Likewise.
61808         * math/w_asinf.c: Likewise.
61809         * math/w_asinl.c: Likewise.
61810         * math/w_atan2.c: Likewise.
61811         * math/w_atan2f.c: Likewise.
61812         * math/w_atan2l.c: Likewise.
61813         * math/w_atanh.c: Likewise.
61814         * math/w_atanhf.c: Likewise.
61815         * math/w_atanhl.c: Likewise.
61816         * math/w_cosh.c: Likewise.
61817         * math/w_coshf.c: Likewise.
61818         * math/w_coshl.c: Likewise.
61819         * math/w_dremf.c: Likewise.
61820         * math/w_exp10.c: Likewise.
61821         * math/w_exp10f.c: Likewise.
61822         * math/w_exp10l.c: Likewise.
61823         * math/w_exp2.c: Likewise.
61824         * math/w_exp2f.c: Likewise.
61825         * math/w_fmod.c: Likewise.
61826         * math/w_fmodf.c: Likewise.
61827         * math/w_fmodl.c: Likewise.
61828         * math/w_hypot.c: Likewise.
61829         * math/w_hypotf.c: Likewise.
61830         * math/w_hypotl.c: Likewise.
61831         * math/w_j0.c: Likewise.
61832         * math/w_j0f.c: Likewise.
61833         * math/w_j0l.c: Likewise.
61834         * math/w_j1.c: Likewise.
61835         * math/w_j1f.c: Likewise.
61836         * math/w_j1l.c: Likewise.
61837         * math/w_jn.c: Likewise.
61838         * math/w_jnf.c: Likewise.
61839         * math/w_jnl.c: Likewise.
61840         * math/w_lgamma.c: Likewise.
61841         * math/w_lgamma_r.c: Likewise.
61842         * math/w_lgammaf.c: Likewise.
61843         * math/w_lgammaf_r.c: Likewise.
61844         * math/w_lgammal.c: Likewise.
61845         * math/w_lgammal_r.c: Likewise.
61846         * math/w_log.c: Likewise.
61847         * math/w_log10.c: Likewise.
61848         * math/w_log10f.c: Likewise.
61849         * math/w_log10l.c: Likewise.
61850         * math/w_log2.c: Likewise.
61851         * math/w_log2f.c: Likewise.
61852         * math/w_log2l.c: Likewise.
61853         * math/w_logf.c: Likewise.
61854         * math/w_logl.c: Likewise.
61855         * math/w_pow.c: Likewise.
61856         * math/w_powf.c: Likewise.
61857         * math/w_powl.c: Likewise.
61858         * math/w_remainder.c: Likewise.
61859         * math/w_remainderf.c: Likewise.
61860         * math/w_remainderl.c: Likewise.
61861         * math/w_scalb.c: Likewise.
61862         * math/w_scalbf.c: Likewise.
61863         * math/w_scalbl.c: Likewise.
61864         * math/w_sinh.c: Likewise.
61865         * math/w_sinhf.c: Likewise.
61866         * math/w_sinhl.c: Likewise.
61867         * math/w_sqrt.c: Likewise.
61868         * math/w_sqrtf.c: Likewise.
61869         * math/w_sqrtl.c: Likewise.
61870         * math/w_tgamma.c: Likewise.
61871         * math/w_tgammaf.c: Likewise.
61872         * math/w_tgammal.c: Likewise.
61874         * po/ja.po: Update from translation team.
61876 2011-09-29  Andreas Jaeger  <aj@suse.de>
61878         [BZ #13179]
61879         * sunrpc/netname.c (netname2host): Fix logic.
61881         [BZ #6779]
61882         [BZ #6783]
61883         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
61884         correctly.
61885         * math/w_remainder.c (__remainder): Likewise.
61886         * math/w_remainderf.c (__remainderf): Likewise.
61887         * math/libm-test.inc (remainder_test): Add test cases.
61889 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61891         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
61892         sdiv_qrnnd.
61894 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
61896         * string/test-memcmp.c: Avoid unncessary #defines.
61897         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
61899 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61901         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
61902         Use new sse2 version for core i3 - i7 as it's faster
61903         than sse42 version.
61904         (bit_Prefer_PMINUB_for_stringop): New.
61905         * sysdeps/x86_64/rawmemchr.S: Update.
61906         Replace with faster SSE2 version.
61907         * sysdeps/x86_64/memrchr.S: New file.
61908         * sysdeps/x86_64/memchr.S: Update.
61909         Replace with faster SSE2 version.
61911 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
61913         * elf/dl-load.c (lose): Add cast to avoid warning.
61915 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
61917         * po/ca.po: Update from translation team.
61919         * inet/getnetgrent_r.c: Hook up nscd.
61920         * nscd/Makefile (routines): Add nscd_netgroup.
61921         (nscd-modules): Add netgroupcache.
61922         (CFLAGS-netgroupcache.c): Define.
61923         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
61924         (cache_search): Add const to second parameter.
61925         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
61926         INNETGR.
61927         (dbs): Add netgrdb entry.
61928         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
61929         (verify_persistent_db): Handle netgrdb.
61930         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
61931         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
61932         GETFDNETGR.
61933         (netgroup_response_header): Define.
61934         (innetgroup_response_header): Define.
61935         (datahead): Add netgroup_response_header and innetgroup_response_header
61936         elements.
61937         * nscd/nscd.conf: Add entries for netgroup cache.
61938         * nscd/nscd.h (dbtype): Add netgrdb.
61939         (_PATH_NSCD_NETGROUP_DB): Define.
61940         (netgroup_iov_disabled): Declare.
61941         (xmalloc, xcalloc, xrealloc): Move declarations here.
61942         (cache_search): Adjust prototype.
61943         Add netgroup-related prototypes.
61944         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
61945         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
61946         (__nscd_innetgr): Declare.
61947         * nscd/selinux.c (perms): Use access_vector_t as element type and
61948         add netgroup-related initializers.
61949         * nscd/netgroupcache.c: New file.
61950         * nscd/nscd_netgroup.c: New file.
61951         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
61952         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
61953         For four parameters use innetgr.
61954         * nss/nss_files/files-init.c: Add definition and callback for netgr.
61955         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
61956         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
61957         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
61959         * nscd/connections.c (register_traced_file): Don't register file
61960         for disabled databases.
61962 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
61964         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
61966         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
61967         from tree and freeing node.
61969 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
61971         * nss/nsswitch.c (__nss_database_lookup): Handle
61972         nss_parse_service_list out of memory case.
61974 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
61976         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
61977         out of memory case.
61979 2011-10-04  Andreas Schwab  <schwab@redhat.com>
61981         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
61982         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
61983         pass it down.
61984         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
61985         elf_machine_rela, elf_machine_lazy_rel.
61986         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
61987         (ELF_DYNAMIC_DO_REL): Likewise.
61988         (ELF_DYNAMIC_DO_RELA): Likewise.
61989         (ELF_DYNAMIC_RELOCATE): Likewise.
61990         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
61991         to ELF_DYNAMIC_DO_REL.
61992         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
61993         (dl_main): In trace mode always set __RTLD_NOIFUNC.
61994         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
61995         elf_machine_rela.
61996         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
61997         skip_ifunc, don't call ifunc function if non-zero.
61998         (elf_machine_rela): Likewise.
61999         (elf_machine_lazy_rel): Likewise.
62000         (elf_machine_lazy_rela): Likewise.
62001         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
62002         (elf_machine_lazy_rel): Likewise.
62003         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
62004         Likewise.
62005         (elf_machine_lazy_rel): Likewise.
62006         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
62007         Likewise.
62008         (elf_machine_lazy_rel): Likewise.
62009         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
62010         (elf_machine_lazy_rel): Likewise.
62011         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
62012         (elf_machine_lazy_rel): Likewise.
62013         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
62014         (elf_machine_lazy_rel): Likewise.
62015         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
62016         (elf_machine_lazy_rel): Likewise.
62017         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
62018         (elf_machine_lazy_rel): Likewise.
62019         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
62020         (elf_machine_lazy_rel): Likewise.
62022 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
62024         * nss/nss_files/files-init.c (_nss_files_init): Use static
62025         initialization for all the *_traced_file variables.
62027 2011-09-28  Andreas Schwab  <schwab@redhat.com>
62029         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
62031 2011-09-27  Roland McGrath  <roland@hack.frob.com>
62033         [BZ #13226]
62034         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
62036 2011-09-27  Andreas Schwab  <schwab@redhat.com>
62038         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
62039         Reread the line before reparsing it.
62041 2011-09-26  Andreas Schwab  <schwab@redhat.com>
62043         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
62045 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
62046             Maxim Kuvyrkov  <maxim@codesourcery.com>
62047             Joseph Myers  <joseph@codesourcery.com>
62049         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
62050         if needed for __stack_chk_guard.
62052 2011-09-19  Roland McGrath  <roland@hack.frob.com>
62054         * sysdeps/posix/spawni.c (script_execute): Always define it.
62055         It will be optimized away if unused.
62056         (maybe_script_execute): New function.
62057         (__spawni): Call it.
62059         * Makerules: Don't include tls.make.
62060         (config-tls): Always set to thread.
62061         * tls.make.c: File removed.
62063 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
62065         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
62066         * config.make.in (CPPFLAGS-config): New substituted variable.
62068 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
62070         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
62072         [BZ #13192]
62073         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
62074         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
62076 2011-09-15  Roland McGrath  <roland@hack.frob.com>
62078         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
62079         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
62080         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
62081         (CALL_FAIL): Likewise.
62082         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
62083         (CALL_FAIL): Macro removed.
62084         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
62086 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
62088         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
62089         for __FINITE_MATH_ONLY__ == 1.
62091 2011-09-15  Andreas Schwab  <schwab@redhat.com>
62093         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
62094         __ieee754_sqrt instead of sqrt.
62095         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
62096         __ieee754_sqrtf instead of sqrtf.
62097         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
62098         __floorf instead of floorf.
62099         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
62100         __floorf, __truncf instead of floorf, truncf.
62102 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
62104         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
62106         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
62107         __extern_always_inline.
62108         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
62109         32-bit.
62111 2011-09-14  Andreas Schwab  <schwab@redhat.com>
62113         * elf/rtld.c (dl_main): Also relocate in dependency order when
62114         doing symbol dependency testing.
62116 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
62118         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
62119         Always define `refsym'.
62121 2011-09-13  Andreas Schwab  <schwab@redhat.com>
62123         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
62124         (__FD_ELT): Renamed from __FDELT.
62125         * misc/bits/select2.h (__FD_ELT): Likewise.
62126         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
62127         __FD_MASK instead of __FDELT, __FDMASK.
62128         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
62129         Likewise.
62130         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
62131         Likewise.
62133         * elf/Makefile (gen-ldd): Fix pattern.
62135         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
62136         (init_tls): Likewise.
62138 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
62140         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
62142 2011-09-12  Andreas Schwab  <schwab@redhat.com>
62144         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
62145         `struct cmsghdr *' instead of `void *'.
62146         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
62147         Likewise.
62149 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
62151         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
62152         if non-absolute.
62153         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
62154         ldd_rewrite_script.
62156 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
62158         * configure.in: Remove --with-tls option.
62159         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
62160         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
62161         out in case it is missing.
62162         * sysdeps/ia64/elf/configure.in: Likewise.
62163         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
62164         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
62165         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
62166         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
62167         * sysdeps/sh/elf/configure.in: Likewise.
62168         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
62169         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
62170         * sysdeps/x86_64/elf/configure.in: Likewise.
62171         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
62172         * sysdeps/mach/hurd/tls.h: Likewise.
62174         [BZ #13067]
62175         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
62177         [BZ #13090]
62178         * configure.in: Fix use of AC_INIT.
62180         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
62182 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
62184         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
62185         __set_errno.
62186         * malloc/hooks.c: Likewise.
62188         [BZ #11929]
62189         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
62190         variables statically.
62191         (narenas): Initialize.
62192         (list_lock): Initialize.
62193         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
62194         initializtion of main_arena and list_lock.  Small cleanups.
62195         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
62196         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
62197         Add initializers to main_arena and mp_.
62198         (malloc_state): Remove pagesize member.  Change all users to use
62199         GLRO(dl_pagesize).
62201         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
62202         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
62203         is always initialized.
62205         * malloc/malloc.c: Removed unused configurations and dead code.
62206         * malloc/arena.c: Likewise.
62207         * malloc/hooks.c: Likewise.
62208         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
62210         * include/tls.h: Removed.  USE___THREAD must always be defined.
62211         * bits/libc-tsd.h: Don't handle !USE___THREAD.
62212         * elf/dl-libc.c: Likewise.
62213         * elf/dl-tsd.c: Likewise.
62214         * include/errno.h: Likewise.
62215         * include/netdb.h: Likewise.
62216         * include/resolv.h: Likewise.
62217         * inet/herrno-loc.c: Likewise.
62218         * inet/herrno.c: Likewise.
62219         * malloc/arena.c: Likewise.
62220         * malloc/hooks.c: Likewise.
62221         * malloc/malloc.c: Likewise.
62222         * resolv/res-state.c: Likewise.
62223         * resolv/res_libc.c: Likewise.
62224         * sysdeps/i386/dl-machine.h: Likewise.
62225         * sysdeps/ia64/dl-machine.h: Likewise.
62226         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
62227         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
62228         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
62229         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
62230         * sysdeps/sh/dl-machine.h: Likewise.
62231         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
62232         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
62233         * sysdeps/unix/i386/sysdep.S: Likewise.
62234         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
62235         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
62236         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
62237         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
62238         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
62239         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
62240         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
62241         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
62242         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
62243         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
62244         * sysdeps/unix/x86_64/sysdep.S: Likewise.
62245         * sysdeps/x86_64/dl-machine.h: Likewise.
62246         * tls.make.c: Likewise.
62248         * configure.in: Remove --with-__thread option.  Make tests for
62249         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
62250         tls_model attribute fail if no support is available.  Remove
62251         USE_IN_LIBIO.
62252         * Makeconfig: Adjust for dropped configure option.  All features are
62253         now mandatory.
62254         * Makerules: Likewise.
62255         * Versions.def: Likewise.
62256         * argp/argp-fmtstream.c: Likewise.
62257         * argp/argp-fmtstream.h: Likewise.
62258         * argp/argp-help.c: Likewise.
62259         * assert/assert.c: Likewise.
62260         * config.h.in: Likewise.
62261         * config.make.in: Likewise.
62262         * configure: Likewise.
62263         * configure.in: Likewise.
62264         * csu/Versions: Likewise.
62265         * csu/init.c: Likewise.
62266         * elf/tst-audit2.c: Likewise.
62267         * elf/tst-tls10.c: Likewise.
62268         * elf/tst-tls10.h: Likewise.
62269         * elf/tst-tls11.c: Likewise.
62270         * elf/tst-tls12.c: Likewise.
62271         * elf/tst-tls14.c: Likewise.
62272         * elf/tst-tlsmod11.c: Likewise.
62273         * elf/tst-tlsmod12.c: Likewise.
62274         * elf/tst-tlsmod13.c: Likewise.
62275         * elf/tst-tlsmod13a.c: Likewise.
62276         * elf/tst-tlsmod14a.c: Likewise.
62277         * elf/tst-tlsmod15b.c: Likewise.
62278         * elf/tst-tlsmod16a.c: Likewise.
62279         * elf/tst-tlsmod16b.c: Likewise.
62280         * elf/tst-tlsmod7.c: Likewise.
62281         * elf/tst-tlsmod8.c: Likewise.
62282         * elf/tst-tlsmod9.c: Likewise.
62283         * gmon/gmon.c: Likewise.
62284         * grp/fgetgrent_r.c: Likewise.
62285         * grp/putgrent.c: Likewise.
62286         * hurd/fopenport.c: Likewise.
62287         * include/libc-symbols.h: Likewise.
62288         * include/tls.h: Likewise.
62289         * intl/gettextP.h: Likewise.
62290         * intl/loadinfo.h: Likewise.
62291         * locale/global-locale.c: Likewise.
62292         * locale/localeinfo.h: Likewise.
62293         * mach/devstream.c: Likewise.
62294         * malloc/arena.c: Likewise.
62295         * malloc/set-freeres.c: Likewise.
62296         * misc/err.c: Likewise.
62297         * misc/getttyent.c: Likewise.
62298         * misc/mntent_r.c: Likewise.
62299         * posix/getopt.c: Likewise.
62300         * posix/wordexp.c: Likewise.
62301         * pwd/fgetpwent_r.c: Likewise.
62302         * resolv/Versions: Likewise.
62303         * resolv/res_hconf.c: Likewise.
62304         * shadow/fgetspent_r.c: Likewise.
62305         * shadow/putspent.c: Likewise.
62306         * stdio-common/printf_fphex.c: Likewise.
62307         * stdio-common/tmpfile.c: Likewise.
62308         * stdlib/abort.c: Likewise.
62309         * stdlib/fmtmsg.c: Likewise.
62310         * sunrpc/auth_unix.c: Likewise.
62311         * sunrpc/clnt_perr.c: Likewise.
62312         * sunrpc/clnt_tcp.c: Likewise.
62313         * sunrpc/clnt_udp.c: Likewise.
62314         * sunrpc/clnt_unix.c: Likewise.
62315         * sunrpc/openchild.c: Likewise.
62316         * sunrpc/svc_simple.c: Likewise.
62317         * sunrpc/svc_tcp.c: Likewise.
62318         * sunrpc/svc_udp.c: Likewise.
62319         * sunrpc/svc_unix.c: Likewise.
62320         * sunrpc/xdr.c: Likewise.
62321         * sunrpc/xdr_array.c: Likewise.
62322         * sunrpc/xdr_rec.c: Likewise.
62323         * sunrpc/xdr_ref.c: Likewise.
62324         * sunrpc/xdr_stdio.c: Likewise.
62326 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
62328         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
62330 2011-07-03  Andreas Jaeger  <aj@suse.de>
62332         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
62333         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
62334         regenerate with gen-libm-tests.pl.
62336 2010-05-12  Petr Baudis  <pasky@suse.cz>
62338         [BZ #11589]
62339         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
62340         around j0() zero points by switching to j1().
62341         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
62342         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
62343         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
62344         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
62346 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
62348         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
62349         instead of 0.
62350         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
62351         instead of 0.
62352         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
62353         Patch in part by Pavel Roskin <proski@gnu.org>.
62355         [BZ #13138]
62356         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
62357         realloc.
62358         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
62359         Free memory block if necessary.
62361         [BZ #12847]
62362         * libio/genops.c (INTDEF): For string streams the _lock pointer can
62363         be NULL.  Don't lock in this case.
62365 2011-09-09  Roland McGrath  <roland@hack.frob.com>
62367         * elf/elf.h (ELFOSABI_GNU): New macro.
62368         (ELFOSABI_LINUX): Define to that.
62370 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
62372         * string/strncat.c (strncat): Undef the symbol in case it has been
62373         defined in bits/string.h.
62375 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
62377         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
62379         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
62380         link map.
62382 2011-08-17  Andreas Jaeger  <aj@suse.de>
62384         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
62386 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
62387             Ian Lance Taylor  <iant@google.com>
62389         * math/libm-test.inc (lround_test): New testcase.
62390         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
62392 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
62394         * Makefile: Remove support for automatic cvs check-ins.
62395         * Makerules: Likewise.
62396         * config.make.in: Likewise.
62397         * configure.in: Likewise.
62398         * intl/Makefile: Likewise.
62399         * locale/Makefile: Likewise.
62400         * po/Makefile: Likewise.
62401         * posix/Makefile: Likewise.
62402         * sysdeps/gnu/Makefile: Likewise.
62403         * sysdeps/mach/hurd/Makefile: Likewise.
62404         * sysdeps/sparc/sparc32/Makefile: Likewise.
62406         [BZ #13118]
62407         * posix/Makefile (bug-regex32-ENV): Define.
62408         Patch by John Stanley <jpsinthemix@verizon.net>.
62410         * misc/Makefile (headers): Add bits/select2.h.
62411         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
62412         * misc/bits/select2.h: New file.
62413         * include/bits/select2.h: New file.
62414         * debug/Makefile (routines): Add fdelt_chk.
62415         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
62416         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
62417         FD_ISSET.
62418         * debug/fdelt_chk.c: New file.
62420         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
62421         * wcsmbs/test-wmemcmp.c: Likewise.
62422         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
62423         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
62425 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62427         * string/Makefile (strop-tests): Add memcmp.
62428         * string/test-wmemcmp.c: New file.
62429         * string/test-memcmp.c: Add wmemcmp support.
62431 2011-09-08  Roland McGrath  <roland@hack.frob.com>
62433         [BZ #13153]
62434         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
62435         2011-07-19 change.
62437         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
62438         garbage value in a __mach_port_mod_refs call in the cases of the
62439         task-self and thread-self ports.
62441 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62443         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
62445 2011-09-08  Andreas Schwab  <schwab@redhat.com>
62447         * elf/dl-load.c (lose): Check for non-null L.
62449 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
62451         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
62453         * elf/dl-libc.c (dlerror_run): Pass back error code from
62454         dl_catch_error.
62456         [BZ #13123]
62457         * elf/dl-load.c (lose): Free l_origin if it is valid.
62459         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
62460         names.
62461         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
62462         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
62463         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
62464         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
62465         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
62466         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
62468 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62470         * sysdeps/powerpc/fpu/e_hypot.c: New file.
62471         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
62472         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
62473         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
62474         * sysdeps/powerpc/fpu/k_cosf.c: New file.
62475         * sysdeps/powerpc/fpu/k_sinf.c: New file.
62476         * sysdeps/powerpc/fpu/s_cosf.c: New file.
62477         * sysdeps/powerpc/fpu/s_sinf.c: New file.
62478         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
62479         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
62481 2011-08-15  Alan Modra  <amodra@gmail.com>
62483         [BZ #13092]
62484         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
62485         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
62486         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
62487         ppc_mcount to static-only-routines.
62488         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
62489         __mcount_internal.
62490         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
62491         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
62493 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
62495         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
62496         for finite and infinity parameters.
62498 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
62500         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
62501         and add nop instructions for throughput optimization.
62502         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
62504 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
62506         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
62507         aligned copy for power7 with vector-scalar instructions.
62508         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
62510 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
62512         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
62513         AVX check.
62515 2011-09-07  Andreas Schwab  <schwab@redhat.com>
62517         [BZ #13144]
62518         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
62519         last change.
62521 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
62523         * sysdeps/unix/sysv/linux/x86_64/init-first.c
62524         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
62525         syscall wrapper around clock_gettime in __vdso_clock_gettime.
62526         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
62527         clock_gettime.
62529 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
62531         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
62532         Forgot to demangle the pointer.
62534         * sysdeps/i386/sysdep.h: Define atom_text_section.
62535         * sysdeps/x86_64/sysdep.h: Likewise.
62536         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
62537         section with atom_text_section.
62538         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
62539         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
62540         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
62541         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
62542         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
62544         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
62545         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
62546         already be defined.  Change to take two parameters and don't assign
62547         result to variable.  Adjust all users.
62548         Define INTERNAL_GETTIME if not already defined.
62549         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
62550         call.
62551         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
62552         HAVE_CLOCK_GETTIME_VSYSCALL.
62553         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
62555         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
62556         gettimeofday vsyscall, just use time.
62558 2011-09-06  Andreas Schwab  <schwab@redhat.com>
62560         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
62561         <errno.h>.
62563 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
62565         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
62566         syscall on x86-64.
62567         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
62568         syscall.
62569         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
62570         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
62571         syscall if possible.
62573 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
62575         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
62576         e_ident.  Don't pass to find_mapsXX.
62577         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
62579 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
62581         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
62582         strchr-sse2-no-bsf strrchr-sse2-no-bsf
62583         * sysdeps/x86_64/multiarch/strchr.S: Update.
62584         Check bit_slow_BSF bit.
62585         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
62586         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
62587         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
62589 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
62591         [BZ #13134]
62592         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
62593         before glibc 2.15.
62594         (tryshell): Define.
62595         (__spawni): Change last parameter to be flag.  Test
62596         SPAWN_XFLAGS_USE_PATH flag to use path or not.
62597         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
62598         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
62599         * posix/spawni.c: Likewise.
62600         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
62601         * posix/spawnp.c: Likewise.  Change normal version to use
62602         SPAWN_XFLAGS_USE_PATH.
62603         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
62604         SPAWN_XFLAGS_TRY_SHELL.
62606         [BZ #13150]
62607         * posix/glob.h: Remove gcc 1.x support.
62609         [BZ #13068]
62610         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
62612 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
62614         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
62615         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
62616         strrchr-sse2-bsf
62617         * sysdeps/i386/i686/multiarch/strchr.S: New file.
62618         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
62619         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
62620         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
62621         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
62622         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
62624 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62626         * sysdeps/x86_64/wcscmp.S: New file.
62628         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
62629         wcscmp-c wcscmp-sse2
62630         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
62631         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
62632         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
62633         * wcsmbs/wcscmp.c: Allow renaming.
62635 2011-09-05  David S. Miller  <davem@davemloft.net>
62637         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
62638         stack slot, rather than the struct return pointer slot.
62639         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
62640         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
62641         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
62642         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
62644 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
62646         * po/ja.po: Update from translation team.
62648         [BZ #13144]
62649         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
62650         kernel in 64-bit binaries.
62652 2011-09-01  David S. Miller  <davem@davemloft.net>
62654         * elf/elf.h (HWCAP_SPARC_*): Move to..
62655         * sysdeps/sparc/sysdep.h: this new file and add new values.
62656         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
62657         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
62658         _DL_HWCAP_COUNT to 24.
62659         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
62660         entries.
62661         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
62662         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
62663         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
62664         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
62665         instead of magic constants.
62666         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
62668 2011-08-31  David S. Miller  <davem@davemloft.net>
62670         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
62671         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
62672         Reimplement to do errno handling inline.
62673         (SYSCALL_ERROR_HANDLER): New macro.
62674         (__SYSCALL_STRING): Do not do errno handling in asm.
62675         (__CLONE_SYSCALL_STRING): Delete.
62676         (__INTERNAL_SYSCALL_STRING): Delete.
62677         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
62678         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
62679         (PSEUDO): Reimplement to do errno handling inline.
62680         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
62681         (SYSCALL_ERROR_HANDLER): New macro.
62682         (__SYSCALL_STRING): Do not do errno handling in asm.
62683         (__CLONE_SYSCALL_STRING): Delete.
62684         (__INTERNAL_SYSCALL_STRING): Delete.
62685         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
62686         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
62687         i386.
62688         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
62689         (inline_syscall*): Add 'err' argument.
62690         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
62691         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
62692         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
62693         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
62695         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
62696         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
62698 2011-08-30  Andreas Schwab  <schwab@redhat.com>
62700         * elf/rtld.c (dl_main): Relocate objects in dependency order.
62702 2011-08-29  Jiri Olsa <jolsa@redhat.com>
62704         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
62705         directive.
62707 2011-08-24  David S. Miller  <davem@davemloft.net>
62709         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
62711 2011-08-24  Andreas Schwab  <schwab@redhat.com>
62713         * elf/Makefile: Add rules to build and run unload8 test.
62714         * elf/unload8.c: New file.
62715         * elf/unload8mod1.c: New file.
62716         * elf/unload8mod1x.c: New file.
62717         * elf/unload8mod2.c: New file.
62718         * elf/unload8mod3.c: New file.
62720         * elf/dl-close.c (_dl_close_worker): Reset private search list if
62721         it wasn't used.
62723 2011-08-23  David S. Miller  <davem@davemloft.net>
62725         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
62726         subtract stack bias.
62727         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
62728         %sp not %fp in calculations.
62729         (_JMPBUF_UNWINDS_ADJ): Likewise.
62731         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
62732         (aio_suspend): Call it to force an exception region around the
62733         AIO_MISC_WAIT() invocation.
62735 2011-08-23  Andreas Schwab  <schwab@redhat.com>
62737         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
62738         backslash.
62740 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
62742         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
62743         protection macro.
62744         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
62745         and <dl-machine.h>.
62746         (Elf64_FuncDesc): Remove.
62748 2011-08-22  David S. Miller  <davem@davemloft.net>
62750         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
62751         sigaltstack check, add missing cfi directives.
62752         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
62753         missing cfi directives, and sigaltstack handling.
62755 2011-08-16  Andreas Schwab  <schwab@redhat.com>
62757         [BZ #11724]
62758         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
62759         object is seen twice.
62760         * elf/dl-fini.c (_dl_sort_fini): Likewise.
62762         * elf/Makefile (distribute): Add tst-initorder2.c.
62763         (tests): Add tst-initorder2.
62764         (modules-names): Add tst-initorder2a tst-initorder2b
62765         tst-initorder2c tst-initorder2d.  Add rules to build them.
62766         ($(objpfx)tst-initorder2.out): New rule.
62767         * elf/tst-initorder2.c: New file.
62768         * elf/tst-initorder2.exp: New file.
62770 2011-08-22  Andreas Schwab  <schwab@redhat.com>
62772         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
62774         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
62775         dependencies back to end of function.
62777         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
62778         $(elfobjdir)/ld.so.
62780 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
62782         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
62783         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
62784         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
62785         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
62786         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
62787         of __vdso_gettimeofday.
62788         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
62789         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
62790         attribute_hidden.
62791         (_libc_vdso_platform_setup): Remove initialization of
62792         __vdso_gettimeofday and __vdso_time.
62794 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
62796         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
62797         and fgetc_unlocked.
62798         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
62799         getc_unlocked.
62801         * elf/dl-open.c (add_to_global): Report additions to the global scope
62802         for LD_DEBUG=scopes.
62803         (dl_open_worker): Also print scope of newly loaded dependencies.
62804         (_dl_show_scope): Indicate if there is no scope.
62806         [BZ #13114]
62807         * stdio-common/Makefile (tests): Add bug24.
62808         * stdio-common/bug24.c: New file.
62810 2011-08-19  Andreas Jaeger  <aj@suse.de>
62812         [BZ #13114]
62813         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
62814         non-existant file when using close-on-exec mode.
62816 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
62818         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
62819         the very first instruction.
62821         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
62822         the CFI state in the end.
62823         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
62824         inclusion of dl-trampoline.h.
62825         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
62827 2011-08-19  Andreas Schwab  <schwab@redhat.com>
62829         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
62830         expectations for long double.
62832         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
62833         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
62835 2011-08-14  David S. Miller  <davem@davemloft.net>
62837         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
62838         artificual limit depends upon the system page size.
62840 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
62842         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
62843         * resolv/Makefile: Define CFLAGS-libresolv.
62845 2011-08-17  Andreas Schwab  <schwab@redhat.com>
62847         * nss/makedb.c (compute_tables): Make variables used in nested
62848         function static.
62850 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
62852         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
62853         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
62854         if buffer was too small.
62856         * elf/pldd.c (main): Attach to all threads in the process.
62857         Rewrite /proc handling to use *at functions.
62859 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
62861         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
62862         specifies first scope to show.
62863         (dl_open_worker): Update callers.  Move printing scope of new
62864         object to before the relocation.
62865         * elf/rtld.c (dl_main): Update _dl_show_scope call.
62866         * sysdeps/generic/ldsodefs.h: Update declaration.
62868         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
62869         string for the scope number.
62871 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
62873         * nscd/servicescache.c (cache_addserv): Make sure written is always
62874         initialized.
62876 2011-08-14  Roland McGrath  <roland@hack.frob.com>
62878         * sysdeps/i386/i486/bits/atomic.h
62879         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
62880         statement expression, so as to suppress "set but not used" warning.
62881         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
62883         * string/strncat.c (STRNCAT): Use prototype definition.
62885         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
62886         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
62887         -Iprograms here.
62888         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
62889         (localedef-modules): Add localedef.
62890         (locale-modules): Add locale.
62892         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
62893         * elf/rtld.c (dl_main): Invert order of assignment in last change,
62894         to avoid a warning.
62896 2011-08-14  David S. Miller  <davem@davemloft.net>
62898         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
62899         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
62901 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
62903         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
62904         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
62905         * elf/rtld.c (dl_main): Set l_name of vDSO.
62906         Call _dl_show_scope when DL_DEBUG_SCOPES.
62907         (process_dl_debug): Recognize scopes flag and also set it for all.
62908         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
62909         Declare _dl_show_scope.
62911         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
62912         (do_dlopen): Pass caller_dlopen to dl_open.
62913         (__libc_dlopen_mode): Initialize caller_dlopen.
62915         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
62916         of libc.  Make tolower call locale-independent.  Optimize a bit by
62917         using isdigit instead of isalnum.
62918         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
62920 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
62922         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
62923         was a dependency or dynamically loaded.
62925 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
62927         * intl/l10nflist.c: Allow architecture-specific pop function.
62928         * sysdeps/x86_64/l10nflist.c: New file.
62930         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
62931         classification.
62933 2011-08-10  Andreas Schwab  <schwab@redhat.com>
62935         * include/dirent.h: Add libc_hidden_proto for scandirat and
62936         scandirat64.  Don't declare __scandirat64.
62937         * dirent/scandirat.c: Add libc_hidden_def.
62938         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
62939         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
62941 2011-08-10  David S. Miller  <davem@davemloft.net>
62943         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
62944         enum.
62945         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
62946         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
62947         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
62949 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
62951         * Versions.def [libc]: Add GLIBC_2.15.
62952         * dirent/Makefile (routines): Add scandirat and scandirat64.
62953         * dirent/Versions [libc]: Export scandirat and scandirat64 for
62954         GLIBC_2.15.
62955         * dirent/dirent.h: Declare scandirat and scandirat64.
62956         * dirent/scandirat.c: New file.
62957         * dirent/scandirat64.c: New file.
62958         * sysdeps/wordsize-64/scandirat.c: New file.
62959         * sysdeps/wordsize-64/scandirat64.c: New file.
62960         * dirent/opendir.c: Define opendirat.
62961         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
62962         using scandirat.
62963         * dirent/scandir64.c: Adjust for scandir.c change.
62964         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
62965         __scandirat64, and __scandir_cancel_handler.
62966         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
62967         additional parameter and use openat instead of open (outside of ld.so).
62968         Add new __opendir as wrapper around __opendirat.
62969         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
62970         here without requiring old scandirat implementation.
62972 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
62974         * dirent/scandir.c (cancel_handler): Renamed to
62975         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
62976         defined.  Adjust users.
62977         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
62978         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
62980 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
62982         * string/test-string.h (IMPL): Use __STRING to expand name and then
62983         stringify it.
62985         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
62986         of cleanups.
62988 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62990         * string/Makefile: Update.
62991         (strop-tests): Append strncat.
62992         * string/test-wcscmp.c: New file.
62993         New comprehensive test for wcscmp.
62994         * string/test-strcmp.c: Update.
62995         (WIDE): New define.
62997 2011-07-22  Andreas Schwab  <schwab@redhat.com>
62999         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
63000         line.
63002 2011-07-26  Andreas Schwab  <schwab@redhat.com>
63004         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
63005         encoding to ACE if AI_IDN.
63007 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
63009         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
63010         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
63012 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
63014         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
63015         Fix overflow bug in strncat.
63016         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
63018         * string/test-strncat.c: Update.
63019         Add new tests for checking overflow bugs.
63021 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
63023         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
63024         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
63025         * sysdeps/i386/i686/multiarch/strcat.S: New file.
63026         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
63027         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
63028         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
63029         * sysdeps/i386/i686/multiarch/strncat.S: New file.
63030         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
63031         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
63033         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
63034         (USE_AS_STRCAT): Define.
63035         Add strcat and strncat support.
63036         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
63038 2011-07-25  Andreas Schwab  <schwab@redhat.com>
63040         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
63041         __n bigger than INT_MAX+1.
63042         (__strncmp_g): Likewise.
63044 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
63046         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
63047         * libio/stido.h: Likewise.
63049         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
63050         (AF_NFC): Define.
63051         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
63052         (AF_NFC): Define.
63054         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
63055         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
63056         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
63057         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
63058         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
63060         [BZ #13021]
63061         * scripts/test-installation.pl: Don't expect libnss_test1 to be
63062         installed.
63064         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
63065         typo.
63066         (_dl_x86_64_save_sse): Likewise.
63068 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
63070         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
63071         OSXSAVE.
63072         (_dl_x86_64_save_sse): Likewise.
63074         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
63076         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
63078 2011-07-21  Andreas Schwab  <schwab@redhat.com>
63080         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
63081         change.
63082         (_dl_x86_64_save_sse): Use correct AVX check.
63084 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63086         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
63087         bug in strncpy/strncat.
63088         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
63090 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
63092         * string/tester.c (test_strcat): Add tests for different alignments
63093         of source and destination.
63094         (test_strncat): Likewise.
63096 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
63098         [BZ #12852]
63099         * posix/glob.c (glob): Check passed in values before using them in
63100         expressions to avoid some overflows.
63101         (glob_in_dir): Likewise.
63103         [BZ #13007]
63104         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
63105         check for AVX enablement so that we don't crash with old kernels and
63106         new hardware.
63107         * elf/tst-audit4.c: Add same checks here.
63108         * elf/tst-audit6.c: Likewise.
63110         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
63112 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
63114         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
63116 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
63118         * po/cs.po: Update from translation team.
63119         * po/bg.po: Likewise.
63121 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
63123         * misc/sys/cdefs.h: Add support for const attribute.
63124         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
63125         to gnu_dev_{major,minor,makedev} functions.
63127 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
63129         * intl/dcigettext.c (get_output_charset): Add missing bracket.
63131 2011-07-20  Andreas Schwab  <schwab@redhat.com>
63133         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
63134         strlen results.
63136 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63138         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
63139         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
63140         register in order to avoid conflicts with the soft frame pointer
63141         being held in r11 when necessary.
63142         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
63143         (INTERNAL_VSYSCALL_NCS): Likewise.
63145 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
63147         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
63148         * elf/dl-fini.c (_dl_fini): Adjust caller.
63149         * elf/dl-close.c (_dl_close_worker): Likewise.
63150         * sysdeps/generic/ldsodefs.h: Adjust declaration.
63152 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
63154         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
63155         "aux_cache->nlibs < 0".
63157         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
63158         in the reload-count case.
63160 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
63162         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
63163         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
63164         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
63165         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
63166         * sysdeps/x86_64/multiarch/strcat.S: New file.
63167         * sysdeps/x86_64/multiarch/strncat.S: New file.
63168         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
63169         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
63170         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
63171         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
63172         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
63173         (USE_AS_STRCAT): Define.
63174         Add strcat and strncat support.
63175         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
63176         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
63177         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
63178         * string/strncat.c: Update.
63179         (USE_AS_STRNCAT): Define.
63180         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63181         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
63182         and i7.
63183         * sysdeps/x86_64/multiarch/init-arch.h
63184         (bit_Prefer_PMINUB_for_stringop): New.
63185         (index_Prefer_PMINUB_for_stringop): Likewise.
63186         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
63187         bit_Prefer_PMINUB_for_stringop.
63189 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
63191         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
63192         buffer64.
63193         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
63194         of casting of buffer.
63195         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
63196         buffer32 and buffer64.
63197         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
63198         writes instead of casting of buffer.
63199         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
63200         buffer32.
63201         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
63202         casting of buffer.
63204 2011-07-19  Andreas Schwab  <schwab@redhat.com>
63206         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
63208 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
63210         * nscd/nscd.c (termination_handler): Don't do anything for a database
63211         if it has not yet been initialized.
63213 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
63215         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
63217 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
63219         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
63221 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
63223         * po/nl.po: Update from translation team.
63224         * po/sv.po: Likewise.
63226 2011-07-16  Roland McGrath  <roland@hack.frob.com>
63228         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
63229         now disallowed by GCC.
63231         * configure.in (use-default-link): Default to yes if a test -shared
63232         link meets our qualifications.
63233         * configure: Regenerated.
63235         * config.make.in (output-format): New variable.
63236         * configure.in: Check for ld --print-output-format support.
63237         * configure: Regenerated.
63238         * Makerules ($(common-objpfx)format.lds)
63239         [$(output-format) != unknown]: Just use $(output-format),
63240         instead of the linker-script munging.
63242 2011-07-14  Roland McGrath  <roland@hack.frob.com>
63244         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
63245         of $(common-objpfx)shlib.lds.
63246         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
63248         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
63249         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
63251         * configure.in (-z relro check): Adjust test code to add a large
63252         writable data section after it.
63253         * configure: Regenerated.
63255 2011-07-11  Roland McGrath  <roland@hack.frob.com>
63257         * configure.in (-z relro check): Fix test code to make the variable
63258         truly const.
63259         * configure: Regenerated.
63261 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
63263         * nscd/nscd.h (struct traced_file): Define.
63264         (struct database_dyn): Remove inotify_descr, reset_res, and filename
63265         elements.  Add traced_files.
63266         (inotify_fd): Declare.
63267         (register_traced_file): Declare.
63268         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
63269         (inotify_fd): Export.
63270         (resolv_conf_descr): Remove.
63271         (nscd_init): Move inotify descriptor creation to main.
63272         Don't register files for notification here.
63273         (register_traced_file): New function.
63274         (invalidate_cache): Don't use reset_res to determine whether to call
63275         res_init, go through the list of registered files.
63276         (main_loop_poll): The inotify descriptors are now stored in the
63277         structures for the traced files.
63278         (main_loop_epoll): Likewise
63279         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
63280         to __nss_disable_nscd.
63281         * nscd/cache.c (prune_cache): There is no single inotify descriptor
63282         for a database anymore.  Check the records for all the registered
63283         files instead.
63284         * nss/Makefile (libnss_files-routines): Add files-init.
63285         (libnss_db-routines): Add db-init.
63286         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
63287         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
63288         * nss/nss_db/db-init.c: New file.
63289         * nss/nss_files/files-init.c: New file.
63290         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
63291         __nss_lookup_function.
63292         (__nss_lookup_function): Call nss_load_library.
63293         (nss_load_all_libraries): New function.
63294         (__nss_disable_nscd): Take parameter with callback function for files
63295         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
63296         used for the cached services.
63297         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
63298         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
63299         options for features to all the files in nscd.
63301         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
63303 2011-07-10  Roland McGrath  <roland@hack.frob.com>
63305         * csu/elf-init.c (__libc_csu_init): Comment typo.
63307 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
63309         * po/pl.po: Update from translation team.
63310         * po/ja.po: Likewise.
63311         * po/ru.po: Likewise.
63312         * po/ko.po: Likewise.
63313         * po/fr.po: Likewise.
63315 2011-07-09  Roland McGrath  <roland@hack.frob.com>
63317         * configure.in (.ctors/.dtors header and trailer check):
63318         Use an empirical test on a built program.
63319         * configure: Regenerated.
63321         * configure.in (-z relro check): Use an empirical test on a built DSO.
63322         Detect, but do not require, on ia64.
63323         * configure: Regenerated.
63325         * configure.in (READELF): Find it with AC_CHECK_TOOL.
63326         Update tests that use readelf to use $READELF instead.
63327         * configure: Regenerated.
63329 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
63331         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
63332         if the result is not used.
63334 2011-07-05  Andreas Jaeger  <aj@suse.de>
63336         [BZ#9696]
63337         * stdlib/tst-strtod.c: Add testcase.
63339 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
63341         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
63342         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
63343         The latter has a higher limit.  Take additional parameter to pass to
63344         the new function.
63345         (__pathconf): Pass file to __statfs_link_max.
63346         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
63347         __statfs_link_max.
63348         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
63349         __statfs_link_max.
63351         [BZ #12868]
63352         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
63353         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
63354         Handle Lustre.
63355         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
63356         (__statfs_filesize_max): Likewise.
63357         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
63359 2011-07-05  Andreas Jaeger  <aj@suse.de>
63361         * resolv/res_comp.c (dn_skipname): Remove unused variable.
63363 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
63365         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
63366         `status' variable.
63367         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
63368         Likewise.
63370 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
63372         * Makefile (strop-tests): Add strncat.
63373         * string/test-strncat.c: New file.
63375 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
63377         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
63379 2011-06-21  Andreas Jaeger  <aj@suse.de>
63381         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
63382         Copy rule from iconvdata/Makefile.
63384 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
63386         [BZ #12922]
63387         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
63388         but no long options are defined, just return 'W'.
63390 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
63392         [BZ #9696]
63393         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
63395 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
63397         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
63398         netgroups to read.
63399         (innetgr): Likewise.
63401 2011-07-05  Roland McGrath  <roland@hack.frob.com>
63403         * config.make.in (install_root): Default to $(DESTDIR).
63405 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
63407         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
63409 2011-07-02  Roland McGrath  <roland@hack.frob.com>
63411         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
63413         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
63414         containing directory rather than embedding absolute directory names.
63416         * scripts/check-local-headers.sh: Rewritten using awk.
63417         Match by word, not by line.  Print error messages for matches.
63418         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
63420         * Makerules [shlib-lds-flags empty]:
63421         ($(common-objpfx)libc_pic.opts): New target.
63422         ($(common-objpfx)libc_pic.os.clean): New target.
63423         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
63425         * config.make.in (OBJCOPY): New variable.
63426         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
63427         * configure: Regenerated.
63429         * config.make.in (use-default-link): New variable.
63430         * configure.in (use_default_link): Grok --with-default-link to set it.
63431         * configure: Regenerated.
63432         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
63433         (shlib-lds, shlib-lds-flags): Define to empty.
63435         * Makerules (shlib-lds): New variable.
63436         (shlib-lds-flags): New variable.
63437         (build-shlib, build-moduile, build-module-asneeded): Use it.
63438         ($(common-objpfx)libc.so): Use $(shlib-lds).
63439         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
63440         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
63442         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
63443         DT_FLAGS/DT_FLAGS_1 with zero flags.
63445         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
63446         linker script munging.
63448 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
63450         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
63451         as 128-bit value.
63452         * crypt/sha512.c (sha512_process_block): Perform total addition using
63453         128-bit if possible.
63454         (__sha512_finish_ctx): Likewise.
63455         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
63456         as 64-bit value.
63457         * crypt/sha256.c (SWAP64): Define.
63458         (sha256_process_block): Perform total addition using 64-bit if
63459         possible.
63460         (__sha256_finish_ctx): Likewise.
63462 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
63464         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
63465         * nscd/initgrcache.c (addinitgroupsX): Likewise.
63466         * nscd/hstcache.c (cache_addhst): Likewise.
63467         * nscd/grpcache.c (cache_addgr): Likewise.
63468         * nscd/aicache.c (addhstaiX): Likewise
63469         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
63471 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
63473         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
63474         * nscd/initgrcache.c (addinitgroupsX): Likewise.
63475         * nscd/hstcache.c (cache_addhst): Likewise.
63476         * nscd/grpcache.c (cache_addgr): Likewise.
63477         * nscd/aicache.c (addhstaiX): Likewise
63479 2011-07-01  Andreas Schwab  <schwab@redhat.com>
63481         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
63482         domain only when needed.
63484 2011-06-30  Andreas Schwab  <schwab@redhat.com>
63486         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
63487         is always restored.
63489 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
63491         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
63492         are re-adding the entry.
63493         * nscd/servicescache.c (cache_addserv): Likewise.
63495 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
63497         * sysdeps/generic/dl-irel.h: fix protection against multiple
63498         inclusions.
63499         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
63501 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
63503         [BZ #12935]
63504         * malloc/memusage.sh: Fix quoting in message.
63505         * debug/xtrace.sh: Likewise.
63507         * configure.in: Remove support for --experimental-malloc option, make
63508         it the default.
63509         * config.make.in: Likewise.
63510         * malloc/Makefile: Likewise.
63512 2011-06-27  Andreas Schwab  <schwab@redhat.com>
63514         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
63515         two-byte characters.
63517 2011-06-27  Roland McGrath  <roland@hack.frob.com>
63519         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
63520         AC_CACHE_CHECK invocation.
63521         * configure: Regenerated.
63523         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
63525 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
63527         [BZ #12350]
63528         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
63529         bit from old_res_options.
63531         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
63533         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
63534         value type for setfct.
63536 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
63538         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
63539         __gettimeofday instead of gettimeofday.
63541 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
63543         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
63545 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
63547         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
63549         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
63550         info.
63552 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
63554         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
63555         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
63556         strcpy-sse2-unaligned strncpy-sse2-unaligned
63557         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
63558         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
63559         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
63560         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
63561         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
63562         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
63563         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
63564         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
63565         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
63566         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
63567         (STRCPY): Support SSE2 and SSSE3 versions.
63569 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
63571         [BZ #12874]
63572         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
63573         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
63574         kernels which artificially limit size of requests.
63576 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
63578         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
63579         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
63580         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
63581         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
63582         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
63583         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
63584         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
63585         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
63586         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
63587         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
63588         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
63589         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
63590         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
63591         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
63592         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
63593         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63594         Enable unaligned load optimization for Intel Core i3, i5 and i7
63595         processors.
63596         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
63597         Define.
63598         (index_Fast_Unaligned_Load): Define.
63599         (HAS_FAST_UNALIGNED_LOAD): Define.
63601 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
63603         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
63605 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
63607         [BZ #12907]
63608         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
63609         until it is clear that the information is realy needed.
63610         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
63612 2011-06-22  Andreas Schwab  <schwab@redhat.com>
63614         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
63616 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
63618         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
63619         /sys/devices/system/cpu/online if it is usable.
63621         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
63622         reading the information from the /proc filesystem to once a second.
63624 2011-06-21  Andreas Jaeger  <aj@suse.de>
63626         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
63627         NULL after inclusion of kernel headers.
63629 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
63631         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
63632         calls to internal_setent.
63634         [BZ #12885]
63635         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
63636         addresses using gethostbyname4_r ignore IPv4 addresses.
63638         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
63639         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
63641         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
63643 2011-06-20  David S. Miller  <davem@davemloft.net>
63645         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
63646         inclusions.
63647         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
63649         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
63650         (elf_irel): Use it.
63651         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
63652         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
63653         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
63654         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
63655         * sysdeps/x86_64/dl-irel.h: Likewise.
63657         * elf/dl-runtime.c: Use elf_ifunc_invoke.
63658         * elf/dl-sym.c: Likewise.
63660 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
63662         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
63663         need to dereference resplen2.
63665 2011-06-14  Andreas Schwab  <schwab@redhat.com>
63667         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
63669 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
63671         * Makeconfig: Define vardbdir and inst_vardbdir.
63672         * nss/Makefile: Add rules to install db-Makefile.
63674         * nss/nss_db/db-XXX.c: Cleanup.
63676         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
63677         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
63678         GLIBC_PRIVATE.
63679         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
63680         * nss/makedb.c: Implement -g option to specify that value strings
63681         are generated and should not be added to table iterated over for
63682         get*ent calls.
63683         * nss/nss_db/db-initgroups.c: New file.
63685         * nss/getent.c: Add support for initgroups lookups through getgrouplist
63686         interface.
63688         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
63689         (internal_getgrouplist): Adjust to name change.
63690         Update use_initgroups_entry if this is not the first call.
63691         * nss/databases.def: Add initgroups entry.
63693         * nss/makedb.c (compute_tables): Check result of multiple hash table
63694         sizes to minimize maximum chain length.
63696 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
63698         * Versions.def: Add entry for libnss_db.
63699         * shlib-versions: Likewise.
63700         * nss/Makefile: Add rules to build libnss_db.
63701         * nss/Versions: Add libnss_db information.  Organize libnss_files
63702         entries better.
63703         * nss/db-Makefile: Add gshadow support.  Change rules for the new
63704         makedb progra.  Some minor improvements to generate smaller files.
63705         * nss/nss_db/nss_db.h: Move NSS database header data structures to
63706         here from...
63707         * nss/makedb.c: ...here.
63708         Improve database format to be smaller and require less memory at
63709         runtime.
63710         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
63711         db anymore.
63712         * nss/nss_db/db-netgrp.c: Likewise.
63713         * nss/nss_db/db-open.c: Likewise.
63714         * nss/nss_files/flies-XXX.x: Adjust comments.
63715         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
63716         * nss/nss_files/files-grp.c: Likewise.
63717         * nss/nss_files/files-hosts.c: Likewise.
63718         * nss/nss_files/files-network.c: Likewise.
63719         * nss/nss_files/files-proto.c: Likewise.
63720         * nss/nss_files/files-pwd.c: Likewise.
63721         * nss/nss_files/files-rpc.c: Likewise.
63722         * nss/nss_files/files-service.c: Likewise.
63723         * nss/nss_files/files-sgrp.c: Likewise.
63724         * nss/nss_files/files-spwd.c: Likewise.
63725         * nss/nss_db/db-alias.c: Removed.
63726         * nss/nss_db/dummy-db.h: Removed.
63728 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
63730         * nss/makedb.c: Rewritten to not use database library.
63731         * nss/Makefile: Update to build new makedb program.
63733 2011-06-14  Andreas Jaeger  <aj@suse.de>
63735         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
63736         memset declaration.
63738 2011-06-10  Andreas Schwab  <schwab@redhat.com>
63740         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
63741         tmpbuf.
63743 2011-06-10  Roland McGrath  <roland@hack.frob.com>
63745         * Makerules (shlib.lds): Fail if the linker script comes out empty.
63746         * elf/Makefile ($(objpfx)ld.so): Likewise.
63748         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
63749         Don't list ld.so twice in dependencies.
63751         * posix/bug-regex31.c: Include <stdlib.h>.
63753         * nscd/hstcache.c (cache_addhst): Remove unused variable.
63755         * nis/nss_compat/compat-spwd.c
63756         (getspent_next_nss_netgr): Remove unused variable.
63757         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
63759         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
63760         nonmembers" output to use the right array.
63762         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
63764         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
63766         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
63767         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
63768         * catgets/gencat.c (read_input_file): Likewise.
63769         * locale/programs/locarchive.c (enlarge_archive): Likewise.
63771         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
63772         variable definition inside #if's controlling its use.
63774         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
63776         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
63778         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
63780         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
63781         unreachable code.
63783         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
63785         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
63786         * configure: Regenerated.
63788         * Makerules: Revert last change.
63789         * elf/Makefile: Likewise.
63791 2011-06-09  Roland McGrath  <roland@hack.frob.com>
63793         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
63794         * elf/Makefile ($(objpfx)librtld.os): Likewise.
63795         (reloc-link): Likewise.
63797 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
63799         * elf/Makefile: Add rules to build pldd.
63800         * elf/pldd.c: New file.
63801         * elf/pldd-xx.c: New file.
63803 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
63805         * version.h: Update for 2.15 development version.
63807 2011-06-07  David S. Miller  <davem@davemloft.net>
63809         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
63810         ifuncs.
63811         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
63812         elf_machine_lazy_rel): Likewise.
63813         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
63814         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
63815         elf_machine_lazy_rel): Likewise.
63816         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
63817         dl_hwcap via passed in argument.
63818         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
63819         Likewise.
63821 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63823         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
63825 2011-06-06  Roland McGrath  <roland@hack.frob.com>
63827         [BZ #12849]
63828         * manual/fdl-1.1.texi: New file, verbatim from:
63829         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
63830         * manual/lgpl-2.1.texi: New file, verbatim from:
63831         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
63832         * manual/Makefile (licenses): New variable, list those new file names.
63833         (texis): Use it.
63834         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
63836         * manual/fdl.texi: File removed.
63837         * manual/lesser.texi: File removed.
63838         * manual/libc.texinfo (Copying, Documentation License):
63839         Use new @include file names, put @appendix directive before @include.
63841 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
63843         [BZ #12841]
63844         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
63845         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
63846         (mq_open): Add __NTH.
63848 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
63850         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63851         Assume Intel Core i3/i5/i7 processor if AVX is available.
63853 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
63855         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
63856         typo.
63858 2011-05-31  Andreas Schwab  <schwab@redhat.com>
63860         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
63861         memory.  Use alloca_account.  Fix memory leak when retrying.
63863 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
63865         * version.h (RELEASE): Bump for 2.14 release.
63866         * include/features.h (__GLIBC_MINOR__): Bump to 14.
63868         * config.make.in (RANLIB): Remove entry.
63870 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
63872         * po/Makefile (po-sed-cmd): Add ksh to extensions.
63873         (libc.pot): Work around missing support for .ksh extension in xgettext.
63875         [BZ #12684]
63876         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
63877         if both request failed.
63878         (send_dg): In case of server errors clear resplen or *resplen2.
63880         [BZ #12454]
63881         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
63882         when there are multiple maps.
63883         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
63884         (_dl_fini): Remove test here.
63886         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
63888 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
63890         [BZ #12350]
63891         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
63892         bit from old_res_options.
63893         (gaih_inet): Likewise.
63895         [BZ #11099]
63896         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
63897         as signed.
63899         * resolv/res_init.c (res_setoptions): Make the code more compact.
63901         [BZ #11558]
63902         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
63903         set RES_USEVC.
63905         [BZ #11634]
63906         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
63908         * malloc/malloc.h: Mark malloc hook variables as deprecated.
63910         [BZ #11781]
63911         * malloc/malloc.h: Declare malloc hook variables as volatile.
63913         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
63914         in last patch.
63916         [BZ #11799]
63917         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
63918         raise in the comment.
63919         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
63920         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
63921         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
63923 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
63925         [BZ #12811]
63926         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
63927         grow the buffers more if it already has to be sufficient.
63928         (build_wcs_upper_buffer): Likewise.
63929         * posix/regexec.c (check_matching): Likewise.
63930         (clean_state_log_if_needed): Likewise.
63931         (extend_buffers): Don't enlarge buffers beyond size of the input
63932         buffer.
63933         Patches mostly by Emil Wojak <emil@wojak.eu>.
63934         * posix/bug-regex32.c: New file.
63935         * posix/Makefile (tests): Add bug-regex32.
63937         * locale/findlocale.c (_nl_find_locale): Return right away if
63938         _nl_explode_name failed.
63939         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
63941         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
63943         * debug/xtrace.sh: Unify messages.
63944         * malloc/memusage.sh: Likewise.
63946         [BZ #12813]
63947         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
63948         time symbol from vDSO.  Substitute with vsyscall if not available.
63949         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
63950         __vdso_time.
63952         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
63953         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
63954         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
63955         Add sendmmsg and internal_sendmmsg.
63956         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
63957         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
63958         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
63960         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
63961         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
63962         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
63964 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
63966         [BZ #12813]
63967         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
63968         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
63969         available.
63970         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
63971         __vdso_getcpu.
63973         [BZ #12814]
63974         * iconvdata/Makefile (tests): Add bug-iconv9.
63975         * iconvdata/bug-iconv9.c: New file.
63977 2011-05-27  Andreas Schwab  <schwab@redhat.com>
63979         [BZ #12814]
63980         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
63982 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
63984         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
63985         (struct user_regs_struct): Change intcs field back to cs.
63987 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
63989         * po/ja.po: Update from translation team.
63991 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
63993         [BZ #12795]
63994         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
63995         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
63997 2011-05-20  Andreas Schwab  <schwab@redhat.com>
63999         * stdlib/longlong.h: Update from GCC.
64001 2011-05-23  Andreas Schwab  <schwab@redhat.com>
64003         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
64004         parameter name.
64005         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
64006         Add parameter name.
64007         (__sysconf): Pass it down.
64009 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
64011         [BZ #12671]
64012         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
64013         some situations.
64014         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
64015         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
64016         add in in __libc_use_alloca calls.  Adjust callers.
64017         (glob): Use malloc in some situations.
64019         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
64020         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
64021         pltexit.
64023 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
64025         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
64026         and CLOCK_BOOTTIME_ALARM.
64028         [BZ #12782]
64029         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
64030         is returned.
64032         * string/_strerror.c (__strerror_r): Print negative errors as signed
64033         numbers.
64035         [BZ #12777]
64036         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
64037         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
64038         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
64040         * configure.in: Fix typo in redirection and correct removal of test
64041         files in two cases.
64043         [BZ #12788]
64044         * locale/setlocale.c (new_composite_name): Fix test to check for
64045         identical name of all categories.
64047         [BZ #12792]
64048         * libio/filedoalloc.c (local_isatty): New function.
64049         (_IO_file_doallocate): Use local_isatty.
64050         * stdio-common/perror.c (perror): In case a new stream is used
64051         forward the stream error.
64052         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
64053         error flag.
64055 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
64057         [BZ #11869]
64058         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
64059         alloca.
64060         * include/alloca.h (extend_alloca_account): Define.
64062         [BZ #11857]
64063         * posix/regex.h: Fix comments with documentation of user-accessible
64064         fields after compilation and describe correct free'ing of pattern
64065         after re_compile_pattern.
64066         Patch by Reuben Thomas <rrt@sc3d.org>.
64068 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
64070         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
64071         and -mno-altivec to prevent the compiler from using Altivec and/or
64072         VSX instructions when the corresponding registers are not available.
64074 2011-05-19  Andreas Schwab  <schwab@redhat.com>
64076         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
64078 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
64080         * libio/freopen.c (freopen): Use __dup2, not dup2.
64081         * libio/freopen64.c (freopen64): Likewise.
64083 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
64085         [BZ #12775]
64086         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
64087         * math/Makefile (tests): Add test-powl.
64088         (CFLAGS-test-powl.c): Define.
64089         * math/test-powl.c: New file.
64091 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
64093         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
64095 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
64097         [BZ #11837]
64098         * iconvdata/gb18030.c: Update to GB18020-2005.
64100 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
64102         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
64103         RE_SYNTAX_POSIX_AWK): Update to match recent development.
64104         Patch by Aharon Robbins <arnold@skeeve.com>.
64106         [BZ #11892]
64107         * stdlib/putenv.c (putenv): Don't always create copy of the variable
64108         on the stack.
64110         [BZ #11895]
64111         * misc/pselect.c (__pselect): Handle timeout value errors hidden
64112         through underflows.
64114         [BZ #12766]
64115         * misc/error.c (error_at_line): Ensure file_name and old_file_name
64116         point to strings before performing equality test for error_one_per_line
64117         mode.
64119         [BZ #11697]
64120         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
64122         [BZ #11820]
64123         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
64124         (struct user_fpregs_struct): Avoid __uint*_t types.
64126         [BZ #6420]
64127         * malloc/mtrace.c (tr_where): Add additional parameter to point to
64128         symbol info.  Use it instead of calling _dl_addr locally.
64129         (lock_and_info): New function.
64130         (tr_freehook): Call lock_and_info and pass symbol info as additional
64131         parameter to tr_where.
64132         (tr_mallochook): Likewise.
64133         (tr_reallochook): Likewise.
64134         (tr_memalignhook): Likewise.
64136         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
64137         used and couldn't be at all thread-safe.
64139 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
64141         * libio/freopen.c (freopen): Don't close old file descriptor
64142         before the new one is opened.  Instead dup the new file descriptor
64143         to the old one after the new stream is created.
64144         * libio/freopen64.c (freopen64): Likewise.
64145         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
64146         * libio/fileops.c (_IO_new_file_close_it): Handle new
64147         _IO_FLAGS2_NOCLOSE flag.
64148         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
64149         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
64150         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
64151         _IO_FLAGS2_NOCLOSE flag.
64152         * include/unistd.h: Add hidden_proto for dup3.
64153         Define __have_dup3.
64154         * io/dup3.c: Define hidden symbol.
64155         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
64157         [BZ #7101]
64158         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
64159         when an incomplete long option is used.
64160         * posix/tst-getopt_long1.c: New file.
64161         * posix/Makefile (tests): Add tst-getopt_long1.
64163         [BZ #10138]
64164         * scripts/config.guess: Update from autoconf-2.68.
64165         * scripts/config.sub: Likewise.
64167         [BZ #10157]
64168         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
64169         tests into ...
64170         (has_cpuclock): ...this.  New function.
64171         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
64172         macro here based on has_cpuclock code.
64174         [BZ #10149]
64175         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
64176         First byte (not low byte) is now always NUL.
64177         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
64179         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
64180         Use non-cancelable interfaces.
64182         [BZ #9809]
64183         * locale/iso-639.def: Add entry for Sorani.
64185         [BZ #11901]
64186         * include/stdlib.h: Move include protection to the right place.
64187         Define abort_msg_s.  Declare __abort_msg with it.
64188         * stdlib/abort.c (__abort_msg): Adjust type.
64189         * assert/assert.c (__assert_fail_base): New function.  Majority
64190         of code from __assert_fail.  Allocate memory for __abort_msg with
64191         mmap.
64192         (__assert_fail): Now call __assert_fail_base.
64193         * assert/assert-perr.c: Remove bulk of implementation.  Use
64194         __assert_fail_base.
64195         * include/assert.hL Declare __assert_fail_base.
64196         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
64197         mmap.
64198         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
64200 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
64202         [BZ #11952]
64203         [BZ #12453]
64204         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
64205         until all modules are registered in the DTV.
64206         * elf/Makefile: Add rules to build and run tst-tls19.
64207         * elf/tst-tls19.c: New file.
64208         * elf/tst-tls19mod1.c: New file.
64209         * elf/tst-tls19mod2.c: New file.
64210         * elf/tst-tls19mod3.c: New file.
64211         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
64213         [BZ #12083]
64214         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
64215         correctly.
64217         [BZ #12601]
64218         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
64219         two-byte sequence errors.
64220         * iconvdata/Makefile (tests): Add bug-iconv8.
64221         * iconvdata/bug-iconv8.c: New file.
64223         [BZ #12626]
64224         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
64225         buf2 definition.
64227         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
64229         [BZ #12432]
64230         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
64231         (dummy_getcfa): New function.
64232         (init): Get _Unwind_GetCFA address, use dummy if not found.
64233         (backtrace_helper): In recursion check, also check whether CFA changes.
64234         (__backtrace): Completely initialize arg.
64236         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
64237         storing incomplete byte sequence in state object.  Avoid testing for
64238         guaranteed too small input if we know there is enough data available.
64240 2011-05-11  Andreas Schwab  <schwab@redhat.com>
64242         * Makeconfig (+link-pie): Indent.
64243         * Rules (binaries-pie): Define if $(have-fpie) and
64244         $(build-shared).
64245         (binaries-shared): Also filter out $(binaries-pie).
64246         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
64247         * nscd/Makefile (others-pie): Add nscd.
64248         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
64249         ($(objpfx)nscd): Remove command override.
64250         * login/Makefile (others-pie): Add pt_chown.
64251         ($(objpfx)pt_chown): Remove command override.
64252         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
64253         remove command overrides.
64255 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
64257         * libio/tst_putwc.c: Fix error messages.
64259         [BZ #12724]
64260         * libio/fileops.c (_IO_new_file_close_it): Always flush when
64261         currently writing and seek to current position when not.
64262         * libio/Makefile (tests): Add bug-fclose1.
64263         * libio/bug-fclose1.c: New file.
64265 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
64267         [BZ #12511]
64268         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
64269         don't set DF_1_NODELETE here.
64270         (do_lookup_x): When entering new entry test for copy relocation
64271         and if necessary set DF_1_NODELETE flag.
64272         * elf/tst-unique4.cc: New file.
64273         * elf/tst-unique4.h: New file.
64274         * elf/tst-unique4lib.cc: New file.
64275         * elf/Makefile: Add rules to build and run tst-unique4.
64276         Patch by Piotr Bury <pbury@goahead.com>.
64278 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
64280         [BZ #12052]
64281         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
64283         [BZ #12625]
64284         * misc/mntent_r.c (addmntent): Flush the stream after the output
64286         [BZ #12393]
64287         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
64288         (is_trusted_path_normalize): Skip initial colon.  Append slash
64289         to empty buffer.  Duplicate is_trusted_path code but allow
64290         constructed patch to be prefix.
64291         (is_dst): Allow $ORIGIN followed by /.
64292         (_dl_dst_substitute): Correct clearing of check_for_trusted.
64293         Correct testing of result of is_trusted_path_normalize
64294         (decompose_rpath): Fix warning.
64296 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
64298         [BZ #11257]
64299         * grp/initgroups.c (internal_getgrouplist): When we found the service
64300         list through the initgroups entry in nsswitch.conf do not always
64301         continue on a successful lookup.  Don't always use the
64302         __nss_group_database value if it is set.
64303         * nss/nsswitch.conf (initgroups): Change action for successful db
64304         lookup to continue for compatibility.
64306 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
64308         [BZ #11532]
64309         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
64310         and CP774 modules.
64311         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
64312         and CP774 modules.
64313         * iconvdata/tst-tables.sh: Likewise.
64314         * iconvdata/cp770.c: New file.
64315         * iconvdata/cp771.c: New file.
64316         * iconvdata/cp772.c: New file.
64317         * iconvdata/cp773.c: New file.
64318         * iconvdata/cp774.c: New file.
64319         * iconvdata/testdata/CP770: New file.
64320         * iconvdata/testdata/CP770..UTF8: New file.
64321         * iconvdata/testdata/CP771: New file.
64322         * iconvdata/testdata/CP771..UTF8: New file.
64323         * iconvdata/testdata/CP772: New file.
64324         * iconvdata/testdata/CP772..UTF8: New file.
64325         * iconvdata/testdata/CP773: New file.
64326         * iconvdata/testdata/CP773..UTF8: New file.
64327         * iconvdata/testdata/CP774: New file.
64328         * iconvdata/testdata/CP774..UTF8: New file.
64330         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
64331         END CHARMAP line.
64332         * iconvdata/gen-8bit-gap.sh: Likewise.
64333         * iconvdata/gen-8bit.sh: Likewise.
64335         * locale/iso-639.def: Add ary entry.
64337         [BZ #11258]
64338         * locale/C-translit.h.in: Add U20A1 transliteration.
64340         [BZ #12178]
64341         * locale/iso-639.def: Add wae entry.
64342         Patch by Kevin Bortis <bortis@translate-wae.ch>.
64344         [BZ #12545]
64345         * locale/programs/localedef.c (construct_output_path): Use ssize_t
64346         for n.
64348         [BZ #12711]
64349         * locale/C-translit.h.in: Add entry for U20B9.
64350         Patch by pravin.d.s@gmail.com.
64352 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
64354         [BZ #12713]
64355         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
64356         ENAMETOOLONG use generic getcwd.
64357         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
64358         in rtld.  Use *stat64.
64359         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
64360         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
64361         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
64362         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
64363         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
64364         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
64365         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
64366         __fstatat64 macros.
64367         * include/dirent.h: Add libc_hidden_proto for rewinddir.
64368         * dirent/rewinddir.c: Add libc_hidden_def.
64369         * sysdeps/mach/hurd/rewinddir.c: Likewise.
64370         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
64372         * include/dirent.h (__alloc_dir): Add flags parameter.
64373         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
64374         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
64375         __alloc_dir.
64376         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
64377         from fdopendir if O_CLOEXEC is already set.
64379 2011-03-15  Alan Modra  <amodra@gmail.com>
64381         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
64382         l_tls_firstbyte_offset non-zero.  Save padding offset in
64383         l_tls_firstbyte_offset for later use.
64384         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
64385         freeing static tls block.
64387 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
64389         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
64390         where #ifdef was intended.  The intent is to prevent ARG_MAX from
64391         being defined by the kernel headers.
64393 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
64395         [BZ #12734]
64396         * resolv/resolv.h: Define RES_NOTLDQUERY.
64397         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
64398         no-tld-query and set RES_NOTLDQUERY.
64399         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
64400         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
64401         modern BIND to search name as TLD unless forbidden.
64403 2011-05-07  Petr Baudis  <pasky@suse.cz>
64404             Ulrich Drepper  <drepper@gmail.com>
64406         [BZ #12393]
64407         * elf/dl-load.c (fillin_rpath): Move trusted path check...
64408         (is_trusted_path): ...to here.
64409         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
64410         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
64411         using is_trusted_path_normalize() in setuid scripts.
64413 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
64415         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
64416         __BEGIN/__END_DECLS.
64418 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
64420         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
64421         NSS_STATUS_NOTFOUND if no record was found.
64423 2011-05-05  Andreas Schwab  <schwab@redhat.com>
64425         * sunrpc/Makefile (headers): Add rpc/netdb.h.
64426         (headers-not-in-tirpc): Remove rpc/netdb.h
64427         * resolv/netdb.h: Revert last change.
64429 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
64431         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
64432         circular dependency between libgcc.a and libc.a.
64434 2011-05-05  Andreas Schwab  <schwab@redhat.com>
64436         * resolv/netdb.h: Don't include <rpc/netdb.h>.
64437         * nis/Makefile: Don't install rpcsvc/*.
64438         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
64439         instead of <rpc/types.h>.
64440         (MAXHOSTNAMELEN): Define.
64442 2011-05-03  Andreas Schwab  <schwab@redhat.com>
64444         * elf/ldconfig.c (add_dir): Don't crash on empty path.
64446 2011-04-28  Maciej Babinski  <mbabinski@google.com>
64448         [BZ #12714]
64449         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
64450         gethostbyname4_r when IPv6 results are possible.
64452 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
64454         [BZ #12723]
64455         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
64456         _PC_PIPE_BUF handling.
64458 2011-04-30  Bruno Haible  <bruno@clisp.org>
64460         [BZ #12717]
64461         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
64462         * resolv/netdb.h (getnameinfo): Change type of flags parameter
64463         to 'int'.
64464         * inet/getnameinfo.c (getnameinfo): Likewise.
64466 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
64468         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
64469         to groups setting in database lookup.
64470         * nss/nsswitch.conf: Add initgroups entry.
64472 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
64474         [BZ #12685]
64475         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
64476         mode string.
64477         Patch by Eric Blake <eblake@redhat.com>.
64479 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
64481         * sunrpc/Makefile (need-export-routines): Add svc_run.
64482         (routines): Remove svc_run.
64483         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
64484         * sunrpc/clnt_perr.c (clnt_perrno): Export.
64485         * sunrpc/svc_run.c (svc_run): Likewise.
64486         * sunrpc/svc_udp.c (svcudp_create): Likewise.
64488 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
64490         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
64491         problem in reallocation in last patch.
64493 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
64495         * sunrpc/Makefile: Move inclusion of Rules.
64497 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
64499         * nss/nss_files/files-initgroups.c: New file.
64500         * nss/Makefile (libnss_files-routines): Add files-initgroups.
64501         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
64502         _nss_files_initgroups_dyn.
64504 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
64506         * elf/elf.h (R_ARM_IRELATIVE): Define.
64508 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
64510         * po/ru.po: Update from translation team.
64512 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
64514         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
64515         dependencies.
64517 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
64519         [BZ #12653]
64520         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
64521         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
64522         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
64523         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
64524         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
64526 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
64528         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
64529         differing bytes.
64530         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
64531         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
64532         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
64534 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
64536         [BZ #12420]
64537         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
64538         storing it.
64539         * stdlib/bug-getcontext.c: New file.
64540         * stdlib/Makefile: Add rules to build and run bug-getcontext.
64542 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64544         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
64545         instructions into .machine "z9-109".
64546         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
64547         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
64549 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64551         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
64552         between environment variables and auxiliary vector.
64554 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
64556         * Makefile: Add rules to build linkobj/libc.so.
64557         * include/libc-symbols.h: Define libc_hidden_nolink.
64558         * include/rpc/auth.h: Mark functions which are to be hidden.
64559         * include/rpc/auth_des.h: Likewise.
64560         * include/rpc/auth_unix.h: Likewise.
64561         * include/rpc/clnt.h: Likewise.
64562         * include/rpc/des_crypt.h: Likewise.
64563         * include/rpc/key_prot.h: Likewise.
64564         * include/rpc/pmap_clnt.h: Likewise.
64565         * include/rpc/pmap_prot.h: Likewise.
64566         * include/rpc/pmap_rmt.h: Likewise.
64567         * include/rpc/rpc_msg.h: Likewise.
64568         * include/rpc/svc.h: Likewise.
64569         * include/rpc/svc_auth.h: Likewise.
64570         * include/rpc/xdr.h: Likewise.
64571         * nis/Makefile: Link all DSOs against linkobj/libc.so.
64572         * nss/Makefile: Likewise.
64573         * sunrpc/Makefile: Don't install headers.  Build library with normal
64574         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
64575         * sunrpc/auth_des.c: Hide exported symbols by default, export some
64576         for the compat linking library.  Remove use of INTDEF/INTUSE.
64577         * sunrpc/auth_none.c: Likewise.
64578         * sunrpc/auth_unix.c: Likewise.
64579         * sunrpc/authdes_prot.c: Likewise.
64580         * sunrpc/authuxprot.c: Likewise.
64581         * sunrpc/clnt_gen.c: Likewise.
64582         * sunrpc/clnt_perr.c: Likewise.
64583         * sunrpc/clnt_raw.c: Likewise.
64584         * sunrpc/clnt_simp.c: Likewise.
64585         * sunrpc/clnt_tcp.c: Likewise.
64586         * sunrpc/clnt_udp.c: Likewise.
64587         * sunrpc/clnt_unix.c: Likewise.
64588         * sunrpc/des_crypt.c: Likewise.
64589         * sunrpc/des_soft.c: Likewise.
64590         * sunrpc/get_myaddr.c: Likewise.
64591         * sunrpc/key_call.c: Likewise.
64592         * sunrpc/key_prot.c: Likewise.
64593         * sunrpc/netname.c: Likewise.
64594         * sunrpc/pm_getmaps.c: Likewise.
64595         * sunrpc/pm_getport.c: Likewise.
64596         * sunrpc/pmap_clnt.c: Likewise.
64597         * sunrpc/pmap_prot.c: Likewise.
64598         * sunrpc/pmap_prot2.c: Likewise.
64599         * sunrpc/pmap_rmt.c: Likewise.
64600         * sunrpc/publickey.c: Likewise.
64601         * sunrpc/rpc_cmsg.c: Likewise.
64602         * sunrpc/rpc_common.c: Likewise.
64603         * sunrpc/rpc_dtable.c: Likewise.
64604         * sunrpc/rpc_prot.c: Likewise.
64605         * sunrpc/rpc_thread.c: Likewise.
64606         * sunrpc/rtime.c: Likewise.
64607         * sunrpc/svc.c: Likewise.
64608         * sunrpc/svc_auth.c: Likewise.
64609         * sunrpc/svc_authux.c: Likewise.
64610         * sunrpc/svc_raw.c: Likewise.
64611         * sunrpc/svc_run.c: Likewise.
64612         * sunrpc/svc_simple.c: Likewise.
64613         * sunrpc/svc_tcp.c: Likewise.
64614         * sunrpc/svc_udp.c: Likewise.
64615         * sunrpc/svc_unix.c: Likewise.
64616         * sunrpc/svcauth_des.c: Likewise.
64617         * sunrpc/xcrypt.c: Likewise.
64618         * sunrpc/xdr.c: Likewise.
64619         * sunrpc/xdr_array.c: Likewise.
64620         * sunrpc/xdr_float.c: Likewise.
64621         * sunrpc/xdr_intXX_t.c: Likewise.
64622         * sunrpc/xdr_mem.c: Likewise.
64623         * sunrpc/xdr_rec.c: Likewise.
64624         * sunrpc/xdr_ref.c: Likewise.
64625         * sunrpc/xdr_sizeof.c: Likewise.
64626         * sunrpc/xdr_stdio.c: Likewise.
64628 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
64630         [BZ #12650]
64631         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
64632         * sysdeps/ia64/dl-tls.h: Likewise.
64633         * sysdeps/powerpc/dl-tls.h: Likewise.
64634         * sysdeps/s390/dl-tls.h: Likewise.
64635         * sysdeps/sh/dl-tls.h: Likewise.
64636         * sysdeps/sparc/dl-tls.h: Likewise.
64637         * sysdeps/x86_64/dl-tls.h: Likewise.
64638         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
64640 2011-03-14  Andreas Schwab  <schwab@redhat.com>
64642         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
64643         rpath element also skip the following colon.
64644         (expand_dynamic_string_token): Add is_path parameter and pass
64645         down to DL_DST_REQUIRED and _dl_dst_substitute.
64646         (decompose_rpath): Call expand_dynamic_string_token with
64647         non-zero is_path.  Ignore empty rpaths.
64648         (_dl_map_object_from_fd): Call expand_dynamic_string_token
64649         with zero is_path.
64651 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
64653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
64654         Make cancelable.
64656 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
64658         [BZ #12655]
64659         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
64660         Patch by Filipe David Manana <fdmanana@apache.org>.
64662 2011-04-07  Andreas Schwab  <schwab@redhat.com>
64664         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
64665         Maintain aligned stack.
64666         (CHECK_RSP): Remove unused macro.
64668 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
64670         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
64671         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
64673 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
64675         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
64677         * include/features.h: Mention __USE_XOPEN2K8 in comment.
64679 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
64681         [BZ #12518]
64682         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
64683         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
64684         * sysdeps/x86_64/memmove.c: New file.
64685         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
64686         (memcpy): Renamed to ...
64687         (__new_memcpy): This.
64688         (memcpy): Provide GLIBC_2_14 memcpy.
64689         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
64690         (memcpy): Provide GLIBC_2_2_5 memcpy.
64692 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
64694         [BZ #12631]
64695         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
64697 2011-03-30  Andreas Schwab  <schwab@redhat.com>
64699         * misc/syncfs.c: New file.
64700         * misc/Makefile (routines): Add syncfs.
64701         * posix/unistd.h: Declare syncfs.
64702         * sysdeps/unix/syscalls.list: Add syncfs.
64704 2011-04-01  Andreas Schwab  <schwab@redhat.com>
64706         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
64707         open_by_handle_at.
64708         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
64709         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
64710         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
64711         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
64712         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
64713         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
64714         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
64716 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
64718         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
64719         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
64720         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
64721         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
64722         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
64723         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
64724         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
64726         * io/Makefile: Compile fallocate.c, fallocate64.c, and
64727         sync_file_range.c with -fexceptions.
64728         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
64729         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
64730         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
64731         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
64732         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
64733         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
64734         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
64735         sync_file_range as cancellation point
64736         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
64737         now a wrapper around __call_sync_file_range with cancellation handling.
64738         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
64739         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
64740         function name to __call_sync_file_range.
64741         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
64742         Add call_sync_file_range.
64744 2011-04-01  Andreas Schwab  <schwab@redhat.com>
64746         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64747         bits/timex.h.
64749 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
64751         * iconv/iconv.h: Fix typo in comment.
64752         * io/fcntl.h: Likewise.
64753         * libio/stdio.h: Likewise.
64754         * posix/spawn.h: Likewise.
64755         * posix/unistd.h: Likewise.
64756         * stdlib/stdlib.h: Likewise.
64757         * time/time.h: Likewise.
64758         * wcsmbs/wchar.h: Likewise.
64760         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
64761         open_by_handle): Add.
64762         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
64763         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
64764         Augment a few comments.
64765         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
64766         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
64767         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
64768         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
64769         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
64770         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
64771         open_by_handle.
64773         * io/fcntl.h (AT_EMPTY_PATH): Define.
64775 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
64777         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
64778         * sysdeps/unix/sysv/linux/bits/time.h: New file.
64779         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
64780         to...
64781         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
64782         * Versions.def: Add GLIBC_2.14.
64783         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
64784         Export.
64786 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
64788         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
64789         round counter.
64790         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
64792 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
64794         [BZ #12597]
64795         * string/test-strncmp.c (do_page_test): New function.
64796         (check2): Likewise.
64797         (test_main): Call check2.
64798         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
64800 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
64802         [BZ #12587]
64803         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
64804         Handle cache information in CPU leaf 4.
64805         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
64807 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
64809         [BZ #12583]
64810         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
64811         character representation.
64812         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
64814 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
64816         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
64817         END(__isnan) to END(__isnanf) to match function entry point/label
64818         EALIGN(__isnanf,...).
64820 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
64822         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
64824 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
64826         [BZ #12510]
64827         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
64828         copy from the symbol referenced in the relocation to initialize the
64829         used variable.
64830         Patch by Piotr Bury <pbury@goahead.com>.
64831         * elf/Makefile: Add rules to build and tst-unique3.
64832         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
64833         * elf/tst-unique3.cc: New file.
64834         * elf/tst-unique3.h: New file.
64835         * elf/tst-unique3lib.cc: New file.
64836         * elf/tst-unique3lib2.cc: New file.
64838         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
64840 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
64842         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
64843         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
64844         to _start.
64846 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
64848         * elf/dl-load.c (_dl_map_object): If we are looking for the first
64849         to-be-loaded object along a path to loader is ld.so.
64851 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
64852             Ulrich Drepper  <drepper@gmail.com>
64854         * sysdeps/x86_64/memset.S: After aligning destination, code
64855         branches to different locations depending on the value of
64856         misalignment, when multiarch is enabled. Fix this.
64858 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
64860         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
64861         Set _x86_64_preferred_memory_instruction for AMD processsors.
64862         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
64863         Set bit_Prefer_SSE_for_memop for AMD processors.
64865 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
64867         * libio/fmemopen.c (fmemopen): Optimize a bit.
64869 2011-03-03  Andreas Schwab  <schwab@redhat.com>
64871         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
64873 2011-03-03  Roland McGrath  <roland@redhat.com>
64875         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
64877 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
64879         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
64880         __bzero_ultra1 instead of __memset_ultra1.
64882 2011-02-23  Andreas Schwab  <schwab@redhat.com>
64883             Ulrich Drepper  <drepper@gmail.com>
64885         [BZ #12509]
64886         * include/link.h (struct link_map): Add l_orig_initfini.
64887         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
64888         returning unsuccessfully.
64889         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
64890         close of a file loaded at startup, restore the original l_initfini
64891         list.
64892         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
64893         list, store the pointer.
64894         * elf/Makefile ($(objpfx)noload-mem): New rule.
64895         (noload-ENV): Define.
64896         (tests): Add $(objpfx)noload-mem.
64897         * elf/noload.c: Include <memcheck.h>.
64898         (main): Call mtrace.  Close all opened handles.
64900 2011-02-17  Andreas Schwab  <schwab@redhat.com>
64902         [BZ #12454]
64903         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
64904         dependencies are missing.
64906 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64908         Fix __if_freereq crash: Unlike the generic version which uses free,
64909         Hurd needs munmap.
64910         * sysdeps/mach/hurd/ifreq.h: New file.
64912 2011-01-27  Petr Baudis  <pasky@suse.cz>
64913             Ulrich Drepper  <drepper@gmail.com>
64915         [BZ 12445]#
64916         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
64917         to extend_alloca().
64918         * stdio-common/bug23.c: New file.
64919         * stdio-common/Makefile (tests): Add bug23.
64921 2010-09-28  Andreas Schwab  <schwab@redhat.com>
64922             Ulrich Drepper  <drepper@gmail.com>
64924         [BZ #12489]
64925         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
64926         before performing relro protection.  At old place add assertion
64927         to make sure nothing changed.
64929 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
64930             Glauber de Oliveira Costa  <glommer@gmail.com>
64932         * elf/elf.h: Add new ARM TLS relocs.
64934 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
64936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
64937         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
64938         cast from r3.
64939         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
64940         'tests' variable.
64941         * sysdeps/wordsize-64/tst-writev.c: New file.
64943 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
64945         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
64946         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
64947         insns in _dl_start to prevent a TOC reference before relocs are
64948         resolved.
64950 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
64952         [BZ #12469]
64953         * Makeconfig: Remove RANLIB definition.
64954         * Makerules: Don't use RANLIB.
64955         * aclocal.m4: Remove ranlib test.
64956         * configure.in: No need to check for ranlib.
64957         * elf/rtld-Rules: Don't use RANLIB.
64959 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64961         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
64962         protection macro.
64963         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
64964         inclusion protection macro.
64966         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
64967         SIGRTMIN and SIGRTMAX and print information in that case only when
64968         SIGRTMIN is defined.
64970 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
64972         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
64973         arginfo fn returning -1.
64975         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
64976         and thousands string is zero terminated.
64978 2011-02-03  Andreas Schwab  <schwab@redhat.com>
64980         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
64981         sysdeps/unix/sysv/linux/bits/socket.h.
64983 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64985         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
64986         (__CPU_COUNT): Remove old macros.
64987         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
64988         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
64989         (__CPU_ALLOC, __CPU_FREE): Add macros.
64990         (__sched_cpualloc, __sched_cpufree): Add declarations.
64992 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
64994         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
64995         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
64996         * nscd/aicache.c (addhstaiX): Return timeout of added value.
64997         (readdhstai): Return value of addhstaiX call.
64998         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
64999         (addgrbyX): Return value returned by cache_addgr.
65000         (readdgrbyname): Return value returned by addgrbyX.
65001         (readdgrbygid): Likewise.
65002         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
65003         (addpwbyX): Return value returned by cache_addpw.
65004         (readdpwbyname): Return value returned by addhstbyX.
65005         (readdpwbyuid): Likewise.
65006         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
65007         (addservbyX): Return value returned by cache_addserv.
65008         (readdservbyname): Return value returned by addservbyX:
65009         (readdservbyport): Likewise.
65010         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
65011         (addhstbyX): Return value returned by cache_addhst.
65012         (readdhstbyname): Return value returned by addhstbyX.
65013         (readdhstbyaddr): Likewise.
65014         (readdhstbynamev6): Likewise.
65015         (readdhstbyaddrv6): Likewise.
65016         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
65017         (readdinitgroups): Return value returned by addinitgroupsX.
65018         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
65019         (prune_cache): Keep track of timeout value of re-added entries.
65020         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
65021         * nscd/nscd.h: Adjust prototypes of readd* functions.
65023 2011-02-04  Roland McGrath  <roland@redhat.com>
65025         * nis/nis_server.c (nis_servstate): Use the right name for 0.
65026         (nis_stats): Likewise.
65027         * nis/nis_modify.c (nis_modify): Likewise.
65028         * nis/nis_remove.c (nis_remove): Likewise.
65029         * nis/nis_add.c (nis_add): Likewise.
65031         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
65033         * posix/fnmatch_loop.c: Add some consts.
65035         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
65037 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
65039         [BZ #12460]
65040         * config.make.in (config-cflags-novzeroupper): Define.
65041         * configure.in: Substitute libc_cv_cc_novzeroupper.
65042         * elf/Makefile (AVX-CFLAGS): Define.
65043         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
65044         (CFLAGS-tst-auditmod4a.c): Likewise.
65045         (CFLAGS-tst-auditmod4b.c): Likewise.
65046         (CFLAGS-tst-auditmod6b.c): Likewise.
65047         (CFLAGS-tst-auditmod6c.c): Likewise.
65048         (CFLAGS-tst-auditmod7b.c): Likewise.
65049         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
65051 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
65053         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
65054         function to the callback.
65055         Patch partly by Jiri Olsa <jolsa@redhat.com>.
65057 2011-02-02  Andreas Schwab  <schwab@redhat.com>
65059         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
65060         of errno.
65062 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
65064         [BZ #11724]
65065         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
65066         of constructors.
65067         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
65068         of destructors.
65069         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
65071         [BZ #11724]
65072         * elf/Makefile: Add rules to build and run new test.
65073         * elf/tst-initorder.c: New file.
65074         * elf/tst-initorder.exp: New file.
65075         * elf/tst-initordera1.c: New file.
65076         * elf/tst-initordera2.c: New file.
65077         * elf/tst-initordera3.c: New file.
65078         * elf/tst-initordera4.c: New file.
65079         * elf/tst-initorderb1.c: New file.
65080         * elf/tst-initorderb2.c: New file.
65081         * elf/tst-order-a1.c: New file.
65082         * elf/tst-order-a2.c: New file.
65083         * elf/tst-order-a3.c: New file.
65084         * elf/tst-order-a4.c: New file.
65085         * elf/tst-order-b1.c: New file.
65086         * elf/tst-order-b2.c: New file.
65087         * elf/tst-order-main.c: New file.
65088         New test case by George Gensure <werkt0@gmail.com>.
65090 2010-10-01  Andreas Schwab  <schwab@redhat.com>
65092         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
65093         decoding ACE if AI_CANONIDN.
65095 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
65097         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
65099 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
65101         * version.h (RELEASE): Bump for 2.13 release.
65102         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
65104         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
65106         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
65107         MADV_NOHUGEPAGE.
65108         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
65109         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
65110         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
65111         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
65112         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
65113         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
65115         * posix/getconf.c: Update copyright year.
65116         * catgets/gencat.c: Likewise.
65117         * csu/version.c: Likewise.
65118         * debug/catchsegv.sh: Likewise.
65119         * debug/xtrace.sh: Likewise.
65120         * elf/ldconfig.c: Likewise.
65121         * elf/ldd.bash.in: Likewise.
65122         * elf/sprof.c (print_version): Likewise.
65123         * iconv/iconv_prog.c: Likewise.
65124         * iconv/iconvconfig.c: Likewise.
65125         * locale/programs/locale.c: Likewise.
65126         * locale/programs/localedef.c: Likewise.
65127         * malloc/memusage.sh: Likewise.
65128         * malloc/mtrace.pl: Likewise.
65129         * nscd/nscd.c (print_version): Likewise.
65130         * nss/getent.c: Likewise.
65132         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
65133         PF_CAIF, and PF_ALG.
65134         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
65136 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
65138         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
65139         (modules-names): Use them.
65140         (ifunc-test-modules, ifunc-pie-tests): Define.
65141         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
65142         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
65143         (test-extras): Likewise.
65144         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
65145         $(compile-command.c).
65146         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
65147         (all-built-dso): Define.
65148         (check-textrel.out, check-execstack.out): Depend on it.
65150         * configure.in: Don't override --enable-multi-arch.
65152 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
65154         [BZ #6812]
65155         * nscd/hstcache.c (tryagain): Define.
65156         (cache_addhst): Return tryagain not notfound for temporary errors.
65157         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
65158         failed.
65160 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
65162         [BZ #10563]
65163         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
65164         to make the syscall.
65165         * sysdeps/unix/sysv/linux/setgroups.c: New file.
65167         [BZ #12378]
65168         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
65169         and fall back to matching as normal character if the string ends before
65170         the matching ']' is found.  This is what POSIX requires.
65171         * posix/testfnm.c: Adjust test result.
65172         * posix/globtest.sh: Adjust test result.  Add new test.
65173         * posix/tst-fnmatch.input: Likewise.
65174         * posix/tst-fnmatch2.c: Add new test.
65176 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
65178         * elf/Makefile (check-execstack): Revert last change.  Depend on
65179         check-execstack.h.
65180         (check-execstack.h): New target.
65181         (generated): Add check-execstack.h.
65182         * elf/check-execstack.c: Include "check-execstack.h".
65183         (main): Revert last change.
65184         (handle_file): Return zero if GNU_STACK is absent and
65185         DEFAULT_STACK_PERMS doesn't include PF_X.
65187 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
65189         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
65190         in child fails because the descriptor is already closed.
65191         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
65192         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
65193         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
65195         [BZ #12397]
65196         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
65197         syscall.
65199         [BZ #10484]
65200         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
65201         temporary buffer used to handle multi lookups locally.
65202         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
65204 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
65206         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
65207         loader is ld.so.
65209 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
65211         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
65212         alignment for SSE2.
65214 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
65216         [BZ #12394]
65217         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
65218         characters.  When rounding increased number of integer digits recompute
65219         number of groups.
65220         * stdio-common/tst-grouping.c: New file.
65221         * stdio-common/Makefile: Add rules to build and run tst-grouping.
65223 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
65225         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
65226         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
65228         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
65229         void.
65230         * bits/select.h: Likewise.
65232 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
65234         * po/ja.po: Update from translation team.
65236 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
65238         [BZ #11155]
65239         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
65240         implementation just like for lxstat, fxstatat, et al.
65242 2010-12-27  Jim Meyering  <meyering@redhat.com>
65244         [BZ #12348]
65245         * posix/regexec.c (build_trtable): Return failure indication upon
65246         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
65248 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
65250         [BZ #12201]
65251         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
65252         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
65253         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
65254         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
65256         [BZ #12207]
65257         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
65259         [BZ #12204]
65260         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
65261         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
65263 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
65265         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
65266         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
65267         script has SORT_BY_INIT_PRIORITY.
65268         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
65269         NO_CTORS_DTORS_SECTIONS is defined.
65270         * elf/soinit.c: Likewise.
65271         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
65272         NO_CTORS_DTORS_SECTIONS is defined.
65273         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
65274         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
65275         * sysdeps/sh/init-first.c: Likewise.
65276         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
65278 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
65280         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
65281         always use the slow path.
65283 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
65285         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
65286         similar rule which adds the sysdep directories to the header search in
65287         order to pick up the correct platform stackinfo.h.
65288         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
65289         perform test if it is, otherwise return successfully without testing.
65290         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
65291         DEFAULT_STACK_PERMS define in stackinfo.h.
65292         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
65293         defined in stackinfo.h.
65294         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
65295         DEFAULT_STACK_PERMS defined in stackinfo.h.
65296         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
65297         * sysdeps/ia64/stackinfo.h: Likewise.
65298         * sysdeps/s390/stackinfo.h: Likewise.
65299         * sysdeps/sh/stackinfo.h: Likewise.
65300         * sysdeps/sparc/stackinfo.h: Likewise.
65301         * sysdeps/x86_64/stackinfo.h: Likewise.
65302         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
65303         PF_X for powerpc64.  Retain PF_X for powerpc32.
65305 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
65307         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
65308         accurately.
65309         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
65310         GETDENTS_64BIT_ALIGNED.
65312 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
65314         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
65316 2010-12-10  Andreas Schwab  <schwab@redhat.com>
65318         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
65319         _GNU_SOURCE.
65321         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
65322         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
65323         Remove __restrict.
65324         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
65325         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
65327 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
65329         [BZ #11655]
65330         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
65331         are initialized.
65333 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
65335         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
65337 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
65339         * po/it.po: Update from translation team.
65341 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
65343         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
65344         unused codes.
65346 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
65348         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
65350 2010-11-24  Andreas Schwab  <schwab@redhat.com>
65352         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
65353         specially.
65354         (gaih_getanswer_slice): Likewise.
65356 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
65358         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
65360 2010-05-31  Petr Baudis  <pasky@suse.cz>
65362         [BZ #11149]
65363         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
65364         silently even in the chroot mode.
65366 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
65368         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
65369         last patch a bit.  Pretty printing
65371 2010-05-31  Petr Baudis <pasky@suse.cz>
65373         [BZ #10085]
65374         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
65375         initialization of skip_initgroups_dyn.
65377 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
65379         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
65380         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
65382 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
65384         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
65386 2010-11-11  Andreas Schwab  <schwab@redhat.com>
65388         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
65389         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
65390         (tst-fnmatch-ENV): Set MALLOC_TRACE.
65391         ($(objpfx)tst-fnmatch-mem): New rule.
65392         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
65393         * posix/tst-fnmatch.c (main): Call mtrace.
65395 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
65397         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
65398         Support Intel processor model 6 and model 0x2c.
65400 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
65402         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
65403           signed comparison.
65405 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
65407         [BZ #12205]
65408         * string/test-strncasecmp.c (check_result): New function.
65409         (do_one_test): Use it.
65410         (check1): New function.
65411         (test_main): Use it.
65412         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
65413         Support strcasecmp and strncasecmp.
65415 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
65417         [BZ #12194]
65418         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
65419         * sysdeps/x86_64/bits/byteswap.h: Likewise.
65421 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
65423         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
65424         IFUNC support.
65425         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
65426         memset-x86-64.
65427         * sysdeps/x86_64/multiarch/bzero.S: New file.
65428         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
65429         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
65430         * sysdeps/x86_64/multiarch/memset.S: New file.
65431         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
65432         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
65433         Set bit_Prefer_SSE_for_memop for Intel processors.
65434         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
65435         Define.
65436         (index_Prefer_SSE_for_memop): Define.
65437         (HAS_PREFER_SSE_FOR_MEMOP): Define.
65439 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
65441         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
65442         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
65444 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
65446         [BZ #12191]
65447         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
65448         (__x86_64_raw_data_cache_size_half): Likewise.
65449         (__x86_64_raw_shared_cache_size): Likewise.
65450         (__x86_64_raw_shared_cache_size_half): Likewise.
65452         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
65453         (__x86_64_raw_data_cache_size_half): Likewise.
65454         (__x86_64_raw_shared_cache_size): Likewise.
65455         (__x86_64_raw_shared_cache_size_half): Likewise.
65456         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
65457         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
65458         and __x86_64_raw_shared_cache_size_half.  Round
65459         __x86_64_data_cache_size_half, __x86_64_data_cache_size
65460         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
65461         to multiple of 256 bytes.
65463 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
65465         [BZ #12167]
65466         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
65467         of inacessible symlinks.  Verify result of symlink before returning it.
65468         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
65469         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
65471 2010-10-28  Erich Ritz  <erichritz@gmail.com>
65473         * math/math.h (isinf): Fix typo in comment.
65475 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
65477         * po/da.po: Update from translation team.
65479 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
65481         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
65482         is added to the list.
65484 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65485             Ulrich Drepper  <drepper@gmail.com>
65487         * elf/dl-object.c (_dl_new_object): Don't append the new object to
65488         the global list here.  Move code to...
65489         (_dl_add_to_namespace_list): ...here.  New function.
65490         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
65491         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
65492         * elf/dl-load.c (lose): Don't remove the element from the list.
65493         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
65494         (_dl_map_object): Likewise.
65496 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
65498         [BZ #12159]
65499         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
65500         into all bytes of SSE register.
65501         Patch by Richard Li <richardpku@gmail.com>.
65503 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
65505         [BZ #12140]
65506         * malloc/malloc.c (_int_free): Fill correct number of bytes when
65507         perturbing.
65509 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
65511         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
65512         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
65513         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
65514         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
65515         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
65516         submachine.
65517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
65519 2010-10-22  Andreas Schwab  <schwab@redhat.com>
65521         * include/dlfcn.h (__RTLD_SECURE): Define.
65522         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
65523         mode & __RTLD_SECURE instead.
65524         (open_path): Rename preloaded parameter to secure.
65525         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
65526         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
65527         * elf/dl-deps.c (openaux): Likewise.
65528         * elf/rtld.c (struct map_args): Remove is_preloaded.
65529         (map_doit): Don't use it.
65530         (dl_main): Likewise.
65531         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
65532         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
65534 2010-09-09  Andreas Schwab  <schwab@redhat.com>
65536         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
65537         (sysd-rules-targets): Remove duplicates.
65538         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
65539         rtld-%.$o dependency.
65541 2010-10-18  Andreas Schwab  <schwab@redhat.com>
65543         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
65544         _dl_map_object do it.
65546 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
65548         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
65549         fast fma builtins, define the macros in the C99 standard.
65550         (FP_FAST_FMAF): Likewise.
65551         (FP_FAST_FMAL): Likewise.
65552         * sysdeps/x86_64/bits/mathdef.h: Likewise.
65554         * bits/mathdef.h: Update copyright year.
65555         * sysdeps/powerpc/bits/mathdef.h: Likewise.
65557 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
65559         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
65560         builtins, define the macros in the C99 standard.
65561         (FP_FAST_FMAF): Likewise.
65562         (FP_FAST_FMAL): Likewise.
65563         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
65564         multiply/add.
65565         (FP_FAST_FMAF): Likewise.
65567 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
65569         [BZ #3268]
65570         * math/libm-test.inc (fma_test): Some new testcases.
65571         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
65572         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
65573         y and infinite z.  Do multiplication by C already in long double.
65574         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
65575         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
65576         y and infinite z.  Do bitwise or of inexact bit into u.d.
65577         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
65578         * sysdeps/i386/fpu/s_fmaf.S: Removed.
65579         * sysdeps/i386/fpu/s_fma.S: Removed.
65580         * sysdeps/i386/fpu/s_fmal.S: Removed.
65582 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
65584         [BZ #3268]
65585         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
65586         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
65587         computation is not scheduled after fetestexcept.  Fix value
65588         of minimum denormal long double.
65590 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
65592         [BZ #3268]
65593         * math/libm-test.inc (fma_test): Add some more tests.
65594         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
65595         correctly.
65597 2010-10-15  Andreas Schwab  <schwab@redhat.com>
65599         * scripts/data/localplt-s390-linux-gnu.data: New file.
65600         * scripts/data/localplt-s390x-linux-gnu.data: New file.
65602 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
65604         [BZ #3268]
65605         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
65606         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
65607         instead of dbl-64.
65608         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
65609         inlines.
65610         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
65611         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
65612         if one of x and y is very large and the other is subnormal.
65613         * sysdeps/s390/fpu/s_fmaf.c: New file.
65614         * sysdeps/s390/fpu/s_fma.c: New file.
65615         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
65616         * sysdeps/powerpc/fpu/s_fma.S: New file.
65617         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
65618         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
65619         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
65621 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
65623         [BZ #3268]
65624         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
65625         fma tests.
65626         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
65627         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
65628         * sysdeps/i386/i686/multiarch/s_fma.c: Include
65629         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
65630         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
65631         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
65632         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
65634 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
65636         [BZ #12078]
65637         * posix/regcomp.c (parse_branch): One more memory leak plugged.
65638         * posix/bug-regex31.input: Add test case.
65640 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
65642         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
65643         * posix/bug-regex31.input: New file.
65645         [BZ #12078]
65646         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
65647         (parse_sub_exp): Fix last change, use postorder.
65649         * posix/bug-regex31.c: New file.
65650         * posix/Makefile: Add rules to build and run bug-regex31.
65652         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
65654         [BZ #12078]
65655         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
65657         [BZ #12108]
65658         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
65659         to have entries in sys_siglist.
65661         [BZ #12093]
65662         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
65663         be NULL.
65665 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
65667         [BZ #3268]
65668         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
65669         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
65670         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
65671         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
65672         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
65673         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
65674         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
65675         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
65676         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
65677         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
65678         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
65679         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
65680         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
65681         * math/ftestexcept.c (fetestexcept): Likewise.
65682         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
65683         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
65684         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
65685         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
65686         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
65687         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
65688         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
65690 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
65692         [BZ #12107]
65693         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
65694         newline.
65696 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
65698         * string/bug-strstr1.c: New file.
65699         * string/Makefile: Add rules to build and run bug-strstr1.
65701 2010-10-05  Eric Blake  <eblake@redhat.com>
65703         [BZ #12092]
65704         * string/str-two-way.h (two_way_long_needle): Always clear memory
65705         when skipping input due to the shift table.
65707 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
65709         [BZ #12005]
65710         * malloc/mcheck.c: Handle large requests.
65712         [BZ #12077]
65713         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
65714         for strncmp and strncasecmp.
65715         * string/stratcliff.c: Add tests for strcmp and strncmp.
65716         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
65718 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
65720         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
65721         __set_fpscr.
65723 2010-09-30  Andreas Jaeger  <aj@suse.de>
65725         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
65726         (CGROUP_SUPER_MAGIC): Define.
65727         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
65728         Handle btrfs and cgroup file systems.
65729         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
65730         Likewise.
65732 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
65734         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
65735         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
65737 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65739         [BZ #12067]
65740         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
65741         trying to locate the ELF header.
65743 2010-09-27  Andreas Schwab  <schwab@redhat.com>
65745         [BZ #11611]
65746         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
65747         Mask out sign-bit copies when constructing f_fsid.
65749 2010-09-24  Petr Baudis <pasky@suse.cz>
65751         * debug/stack_chk_fail_local.c: Add missing licence exception.
65752         * debug/warning-nop.c: Likewise.
65754 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
65756         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
65757         implementing getdents64 using getdents syscall, set d_type if
65758         __ASSUME_GETDENTS32_D_TYPE.
65760 2010-09-16  Andreas Schwab  <schwab@redhat.com>
65762         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
65763         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
65765 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
65767         [BZ #12037]
65768         * posix/unistd.h: Undo change of feature selection for ftruncate from
65769         2010-01-11.
65771 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
65773         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
65774         detection.
65776 2010-09-20  Andreas Schwab  <schwab@redhat.com>
65778         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
65779         fanotify_mark.
65780         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
65782 2010-09-14  Andreas Schwab  <schwab@redhat.com>
65784         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
65785         variables after CHECK_SP call.
65786         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
65788 2010-09-13  Andreas Schwab  <schwab@redhat.com>
65789             Ulrich Drepper  <drepper@redhat.com>
65791         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
65792         re-relocationg ld.so.
65793         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
65794         _dl_init_paths call.
65795         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
65796         here anymore.
65798 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
65800         * resolv/res_init.c (__res_vinit): Count the default server we added.
65802 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
65803             Ulrich Drepper  <drepper@redhat.com>
65805         [BZ #11968]
65806         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
65807         (____longjmp_chk): Use %ebx for saving value across system call.
65808         Add unwind info.
65810 2010-09-06  Andreas Schwab  <schwab@redhat.com>
65812         * manual/Makefile: Don't mix pattern rules with normal rules.
65814 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
65816         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
65817         operation.
65818         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
65819         * libio/iofopncook.c (_IO_cookie_init): Likewise.
65820         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
65821         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
65822         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
65823         Likewise.
65825 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
65827         [BZ #11979]
65828         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
65829         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
65831 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
65833         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
65834         * sysdeps/x86_64/addmul_1.S: Likewise.
65835         * sysdeps/x86_64/lshift.S: Likewise.
65836         * sysdeps/x86_64/mul_1.S: Likewise.
65837         * sysdeps/x86_64/rshift.S: Likewise.
65838         * sysdeps/x86_64/sub_n.S: Likewise.
65839         * sysdeps/x86_64/submul_1.S: Likewise.
65841 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65843         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
65844         Define __sched_param instead of SCHED_* and sched_param when
65845         <bits/sched.h> is included with __need_schedparam defined.
65846         * bits/sched.h [__need_schedparam]
65847         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
65848         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
65849         (__defined_schedparam): Define to 1.
65850         (__sched_param): New structure, identical to sched_param.
65851         (__need_schedparam): Undefine.
65853 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
65855         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
65856         (epoll_create1): Declare.
65858         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
65860 2010-08-31  Andreas Schwab  <schwab@redhat.com>
65862         [BZ #7066]
65863         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
65864         shifting retval into place.
65866 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
65868         * nis/rpcsvc/nis.h: Update copyright notice.
65869         * nis/rpcsvc/nis.x: Likewise.
65870         * nis/rpcsvc/nis_callback.h: Likewise.
65871         * nis/rpcsvc/nis_callback.x: Likewise.
65872         * nis/rpcsvc/nis_object.x: Likewise.
65873         * nis/rpcsvc/nis_tags.h: Likewise.
65874         * nis/rpcsvc/yp.h: Likewise.
65875         * nis/rpcsvc/yp.x: Likewise.
65876         * nis/rpcsvc/ypupd.h: Likewise.
65877         * nis/yp_xdr.c: Likewise.
65878         * nis/ypupdate_xdr.c: Likewise.
65880         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
65881         mainly the body of pmap_getport.  Add parameters to specify timeouts.
65882         (pmap_getport): Use __libc_rpc_getport.
65883         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
65884         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
65885         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
65887 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
65889         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
65890         fanotify_mark.
65892 2010-08-27  Roland McGrath  <roland@redhat.com>
65894         * sysdeps/i386/i686/multiarch/Makefile
65895         (CFLAGS-varshift.c): New variable.
65897 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
65899         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
65900         * sysdeps/i386/i686/multiarch/varshift.c: New file.
65902         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
65904         * sysdeps/x86_64/strlen.S: Minimal code improvement.
65906 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
65908         * sysdeps/x86_64/strlen.S: Unroll the loop.
65909         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
65910         strlen-sse2 strlen-sse2-bsf.
65911         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
65912         __strlen_no_bsf if bit_Slow_BSF is set.
65913         (__strlen_sse42): Removed.
65914         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
65915         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
65917 2010-08-25  Roland McGrath  <roland@redhat.com>
65919         * sysdeps/x86_64/multiarch/varshift.S: File removed.
65920         * sysdeps/x86_64/multiarch/varshift.c: New file.
65921         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
65922         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
65923         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
65924         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
65926 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
65928         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
65929         strlen-sse2 strlen-sse2-bsf.
65930         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
65931         __strlen_sse2_bsf if bit_Slow_BSF is unset.
65932         (__strlen_sse2): Removed.
65933         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
65934         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
65935         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
65936         bit_Slow_BSF for Atom.
65937         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
65938         (index_Slow_BSF): Define.
65939         (HAS_SLOW_BSF): Define.
65941 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
65943         [BZ #10851]
65944         * resolv/res_init.c (__res_vinit): When no server address at all
65945         is given default to loopback.
65947 2010-08-24  Roland McGrath  <roland@redhat.com>
65949         * configure.in: Remove config-name.h generation.
65950         * configure: Regenerated.
65951         * config-name.in: File removed.
65952         * scripts/config-uname.sh: New file.
65953         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
65954         ($(objdir)config-name.h): New target.
65956         * sunrpc/rpc_parse.h: Avoid nested comment.
65958 2010-08-24  Richard Henderson  <rth@redhat.com>
65959             Ulrich Drepper  <drepper@redhat.com>
65960             H.J. Lu  <hongjiu.lu@intel.com>
65962         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
65963         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
65964         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
65965         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
65966         _mm_alignr_epi8 with _mm_loadu_si128.
65967         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
65968         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
65969         (__m128i_shift_right): Removed.
65970         * sysdeps/i386/i686/multiarch/varshift.h: New file.
65971         * sysdeps/i386/i686/multiarch/varshift.S: New file.
65972         * sysdeps/x86_64/multiarch/varshift.h: New file.
65973         * sysdeps/x86_64/multiarch/varshift.S: New file.
65975 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
65977         * configure.in: Move assembler checks to before sysdep dir checking.
65979 2010-08-20  Petr Baudis  <pasky@suse.cz>
65981         * LICENSES: Sync the sunrpc license.
65983 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
65985         * sunrpc/auth_des.c: Update copyright notice once again.
65986         * sunrpc/auth_none.c: Likewise.
65987         * sunrpc/auth_unix.c: Likewise.
65988         * sunrpc/authdes_prot.c: Likewise.
65989         * sunrpc/authuxprot.c: Likewise.
65990         * sunrpc/bindrsvprt.c: Likewise.
65991         * sunrpc/clnt_gen.c: Likewise.
65992         * sunrpc/clnt_perr.c: Likewise.
65993         * sunrpc/clnt_raw.c: Likewise.
65994         * sunrpc/clnt_simp.c: Likewise.
65995         * sunrpc/clnt_tcp.c: Likewise.
65996         * sunrpc/clnt_udp.c: Likewise.
65997         * sunrpc/clnt_unix.c: Likewise.
65998         * sunrpc/des_crypt.c: Likewise.
65999         * sunrpc/des_soft.c: Likewise.
66000         * sunrpc/get_myaddr.c: Likewise.
66001         * sunrpc/getrpcport.c: Likewise.
66002         * sunrpc/key_call.c: Likewise.
66003         * sunrpc/key_prot.c: Likewise.
66004         * sunrpc/openchild.c: Likewise.
66005         * sunrpc/pm_getmaps.c: Likewise.
66006         * sunrpc/pm_getport.c: Likewise.
66007         * sunrpc/pmap_clnt.c: Likewise.
66008         * sunrpc/pmap_prot.c: Likewise.
66009         * sunrpc/pmap_prot2.c: Likewise.
66010         * sunrpc/pmap_rmt.c: Likewise.
66011         * sunrpc/rpc/auth.h: Likewise.
66012         * sunrpc/rpc/auth_unix.h: Likewise.
66013         * sunrpc/rpc/clnt.h: Likewise.
66014         * sunrpc/rpc/des_crypt.h: Likewise.
66015         * sunrpc/rpc/key_prot.h: Likewise.
66016         * sunrpc/rpc/netdb.h: Likewise.
66017         * sunrpc/rpc/pmap_clnt.h: Likewise.
66018         * sunrpc/rpc/pmap_prot.h: Likewise.
66019         * sunrpc/rpc/pmap_rmt.h: Likewise.
66020         * sunrpc/rpc/rpc.h: Likewise.
66021         * sunrpc/rpc/rpc_des.h: Likewise.
66022         * sunrpc/rpc/rpc_msg.h: Likewise.
66023         * sunrpc/rpc/svc.h: Likewise.
66024         * sunrpc/rpc/svc_auth.h: Likewise.
66025         * sunrpc/rpc/types.h: Likewise.
66026         * sunrpc/rpc/xdr.h: Likewise.
66027         * sunrpc/rpc_clntout.c: Likewise.
66028         * sunrpc/rpc_cmsg.c: Likewise.
66029         * sunrpc/rpc_common.c: Likewise.
66030         * sunrpc/rpc_cout.c: Likewise.
66031         * sunrpc/rpc_dtable.c: Likewise.
66032         * sunrpc/rpc_hout.c: Likewise.
66033         * sunrpc/rpc_main.c: Likewise.
66034         * sunrpc/rpc_parse.c: Likewise.
66035         * sunrpc/rpc_parse.h: Likewise.
66036         * sunrpc/rpc_prot.c: Likewise.
66037         * sunrpc/rpc_sample.c: Likewise.
66038         * sunrpc/rpc_scan.c: Likewise.
66039         * sunrpc/rpc_scan.h: Likewise.
66040         * sunrpc/rpc_svcout.c: Likewise.
66041         * sunrpc/rpc_tblout.c: Likewise.
66042         * sunrpc/rpc_util.c: Likewise.
66043         * sunrpc/rpc_util.h: Likewise.
66044         * sunrpc/rpcinfo.c: Likewise.
66045         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
66046         * sunrpc/rpcsvc/key_prot.x: Likewise.
66047         * sunrpc/rpcsvc/klm_prot.x: Likewise.
66048         * sunrpc/rpcsvc/mount.x: Likewise.
66049         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
66050         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
66051         * sunrpc/rpcsvc/rex.x: Likewise.
66052         * sunrpc/rpcsvc/rstat.x: Likewise.
66053         * sunrpc/rpcsvc/rusers.x: Likewise.
66054         * sunrpc/rpcsvc/sm_inter.x: Likewise.
66055         * sunrpc/rpcsvc/spray.x: Likewise.
66056         * sunrpc/rpcsvc/yppasswd.x: Likewise.
66057         * sunrpc/rtime.c: Likewise.
66058         * sunrpc/svc.c: Likewise.
66059         * sunrpc/svc_auth.c: Likewise.
66060         * sunrpc/svc_authux.c: Likewise.
66061         * sunrpc/svc_raw.c: Likewise.
66062         * sunrpc/svc_run.c: Likewise.
66063         * sunrpc/svc_simple.c: Likewise.
66064         * sunrpc/svc_tcp.c: Likewise.
66065         * sunrpc/svc_udp.c: Likewise.
66066         * sunrpc/svc_unix.c: Likewise.
66067         * sunrpc/svcauth_des.c: Likewise.
66068         * sunrpc/xcrypt.c: Likewise.
66069         * sunrpc/xdr.c: Likewise.
66070         * sunrpc/xdr_array.c: Likewise.
66071         * sunrpc/xdr_float.c: Likewise.
66072         * sunrpc/xdr_mem.c: Likewise.
66073         * sunrpc/xdr_rec.c: Likewise.
66074         * sunrpc/xdr_ref.c: Likewise.
66075         * sunrpc/xdr_sizeof.c: Likewise.
66076         * sunrpc/xdr_stdio.c: Likewise.
66078         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
66079         handling.
66081 2010-08-19  Andreas Schwab  <schwab@redhat.com>
66083         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
66085 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
66087         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
66088         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
66089         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
66090         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
66091         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
66092         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
66093         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
66094         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
66095         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
66096         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
66097         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
66098         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
66099         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
66100         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
66102 2010-07-26  Anton Blanchard  <anton@samba.org>
66104         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
66105         * malloc/arena.c (heap_trim): Likewise.
66107 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
66109         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
66110         here.  Not...
66111         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
66112         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
66114 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
66116         * sysdeps/i386/elf/Makefile: New file.
66118 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
66120         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
66121         from fanotify_init.
66122         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
66123         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
66125 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
66127         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
66128         of strncasecmp_l.
66129         * sysdeps/multiarch/strcmp.S: Likewise.
66131 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
66133         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
66134         strncase_l-nonascii.
66135         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
66136         Add strncase_l-ssse3.
66137         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
66138         * sysdeps/x86_64/strcmp.S: Likewise.
66139         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
66140         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
66141         * sysdeps/x86_64/strncase.S: New file.
66142         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
66143         * sysdeps/x86_64/strncase_l.S: New file.
66144         * string/Makefile (strop-tests): Add strncasecmp.
66145         * string/test-strncasecmp.c: New file.
66147         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
66148         warning.
66150         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
66151         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
66153 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
66155         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
66157 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
66159         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
66160         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
66161         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
66163 2010-05-01  Alan Modra  <amodra@gmail.com>
66165         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
66166         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
66167         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
66168         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
66169         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
66170         tidying.  Don't tail-call __sigjmp_save for static lib.
66171         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
66172         save location.
66173         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
66174         (CALL_MCOUNT): Add eh info, and nop after bl.
66175         (TAIL_CALL_SYSCALL_ERROR): New macro.
66176         (PSEUDO_RET): Use it.
66177         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
66178         Correct save location of integer regs and cr.
66179         (_dl_profile_resolve): Correct cr save location.  Delete nops
66180         after bl when SHARED.  Reduce cfi size a little by better
66181         placement of cfi directives.
66182         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
66183         make a stack frame.  Instead use parm save area as a temp.
66184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
66185         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
66186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
66187         Don't make a stack frame for parent, use parm save area.
66188         Increase child stack frame to 112 bytes.  Don't save unused reg,
66189         and adjust reg usage.  Set up cfi on error recovery and
66190         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
66191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
66192         (__makecontext): Add dummy nop after jump to exit.
66193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
66194         Use correct parm save area and cr save, reduce stack frame.
66195         Correct cfi for possible PSEUDO_RET frame setup.
66196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
66197         Branch to local label emitted by PSEUDO_RET rather than
66198         __syscall_error.
66200 2010-08-12  Andreas Schwab  <schwab@redhat.com>
66202         [BZ #11904]
66203         * locale/programs/locale.c (print_assignment): New function.
66204         (show_locale_vars): Use it.
66206 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
66208         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
66209         field.
66210         (struct statfs64): Likewise.
66211         (_STATFS_F_FLAGS): Define.
66212         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
66213         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
66214         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
66215         (ST_VALID): Define locally.
66216         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
66217         __statvfs_getflags, use the provided value.
66218         * sysdeps/unix/sysv/linux/kernel-features.h: Define
66219         __ASSUME_STATFS_F_FLAGS.
66221         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
66223         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
66224         Add sys/fanotify.h.
66225         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
66226         fanotify_mask for GLIBC_2.13.
66227         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
66228         fanotify_init and fanotify_mark.
66229         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
66230         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
66232         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
66233         Add prlimit.
66234         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
66235         prlimit64 for GLIBC_2.13.
66236         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
66237         prlimit64.
66238         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
66239         syscall.
66240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
66241         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
66242         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
66243         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
66244         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
66245         add prlimit alias.
66246         * sysdeps/unix/sysv/linux/prlimit.c: New file.
66248         [BZ #11903]
66249         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
66250         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
66252         * nss/Makefile: Add rules to build and run tst-nss-test1.
66253         * shlib-versions: Add entry for libnss_test1.
66254         * nss/nss_test1.c: New file.
66255         * nss/tst-nss-test1.c: New file.
66257         * nss/nsswitch.c (__nss_database_custom): Define new variable.
66258         (__nss_configure_lookup): Set appropriate entry in
66259         __nss_configure_lookup to true.
66260         * nss/nsswitch.h: Define enum with indeces of databases in
66261         databases and __nss_database_custom arrays.  Declare
66262         __nss_database_custom.
66263         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
66264         to avoid using nscd when custom rules are installed.
66265         * nss/getXXbyYY_r.c: Likewise.
66266         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
66268         * nss/nss_files/files-parse.c: Whitespace fixes.
66270 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
66272         [BZ #11883]
66273         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
66274         * posix/fnmatch_loop.c: Likewise.
66276 2010-07-17  Andi Kleen  <ak@linux.intel.com>
66278         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
66279         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
66280         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
66281         * Versions.def [GLIBC_2.13]: Add.
66283 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
66285         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
66286         Also fail if tpwd after pwuid call is NULL.
66288 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66290         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
66291         when converting to ms.
66293 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66295         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
66296         EOPNOTSUPP errors with ENOTTY.
66297         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
66298         EOPNOTSUPP errors with ENOTTY.
66300 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
66302         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
66303         Add strcasecmp_l-ssse3.
66304         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
66305         strcasecmp.
66306         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
66307         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
66308         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
66310 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
66312         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
66314         * string/Makefile (strop-tests): Add strcasecmp.
66315         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
66316         strcasecmp_l-nonascii.
66317         (gen-as-const-headers): Add locale-defines.sym.
66318         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
66319         * sysdeps/x86_64/strcasecmp.S: New file.
66320         * sysdeps/x86_64/strcasecmp_l.S: New file.
66321         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
66322         * sysdeps/x86_64/locale-defines.sym: New file.
66323         * string/test-strcasecmp.c: New file.
66325         * string/test-strcasestr.c: Test both ends of the range of characters.
66326         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
66328 2010-07-29  Roland McGrath  <roland@redhat.com>
66330         [BZ #11856]
66331         * manual/locale.texi (Yes-or-No Questions): Fix example code.
66333 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
66335         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
66336         for ld.so.
66338 2010-07-27  Andreas Schwab  <schwab@redhat.com>
66340         * manual/memory.texi (Malloc Tunable Parameters): Document
66341         M_PERTURB.
66343 2010-07-26  Roland McGrath  <roland@redhat.com>
66345         [BZ #11840]
66346         * configure.in (-fgnu89-inline check): Set and substitute
66347         gnu89_inline, not libc_cv_gnu89_inline.
66348         * configure: Regenerated.
66349         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
66351 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
66353         * string/test-strnlen.c: New file.
66354         * string/Makefile (strop-tests): Add strnlen.
66355         * string/tester.c (test_strnlen): Add a few more test cases.
66356         * string/tst-strlen.c: Better error reporting.
66358         * sysdeps/x86_64/strnlen.S: New file.
66360 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
66362         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
66363         lower-latency instructions.
66365 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
66367         * string/test-strcasestr.c: New file.
66368         * string/test-strstr.c: New file.
66369         * string/Makefile (strop-tests): Add strstr and strcasestr.
66370         * string/str-two-way.h: Don't undefine MAX.
66371         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
66373 2010-07-21  Andreas Schwab  <schwab@redhat.com>
66375         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
66376         strcasestr-nonascii.
66377         (CFLAGS-strcasestr-nonascii.c): Define.
66378         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
66379         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
66380         Remove unused attribute.
66382 2010-07-20  Roland McGrath  <roland@redhat.com>
66384         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
66385         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
66386         ld.so.cache was broken.  With it, there is no way to disable dsocaps
66387         like LD_HWCAP_MASK can disable hwcaps.
66389 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
66391         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
66393 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
66395         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
66396         call in strcasestr.
66397         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
66398         __strcasestr_sse42_nonascii.
66399         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
66400         strcasestr-nonascii.c.
66401         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
66403 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
66405         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
66406         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
66407         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
66408         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
66410 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
66412         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
66413         fcntl.
66415 2010-07-06  Andreas Schwab  <schwab@redhat.com>
66417         [BZ #11577]
66418         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
66419         dl_signal_cerror.
66421 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
66423         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
66424         _PC_PIPE_BUF using F_GETPIPE_SZ.
66426 2010-07-05  Roland McGrath  <roland@redhat.com>
66428         * manual/arith.texi (Rounding Functions): Fix rint description
66429         implicit in round description.
66431 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
66433         * elf/Makefile: Fix linking for a few tests to make recent linker
66434         happy.
66436 2010-06-30  Andreas Schwab  <schwab@redhat.com>
66438         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
66439         $(common-objpfx)libc_nonshared.a.
66441 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
66443         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
66444         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
66445         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
66446         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
66447         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
66448         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
66449         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
66450         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
66451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
66452         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
66453         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
66454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
66455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
66456         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
66457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
66458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
66459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
66460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
66461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
66462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
66463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
66464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
66465         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
66466         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
66467         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
66468         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
66469         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
66470         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
66471         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
66472         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
66473         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
66474         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
66475         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
66476         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
66477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
66478         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
66479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
66480         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
66481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
66482         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
66483         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
66484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
66485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
66486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
66487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
66488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
66489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
66490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
66492 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
66494         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
66495         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
66496         * string/memmove.c (memmove): Renamed to ...
66497         (MEMMOVE): ...this.  Default to memmove.
66498         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
66499         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
66500         (END_CHK): Define.
66501         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
66502         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
66503         mempcpy-ssse3-back memmove-ssse3-back.
66504         * sysdeps/x86_64/multiarch/bcopy.S: New file .
66505         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
66506         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
66507         * sysdeps/x86_64/multiarch/memcpy.S: New file.
66508         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
66509         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
66510         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
66511         * sysdeps/x86_64/multiarch/memmove.c: New file.
66512         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
66513         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
66514         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
66515         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
66516         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
66517         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
66518         Define.
66519         (index_Fast_Copy_Backward): Define.
66520         (HAS_ARCH_FEATURE): Define.
66521         (HAS_FAST_REP_STRING): Define.
66522         (HAS_FAST_COPY_BACKWARD): Define.
66524 2010-06-21  Andreas Schwab  <schwab@redhat.com>
66526         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
66527         Restore proper fallback handling.
66529 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
66531         [BZ #11701]
66532         * posix/group_member.c (__group_member): Correct checking loop.
66534         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
66535         OOM in getpwuid_r correctly.  Return error number when the caller
66536         should return, otherwise -1.
66537         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
66538         call returning > 0 value.
66539         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
66541 2010-06-07  Andreas Schwab  <schwab@redhat.com>
66543         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
66544         libc_nonshared.a from targets in modules-names.
66546 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
66548         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
66549         requires it.
66551 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
66553         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
66554         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
66555         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
66556         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
66558 2010-06-02  Andreas Schwab  <schwab@redhat.com>
66560         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
66562 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
66564         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
66565         and F_GETPIPE_SZ.
66566         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
66567         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
66568         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
66569         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
66570         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
66571         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
66573 2010-06-14  Roland McGrath  <roland@redhat.com>
66575         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
66577 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
66579         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
66580         __REDIRECT followed by __THROW.
66581         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
66582         * posix/getopt.h (getopt): Likewise.
66584 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
66586         * hurd/lookup-at.c (__file_name_lookup_at): Accept
66587         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
66588         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
66589         in AT_FLAGS.
66590         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
66591         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
66593 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
66595         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
66597 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
66599         [BZ #11640]
66600         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
66601         Properly check family and model.
66603 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
66605         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
66607 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
66609         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
66611 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
66613         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
66614         symbol reference.
66616 2010-05-19  Andreas Schwab  <schwab@redhat.com>
66618         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
66619         symbol reference.
66621 2010-05-21  Andreas Schwab  <schwab@redhat.com>
66623         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
66624         and internal_recvmmsg.
66625         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
66626         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
66627         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
66628         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
66630         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
66631         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
66632         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
66634 2010-05-20  Andreas Schwab  <schwab@redhat.com>
66636         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
66638 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
66640         POWER7 optimizations.
66641         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
66642         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
66644 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
66646         * version.h: Update for 2.13 development version.
66648 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
66650         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
66651         exceptions.  Return 0.
66653 2010-05-07  Roland McGrath  <roland@redhat.com>
66655         * elf/ldconfig.c (main): Add a const.
66657 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
66659         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
66660         (args_options): Add no-idn option.
66661         (ahosts_keys_int): Add idn_flags to ai_flags.
66662         (parse_option): Handle 'i' option to clear idn_flags.
66664         * malloc/malloc.c (_int_free): Possible race in the most recently
66665         added check.  Only act on the data if no current modification
66666         happened.
66668 See ChangeLog.17 for earlier changes.